Vladimir Golovnev (Glassez)
b8f1142abe
Improve torrent name handling
2020-12-26 20:27:31 +02:00
Chocobo1
78859415d6
Use a helper function to look up stat indexes
2020-12-26 20:27:29 +02:00
Chocobo1
ef92c17192
Don't use removed stat metric in libtorrent 2.0
...
For now, the metric is not entirely removed due to WebAPI still needs to
access it.
2020-12-26 20:27:28 +02:00
Chocobo1
22f3abc4b5
Initialize stat indices to -1
...
When the index is initialized it will be set to a number >= 0, so we use
-1 to denote its uninitialized status.
2020-12-26 20:27:27 +02:00
Chocobo1
a56e6294c1
Fix wrong JSON type returned
...
Fix up 78638a15be .
Closes #14041 .
2020-12-26 20:27:26 +02:00
Vladimir Golovnev (Glassez)
2c2bb14b2a
Fix bug of "move storage job" can be performed multiple times
2020-12-26 20:27:16 +02:00
Chocobo1
73c8b77464
Migrate away from deprecated QVariant comparison operators
...
Fortunately, serializing to JSON limits the data types to a very small
subset and thus we are able to implement the comparison without much
hassle.
Fix up cba8d83b21 .
2020-12-26 20:27:14 +02:00
FranciscoPombal
fdc64d9b38
Use #pragma once instead of include guards
2020-12-26 20:27:10 +02:00
Chocobo1
0b42425db5
Add support for allow_idna option
...
Upstream PR: https://github.com/arvidn/libtorrent/pull/5316
2020-12-26 20:27:08 +02:00
Chocobo1
e5d7738127
Update "HTTPS tracker validation" enablement conditional
...
https://github.com/arvidn/libtorrent/pull/5313
2020-12-26 20:27:06 +02:00
Chocobo1
422489e2a1
Revise Utils::Version comparison operators
2020-12-26 20:27:04 +02:00
Chocobo1
7de983b4e5
Add operator< for InfoHash class
2020-12-26 20:27:03 +02:00
Chocobo1
e4e55d2a80
Migrate away from deprecated QVariant comparison operators
...
Another idea would be manually define a custom comparison function for
QVariant. However, having the function would be excessive due to its
limited usage count, also note that we are already casting
various QVariant to its underlying type in existing code.
2020-12-26 20:27:01 +02:00
Vladimir Golovnev (Glassez)
926012ce71
Fix bug of torrents don't save "stopped" state
2020-12-26 20:27:00 +02:00
Chocobo1
487eb554c9
Fix coding style
2020-12-26 20:26:59 +02:00
Chocobo1
5a96e1fc7a
Use Qt provided forward declaration header
2020-12-26 20:26:58 +02:00
Chocobo1
177ac32a5e
Use the correct type when referring to info hash
2020-12-26 20:26:55 +02:00
Vladimir Golovnev (Glassez)
5f34d1555b
Fix received metadata handling
2020-12-26 20:26:54 +02:00
Vladimir Golovnev
f94f4d2391
Drop support for building with libtorrent < 1.2.11
...
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru >
2020-12-26 20:26:52 +02:00
FranciscoPombal
73b18d7ef3
Update minimum depedency versions
2020-12-26 20:26:51 +02:00
FranciscoPombal
817e9c4747
Fix method invocation on Qt < 5.10
...
Fixup 0c3fe54b0b
2020-12-26 20:26:48 +02:00
Vladimir Golovnev (Glassez)
28844eff44
Search for existing files in separate thread
2020-12-26 20:26:47 +02:00
Vladimir Golovnev (Glassez)
389664213b
Don't rewrite TorrentInfo instance if it's valid
2020-12-26 20:26:46 +02:00
Vladimir Golovnev (Glassez)
953b6fd6f8
Properly handle "Append extension" option changing
2020-12-26 20:26:45 +02:00
Vladimir Golovnev (Glassez)
9b4f3fcbf8
Clean up metadata downloading code
2020-12-26 20:26:43 +02:00
Chocobo1
80743180be
Remove unnecessary restriction on input length
...
Closes #13884 .
2020-12-26 20:26:42 +02:00
Chocobo1
b2847b2381
Update URL to libtorrent settings
2020-12-26 20:26:41 +02:00
Chocobo1
eb657ec032
Move "embedded tracker" options to qbt section
2020-12-26 20:26:39 +02:00
Chocobo1
fc2be601df
Add links to libtorrent documentation
2020-12-26 20:26:38 +02:00
Chocobo1
5786c7ff11
Lift upper limit of "Max concurrent HTTP announces" option
...
Closes #13800 .
2020-12-26 20:26:37 +02:00
Jesse Chan
4a183dd968
WebAPI: bump version to 2.6.2
2020-12-26 20:26:36 +02:00
Jesse Chan
7c10dba10c
WebAPI: allow to attach tags while adding torrents
2020-12-26 20:26:35 +02:00
sledgehammer999
894446d308
Don't try to remove folders for a torrent without metadata
2020-12-26 20:26:34 +02:00
sledgehammer999
47e9c5ac08
Fix status of torrents without metadata
2020-12-26 20:26:33 +02:00
Chocobo1
67b17891fa
Simplify the calculation of speed graph scale
2020-12-26 20:26:31 +02:00
Chocobo1
dd5b7ba05b
Avoid potential rounding to integer issues
2020-12-26 20:26:30 +02:00
Chocobo1
61aa4d9f1c
Fix coding style
2020-12-26 20:26:29 +02:00
Chocobo1
6e924b668e
Fix availability value
...
Closes #13869 .
Fix up 02f19bfbee .
2020-12-26 20:26:27 +02:00
Chocobo1
f266184514
Add ability to use 'shift+delete' to delete torrents in WebUI
...
Closes #13827 .
2020-12-26 20:26:24 +02:00
Chocobo1
8c48bf4a70
Fix wrong data used for comparison
...
In torrent transfer list we should use underlying data for sorting, not
displayed values.
Closes #13818 .
2020-12-26 20:26:23 +02:00
sledgehammer999
c66cf43d6a
Sync translations from Transifex and run lupdate
2020-11-24 17:04:07 +02:00
Thomas De Rocker
5fcfcc901e
Fix confusion in date format description ( #1 )
...
* Update automatedrssdownloader.ui
* Update rssDownloader.html (#2 )
2020-11-24 16:14:15 +02:00
Vladimir Golovnev (Glassez)
1728c16580
Improve coding style
2020-11-24 16:14:14 +02:00
sledgehammer999
7092a98c93
Add Latgalian translation
...
Closes #12415
2020-11-24 16:14:08 +02:00
Chocobo1
b6ab2abf3f
Don't use deprecated torrent state "allocating"
...
Closes #13737 .
2020-11-24 16:14:05 +02:00
Vladimir Golovnev (Glassez)
3edaaa30c9
Handle torrent "paused" state at application level
2020-11-24 16:14:04 +02:00
FranciscoPombal
2179148b8d
Make sure there are no empty files
2020-11-24 16:14:02 +02:00
FranciscoPombal
f92c4c0a40
Fix extra/missing trailing new lines in files
2020-11-24 16:14:00 +02:00
FranciscoPombal
1e7f792dbb
Fix trailing whitespace in multiple files
...
Also fix formatting of CODING_GUIDELINES.md
2020-11-24 16:13:59 +02:00
FranciscoPombal
1d4af505c2
Encode files in UTF-8 without BOM
2020-11-24 16:13:57 +02:00