Vladimir Golovnev
bc71827c01
Improve torrent content handling
...
Hide .pad files.
PR #15468 .
3 years ago
Vladimir Golovnev (Glassez)
86b1ac5d7c
CMake: Allow to build with Qt6
3 years ago
Chocobo1
5cf39a2970
Reuse code path
...
`buf.f_type` should be compatible across platforms.
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/statfs.2.html
3 years ago
Chocobo1
1c9321d5a1
Add remote filesystem magic numbers
3 years ago
Chocobo1
1c343a444b
Remove redundant const specifier
3 years ago
Chocobo1
1c9696b68e
Suppress function unused warning
3 years ago
Chocobo1
03012cc175
Revise description wordings
3 years ago
Chocobo1
9673be17cb
Improve handling when writing to temporary files
...
Let QTemporaryFile remove incomplete written file when error occurs.
"XXXXXX" template is not strictly required according to Qt doc.
3 years ago
Chocobo1
fa8786e230
Flush manually when saving a file
...
This is to work around https://bugreports.qt.io/browse/QTBUG-75077
3 years ago
Chocobo1
21f72baae2
Use QSaveFile wherever applicable
...
expected.hpp was fetched from:
b803e3c07b/include/nonstd/expected.hpp
3 years ago
jagannatharjun
a734199383
Fix startup with different profiles
3 years ago
Vladimir Golovnev (Glassez)
046b741700
Improve Profile handling
...
Add Profile::rootPath and Profile::configurationName properties.
3 years ago
gxcreator
307f5e6e56
Initialize member fields
3 years ago
Chocobo1
2efd4f2a77
Prevent self-assignment in assignment operator
3 years ago
Vladimir Golovnev
90296b3ef0
Add "Skip hash check" option for watched folders
...
Closes #15388 .
PR #15433 .
3 years ago
Chocobo1
81139c0098
Improve error detection when saving files
3 years ago
jagannatharjun
314f92f2d8
Use DownloadRequest::destFileName for downloading RSS feed icons
3 years ago
jagannatharjun
8b5db328ec
Add DownloadRequest::destFileName
3 years ago
sledgehammer999
2b501904cf
Bump to 4.4.0beta3
3 years ago
Vladimir Golovnev
b823d74ac3
Use "old file path" provided by libtorrent
...
Until libtorrent provided an "old_name" field in `file_renamed_alert` we relied
on a workaround with storing old file names to remove empty leftover folders.
PR #15356 .
3 years ago
Chocobo1
138c911ef4
Add compile definition to indicate using of libtorrent 2.0 ( #15297 )
...
The compile definition is temporary which will be removed when qbt
ditches libtorrent 1.x.
3 years ago
sledgehammer999
e5fe6401a0
Accept v2 infohashes for download
...
Partially fixes #15287
3 years ago
Vladimir Golovnev
bed643e627
Delay processing of watched folders ( #15282 )
...
Fixes regression of #14882 .
Closes #15272 .
3 years ago
Sylvain Finot
e87f8f5b93
Expose SSRF mitigation ( #15247 )
3 years ago
sledgehammer999
1d26f4c5f7
Bump to 4.4.0beta2
3 years ago
AbeniMatteo
e4730191db
Set default file priorities when not specified ( #15190 )
3 years ago
Chocobo1
49aab492e0
Use spinbox special value to represent "Use any available port"
...
WebAPI functionality is preserved (deprecated) for now and should be
removed in the future.
3 years ago
Chocobo1
09e558ae0b
Revise checkbox label for "Use any available ports" functionality
...
Also reorder the checkboxes a bit.
3 years ago
Chocobo1
96e0c0df20
Improve handling for magnet URI ( #15209 )
...
This add support for magnets URI in v2 hash format.
3 years ago
Vladimir Golovnev
ed4570cb4d
Store minimal metadata for "restore torrent" purposes ( #15191 )
...
We can no longer save valid torrent files in the general case, because
for torrents of version 2, we need a full merkle tree to do it, but if
a torrent is added from magnet link, full merkle tree may not be available
even before the end of downloading all the data. Actually, we don't need
the full torrent file for the purposes of resuming the torrent, so we can
allow libtorrent to produce only a minimal part of the metadata as part
complete resume data, but we still want to store it in a separate file,
so we extract the resulting metadata from the complete resume data before
saving and merge it together before loading.
3 years ago
AbeniMatteo
01d851440b
Add "Forced metadata downloading" state ( #15185 )
3 years ago
AbeniMatteo
e5943b64c1
Add filter "Checking" to side panel ( #15166 )
3 years ago
Vladimir Golovnev (Glassez)
399d3ad85a
Replace QStringRef with QStringView
4 years ago
Vladimir Golovnev
699b91ab8d
Properly create "clean path" for watched folder ( #15179 )
4 years ago
Vladimir Golovnev (glassez)
27baa55443
Raise minimum Qt version to 5.15.2
4 years ago
Chocobo1
fd3d4d479a
Suppress type narrowing warning on MSVC
...
Fix up 45e31a153c
.
4 years ago
Chocobo1
45e31a153c
Reserve space for vector
4 years ago
Chocobo1
7c23d800e6
Use `underlying_type` member directly
...
`LTUnderlyingType` served as a intermediate type for libtorrent 1.1 and
1.2 and is obsoleted now.
Also add helper to convert to underlying type.
4 years ago
Vladimir Golovnev
5d03917877
Use torrent info with hashes for creating .torrent file ( #15138 )
4 years ago
Vladimir Golovnev (Glassez)
d2f975a0f3
Don't forget to start "watch timer"
4 years ago
Chocobo1
365554d064
Use proper signed number type
...
This also suppress the compiler warning:
src/base/bittorrent/torrentimpl.cpp:228:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
4 years ago
Chocobo1
70d1cb86fd
Disable move constructor where it is sensible
4 years ago
FranciscoPombal
ccb7c0d579
Raise minimum libtorrent version to 1.2.14 (2.0.4)
...
- Also update vcpkg to latest commit: includes libtorrent 1.2.14,
Qt 5.15.2, and Qt 6.1.1
4 years ago
Andrei Stepanov
5157e4965a
Remove excess space
4 years ago
sledgehammer999
3ffd25f9e1
Bump to 4.4.0beta1
4 years ago
Vladimir Golovnev
37f227ae74
Provide v1 and v2 infohashes in UI ( #15097 )
4 years ago
HiFiPhile
f5315d9ba7
Add WebUI reverse proxy source IP resolution ( #15047 )
...
Co-authored-by: qix67
Co-authored-by: HiFiPhile <admin@hifiphile.com>
4 years ago
Vladimir Golovnev (Glassez)
124cc9621d
Delete LoadTorrentParams when load torrent failed
4 years ago
Vladimir Golovnev (Glassez)
3faa7226e7
Handle exception when torrent file cannot be exported
...
Both `lt::create_torrent` constructor and `lt::create_torrent::generate()`
can throw an exception so we need to handle it to prevent the app from crashing.
4 years ago
Vladimir Golovnev (Glassez)
6070b41c9b
Properly add torrent with new tags
...
First, an attempt is made to add new tags to the Session.
Closes #15105 .
4 years ago