Chocobo1
|
bf4e0df386
|
WebUI: unify curly bracket usage
|
2024-06-07 02:51:35 +08:00 |
|
Chocobo1
|
64dfb7e122
|
WebUI: iterate over own properties only
|
2024-05-27 23:00:03 +08:00 |
|
Chocobo1
|
55bff4f07a
|
WebUI: enforce usage of const whenever possible
|
2024-05-27 22:56:51 +08:00 |
|
Chocobo1
|
cb90b6769c
|
WebUI: enforce string quotes coding style
|
2024-05-27 22:50:17 +08:00 |
|
Chocobo1
|
d7cded54e4
|
WebUI: enforce parentheses around operators
PR #20696.
|
2024-04-15 12:50:07 +08:00 |
|
Chocobo1
|
d06d5b923a
|
Cache program preferences
So that qbt can just use the data from memory which is vastly faster than waiting for a response
over the net.
|
2024-02-14 03:38:09 +08:00 |
|
Chocobo1
|
8ef99b336c
|
Remove 'no cache' directive for POST requests
The response for POST request is only cachable under a specific condition and
qbt doesn't use it.
https://developer.mozilla.org/en-US/docs/Glossary/Cacheable
|
2024-02-11 23:28:44 +08:00 |
|
brvphoenix
|
9fde5634f1
|
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 13:50:45 +08:00 |
|
Chocobo1
|
eb875ac8c1
|
Add attributes explicitly
|
2023-03-28 22:20:37 +08:00 |
|
Chocobo1
|
ca274635d5
|
Make WebUI images self-contained
|
2022-08-27 13:55:04 +08:00 |
|
Chocobo1
|
72941b10bb
|
Use proper request method
|
2022-08-16 11:26:47 +08:00 |
|
Nowshed H. Imran
|
748226be29
|
Rename Icons according to the actions
Fixes #17357.
PR #17366.
|
2022-07-31 13:31:38 +08:00 |
|
Nowshed H. Imran
|
199d770e15
|
Implement new icon/color theme
Co-authored-by: xavier2k6 <42386382+xavier2k6@users.noreply.github.com>
|
2022-06-09 18:18:14 +06:00 |
|
Chocobo1
|
dbfd6a2368
|
WebUI: enforce coding style
Actually, not all of them but some that can be enforced by eslint.
The changes are made by eslint with minor manual tweaking.
PR #17046.
|
2022-05-18 11:37:05 +08:00 |
|
thalieht
|
e86916a7f9
|
Make some strings in WebUI translatable
Closes #14920
|
2021-05-06 20:49:35 +03:00 |
|
Chocobo1
|
121ff2b7be
|
Apply code formatting
|
2021-03-26 00:27:52 +08:00 |
|
Chocobo1
|
c3bab70434
|
Remove extra semicolon
|
2021-03-26 00:27:51 +08:00 |
|
Mike Tzou
|
45c0d5a823
|
Merge pull request #14587 from Chocobo1/monitor
Remove wrong parentheses in WebUI
|
2021-03-24 12:47:11 +08:00 |
|
Chocobo1
|
e43a9de2f3
|
Make global functions immutable
|
2021-03-23 18:53:56 +08:00 |
|
brvphoenix
|
5beb1b2cd0
|
WebUI: Avoid decoding strings repeatedly
Fix #14553
|
2021-03-21 02:09:53 -07:00 |
|
Chocobo1
|
7e258bfe38
|
Fix typos
|
2020-10-20 18:56:30 +08:00 |
|
Sepro
|
6c016cf443
|
Place WebUI RSS description in sandboxed iframe
|
2020-10-19 06:39:19 +02:00 |
|
Chocobo1
|
ccdc3b201b
|
Add missing semicolons
Also trim trailing whitespaces along the way.
|
2020-09-17 12:11:13 +08:00 |
|
Sepro
|
2b3c92a4a8
|
WebUI: Add RSS functionality
Implemented RSS Reader and AutoDownloader in reference WebUI.
|
2020-05-22 14:21:45 +02:00 |
|