Chocobo1
3e4c2193fb
Drop python2 support
...
Closes #11811 .
2020-03-24 16:15:00 +02:00
Nick Korotysh
5c2b8d3e10
Delegate GUI scaling work to Qt
...
Set Qt::AA_EnableHighDpiScaling application attribute when Qt 5.14.x or
newer is used. This fixes a lot of scaling issues on HiDPI displays.
Unfortunately, this flag must be set only before QApllication object
creation, so the only one place where it can be done is main().
2020-03-24 16:14:59 +02:00
Chocobo1
ae9b8720af
Use helper functions to construct smart pointers
2020-03-24 16:14:59 +02:00
NotTsunami
9de819ea4a
Improve the options tooltips
...
* Fix wrong fields for translation comments
* Improve torrent management tooltip to cover both modes
* Add new tooltips for potentially confusing settings
Decent progress towards #6346 , closes #9994 , closes #11528
2020-03-24 16:14:56 +02:00
Vladimir Golovnev (Glassez)
703330c40d
Allow to save downloaded metadata as torrent file
2020-03-24 16:14:51 +02:00
Chocobo1
0ba8111c37
Fix wrong field for translation comment
...
The `comment` field is used for disambiguation between identical
strings. Our case here should use the `extracomment` field which
meant as comment for translators.
2020-03-24 16:14:50 +02:00
Chocobo1
5d206acb21
Remove misleading translation comment
...
Also it was using the wrong field for translation comment.
2020-03-24 16:14:49 +02:00
djt3
7f1218a7c7
Change placeholder text in torrent list's filter
2020-03-24 16:14:48 +02:00
sledgehammer999
84aa63a3c5
Use IP geolocation database by DB-IP instead of MaxMind
...
Closes #11792
2020-03-24 16:14:44 +02:00
FranciscoPombal
575bde1d1d
Add stalled filters to GUI and Web API/UI
...
`/api/v2/torrents/info` can now take the following new values for the`filter` parameter: `stalled`, `stalled_uploading` and `stalled_downloading`.
Requires Web API version bump.
Closes #11787
2020-03-24 16:14:42 +02:00
Chocobo1
b02eb32806
Expose WebUI ban duration to users
2020-03-24 16:14:38 +02:00
Chocobo1
b19153287b
Expose WebUI ban counter to users
2020-03-24 16:14:36 +02:00
NotTsunami
0cd4900e92
Remove redundant null checks
...
Attempting to delete a null pointer is a noop in C++.
Closes #2864 .
[1] https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null
2020-03-24 16:14:28 +02:00
Chocobo1
0ad8dc39e5
Let ReverseResolution always return/emit a result
2020-03-24 16:14:27 +02:00
Chocobo1
60d133ca6d
Speed up lookup time
...
By adding another variable we can get O(1) lookup time instead of O(n).
Fix up 5f415c292d .
2020-03-24 16:14:26 +02:00
Chocobo1
4006818520
Improve ReverseResolution class
...
* Use QHostAddress type for IP
* Avoid double lookup
* Use larger cache size
2020-03-24 16:14:25 +02:00
thalieht
756bc3da54
Show any multiple connections from the same IP in peer list
...
The uniqueness of peers is now determined by their
IP, port and connection type (uTP etc.) instead of just their IP
2020-03-24 16:14:24 +02:00
Vladimir Golovnev (Glassez)
ab6079e0d5
Track settings changed event in TransferListModel
2020-03-24 16:14:22 +02:00
Vladimir Golovnev (Glassez)
dc0b1ce227
Fix hide zero values
2020-03-24 16:14:21 +02:00
Sakib-Abrar
1db12e4421
Show "∞" instead of " -1" in Preferences
2020-03-24 16:14:20 +02:00
Prince Gupta
06c09f0113
Reorganize UI theme selection
2020-03-24 16:14:17 +02:00
FranciscoPombal
07196571e8
Add piece_extent_affinity to AdvancedSettings
...
Expose option in WebUI settings and WebAPI.
Requires WebAPI version bump.
Closes #11436 .
2020-03-24 16:14:14 +02:00
Vladimir Golovnev (Glassez)
e75a65d798
Fix Transfer list sorting
2020-03-24 16:14:13 +02:00
Chocobo1
e1a10a0375
Fix missing string
2020-03-24 16:14:12 +02:00
Chocobo1
080c542953
Bump python version for new installation
2020-03-24 16:14:11 +02:00
Chocobo1
d7ab472363
Bump copyright year
2020-03-24 16:14:10 +02:00
An0n
c4eb6eccaf
Change placement of stop tracker timeout
2020-03-24 16:14:10 +02:00
an0n666
1c091cef76
Expose stop_tracker_timeout in advanced settings
2020-03-24 16:14:09 +02:00
thalieht
4b40b80145
Allow double-click in preview dialog
2020-03-24 16:14:05 +02:00
Vladimir Golovnev (Glassez)
2a3fc0ede1
Use QStyledItemDelegate instead of QItemDelegate
2020-03-24 16:14:03 +02:00
Vladimir Golovnev (Glassez)
1b9fd85497
Fix transfer list architecture
...
Model returns string for DisplayRole.
Text alignment is set by Model (using TextAlignmentRole).
Delegate performs custom painting only where necessary
(i.e. for Progress bar).
2020-03-24 16:14:02 +02:00
Chocobo1
c73f61c8d4
Remove unused variable
2020-03-24 16:14:02 +02:00
Chocobo1
4205e99479
Migrate away from deprecated API in Qt 5.14
2020-03-24 16:14:01 +02:00
FranciscoPombal
c5dc361213
WebUI: Implement "Secure" flag for session cookie
...
Closes #11724 .
Option is enabled by default for users using qBittorrent's built-in HTTPS capabilities. This flag will never be set if qBittorrent is using plain HTTP.
Users using HTTPS reverse proxies, like "qbt <-> (http) <-> proxy <-> (https) <-> user" should override the flag in the proxy in order to set it, if they wish to do so.
2020-03-24 16:13:56 +02:00
Thomas Piccirello
63c9e29419
Rename Country column to "Country / Region"
...
Not all flags displayed strictly belong to countries.
2020-03-24 16:13:55 +02:00
sledgehammer999
1e05e6a842
Option to show console when external program is run
...
Windows only.
Closes #9592
2020-03-24 16:13:54 +02:00
Prince Gupta
85c1a9dbe0
Allow transfer list text color changes through QSS
2020-03-24 16:13:52 +02:00
Medvedishce
89de23718b
Update free disk space label on Category change in Auto Mode
...
Closes #8772 .
This will fix issue that "Free space on disk:" label in
Add New Torrent dialog not updated on Category change
when Torrent Management Mode is on Auto mode.
2020-03-24 16:13:51 +02:00
Chocobo1
3760b63582
Replace hard-coded numbers in TrackerFiltersList class
2020-03-24 16:13:50 +02:00
Chocobo1
621ee80539
Simplify null pointer check
2020-03-24 16:13:50 +02:00
Chocobo1
7589487c0c
Replace a series of if() by switch()
2020-03-24 16:13:49 +02:00
Prince Gupta
1bdeab398a
Align Properties tab bar correctly on window resize
2019-12-18 00:18:50 +02:00
sledgehammer999
2bda2a37e3
Rework the listening IP/interface selection code
...
Closes #11561
2019-12-18 00:18:48 +02:00
Chocobo1
7926d1755f
Fix inconsistent icon for deleting torrent
...
Closes #11565 .
2019-12-18 00:18:35 +02:00
Chocobo1
3a13a3d5ca
Show torrent error message in transfer list
2019-12-18 00:18:34 +02:00
warren
890ccb7b84
Expand single-item folders in torrent content
2019-12-18 00:18:25 +02:00
Chocobo1
0f2c61a207
Remove redundant type casting
2019-11-14 12:18:41 +08:00
Mike Tzou
9cb07db84b
Merge pull request #11473 from j1warren/dblclick_preview_file
...
Add "Preview file" double-click action
2019-11-14 12:02:57 +08:00
Mike Tzou
cdb1874263
Merge pull request #11466 from Xegor/master
...
Add "create subfolder" option to RSS auto-download rules
2019-11-14 12:02:06 +08:00
warren
74009f13d9
Add "Preview file" double-click action
2019-11-11 23:12:55 +05:00