sledgehammer999
cf6e4ce933
Sync translations from Transifex and run lupdate
2023-11-27 22:09:27 +02:00
brvphoenix
081eace057
Fix JS memory leak
...
The memory leak can be reproduced easily by opening two web pages of qbittorrent so that the WebUI pages are updated with full_update = true. If you have a large number of torrents, such as 100 torrents, you can observe a rapid increase in memory usage.
This is caused by the incorrect usage of dispose and empty methods in the js codes and none of them garbage collect the elements. If event listeners are added to the DOM elements, those DOM elements will not be garbage collected at all event if they are not referenced or out of the scope, which will cause memory leaks. If some elements are expected to be removed, the correct way is to use destroy method instead.
https://github.com/mootools/mootools-core/blob/master/Docs/Element/Element.md#element-method-dispose-elementdispose
https://github.com/mootools/mootools-core/blob/master/Docs/Element/Element.md#element-method-empty-elementempty
https://github.com/mootools/mootools-core/blob/master/Docs/Element/Element.md#element-method-destroy-elementdestroy
Closes #19034 .
PR #19969 .
2023-11-25 18:08:02 +03:00
sledgehammer999
d6e888a877
Sync translations from Transifex and run lupdate
2023-11-20 01:37:34 +02:00
sledgehammer999
ffe085dc8a
Sync translations from Transifex and run lupdate
2023-11-14 03:01:05 +02:00
Vladimir Golovnev
b824889d07
Improve free disk space checking for WebAPI
...
Use single free disk space checker instance for all the web sessions.
PR #19855 .
Closes #19732 .
2023-11-12 18:00:43 +03:00
Chocobo1
59d968e116
Improve performance of getting torrent numbers via WebAPI
...
PR #19919 .
2023-11-12 12:53:41 +03:00
sledgehammer999
43300d97e2
WebUI: Minor optimizations to the login page
2023-11-12 12:52:48 +03:00
Vladimir Golovnev
3007762864
WebUI: Correctly set save path in RSS rules
...
PR #19916 .
Closes #19915 .
2023-11-11 16:06:10 +03:00
Vladimir Golovnev
786c09e981
Drop WebUI default credentials
...
PR #19777 .
2023-11-10 12:07:35 +03:00
vik
2c2252d7d9
WebUI: Remove extra ')' in QBT_TR macro
...
PR #19894 .
2023-11-08 08:34:01 +03:00
xavier2k6
c2dd53cee6
Use appropriate icon for "moving" torrents in transfer list
...
PR #19821 .
2023-11-08 08:34:01 +03:00
Bartu Özen
837d39dac7
WebUI: Fix incorrect subcategory sorting
...
PR #19833 .
Closes #19756 .
2023-11-08 08:34:01 +03:00
Vladimir Golovnev
54dffa1051
Allow to request torrents count via WebAPI
...
PR #19831 .
Closes #19731 .
2023-11-08 08:34:01 +03:00
Vitaly Cheptsov
ee853d8751
Fix .torrent file upload on iPadOS
...
Mobile Safari on iOS does report `ios` platform, but iPadOS reports `mac`
instead. It is common sense to check for touch points when this happens
to differentiate Mac and iPad.
PR #19822 .
Closes #19057 .
---------
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
2023-11-08 08:34:01 +03:00
AgentConDier
a396e0df26
WebUI: Fix duplicate scrollbar on Transfer List
...
The overlay scrollbars introduced in Firefox 100 take up no space,
breaking the existing overflow detection.
Add an extra check for `scrollHeight != clientHeight` which is able to
detect an overflow independent of scrollbar style.
PR #19779 .
---------
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
2023-11-08 08:34:01 +03:00
Chocobo1
4b56bdd36f
Combine CSS properties
...
PR #19730 .
2023-11-08 08:34:01 +03:00
thalieht
7b73d3fb5c
Add I2P settings to WebUI
...
PR #19700 .
2023-11-08 08:34:00 +03:00
sledgehammer999
d512d6dead
Sync translations from Transifex and run lupdate
2023-11-05 21:22:01 +02:00
sledgehammer999
3d3ce1c5d7
Sync translations from Transifex and run lupdate
2023-10-22 03:07:40 +03:00
Priit Uring
d85ed84e83
Sync flag icons with upstream
...
* Includes all 268 flags.
* Upstream commit `a7b7c3c55560cb39d96e70324876e1bb5b1c625b` - (Release v6.11.0)
* Flags source from (zip): https://github.com/lipis/flag-icons/releases/tag/v6.11.0
PR #19518 .
2023-10-08 10:17:20 +03:00
Trim21
81a3479fd7
WebUI: fix missing error icon
...
PR #19610 .
Closes #18737 .
2023-10-08 10:17:20 +03:00
Matic Babnik
c14b08bd1d
Add "Add Tags" field for RSS rules in WebUI
...
PR #19519 .
2023-10-08 10:17:20 +03:00
sledgehammer999
a9d8cf2ea9
Sync translations from Transifex and run lupdate
2023-08-29 03:13:59 +03:00
sledgehammer999
af20233dfc
Bump copyright year
2023-08-29 00:28:11 +03:00
Vladimir Golovnev
66777f3304
WebUI: use new format of RSS rules
...
PR #19326 .
Fixes regression of #18824 .
Closes #19323 .
2023-07-18 15:18:08 +03:00
sledgehammer999
c1d64cc3ea
Sync translations from Transifex and run lupdate
2023-07-17 09:14:36 +03:00
Christopher
35e18498d9
Add option to stop seeding when torrent has been inactive
...
PR #19294 .
Closes #533 .
Closes #8073 .
Closes #15939 .
2023-07-15 13:14:42 +03:00
sledgehammer999
e739d38061
Sync translations from Transifex and run lupdate
2023-07-12 01:50:01 +03:00
Chocobo1
4f6038c350
Merge pull request #19291 from Chocobo1/limits
...
Expose 'bdecode limits' settings
2023-07-11 11:24:09 +08:00
Fabricio Silva
f08556be30
WebUI: Preserve the network interfaces when down
...
PR #19286 .
2023-07-11 11:23:37 +08:00
Chocobo1
5a660fc8a9
Expose 'bdecode limits' settings
...
This includes:
* Bdecode depth limit
* Bdecode token limit
2023-07-09 15:36:13 +08:00
Vladimir Golovnev
4ef9a6444a
Add options to adjust behavior of merging trackers to existing torrent
...
PR #19278 .
Closes #19251 .
2023-07-06 07:55:59 +03:00
Chocobo1
66dfe8545d
Expose 'max torrent file size' setting
2023-07-06 12:45:09 +08:00
Chocobo1
fff7b1dcbd
Merge pull request #19277 from Chocobo1/ctor
...
Don't update settings when it hasn't changed
2023-07-06 12:41:45 +08:00
Chocobo1
9d7dad4a61
Don't unnecessarily restart Web server
...
When related settings hasn't changed.
2023-07-05 03:32:53 +08:00
Vladimir Golovnev
7ec80263e1
Allow to globally disable the use of proxy
...
PR #19273 .
Closes #19141 .
2023-07-04 09:27:46 +03:00
Chocobo1
80791e328d
Fix wrong behavior when reading text
...
Also add another 'file read error' status.
Closes #19254 .
PR #19262 .
2023-07-02 13:23:20 +08:00
Chocobo1
6680fdda18
Fix typos
2023-06-26 16:45:44 +08:00
luzpaz
deec2ae1b1
Fix various typos
...
PR #19213 .
2023-06-24 16:04:04 +03:00
Chocobo1
1f2a6455b6
Merge pull request #19188 from Chocobo1/literalOperator
...
Rename literal operator
2023-06-19 12:45:20 +08:00
sledgehammer999
2bbfd317ce
Sync translations from Transifex and run lupdate
2023-06-18 01:37:12 +03:00
Chocobo1
e6d85a468b
Rename literal operator
...
Qt 6.4 introduced `QString operator""_s()` and the previous `""_qs` is
deprecated since Qt 6.8.
2023-06-18 03:32:44 +08:00
Chocobo1
f6b58f36e2
WebUI: set Cross Origin Opener Policy to same-origin
...
This separates browsing context for different origin sites and prevents
leaking data from it.
This header is only present when using built-in WebUI. Alternative WebUI
is not affected.
https://web.dev/why-coop-coep/#coop
PR #19157 .
2023-06-14 13:38:48 +08:00
Chocobo1
79ca2e145f
Don't read unlimited data from files
...
It now guards against reading infinite files such as `/dev/zero`.
And most readings are bound with a (lax) limit.
As a side effect, more checking are done when reading a file and
overall the reading procedure is more robust.
PR #19095 .
2023-06-14 13:38:19 +08:00
tearfur
2e87e6e0df
Use hostname instead of domain name in tracker filter list
...
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
PR #19062 .
Closes #19035 .
2023-06-05 14:57:37 +03:00
Vladimir Golovnev
a5e8af5070
Allow to assign priority to RSS download rule
...
PR #19000 .
2023-06-05 14:55:41 +03:00
Chocobo1
83e6afcb71
Merge pull request #19069 from Chocobo1/sort
...
WebUI: use natural sort on tracker list
2023-06-04 12:52:29 +08:00
Raymond Ha
3ef8726083
WebUI: Set Connection status and Speed limits tooltips
...
PR #19052 .
Fixes #18958 .
2023-06-03 17:39:58 +03:00
Chocobo1
dad9157d84
Don't overwrite original variable
2023-06-02 18:12:01 +08:00
Chocobo1
5cea69472f
Use natural sort
2023-06-02 17:44:17 +08:00