Thomas Piccirello
6bbb7b71cd
Add WebAPI/WebUI for managing cookies
...
Closes #21125 .
PR #21340 .
2024-09-30 17:13:25 +08:00
skomerko
8b2d8f3afd
WebUI: Use Map instead of Mootools Hash in all dynamic tables
...
PR #21358 .
2024-09-28 15:46:16 +08:00
Thomas Piccirello
81def39d8c
WebUI: Support managing web seeds
...
Closes #8475 .
PR #21055 .
2024-09-28 15:37:36 +08:00
Thomas Piccirello
8a6207d3fc
WebUI: Fix removing tracker URL with '|' character
...
Closes #19074 .
PR #21346 .
2024-09-22 14:22:52 +08:00
skomerko
c3224459db
WebUI: Add 'Confirm torrent recheck' option
...
This PR adds setting & confirmation dialog for torrent recheck.
Closes #19557 .
PR #21348 .
2024-09-22 14:12:44 +08:00
skomerko
183c7c75b1
WebUI: Display DHT information in the Status bar only when DHT is enabled
...
GUI completely hides DHT information when DHT is disabled - now WebUI does the same thing.
Closes #18417 .
PR #21339 .
2024-09-22 14:06:25 +08:00
Thomas Piccirello
d2b2afad23
Support removing tracker from all torrents in WebUI/WebAPI
...
Closes #20661 .
PR #21056 .
2024-09-16 17:47:10 +08:00
skomerko
d19f7b12d9
WebUI: Improve hash copy actions in context menu
...
This PR provides better feedback for hash context menu actions and now it is clearly shown if there is anything to copy.
PR #21321 .
2024-09-16 17:41:14 +08:00
skomerko
6df1f68ead
WebUI: Use Map instead of Mootools Hash in Torrents table
...
PR #21308 .
2024-09-16 17:34:49 +08:00
skomerko
0ea35c54a3
WebUI: Improve torrent deletion
...
* Added 'Confirm when deleting torrents' option to the WebUI
* Confirm deletion dialog now uses MUI.Modal
PR #21289 .
Closes #18345 .
2024-09-13 22:28:02 +08:00
skomerko
1b53fdf9ee
WebUI: Improve subcategories
...
Now they should fully match GUI behavior, please let me know if I missed something.
Still plenty of room to improve them further (e.g styling/CSS) but for now I wanted to keep the changes to the minimum.
Also included small tweaks to category context menu actions.
PR #21269 .
2024-09-08 15:21:11 +08:00
Chocobo1
0e63b83aed
WebUI: do not follow anchor URL
...
Fix up 5afeecbf18 .
PR #21283 .
2024-09-06 15:31:26 +08:00
skomerko
f681e954c7
WebUI: Show country/region name next to its flag when 'Resolve peer countries' is enabled
...
PR #21278 .
2024-09-06 15:23:11 +08:00
skomerko
9d0fa213be
WebUI: Allow to display only hostname in the Tracker column
...
It is now possible to display only hostname in the Tracker column.
Closes #11357 .
PR #21243 .
2024-09-01 16:34:49 +08:00
skomerko
5b7c9d5725
WebUI: Filter list improvements
...
A couple of tweaks to make them a little bit better:
1. Make highlighting functions more consistent (this also fixes minuscule bug when no filter item in tracker list is highlighted due to a type mismatch)
2. Use [event delegation](https://javascript.info/event-delegation ) to handle filter toggling & item selection
3. Other minor improvements (everything should work like it was previously)
PR #21191 .
2024-08-25 14:23:35 +08:00
skomerko
39dd415d43
WebUI: Improve torrent deletion dialog
...
This PR improves torrent deletion dialog.
1. Now shows different message depending on the number of selected torrents
2. Visually pretty much inline with the GUI
3. Adjusts to content on load
4. Now uses XHR load method. Panels / windows loaded using this method become part of the current document so there is no need to import styles or scripts (they should load marginally faster now).
PR #21185 .
---------
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com >
2024-08-25 14:11:36 +08:00
skomerko
fda797cb76
WebUI: Improve properties panel
...
It is now possible to expand & collapse it by clicking directly on tabs, just like in GUI.
In addition, collapse state is saved and applied on page load.
Fixed one minor bug and now files search input is properly hidden even when panel is collapsed.
PR #21209 .
2024-08-24 14:09:10 +08:00
Chocobo1
98623b2cf7
WebUI: use passive event handlers
...
These kind of event handlers can be asynchronously dispatched, freeing up the main thread for
lag-free operation.
2024-08-17 14:03:51 +08:00
Chocobo1
29379232aa
WebUI: implement debounce behavior for resize events
2024-08-17 14:02:15 +08:00
Chocobo1
0c580c3174
WebUI: remove redundant events
...
The base class already handle them.
Also optimize the base implementation a bit.
2024-08-17 14:02:15 +08:00
Chocobo1
1179fc3de3
WebUI: prevent passing wrong parameter
...
The `event` object will be passed as the first parameter to the event handler. So wrap the
event handler with a closure to prevent `event` leaking to other functions.
2024-08-17 14:02:13 +08:00
skomerko
e069fbc37f
WebUI: Add missing icons
...
This adds missing icons to WebUI (in tabs, buttons, etc.).
PR #21162 .
2024-08-17 13:38:44 +08:00
skomerko
f5aa0bb126
WebUI: Always create generic filter items
...
PR #21188 .
2024-08-15 20:36:38 +03:00
Chocobo1
b1d2b9d02b
WebUI: fix wrong property for keyboard keys
...
Fix up 2d9e3b3330 .
PR #21182 .
2024-08-12 15:14:17 +08:00
Chocobo1
d9667b5221
Merge pull request #21179 from Chocobo1/webui_style
...
WebUI: use native property to set styles
2024-08-12 15:08:26 +08:00
HamletDuFromage
9a8572bd21
WebUI: Handle regex syntax error for torrent filtering
...
https://github.com/qbittorrent/qBittorrent/pull/20566#discussion_r1704548226
PR #21173 .
2024-08-12 14:54:37 +08:00
skomerko
04eb40376e
WebUI: Allow to filter torrent list by save path
...
This PR adds ability to filter torrent list by save path. Everything should work exactly like in GUI.
Closes #19393 .
PR #21175 .
2024-08-11 16:08:13 +08:00
Chocobo1
3e18b1d30c
WebUI: remove outdated CSS property
...
WebUI already has the standard counterparts.
2024-08-10 14:26:10 +08:00
Chocobo1
9df3ee0de8
WebUI: use native property to set styles
2024-08-10 14:26:10 +08:00
Chocobo1
0c7045042d
WebUI: replace deprecated property
2024-08-10 13:01:26 +08:00
Chocobo1
5afeecbf18
WebUI: migrate away from inline HTML code
...
`innerHTML` & `outerHTML` setter will more or less evaluate the value which could be used to
inject malicious code. So replace them with safer alternatives.
PR #21163 .
2024-08-10 12:55:48 +08:00
skomerko
4570c0ef9e
WebUI: Clear trackerList on full update
...
Like other similar data structures, trackerList also need to be cleared in the event of a full sync update.
PR #21148 .
2024-08-10 12:49:00 +08:00
thalieht
d0af02cc17
WebUI: Add missing columns in transfer list
...
* Incomplete Save Path
* Info Hash v1
* Info Hash v2
PR #21158 .
2024-08-09 14:48:22 +08:00
skomerko
62c5f41f39
WebUI: Implement 'Auto hide zero status filters'
...
PR #21145 .
2024-08-09 14:38:53 +08:00
Chocobo1
2d9e3b3330
WebUI: use native functions for event handling
...
PR #21147 .
2024-08-07 22:00:54 +08:00
skomerko
142780b863
WebUI: Highlight torrent category in context menu
...
This PR makes it possible to see common category of selected torrents in context menu. Everything should behave exactly like in GUI.
Closes #12701 .
PR #21136 .
2024-08-07 21:40:21 +08:00
Chocobo1
7b2886e477
Revise label text
...
PR #21118 .
2024-08-05 21:01:49 +08:00
Chocobo1
49507ad670
Merge pull request #21123 from skomerko/webui-use-alternating-row-colors
...
WebUI: Add ability to toggle alternating row colors in tables
2024-08-04 17:16:01 +08:00
Chocobo1
d74f49111b
WebUI: fix accessing wrong variable
...
Fix up 7131d1bd6b .
PR #21129 .
2024-07-30 20:25:19 +08:00
Carmelo Scandaliato
642a9c29eb
WebUI: remove deleted torrents even if they are currently filtered out
...
Remove the torrent row regardless of it being visible.
I've also removed the return value because:
* it doesn't appear to be used by any caller;
* other functions (e.g. updateRowData) do not return any value;
* it's not clear whether true refers to the torrent being removed from the list of all torrents or just the visible ones.
Closes #21070 .
PR #21071 .
2024-07-29 16:20:21 +08:00
skomerko
b67495464d
WebUI: Add ability to toggle alternating row colors in tables
2024-07-28 11:34:52 +02:00
Chocobo1
bf7e1516d5
WebUI: clear timer variable properly
...
In JS the timer handle pool is reused and therefore require careful handling of it.
2024-07-26 05:08:40 +08:00
Chocobo1
7131d1bd6b
WebUI: listen to resize events properly
...
The workaround is not needed now.
Also added a debouncer to avoid too many transient resizing events.
2024-07-26 03:19:58 +08:00
Chocobo1
062904c2bd
WebUI: avoid excessive checking
2024-07-25 14:20:57 +08:00
Chocobo1
8e9680bf69
WebUI: simplify code
2024-07-19 17:47:34 +08:00
Chocobo1
83d730ffda
Merge pull request #21074 from Chocobo1/webui_html5
...
WebUI improvements
2024-07-17 12:06:08 +08:00
Hanabishi
3acd5409a6
WebUI: Fix Torrent Management Mode selector
...
PR #21053 .
2024-07-15 18:33:51 +08:00
Chocobo1
25dd6c72f7
WebUI: use the correct property for accessing text
...
In these instances we don't need the rendered result. So use the most efficient
property to access it: `.textContent`.
2024-07-15 17:09:16 +08:00
Chocobo1
9feefc8144
WebUI: avoid redundant re-initialization
...
PR #21012 .
2024-07-12 15:00:36 +08:00
Chocobo1
9c26e5d4d6
WebUI: access attribute/property natively
...
It is now clearer to see what property is being accessed.
Previously mootools library would re-map attribute/property to another.
PR #21007 .
2024-07-12 14:06:59 +08:00