Vladimir Golovnev
67cb75e9d3
Merge pull request #18001 from glassez/update-tree
...
Use another workaround to update files tree view
This is alternative approach to #17786 . It uses the similar workaround as was used a long time with Qt5 and stoped working with Qt6 so it is adjusted in this PR.
Also this fixes content model resetting handling.
2 years ago
Vladimir Golovnev
f9eefe866c
Merge pull request #17992 from glassez/preloading-magnet
...
Improve handling of preloading metadata.
This also allows to avoid blocking calls when performing some actions.
2 years ago
Vladimir Golovnev (Glassez)
c636618cf3
Correctly handle model resetting
2 years ago
Vladimir Golovnev (Glassez)
0f82c16936
Use another workaround to update files tree view
2 years ago
Chocobo1
d328eeb5be
Merge pull request #17980 from Chocobo1/model
...
Reserve space before appending elements
2 years ago
Chocobo1
d90ea0d3be
Move increment out of loop
2 years ago
Chocobo1
e7ece66717
Clean up code
2 years ago
Vladimir Golovnev
6c9c40fd7c
Avoid blocking call when changing libtorrent session settings
...
We don't really need to get currently used settings pack in order to apply changes to session settings. It is enough to apply settings pack that contains only updated settings.
PR #17989 .
2 years ago
Chocobo1
529c1ec9f4
Reserve space before appending elements
2 years ago
Chocobo1
93429840c8
Fix typos
2 years ago
Vladimir Golovnev (Glassez)
6aee7f95b7
Add torrent for preloading magnet asynchronously
2 years ago
Vladimir Golovnev (Glassez)
0b70ccf9e9
Cache torrent handles of preloading magnets
2 years ago
Vladimir Golovnev (Glassez)
da586828be
Don't perform unnecessary actions with preloading magnets
2 years ago
Vladimir Golovnev
2e4431f0b8
Save torrents queue w/o blocking calls
...
PR #17988 .
2 years ago
BallsOfSpaghetti
162273da47
Add confirmation to resume/pause all
...
This adds a confirmation dialog to Pause All and Resume All. First I wanted to only add it in Tray, but honestly, clicking around in the menu, using hotkeys might trigger it just as easy.
Closes #17683 .
PR #17945 .
2 years ago
sledgehammer999
22fb9797c4
Merge pull request #17978 from sledgehammer999/fix_chinese_locale
...
Fine tune translations loading for Chinese locales
2 years ago
Chocobo1
f6735401f4
Add port forwarding option for embedded tracker
...
Closes #17781 .
PR #17981 .
2 years ago
sledgehammer999
06c4c58613
Fine tune translations loading for Chinese locales
...
Closes #17506
2 years ago
Vladimir Golovnev
c80238d66f
Don't use extra variable to distinguish restored torrents
...
PR #17984 .
2 years ago
Hanabishi
6a560016dd
Implement `Peer ID Client` column for `Peers` tab
...
PR #17940 .
2 years ago
Chocobo1
99b7663fa9
Revise interface of port forwarder
...
This eases the usage of port forwarder as the caller code doesn't need
to store previous used port and now can rely on port forwarder doing
all the hard work.
PR #17967 .
2 years ago
Chocobo1
be0f34a69e
Merge pull request #17900 from Chocobo1/alerts
...
Handle all types of alerts on shutdown
2 years ago
Chocobo1
3a2e73cc94
Avoid out-of-bounds access
...
This happens when the `index` is a negative number.
Added `Q_ASSERT()` to catch coding errors at debug run time.
PR #17953 .
2 years ago
xavier2k6
3ee0457cfa
Raise minimum libtorrent versions to 1.2.18/2.0.8
...
PR #17954 .
2 years ago
Vladimir Golovnev
e19173c1f3
Prevent new torrent from saving resume data twice
...
PR #17951 .
2 years ago
Vladimir Golovnev
4a5d2e2558
Correctly initialize torrent stop condition
...
PR #17950 .
2 years ago
Nowshed H. Imran
027d6be48f
Fix checked-completed icon visibility in dark theme
...
PR #17946 .
2 years ago
Faisal A. F. Rahman
0f2cc92ba2
NSIS: Update Indonesian translation
...
PR #17890 .
2 years ago
Chocobo1
07bb1df74f
Merge pull request #17942 from Chocobo1/icons
...
Update icon guidelines
2 years ago
Vladimir Golovnev
c29a6079bf
Don't forget to create stop_condition column
...
PR #17935 .
2 years ago
Chocobo1
dfb56ce31c
Update icon guidelines
2 years ago
Chocobo1
5a8027ae1f
Remove unused resources
2 years ago
Vladimir Golovnev
bb2caabd61
Correctly destroy startup resume data storage
...
PR #17930 .
2 years ago
Chocobo1
14e4bc7eea
WebUI: use proper comparison for numbers
...
Closes #17920 .
PR #17926 .
2 years ago
xavier2k6
9fb8f765e8
GHA CI: Bump libtorrent version(s)
...
* https://github.com/arvidn/libtorrent/releases/tag/v2.0.8
* https://github.com/arvidn/libtorrent/releases/tag/v1.2.18
PR #17924 .
2 years ago
Chocobo1
fe0be98fde
Merge pull request #17918 from Chocobo1/portForwarding
...
Avoid redundant lookups in port forwarder
2 years ago
BallsOfSpaghetti
fdba525e62
Introduce a 'change listen port' cmd option
...
Closes #17789 .
PR #17862 .
2 years ago
Chocobo1
dfdaa706bd
Move code around
2 years ago
Chocobo1
1a782a9362
Avoid redundant lookups in port forwarder
2 years ago
Chocobo1
5f2d807861
Ensure ongoing storage moving job will be completed when shutting down
...
Discussion: https://github.com/qbittorrent/qBittorrent/pull/17885#issuecomment-1282467041
2 years ago
Nathan Lewis
f2dd1e6456
Add a "Use proxy for hostname lookup" option
...
Add a UI option for "Use proxy for hostname lookup" option and plumb
it into libtorrent's settings_pack.proxy_hostnames option. This is
available for SOCKS5 and HTTP proxies, and defaults to true, which
is the previous functionality. Hostname lookups can be forced to be
local by unchecking this option, which can aid compatibility with
certain non-compliant proxy servers.
Closes #17902 .
PR #17904 .
Co-authored-by: Nathan Lewis <saturn@saturn49.dyndns.org>
2 years ago
Chocobo1
155e73df16
WebUI: remove unused include
...
Closes #15761 .
PR #17895 .
2 years ago
Vladimir Golovnev
05b7194bf7
Correctly set "stop condition" on force recheck invoked
...
PR #17915 .
Closes #17913 .
2 years ago
Maksim Derbasov
597444c527
Make GeoIPDatabase interface safer
...
PR #17899 .
2 years ago
Chocobo1
1c2dc79f51
Introduce color palettes for both dark, light themes
...
This commit introduce color palettes from Primer and make use of it in various widgets.
Primer system is chosen due to well designed and is highly rated on Github (in terms of
Github stars).
https://primer.style/
PR #17798 .
2 years ago
Chocobo1
106adf135c
Handle all types of alerts on shutdown
...
There might be alerts already queued in buffer waiting to be handled at
the time of pausing the session, so don't skip over them.
2 years ago
Chocobo1
dcfd367ff8
Merge pull request #17885 from Chocobo1/shutdown
...
Revise "save resume data" handling on shutdown
2 years ago
Chocobo1
67ee43fac1
Merge pull request #17878 from Chocobo1/webui
...
WebUI: handle drag and drop events
2 years ago
Chocobo1
a325ab8d6e
Delay saving session statistics
...
Pausing the libtorrent session should be scheduled before this.
2 years ago
Chocobo1
c94152c47c
Reuse alert dispatcher
...
Instead of using a specific alert handler in `SessionImpl::saveResumeData()`, reuse the generic
one.
2 years ago