Commit Graph

13535 Commits

Author SHA1 Message Date
xavier2k6
be12be2b79
GHA CI: Bump pandoc version
Some checks are pending
CI - File health / Check (push) Waiting to run
CI - macOS / Build (1.2.20, GUI=OFF, 6.10.1) (push) Waiting to run
CI - macOS / Build (1.2.20, GUI=ON, 6.10.1) (push) Waiting to run
CI - macOS / Build (2.0.11, GUI=OFF, 6.10.1) (push) Waiting to run
CI - macOS / Build (2.0.11, GUI=ON, 6.10.1) (push) Waiting to run
CI - Python / Check (push) Waiting to run
CI - Ubuntu / Build (1.2.20, GUI=OFF, 6.6.3) (push) Waiting to run
CI - Ubuntu / Build (1.2.20, GUI=ON, 6.6.3) (push) Waiting to run
CI - Ubuntu / Build (2.0.11, GUI=OFF, 6.6.3) (push) Waiting to run
CI - Ubuntu / Build (2.0.11, GUI=ON, 6.6.3) (push) Waiting to run
CI - WebUI / Check (push) Waiting to run
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 1.2.20) (push) Waiting to run
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 2.0.11) (push) Waiting to run
https://github.com/jgm/pandoc/releases/

PR #23638.
2025-12-27 23:02:46 +08:00
Vladimir Golovnev
0bba3f342e
Fix incorrect save path when torrent is added from watched folder
Some checks are pending
CI - File health / Check (push) Waiting to run
CI - macOS / Build (1.2.20, GUI=OFF, 6.10.1) (push) Waiting to run
CI - macOS / Build (1.2.20, GUI=ON, 6.10.1) (push) Waiting to run
CI - macOS / Build (2.0.11, GUI=OFF, 6.10.1) (push) Waiting to run
CI - macOS / Build (2.0.11, GUI=ON, 6.10.1) (push) Waiting to run
CI - Python / Check (push) Waiting to run
CI - Ubuntu / Build (1.2.20, GUI=OFF, 6.6.3) (push) Waiting to run
CI - Ubuntu / Build (1.2.20, GUI=ON, 6.6.3) (push) Waiting to run
CI - Ubuntu / Build (2.0.11, GUI=OFF, 6.6.3) (push) Waiting to run
CI - Ubuntu / Build (2.0.11, GUI=ON, 6.6.3) (push) Waiting to run
CI - WebUI / Check (push) Waiting to run
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 1.2.20) (push) Waiting to run
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 2.0.11) (push) Waiting to run
PR #23656.
Closes #23302.
2025-12-27 09:04:06 +03:00
Chocobo1
ae7cc7445b
Enable strict type checking for Pyright
Some checks failed
CI - File health / Check (push) Has been cancelled
CI - macOS / Build (1.2.20, GUI=OFF, 6.10.1) (push) Has been cancelled
CI - macOS / Build (1.2.20, GUI=ON, 6.10.1) (push) Has been cancelled
CI - macOS / Build (2.0.11, GUI=OFF, 6.10.1) (push) Has been cancelled
CI - macOS / Build (2.0.11, GUI=ON, 6.10.1) (push) Has been cancelled
CI - Python / Check (push) Has been cancelled
CI - Ubuntu / Build (1.2.20, GUI=OFF, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (1.2.20, GUI=ON, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (2.0.11, GUI=OFF, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (2.0.11, GUI=ON, 6.6.3) (push) Has been cancelled
CI - WebUI / Check (push) Has been cancelled
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 1.2.20) (push) Has been cancelled
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 2.0.11) (push) Has been cancelled
Doc: https://github.com/microsoft/pyright/blob/main/docs/configuration.md#type-check-diagnostics-settings

PR #23634.
2025-12-22 12:14:38 +08:00
Chocobo1
e79be5853e
Enforce Python to run in UTF-8 mode
When running Python via QProcess on Windows, the output code page will be set to the system default instead of UTF-8.
This commit enforces that UTF-8 will be used unconditionally.

Supersedes #23629.
PR #23633.
2025-12-22 12:00:27 +08:00
Chocobo1
b718cc52fa
GHA CI: separate Boost version for different libtorrent branches
PR #23631.
2025-12-22 11:20:33 +08:00
Vladimir Golovnev
57c99b54c8
Move torrents to parent category when category is removed
Some checks are pending
CI - File health / Check (push) Waiting to run
CI - macOS / Build (1.2.20, GUI=OFF, 6.10.1) (push) Waiting to run
CI - macOS / Build (1.2.20, GUI=ON, 6.10.1) (push) Waiting to run
CI - macOS / Build (2.0.11, GUI=OFF, 6.10.1) (push) Waiting to run
CI - macOS / Build (2.0.11, GUI=ON, 6.10.1) (push) Waiting to run
CI - Python / Check (push) Waiting to run
CI - Ubuntu / Build (1.2.20, GUI=OFF, 6.6.3) (push) Waiting to run
CI - Ubuntu / Build (1.2.20, GUI=ON, 6.6.3) (push) Waiting to run
CI - Ubuntu / Build (2.0.11, GUI=OFF, 6.6.3) (push) Waiting to run
CI - Ubuntu / Build (2.0.11, GUI=ON, 6.6.3) (push) Waiting to run
CI - WebUI / Check (push) Waiting to run
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 1.2.20) (push) Waiting to run
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 2.0.11) (push) Waiting to run
PR #23620.
2025-12-21 19:49:29 +03:00
Vladimir Golovnev
25224f6050
Remove indentation if no subcategory exists
PR #23619.
2025-12-21 19:49:02 +03:00
Vladimir Golovnev
b5d16dfeee
Allow to set torrent share limits per category
PR #23577.
2025-12-21 19:48:31 +03:00
Tom Piccirello
1c231ce014
WebUI: keep preferences window open after unsuccessful save
Some checks failed
CI - File health / Check (push) Has been cancelled
CI - macOS / Build (1.2.20, GUI=OFF, 6.10.1) (push) Has been cancelled
CI - macOS / Build (1.2.20, GUI=ON, 6.10.1) (push) Has been cancelled
CI - macOS / Build (2.0.11, GUI=OFF, 6.10.1) (push) Has been cancelled
CI - macOS / Build (2.0.11, GUI=ON, 6.10.1) (push) Has been cancelled
CI - Python / Check (push) Has been cancelled
CI - Ubuntu / Build (1.2.20, GUI=OFF, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (1.2.20, GUI=ON, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (2.0.11, GUI=OFF, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (2.0.11, GUI=ON, 6.6.3) (push) Has been cancelled
CI - WebUI / Check (push) Has been cancelled
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 1.2.20) (push) Has been cancelled
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 2.0.11) (push) Has been cancelled
This gives the user another opportunity to save their changes.

PR #23549.
2025-12-20 17:21:26 +08:00
Vladimir Golovnev
93470f2080
Use subcategories unconditionally
Some checks failed
CI - File health / Check (push) Has been cancelled
CI - macOS / Build (1.2.20, GUI=OFF, 6.10.1) (push) Has been cancelled
CI - macOS / Build (1.2.20, GUI=ON, 6.10.1) (push) Has been cancelled
CI - macOS / Build (2.0.11, GUI=OFF, 6.10.1) (push) Has been cancelled
CI - macOS / Build (2.0.11, GUI=ON, 6.10.1) (push) Has been cancelled
CI - Python / Check (push) Has been cancelled
CI - Ubuntu / Build (1.2.20, GUI=OFF, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (1.2.20, GUI=ON, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (2.0.11, GUI=OFF, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (2.0.11, GUI=ON, 6.6.3) (push) Has been cancelled
CI - WebUI / Check (push) Has been cancelled
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 1.2.20) (push) Has been cancelled
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 2.0.11) (push) Has been cancelled
PR #23585.
2025-12-16 21:56:15 +03:00
Andrei Stepanov
260563d340
NSIS: Update Russian translation
Some checks failed
CI - File health / Check (push) Has been cancelled
CI - macOS / Build (1.2.20, GUI=OFF, 6.10.1) (push) Has been cancelled
CI - macOS / Build (1.2.20, GUI=ON, 6.10.1) (push) Has been cancelled
CI - macOS / Build (2.0.11, GUI=OFF, 6.10.1) (push) Has been cancelled
CI - macOS / Build (2.0.11, GUI=ON, 6.10.1) (push) Has been cancelled
CI - Python / Check (push) Has been cancelled
CI - Ubuntu / Build (1.2.20, GUI=OFF, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (1.2.20, GUI=ON, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (2.0.11, GUI=OFF, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (2.0.11, GUI=ON, 6.6.3) (push) Has been cancelled
CI - WebUI / Check (push) Has been cancelled
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 1.2.20) (push) Has been cancelled
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 2.0.11) (push) Has been cancelled
PR #23602.
2025-12-15 16:40:17 +08:00
Burak Yavuz
b792ecede5
NSIS: Update Turkish translation
PR #23434.
2025-12-15 16:34:24 +08:00
John Veness
19ebf67c74
Use consistent text for "Do not download" priority
To match priority setting in menu.

PR #23593.
2025-12-15 16:28:19 +08:00
xavier2k6
56cd98e06e
GHA CI: Bump Boost dependency in coverity-scan workflow
* Bumped Boost to `1.90.0`
https://www.boost.org/releases/1.90.0/

PR #23591.
2025-12-15 16:21:34 +08:00
Mark Yu
c25bd6aaea
GHA CI: Include all image format plugins in Windows installer
Add support for WebP in the RSS viewer

Closes #23169.
Closes #23573.
PR #23590.
2025-12-15 16:14:49 +08:00
tehcneko
26e42abf32
WebUI: Clean up duplicated codes in dynamic table
Call class super methods.

PR #23576.
2025-12-15 16:07:35 +08:00
Chocobo1
5abf458e69
Calculate torrent pieces asynchronously
Some checks failed
CI - File health / Check (push) Has been cancelled
CI - macOS / Build (1.2.20, GUI=OFF, 6.10.1) (push) Has been cancelled
CI - macOS / Build (1.2.20, GUI=ON, 6.10.1) (push) Has been cancelled
CI - macOS / Build (2.0.11, GUI=OFF, 6.10.1) (push) Has been cancelled
CI - macOS / Build (2.0.11, GUI=ON, 6.10.1) (push) Has been cancelled
CI - Python / Check (push) Has been cancelled
CI - Ubuntu / Build (1.2.20, GUI=OFF, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (1.2.20, GUI=ON, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (2.0.11, GUI=OFF, 6.6.3) (push) Has been cancelled
CI - Ubuntu / Build (2.0.11, GUI=ON, 6.6.3) (push) Has been cancelled
CI - WebUI / Check (push) Has been cancelled
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 1.2.20) (push) Has been cancelled
CI - Windows / Build (${{ matrix.libt_version }}, ${{ matrix.config.arch }}) (map[arch:x64 os:windows-latest qt_arch:win64_msvc2022_64], 2.0.11) (push) Has been cancelled
So the GUI won't hang when the calculation took a long time.
Note that it is not possible to cancel the calculation so it will always run until finish in the background.

Supersedes #23497.
PR #23584.
2025-12-13 14:22:20 +08:00
dependabot[bot]
7451552e6a
GHA CI: Bump actions version
PR #23566.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-13 14:13:34 +08:00
Vladimir Golovnev
96161627d6
Fix invalid index
PR #23586.
2025-12-10 16:26:39 +03:00
xavier2k6
0f80d3a74a
GHA CI: Bump Qt version
* Bump `Qt` version to `6.10.1` for (Windows, macOS, coverity-scan)

PR #23563.
2025-12-07 18:45:10 +08:00
sledgehammer999
73c15e1f00
Revert "NSIS: Create a mutex to ensure only one installer is running" (#23540)
This reverts commit 530c7d1bbd.
The installer uses the `UAC` plugin which creates two instances of the
installer when launched. One runs with admin privileges while the other
with user privileges. Creating a mutex in the first instance stops the
other one from continuing.

PR #23540
2025-12-06 11:08:30 +02:00
Vladimir Golovnev
a59238f4ea
Correctly detect whether option is actually changed
PR #23574.
2025-12-06 11:02:31 +03:00
Vladimir Golovnev
d918c43aba
Fix Trackerless row is removed when it becomes zero
PR #23571.
2025-12-06 11:01:50 +03:00
Vladimir Golovnev
c45dfb6662
Implement separate (advanced) "Tracker status" filter
PR #23452.
2025-12-03 10:09:35 +03:00
Chocobo1
f68bc3fef9
Raise 'torrent share ratio' maximum limit
The default from Qt was `99.99` which could be too small for some.
The new limit is `INT_MAX` (not `DOUBLE_MAX`) as to hide the rounding/approximation errors from the user.

PR #23559.
2025-11-30 21:00:16 +08:00
Chocobo1
ed9a8687ad
NSIS: set appropriate error code on error
PR #23557.
2025-11-30 19:51:17 +08:00
Chocobo1
6a4b1b9727
GHA CI: enable ccache by default on forked repository
This change only affects forked repository.
Previously ccache was only enabled on `master` branch regardless of the owner of the repository.
This is not ideal for forked repository where the owner (mostly) wants to run the GHA CI to
create binary for their own use and ccache couldn't be utilized. This change will enable
ccache by default for all non-official repositories.

PR #23558.
2025-11-30 19:37:26 +08:00
Vasiliy Kostin
f2f4676824
Add reboot option when downloads complete
This commit implements a new "Reboot System" option that allows users to automatically reboot the computer when all downloads are complete, similar to the existing shutdown, suspend, and hibernate options.

Closes #10774.
PR #23525.
2025-11-30 19:16:48 +08:00
Mark Yu
8b9064a33c
WebUI: Do not hide context menu if the click target has submenu
Add check if the click event occurs in the menu item and if the menu item has a submenu, do not close the context menu.

Closes #23532.
PR #23534.
2025-11-30 19:15:23 +08:00
tehcneko
296c90d688
WebUI: Fix row selection by Shift key with virtual list enabled
Fixes #23336.
PR #23543.
2025-11-30 19:14:30 +08:00
tehcneko
564afc975f
WebUI: Fix row collapsing with virtual list enabled
Fixes https://github.com/qbittorrent/qBittorrent/issues/23241#issuecomment-3295352816.
PR #23542.
2025-11-30 19:13:10 +08:00
Vladimir Golovnev
a77b17e6da
Allow to configure style and color scheme on all platforms
PR #23522.
2025-11-24 09:04:28 +03:00
Hanabishi
4a3922d152
Make the active torrents filter reflect actual transfers
PR #23431.
Closes #23121.
2025-11-24 09:03:20 +03:00
Chocobo1
1b96a48266
GHA CI: test built binary
This would ensure the built binary is able to start up and rule out compiler or library linking
issues.

PR #23529.
2025-11-24 02:51:46 +08:00
Chocobo1
1f6e7519a0
Raise connection max limits
And remove a few redundant properties as they are the same as the default value (or they have the same effect as using the default value).

Closes #23465.
PR #23528.
2025-11-24 02:38:21 +08:00
sledgehammer999
46cc3a358e
Temporarily lower Qt version deprecation
Static builds of Qt fail when deprecating up to 6.6
[QTBUG-141994](https://bugreports.qt.io/browse/QTBUG-141994)

PR #23499
2025-11-16 13:24:48 +02:00
Orgad Shaneh
9c654b8a73
Fix link on mingw cross-compilation
Library names are all lower-case.

PR #23472.
2025-11-14 21:41:32 +08:00
Chocobo1
e036781b36
NSIS: use proper data type when invoking dll functions
Also migrate away from unsupported function `SHGetSpecialFolderPath()` to `SHGetKnownFolderPath()`.

Ref:
https://nsis.sourceforge.io/Docs/System/System.html#callfuncs
https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath

PR #23471.
2025-11-14 21:35:00 +08:00
Orgad Shaneh
ffbd01eb81
Fix MinGW compiler warnings
Cross-compiling with mxe on linux.

PR #23470.
2025-11-14 21:26:35 +08:00
namoen0301
530c7d1bbd
NSIS: Create a mutex to ensure only one installer is running
PR #23450.
2025-11-14 21:20:02 +08:00
namoen0301
fec4e01aeb
NSIS: add ManifestDPIAwareness function
* This PR added an undocumented function `ManifestDPIAwareness` and enable `PerMonitorV2` support (requires Win10 1703+)
  691211035c/Docs/src/attributes.but (L290-L292)
* Remove `XPStyle` because this function do nothing on NSIS 3.x

PR #23426.
2025-11-14 21:09:12 +08:00
Chocobo1
4541044c42
GHA CI: ensure AppRun hook folder exists
Upstream made some changes and it won't create the AppRun hook folder
anymore, so we create it ourselves.
Upstream PR: https://github.com/linuxdeploy/linuxdeploy-plugin-qt/pull/206

PR #23474.
2025-11-11 15:02:54 +08:00
sledgehammer999
b819b9b7a6
Sync translations from Transifex and run lupdate 2025-11-08 00:29:09 +02:00
dependabot[bot]
6b3519f4eb
GHA CI: Bump Github Actions versions
PR #23444.
2025-11-03 13:35:20 +08:00
Chocobo1
33e7cff3b0
Update expected-lite to v0.9.0
* Update expected-lite to v0.9.0
  https://github.com/nonstd-lite/expected-lite/releases/tag/v0.9.0
* Add error messages for various RSS processing error
* Preserve CRLF endings for expected-lite
  So that we can verify the hash matches upstream easily.

PR #23440.
Closes #22950.
2025-11-03 13:03:41 +08:00
Halbast
516f2ef6ec
NSIS: Update Kurdish translation
PR #22801.
2025-11-03 12:53:30 +08:00
Vladimir Golovnev
85f1c774f6
Improve search results filtering implementation
PR #23430.
Closes #23396.
2025-11-02 14:47:39 +03:00
Vladimir Golovnev
1be4e646e1
WebAPI: Use native separators for path autofill suggestions
PR #23439.
Closes #23432.
2025-11-02 14:43:57 +03:00
Chocobo1
ee62dd3cda
Do not allow orphan processes
If a process is an orphan (without a parent) then the process won't exit when qbt exits and
the process will be still running. This is unwanted behavior.

PR #23422.
2025-10-31 14:19:52 +08:00
Vladimir Golovnev
bc22e8929c
Fix incorrect initial state of checkbox
PR #23428.
2025-10-28 17:08:25 +03:00