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
sledgehammer999
45878fb7dd
Sync translations from Transifex and run lupdate
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
Vladimir Golovnev (Glassez)
64d7cf4794
Improve RSS Feed updating
...
Don't process "out-of-limit" articles.
Closes #9833 .
6 years ago
Chocobo1
819a84eb7a
Implement proper C++11 mode detection
...
Newer compilers have C++14 mode as default and package maintainers tend
to not specifying a C++ version when building a package, this causes
compatibility issues when (for example) qbt is compiled in C++11 and
dependency lib is in C++14. See issue #9485 .
What this commit does:
1. Checks if compiler supports at least C++11
2. Checks if compiler is set in at least C++11 mode
6 years ago
thalieht
59fcfdc13b
Allow resizing search filter in search job
...
Allow qBt to resize the search filter in search job because it causes
qBt's width to exceed the screen's width for laptop users.
6 years ago
Thomas Piccirello
555382779c
Show icon in WebUI sorted column
6 years ago
sledgehammer999
ceb4a0d5fe
Change FossHub RSS url for updates
...
The new RSS format is compatible with our current parser. FossHub will
redirect old URL to the new one so older clients will not be affected.
6 years ago
Chocobo1
626b9eb380
Don't double delete a pointer
...
`m_searchFilterAction` is owned by Qt, so we shouldn't delete it
manually.
6 years ago
dzmat
6fa64c81b7
Fix speed graph "high speeds" bug
6 years ago
Chocobo1
266ce1d226
Clean up SpeedLimitDialog class
6 years ago
Chocobo1
3fa5358c3f
Remove speed limit checkbox in Options dialog
...
This unifies speed limit UI elements throughout the program.
6 years ago
Tom Piccirello
1b81356a67
Handle downloading .torrent file as success
...
We don't know whether the download will be successful, so default to success. Closes #9811 .
6 years ago
Chocobo1
c1c28ce195
Improve parser for search engine versions.txt
...
The parse could fail when there is an extra empty line at the end of
file, this patch fixes it.
6 years ago
Chocobo1
ee030cc4eb
Fix wrong type passed to arg()
6 years ago
Chocobo1
d52c6230e9
Fix defects found by lgtm.com
6 years ago
Vladimir Golovnev (Glassez)
1214cf0fa1
Don't update torrent status unnecessarily
6 years ago
Vladimir Golovnev (Glassez)
9dadb919ef
Improve force recheck of paused torrent
6 years ago
Vladimir Golovnev (Glassez)
a8c00456e4
Restore torrent in two steps
...
Add/restore all torrents in "paused" state and then resume those
that need to be really "resumed" (added/restored in "resumed" state).
Keep torrents with missing files paused.
Force recheck torrent with missing files when it's resumed by the user.
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)
5712c05e68
Consider empty locale setting as not set
6 years ago
Vladimir Golovnev (Glassez)
f0f329b402
Fix indentation in tstool.py
6 years ago
silver
0b20750cd5
Recognize *.ts files as previewable
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
dzmat
fabd7e34f5
Improve scaling of speed graphs
...
Make Y axis scale to fix on predetermined nice looking positions
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
dzmat
23d924643f
Reduce horizontal graphs resolution
...
Rewrite averaging code and reduce horizontal graphs resolution for
30 minutes and 6 hours graphs to decrease CPU usage.
6 years ago
Chocobo1
acdf5363b2
Simplify #if conditions
6 years ago
Chocobo1
cff5af2e76
Add isNetworkFileSystem() detection on Windows
...
This allows network mounts to be monitored correctly by polling timer.
6 years ago
Chocobo1
9b552c463f
Add FileSystemWatcher log messages
6 years ago
Chocobo1
25a0147f61
Add SMB2 magic number
...
Closes #9671 .
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
Stephen Dawkins
d8054f9cb3
Allow to disable downloading REPACK/PROPER matches
6 years ago
dzmat
2d0f0cb372
Allow to disable speed graphs
6 years ago
Thomas Piccirello
6d619e9491
Add categories WebAPI
...
Closes #5330 .
6 years ago
silverqx
ea404445f6
Clear LineEdit on ESC
6 years ago
sledgehammer999
2f1a0ffe5c
Use a more detailed alert mask where possible
...
Closes #9547
6 years ago
Thomas Piccirello
0b6ae68801
Add WebUI search API controller
...
Closes #2495 .
6 years ago
Administrator account
f6ed605414
Don't recheck just checked torrent
...
Closes #8743 .
Closes #9370 .
6 years ago