Thomas Piccirello
ba40719d76
Move WebUI copy actions under a submenu
5 years ago
Thomas Piccirello
1c3c81db99
Fix missing parenthesis
...
Introduced in #9995 .
5 years ago
Thomas Piccirello
324d20d42c
Move registering WebUI magnet handler behind toolbar option
...
Alert the user if the operation fails due to lack of browser support
5 years ago
Chocobo1
7b568b07e6
Clean up CMakeLists.txt
5 years ago
thalieht
e917c371d9
Use camelCase for a few WebUI vars
5 years ago
thalieht
7b31868e3c
Rename priority to queue in the context of torrents
5 years ago
Zhaoyu Gan
07649f713e
Add advanced options in WebUI
5 years ago
airium
b389650465
Avoid word wrap in webui footer
5 years ago
Chocobo1
0b1b3c1f84
Use numeric_limits instead of constants from C
...
In C++, using numeric_limits is more idiomatic compared to using constants.
5 years ago
Tom Piccirello
368fbd9e7d
Fix encoding of special characters
...
Special characters would get html encoded (& -> &). This has been tested against several payloads (e.g. <script>alert(0)</script>) to ensure it's not vulnerable to XSS.
5 years ago
Chocobo1
4880dc812c
Use appropriate type
5 years ago
Vladimir Golovnev (Glassez)
8e65317d61
Rename "fromNativePath" to "toUniformPath"
...
Unlike "toNativePath" which name clearly reflects the function result
"fromNativePath" has no such clear meaning.
Since this function converts path into uniform format "toUniformPath"
is better name.
5 years ago
Chocobo1
89124bdcc8
Add WebAPI session timeout settings
...
Raise default timeout to 1 hour.
5 years ago
silverqx
4f4f435e76
Add zlib version to GUI & stackdump
5 years ago
Chocobo1
5b9ff4a015
Avoid double lookup
6 years ago
thalieht
70f8882f87
Group Qt forward declarations separately from the others
6 years ago
thalieht
9995967fbf
Remove some unused #include
6 years ago
thalieht
4370a7eb12
Forward declare in a few places
6 years ago
Chocobo1
ed6bb0efdc
Replace QList by QVector for tracker related operations
6 years ago
Chocobo1
802af70e2f
Fix typos
6 years ago
Chocobo1
e92209475e
Use range-based for loops
6 years ago
Chocobo1
e288de7ec1
Forward declare as much as possible
6 years ago
Chocobo1
c6f3da1097
Improve removeIf() to support set types
...
We can now replace QMutable*Iterator by removeIf() which usage is more consistent with other
algorithm functions.
6 years ago
jerrymakesjelly
4b9f0a87cd
Change the speed unit from Bytes/s to KiB/s
...
Updated the adding torrent dialogs in WebUI. Closes #10017 .
6 years ago
Chocobo1
bd8d70bf60
Refactor HTTP query parsing
6 years ago
Chocobo1
69d29af097
Fix '+' char not decoded to space correctly
...
Closes #10606 .
6 years ago
Cory
d49379789a
Register protocol handler in WebUI for magnet links
6 years ago
Chocobo1
8aa8b19f37
Fix "Create subfolder" option is not working in WebUI
...
Closes #10392 .
6 years ago
Chocobo1
375de4f8a6
Replace QMap with QHash when sensible
6 years ago
Chocobo1
49b57904f9
Use a random number for WebUI cache busting
...
Also fetch qbt version info via WebAPI properly.
6 years ago
Chocobo1
d022457e0c
Use force refresh on WebUI logout
...
Regardless of the cache header settings, the logout action should never be
allowed to load from cache.
6 years ago
Chocobo1
6e1e7a45a1
Align WebUI login button to the right
6 years ago
Thomas Piccirello
238ca03936
Set title attribute for all WebUI table cells
...
Except the Progress Bar
6 years ago
CzBiX
d254a98662
Always use index.html as default page
6 years ago
Chocobo1
94aeeed95f
Work around the crash occurred in QTimer
...
See Qt commit:
https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/kernel/qtimer.cpp?id=a623fe8d2a60ff333d5779f877e3b20f0e141ff1
Fixes #9985 .
6 years ago
thalieht
371a090cec
Rename "Prefer encryption" to "Allow encryption"
...
Because it actually prefers non-encryption but allows it if requested.
6 years ago
Chocobo1
7e99ce6d7f
Document current WebUI browser compatibility
6 years ago
Vladimir Golovnev (Glassez)
ead078a38e
Add preliminary support of libtorrent v1.2
...
libtorrent v1.2 should be built with deprecated features enabled.
6 years ago
thalieht
bcfa62cc76
Rename "#" column to "Tier" in the tracker list
6 years ago
Chocobo1
adbd34c795
Move helper functions to Utils::Gui namespace
6 years ago
sledgehammer999
5c63ad3b95
Raise minimum Qt version to 5.9.0
6 years ago
thalieht
ce437817de
Make various minor changes
6 years ago
thalieht
8a19a0d4a0
Remove const in declarations' arguments that are passed by value
6 years ago
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