Thomas Piccirello
be3eefd8de
WebUI: Fix displaying RSS panel on load
...
The required JS may not yet be loaded, resulting in an error when calling `window.qBittorrent.Rss.init()`.
Signed-off-by: Thomas Piccirello <thomas@piccirello.com >
PR #21689 .
2024-10-28 14:06:52 +08:00
Thomas Piccirello
e0e61ffd02
WebUI: Support auto resizing table columns
...
Auto resize can be triggered by:
1. Double clicking the column's resize handle (its rightmost edge)
2. The table header's context menu
Closes #21627 .
PR #21655 .
2024-10-28 13:59:13 +08:00
Thomas Piccirello
c3c91be578
WebUI: Clear properties panel when torrent no longer selected
...
PR #21654 .
2024-10-28 13:53:24 +08:00
skomerko
67b6cf5a6f
WebUI: Don't sort rows with static trackers in Trackers table
...
Static trackers come before anything else so in this PR I made sure they are not moved when sorting Trackers table columns.
PR #21609 .
2024-10-27 14:54:33 +08:00
Thomas Piccirello
e8dc6b3f73
WebUI: Show file filter when Content tab selected on load
...
This fixes a bug where the file filter is only shown when the Content tab is switched to. The filter is not being shown if the Content tab is already selected on page load (due to being previously selected).
PR #21657 .
2024-10-26 03:28:01 +08:00
Hanabishi
dfe9daf25d
WebUI: restore arrow keys table navigation
...
Fixup for #21007 and #21147 . Table navigation with arrows (#15186 ) has been broken by that changes.
See https://github.com/qbittorrent/qBittorrent/pull/21007#discussion_r1807326166 and https://github.com/qbittorrent/qBittorrent/pull/21147#discussion_r1807361385 for details.
This PR restores the functionally.
PR #21640 .
2024-10-26 03:14:36 +08:00
Chocobo1
25dbea1388
WebUI: fix 'rename files' dialog cannot be opened more than once
...
Added an IIFE around the whole script to suppress variable redeclaration errors.
Closes #21614 .
PR #21620 .
2024-10-20 16:01:57 +08:00
skomerko
5a0914e333
WebUI: Use modern class syntax in context menu classes
...
Context menu classes are now created using vanilla JS syntax (minimal changes to reduce MooTools bits).
PR #21598 .
2024-10-19 16:32:20 +08:00
skomerko
7031c52d16
WebUI: Improve sort order in Status column
...
This commit adds custom compare function to Status column (same sort order as in the GUI).
Closes #15499 .
PR #21570 .
2024-10-19 16:25:30 +08:00
sledgehammer999
3d9e9715b4
Merge pull request #21364 from sledgehammer999/dont_ignore_ssl_errors
...
Don't ignore SSL errors
2024-10-12 10:37:48 +03:00
skomerko
cbcb46bcfb
WebUI: Setup copy events only once
...
It is enough to set them up just once during initial load. Number of elements with copyToClipboard class is fixed - they are context menu items.
PR #21558 .
2024-10-12 14:29:54 +08:00
skomerko
0704049026
WebUI: Apply box-sizing reset
...
Box-sizing: border-box is now applied globally. A lot of tiny changes were made but they were necessary to correct resulting inconsistencies. Everything should be pretty much as it was with just some minor exceptions.
Looks like this PR also indirectly fixed #21414 .
PR #21464 .
2024-10-12 14:22:07 +08:00
skomerko
81509dfb65
WebUI: Improve filter lists
...
This PR adds following improvements:
* Remove unused tracker entries while processing sync data
* Take into account filter selection & terms when performing 'Start/stop/delete' context actions in filter lists
Now, only filtered torrents will be affected by them, just like in the GUI.
* Provide better feedback when performing 'Start/stop/delete' context actions in filter lists
Small improvement over GUI - now these actions will be disabled if it's not possible to use them.
* Add context menu to status filter list
* Fix error when toggling filter title
Fixup for small bug introduced in https://github.com/qbittorrent/qBittorrent/pull/21269
PR #21438 .
2024-10-12 13:40:18 +08:00
Thomas Piccirello
b1fd61af3a
WebUI: Handle folders when updating RSS feed url
...
Follow up to #21371 ([context](https://github.com/qbittorrent/qBittorrent/pull/21371#discussion_r1780908605 )).
PR #21437 .
2024-10-12 13:30:24 +08:00
skomerko
87644441ad
WebUI: Add context menu to search tabs
...
PR #21516 .
2024-10-07 22:04:29 +08:00
Chocobo1
6bbedbea8a
WebUI: remove unused variable
...
PR #21500 .
2024-10-06 16:54:42 +08:00
sledgehammer999
e309148147
Reorder code to match UI
2024-10-04 22:48:46 +03:00
sledgehammer999
6981217369
Don't ignore SSL errors
2024-10-04 22:48:46 +03:00
skomerko
4ff0687b94
WebUI: Add confirm dialog for Auto TMM
...
Just like in GUI, confirmation dialog shows up if it's possible to enable Auto TMM for any selected torrent. Right now it's not possible to properly test all cases in the WebUI because context menu completely hides TMM option when some torrents have it enabled and some not (no tri-state) - but that's something to add in another PR.
PR #21378 .
2024-10-04 22:39:08 +08:00
Chocobo1
dc02a0fc56
WebUI: remove unused variables
...
PR #21432 .
2024-10-04 22:23:04 +08:00
Vladimir Golovnev
c48d2c1dde
WebUI: Fix incorrect row ID
...
Incorrect row ID prevented the "Torrent content removing mode" option from being displayed on some platforms.
PR #21481 .
2024-10-04 14:06:51 +03:00
Hanabishi
b5b34c9ff4
Add "Simple pread/pwrite" disk IO type
...
PR #21300 .
2024-10-01 19:58:35 +03:00
skomerko
d8e24314ec
WebUI: Improve lookup performance when filtering by tracker
...
Torrent hashes in tracker list are now kept in sets instead of arrays.
PR #21405 .
2024-09-30 18:13:45 +08:00
skomerko
449ca96e28
WebUI: Add 'Engine' column to Search table
...
This PR adds 'Engine' column to Search table.
I also fixed inconsistent naming and renamed 'Search engine' column to 'Engine URL'.
PR #21397 .
2024-09-30 18:05:17 +08:00
Chocobo1
cebaedf485
WebUI: CSS/styling improvements
...
WebUI: CSS/styling improvements
2024-09-30 17:57:42 +08:00
Thomas Piccirello
50acb670b0
WebUI: Support updating RSS feed URL
...
PR #21371 .
Signed-off-by: Thomas Piccirello <thomas@piccirello.com >
2024-09-30 17:34:37 +08:00
Thomas Piccirello
6bbb7b71cd
Add WebAPI/WebUI for managing cookies
...
Closes #21125 .
PR #21340 .
2024-09-30 17:13:25 +08:00
skomerko
5e3161a3f9
WebUI: Improve statistics window
2024-09-28 17:49:52 +02:00
skomerko
4cc3fedf37
WebUI: Reduce padding in torrents table
2024-09-28 17:49:52 +02:00
skomerko
2952480f37
WebUI: Use correct text and background colors in RSS details view
2024-09-28 17:49:52 +02:00
skomerko
6bfabad92f
WebUI: Prevent text selection within tabs, menu items
2024-09-28 17:49:52 +02:00
skomerko
0e03e4f8a7
WebUI: Add colors to log table rows
2024-09-28 13:33:14 +02:00
skomerko
10149de205
WebUI: Define global CSS variables in root selector
2024-09-28 13:33:14 +02:00
skomerko
960edd95cc
WebUI: Remove redundant imports
2024-09-28 13:33:14 +02: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
Burnerelu
e06b7f8f4d
Enable customizing the save statistics time interval
...
This change extends the Advanced section of the Preferences menu with a new field, allowing changing the time statistics save interval. A zero value will prevent recurrent saving.
This aims to provide the feature requested in issue #21285 .
PR #21291 .
2024-09-16 17:16:59 +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
Chocobo1
a0c32110f1
Add URL link for reverse proxy setup examples
...
The link is helpful for users whom needs to setup reverse proxy.
PR #21305 .
2024-09-13 22:18:31 +08:00
skomerko
435385816a
WebUI: Provide 'Merge trackers to existing torrent' option
...
PR #21302 .
2024-09-10 11:12:30 +03: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
130c0d8487
Revise cookie 'secure flag' enable condition
...
The localhost is 'potentially trustworthy' and RFC 6265 allows setting secure flag in this case.
Also check `X-Forwarded-Proto` header value to support reverse proxy usage.
Note: for reverse proxy users, now the `X-Forwarded-Proto` header is expected to be sent to qbt
otherwise the `secure` flag might be set erroneously.
https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.2.5
https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy
Closes #21250 .
PR #21260 .
2024-09-07 21:38:27 +08:00
Chocobo1
944499814b
Revert "Use client side translation for public login page"
...
This reverts #20520 .
PR #21290 .
2024-09-06 15:38:31 +08:00
Chocobo1
0e63b83aed
WebUI: do not follow anchor URL
...
Fix up 5afeecbf18 .
PR #21283 .
2024-09-06 15:31:26 +08:00