thalieht
70f1537d9f
Add const to almost all remaining vars and arguments that qualify
6 years ago
thalieht
8c944bd4e1
Avoid repeating the return type
6 years ago
thalieht
92a290895b
Convert vars into refs to avoid copy construction from const refs
6 years ago
thalieht
d8cbc9266a
Use 'auto' to avoid duplicating the type name
6 years ago
thalieht
947c7e1d64
Convert to range-based for loop
6 years ago
thalieht
ca3ce87e06
Add const to many vars and arguments
...
Also remove const in declarations' arguments that are passed by value
6 years ago
Chocobo1
6d29a3af60
Make use of std algorithms
6 years ago
Chocobo1
f789df7edf
Add license header
6 years ago
Chocobo1
4483b72bfd
Move JavaScript code to its own file
6 years ago
Chocobo1
8096e49c24
Display warning when Javascript is disabled
6 years ago
Chocobo1
32474b05c5
Remove mootools lib from login page
6 years ago
Chocobo1
0738b3860b
Prevent login credential appearing in URL
...
Closes #10221 .
6 years ago
Chocobo1
5cdb3b6a2d
Load WebUI certificate & key from file path
...
This allow users to update certificate & key more easily, i.e. without the need to import them
into qbt.
Closes #6675 , #7547 , #8315 , #8564 .
6 years ago
Vladimir Golovnev (Glassez)
b0446380c6
Separate URL components before percent-decoding
...
Allow special characters in query string parameters.
Closes #9116 .
6 years ago
Thomas Piccirello
d1dc9a39ae
Match WebUI About page to GUI
6 years ago
Thomas Piccirello
86c21baf40
Simplify tab logic
6 years ago
Thomas Piccirello
ece27b84cc
Fix wrong element id being used
6 years ago
Thomas Piccirello
81943fb3b0
Fix direction of Web UI sorted column icon
6 years ago
Tom Piccirello
972b8d11fe
Fix broken image link
6 years ago
sledgehammer999
2ac7f2defe
Update copyright year
6 years ago
Thomas Piccirello
dbaebf4f33
Rename parametrics.js to speedslider.js
6 years ago
Thomas Piccirello
851c02acb0
Capitalize event name
6 years ago
Thomas Piccirello
2f33ecf37b
Fix bug where input wouldn't always be focused
6 years ago
Thomas Piccirello
74a772aafb
Add Web UI support for escape key
6 years ago
Vladimir Golovnev (Glassez)
302c99d7d5
Drop support of libtorrent < 1.1.10
6 years ago
Chocobo1
a8ba5bda79
Update WebUI img to use svg images
6 years ago
Chocobo1
6f34afce21
Fix speed limit icon too large on WebUI
...
Closes #10127 .
6 years ago
Vladimir Golovnev (Glassez)
2ce3aa9731
Drop legacy WebAPI support
6 years ago
Thomas Piccirello
f0e67cbb53
Remove excanvas from WebUI
...
Excanvas adds Canvas support to IE 8 and lower, which we no longer support.
6 years ago
Bert Verhelst
9f8f9b6702
Converted remaining icons to svg
6 years ago
Chocobo1
a0f3678163
Fix only the first newline char is replaced
...
Must use regex to replace all instances of newline chars.
6 years ago
Chocobo1
9289b009b6
Fix missing semicolon in WebUI
6 years ago
Thomas Piccirello
28fa5a895c
Allow WebUI Content tab to be sorted
6 years ago
Thomas Piccirello
06edabb9be
Encode torrent name before passing in URL
6 years ago
Thomas Piccirello
26a9af850b
Move WebUI Peers code to separate file
6 years ago
Thomas Piccirello
a5266c7018
Prevent WebUI tables from being highlighted
6 years ago
Thomas Piccirello
5d114614bb
Allow WebUI Trackers table to be manipulated
6 years ago
Chocobo1
d133ccc69f
Add autocomplete attribute to WebUI
...
This helps the password manager to identify each field and provide
adequate actions.
6 years ago
Thomas Piccirello
877a2a2802
Include application version in css/js url for cache busting
...
This change forces new versions of all css and js files to be picked up when qBittorrent is updated.
6 years ago
Thomas Piccirello
9197b0a5ea
Add version to lib file name. Move parametrics out of lib folder.
6 years ago
sledgehammer999
7c172edd50
Sync translations from Transifex and run lupdate
6 years ago
Vladimir Golovnev (Glassez)
7b3eed323b
QMake: Compile translations at build time
6 years ago
Chocobo1
8dd334dc5d
Change qbt exit message to HTML5
6 years ago
Chocobo1
e98d4e874f
Unify translation files loading action
...
Since it is possible alternative WebUI could be coded in languages other than English,
WebUI must be able to load user-provided webui_en.qm.
At least one translated string must exist in order to generate an usable .qm file.
6 years ago
sledgehammer999
b69dd05216
Update WebUI .ts files
6 years ago
Chocobo1
c1912e17c1
Revise CSP header
...
The majority of the CSP is tuned for built-in WebUI, it may not be
suitable for alternative UI.
Also add QLatin1String to strings. This code path is called repeatedly,
it is worth adding QLatin1String to squeeze out the last bit of
performance.
6 years ago
Chocobo1
d0886f8db0
Reformat WebUI code
6 years ago
Chocobo1
ba32525b45
Fix errors from using strict mode
6 years ago
Chocobo1
1cb065edc6
Use Javascript strict mode
6 years ago
Thomas Piccirello
7f349732ee
Send numeric status without translation
6 years ago