thalieht
6b1d26d555
Convert all foreach() to range-based for()
6 years ago
Thomas Piccirello
4d3a894bcb
Allow tables to be added without a parent panel
6 years ago
Thomas Piccirello
881b692c58
Simplify implementation
6 years ago
Thomas Piccirello
b2f454399c
Add ability to pass urls to the webui download page
6 years ago
Thomas Piccirello
64c20bf6b2
Allow WebUI sidebar to be collapsed
6 years ago
Thomas Piccirello
2ef16f669b
Show ellipsis when WebUI sidebar is too narrow
6 years ago
Chocobo1
b79a231d2e
Fix missing words in WebUI
...
This is because Qt translator returns empty string when the translation
is not provided, now we fallback to the original string from source code.
Closes #9868 .
6 years ago
Thomas Piccirello
cd47380b85
Add SameSite attribute to WebUI session cookie
...
This attribute prevents the cookie from being submitted on any cross-site request, strongly limiting CSRF.
Closes #9877 .
6 years ago
Tom Piccirello
2d7138839d
Fix WebUI bug on override of Start Download option
...
Disabled form values aren't submitted, causing the add_paused value not to be sent when Start Torrent was checked. qBittorrent would then fall back to the global Start Download preference.
Closes #9855 .
6 years ago
Chocobo1
58be2d4bc2
Put WebUI security related options into a groupbox
6 years ago
Chocobo1
344e47dcfb
Add option for WebUI Host header validation
...
Closes #9743 .
6 years ago
Chocobo1
d866033a8e
Fix divide-by-zero crash
...
Previously here was using a cheap method to avoid divisor becoming < 0, but from
the crash stacktrace it seems this is not enough, now the divisor is properly
clamped to have 1 as the minimum.
Also it will now display "Unknown" for invalid calculation results.
Closes #9857 .
6 years ago
Thomas Piccirello
555382779c
Show icon in WebUI sorted column
6 years ago
Chocobo1
3fa5358c3f
Remove speed limit checkbox in Options dialog
...
This unifies speed limit UI elements throughout the program.
6 years ago
Chocobo1
209e6a889a
Fix MSVC warning C4804
...
Full message of the warning:
webui\api\searchcontroller.cpp(54): warning C4804: '>': unsafe use of type 'bool'
in operation
6 years ago
Vladimir Golovnev (Glassez)
f309a5279e
Fix Alternative Web UI to be available
6 years ago
Vladimir Golovnev (Glassez)
f0f329b402
Fix indentation in tstool.py
6 years ago
Thomas Piccirello
f2957c721d
Use QElapsedTimer
6 years ago
Thomas Piccirello
2aea235e34
Add free disk space to WebUI status bar
...
Closes #6829 .
6 years ago
Tom Piccirello
41462a39c7
Bump WebAPI version
6 years ago
Thomas Piccirello
bab18036aa
Fix WebUI Auto TMM context menu bug
...
When multiple torrents are selected with different Auto TMM values, the Auto TMM context menu option is hidden. This option is never unhidden, requiring a refresh of the page.
6 years ago
Thomas Piccirello
ae374f6903
Catch invalid values
6 years ago
Eugene Shalygin
e590fff2fe
cmake: restore out-of-source build
...
Qt translations have to be compiled in a shared library or executable,
and since we use static libraries for the components, webui translation
files have to be compiled into the main executable.
6 years ago
Vladimir Golovnev (Glassez)
c1a4ef1377
Use independent translation for WebUI
6 years ago
Vladimir Golovnev (Glassez)
becb002d87
Create WebUI translation update tool
6 years ago
Thomas Piccirello
6d619e9491
Add categories WebAPI
...
Closes #5330 .
6 years ago
Thomas Piccirello
0b6ae68801
Add WebUI search API controller
...
Closes #2495 .
6 years ago
Thomas Piccirello
1e6942e967
Fix minor JavaScript defects
6 years ago
Thomas Piccirello
65934a4c69
Add locale to js file path
...
This reduces the likelihood of a cached file being used after the locale is changed.
6 years ago
Thomas Piccirello
7b85473d2b
Translate WebUI torrents Status column
...
Closes #9554 .
6 years ago
sledgehammer999
bdc788c824
Bump Web API version
6 years ago
Thomas Piccirello
fef1ad6083
Allow WebUI sidebar filters to be hidden
6 years ago
Thomas Piccirello
c10d237f7a
Don't disable DHT when using force proxy
...
Closes #9292
6 years ago
Thomas Piccirello
adad883eb6
Increase WebUI Options initial height
6 years ago
Thomas Piccirello
b05a443cad
Adjust WebUI Options form alignment
6 years ago
Thomas Piccirello
63c53766b4
Add save path and editing to WebUI new category dialog
6 years ago
Thomas Piccirello
a0e6007fc1
Include category save path in web api sync data
6 years ago
Thomas Piccirello
d89ef22d85
Require torrent category creation to be explicit
6 years ago
Chocobo1
71dcc76a64
Replace png icons with svg
6 years ago
sledgehammer999
ac1839fa6b
Bump Web API version
6 years ago
Thomas Piccirello
13075e5099
Send all rechecks in one request
6 years ago
Thomas Piccirello
cdad0dc7d3
Add WebUI Force Reannounce option
6 years ago
Chocobo1
0217d5b4c0
Replace single-character string with character literal
...
Also remove unnecessary dynamic allocation.
6 years ago
Chocobo1
e04aae686f
Cache more preference values
...
These values from Preference class are frequently used.
Also group related variables together.
6 years ago
thalieht
456270bbb1
Delete several unused #include
7 years ago
Goshik
1daadfc4ec
Create non-existing path in setLocationAction()
...
When using qbittorrent-nox it is not always possible to manually create
the target path for torrent moving. This commit allows automatic path
creation. It also allows to display error messages in the
'Set location' window.
7 years ago
thalieht
d34ddb2e3c
Change file names and classes names to match them
7 years ago
Thomas Piccirello
232f0f4b0b
Add WebUI support for Mac ⌘ (Command) key
...
The Command key will now be recognized for WebUI Table multi-selection, as Ctrl is.
7 years ago
Thomas Piccirello
091ad6103e
Implement key functions in Class and refactor
7 years ago
thalieht
4022799881
Fix coding style
7 years ago