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
Vladimir Golovnev (Glassez)
87d98403f4
Don't break torrent checking
5 years ago
Vladimir Golovnev (Glassez)
9462685c78
Ignore some actions on uninitialized torrents
...
Some actions can lead to an inconsistent state if applied
to an uninitialized torrent, so we just ignore them.
5 years ago
Chocobo1
7b568b07e6
Clean up CMakeLists.txt
5 years ago
Chocobo1
032883e278
Move LineEdit files out of subfolder
5 years ago
Chocobo1
23ebb3134b
Move QLabels out of class
5 years ago
Chocobo1
cc663746eb
Forward declare some classes
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
Vladimir Golovnev (Glassez)
644dc9792d
Avoid race conditions when adding torrent
5 years ago
Zhaoyu Gan
07649f713e
Add advanced options in WebUI
5 years ago
Chocobo1
599bfc0735
Use Qt object ownership to handle QShortcut deletions
5 years ago
Chocobo1
662e1e6134
Clean up code in TrackerListWidget class
5 years ago
Chocobo1
b55c6a360a
Implement tri-state checkbox action in menu
...
The new TriStateAction class is an improvement of the old one in the
sense that:
1. Have public method to set states.
2. Can connect to the usual Qt slots.
3. Draws checkbox at the correct offset (where QAction draws) in menu
and better handling of mouse clicking and keyboard navigating.
5 years ago
Chocobo1
8eabaf5eb2
Replace QList by QVector
5 years ago
Chocobo1
9e7f50517e
Add "Tracker entries" dialog
5 years ago
Prince Gupta
a24925c858
Allow styling with QSS stylesheets
5 years ago
Vladimir Golovnev (Glassez)
9399b876eb
Fix torrent checking issues
...
Start all torrents auto-managed to prevent simultaneous checking
of multiple torrents.
Handle checking state of paused torrent to prevent it from being
resumed when qBittorrent is closed until checking isn't complete.
5 years ago
Chocobo1
b9094ff8a5
Use proper log message when there are no error
5 years ago
Chocobo1
664cfe7d69
Fix torrent properties not saved for paused torrents
5 years ago
Chocobo1
c4dbe84832
Use newer libtorrent API
5 years ago
Chocobo1
ed2199b91c
Add "File pool size" option
5 years ago
Chocobo1
6286bc716c
Add "Socket backlog size" option
...
The default value in libtorrent is 5 which is too small nowadays.
The new default value 30 is chosen to be in line with
QTcpServer::maxPendingConnections().
5 years ago
Chocobo1
73cf3fb68f
Use LogMsg() helper
5 years ago
Chocobo1
e6c448aa4f
Replace obsoleted QProcess::finished(int)
...
It is replaced by QProcess::finished(int, QProcess::ExitStatus).
5 years ago
Chocobo1
4eff268095
Replace obsoleted QFontMetrics::width()
...
Qt 5.13 marked QFontMetrics::width() obsolete.
5 years ago
Vladimir Golovnev (Glassez)
c7f3693ad1
Implement "Application instances manager"
5 years ago
airium
b389650465
Avoid word wrap in webui footer
5 years ago
Chocobo1
2bc91fba3e
Use newer libtorrent API
5 years ago
Chocobo1
46ee193cd8
Restrict QLocalServer access
...
The default is world access which means even even unprivileged local
accounts can connect to it too.
5 years ago
Chocobo1
6119cb370f
Drop suspiciously large data
...
This is to avoid exhausting system memory.
5 years ago
Chocobo1
da2bfd2457
Replace QList by QVector
5 years ago
Chocobo1
5b9b5ce577
Remove buttons from search widget
...
These buttons are replaced by right-click menu actions.
5 years ago
Chocobo1
4f5302adf8
Add more copy field actions to search widget
...
Closes #10250 .
5 years ago
Chocobo1
d0bfe9a661
Adjust open file descriptor limit on startup
...
This raises qbt's open file descriptor limit to the available maximum
(within user privileges) and thus users don't need to adjust it
manually anymore.
5 years ago
Chocobo1
26ff9150a2
Rename label in search widget
5 years ago
Chocobo1
af5af0ad3f
Remove unused lambda capture
5 years ago
Chocobo1
32a861fd1b
Add right click menu to SearchJobWidget
5 years ago
Chocobo1
cf89c2f5bf
Properly deallocate actions when menu closed
...
Fixup 3748b995ff
.
5 years ago
Chocobo1
412e326cf2
Avoid allocating a new menu/action manually
5 years ago
Chocobo1
04e7b3f6d2
Move copy actions under a submenu
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
Chocobo1
75c80c3716
Remove limits of "Disk cache expiry interval" setting
5 years ago
Chocobo1
042cd4267f
Remove upper limit of "Disk cache" setting
5 years ago
Prince Gupta
ece70daaa5
Fix CMake Windows compilation
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
11fdf91196
Suppress compiler warning
...
The debug message is emitting a format mismatch warning.
Fixup 4880dc812c
.
And add curly brackets to if statement.
5 years ago
Chocobo1
88c3ffbef8
Avoid creating unnecessary event loops
...
This is part 2.
5 years ago