Commit Graph

13247 Commits

Author SHA1 Message Date
sledgehammer999
33e5e77220 Bump to 5.1.4 release-5.1.4 2025-11-19 22:25:04 +02:00
sledgehammer999
59b9505e60 Update Changelog 2025-11-19 22:22:50 +02:00
sledgehammer999
2f4c19e7cd Sync translations from Transifex and run lupdate 2025-11-19 22:17:50 +02:00
Chocobo1
e6a99e812e WebUI: revert back to function definitions
And suppress ESLint warnings instead.

Fix up 7bbe8eff51.
Closes #23481.
PR #23490.
2025-11-14 21:07:36 +08:00
sledgehammer999
6ede4e49ff Bump to 5.1.3 release-5.1.3 2025-11-11 00:28:54 +02:00
sledgehammer999
7d7bfd818d Update Changelog 2025-11-11 00:26:14 +02:00
sledgehammer999
6038d6261a Sync translations from Transifex and run lupdate 2025-11-11 00:25:43 +02:00
Halbast
172089cf4f NSIS: Update Kurdish translation
PR #22801.
2025-11-10 23:41:39 +02:00
Ramon López i Cros
1ab24a22d0 NSIS: Add Catalan translation
All strings have been translated by a native Catalan speaker.

PR #23346.
2025-11-10 23:41:04 +02:00
sledgehammer999
f2c1ce585a Sync translations from Transifex and run lupdate 2025-11-08 00:23:15 +02:00
Vladimir Golovnev
f76b17155e Backport changes to v5.1.x branch
PR #22988.
2025-11-04 16:25:31 +03:00
Chocobo1
7bbe8eff51 WebUI: prefer using arrow functions
For addressing WebUI CI failures on v5_1_x branch.
2025-11-03 13:33:51 +08:00
Vladimir Golovnev
2979b1e0e4 WebAPI: Use native separators for path autofill suggestions
PR #23439.
Closes #23432.
2025-11-02 16:39:40 +03:00
Andrew Johnson
4ffb5af6aa Improve tab key focus in hidable tab bar widget
PR #23379.
2025-10-19 10:11:01 +03:00
Andrew Johnson
ba7c7e283e Fix screen reader accessibility in torrent list
PR #23359.
Closes #20393.
2025-10-15 11:12:28 +03:00
Vladimir Golovnev
571094cc9c Don't change the processing order of alerts of different types
PR #23373.
Closes #23319.
2025-10-14 13:09:49 +03:00
Vladimir Golovnev
8f1fc451ae Fix "Save as .torrent file" button is visible before metadata retrieved
PR #23375.
2025-10-14 13:03:16 +03:00
xavier2k6
0f7a27ea03 GHA CI: Install NSIS via third party action on Windows
* Install `NSIS` via https://github.com/repolevedavaj/install-nsis
* `NSIS` is no longer installed on GitHub provided Runner Image as of `windows-2025`
* `NSIS: 3.10` was only available on `windows-2019 / windows-2022`
* We can use newer release now eg. `NSIS: 3.11`.

PR #23249.
2025-10-14 12:59:38 +03:00
Mark Yu
015950ea61 Allow equals character in the command line value
The CLI options should allow the `=` (equals) char as value so doing `--save-path="/home/test/mydir = somedir"` should parse properly with the `value` method returning `"/home/test/mydir = somedir"`.

Closes #23248.
PR #23251.

---------

Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
2025-10-14 12:58:18 +03:00
Vladimir Golovnev
772ba5f6bc Don't fail because of existing files when exporting torrent files
PR #23315.
Closes #23017.
2025-10-13 16:19:56 +03:00
Chocobo1
298bd20299 Fix typo
This typo is causing the header `X-Forwarded-Proto` to be ineffective
(when using reverse proxy).

PR #23120.
2025-08-24 19:22:28 +03:00
rekayno
e6f50147d9 Fix invalid Transifex links
PR #23057.
2025-08-09 17:41:51 +03:00
Chocobo1
18fb9936f0 Add alternative URL for program update checking
The alternative URL is hosted on GitHub and users are able to access it:
https://github.com/qbittorrent/qBittorrent/issues/23000#issuecomment-3092538814
https://github.com/qbittorrent/qBittorrent/issues/23009#issuecomment-3093201180

Also, disguise the user agent as a normal browser to avoid standing out from the crowd and
avoid whatever issues from CDN. This only applies to non-fosshub URLs.

Closes #23000.
Closes #23009.
PR #23014.
2025-08-09 17:41:51 +03:00
Chocobo1
3fa812ced6 Use source URL for search plugins
This saves a few URL redirections. And avoids potential issues related to Cloudflare
protections/blockages on qbt domain.

Closes #22990.
PR #23048.
2025-08-09 17:41:51 +03:00
Chocobo1
a76f12f3db Fix random function detection with static PIE builds
Certain build options didn't like the detection with an no-op. So make it really fetch a random value.

Closes #22981.
PR #22987.
2025-08-09 17:41:51 +03:00
Ryu481
d76712256c Don't leave an empty folder when deleting or moving torrents
Currently when you delete or move a torrent sometimes an empty folder will stay. This is because hidden files will stay which didn't got deleted.
The reason that it is not working is that QDir::Files is used which doesn't lists hidden files. Adding QDir::Hidden will make the code work as expected. At least on Windows and macOS QDir::Files doesn't lists hidden files. I can't test on linux.

PR #22983.
2025-08-09 17:41:41 +03:00
Ryu481
f3e47facef Fix system language autodetection on MacOS
PR #22957.
2025-07-13 21:58:51 +03:00
sledgehammer999
202ff8a099 Bump to 5.1.2 release-5.1.2 2025-07-02 09:13:03 +03:00
sledgehammer999
c0585441fb Update Changelog 2025-07-02 09:10:05 +03:00
sledgehammer999
a8b6cbceb0 Sync translations from Transifex and run lupdate 2025-07-02 09:09:21 +03:00
Vladimir Golovnev (Glassez)
6ad073e0bc Show warning message box on opening inappropriate URL 2025-07-02 08:48:27 +03:00
Vladimir Golovnev (Glassez)
ad68813fe8 Prevent opening local files if web page is expected 2025-07-02 08:48:27 +03:00
Vladimir Golovnev
22df0b45c5 Backport changes to v5.1.x branch
PR #22905.
2025-07-01 17:18:53 +03:00
sledgehammer999
bb34444ddc Store version numbers in the appropriate type 2025-07-01 13:07:55 +03:00
sledgehammer999
dd5c934103 Add fallback to update mechanism
This brings a fallback version check to the update mechanism,
which should be as stable as it can be.
It will allow migrating to another primary mechanism without
having to have updated the older primary mechanism too.
2025-07-01 13:07:24 +03:00
Ryu481
3fca180e98 Make qBittorrent quit on MacOS with main window closed
Fixes the reported bug that you couldn't quit qBittorrent when the main window was closed on MacOS.

Closes #22849.
PR #22931.
2025-06-29 21:37:30 +03:00
Chocobo1
9b29d37d21 WebAPI: Trim leading whitespaces on Run External Program fields
Hacked qbt instances may contain malicious script placed in Run External Program and the script
will attempt to hide itself by adding a lot whitespaces at the start of the command string.
Users may mistake the field of being empty but is actually not.
So trim the leading whitespaces to easily expose the malicious script.

Note that GUI already trim the fields and only WebAPI doesn't trim them. This patch will unify
the behavior.
Related: https://github.com/qbittorrent/docker-qbittorrent-nox/issues/71#issuecomment-2993567440

PR #22939.
2025-06-29 21:37:09 +03:00
Vladimir Golovnev
206d5abf84 Don't expose palette colors in UI theme editor
PR #22923.
Fixes regression introduced by #22330.
2025-06-27 15:54:51 +03:00
Vladimir Golovnev
101f35dcf2 WebUI: Fix incorrectly backported changes
PR #22910.
2025-06-26 08:48:40 +03:00
Vladimir Golovnev
13282d94ef Don't ignore QFile::open() result
PR #22889.
Closes #22888.
2025-06-23 12:15:34 +03:00
Vladimir Golovnev
1daa42e4fe Find CorePrivate package with Qt >= 6.10
PR #22890.
Closes #22887.
2025-06-23 12:15:12 +03:00
sledgehammer999
ea9f3800ce Bump to 5.1.1 release-5.1.1 2025-06-23 00:40:55 +03:00
sledgehammer999
af14584772 Update Changelog 2025-06-23 00:37:53 +03:00
sledgehammer999
7d51524251 Sync translations from Transifex and run lupdate 2025-06-22 23:25:18 +03:00
Vladimir Golovnev
7a9aac79f9 Backport changes to v5.1.x branch
PR #22591.
2025-06-20 19:16:30 +03:00
Vladimir Golovnev
085ae0d1c4 Don't limit the size of read "resume data"
PR #22825.
2025-06-08 18:39:58 +03:00
tehcneko
f748a682ca WebUI: Fix path autofill in set location and new category
Attach `PathAutofill` after `DOMContentLoaded`.
Also removed pathAutofill.js in newfolder.html since it's meant for new RSS folder name.

PR #22773.
2025-05-29 21:37:07 +03:00
Chocobo1
df987cc954 NSIS: revise license page
The GPL doesn't need to be agreed with and therefore remove 'I accept agreement' checkbox and
adjust related UI elements.

Closes #22660.
PR #22775.
2025-05-27 11:22:40 +03:00
bolshoytoster
535fc42747 WebUI: Fix memory leak
See #22734, there is a memory leak in the MooTools .destroy(), this replaces all uses of that with the browser native .remove().

This also overrides the MooTools Document.id function, which is used by $(id). The original function always allocates an ID to elements it selects, the override doesn't, and is also a little more efficient.

Closes #22734.
PR  #22754.

---------

Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
2025-05-26 15:56:37 +03:00
Vladimir Golovnev
1da31bc2e1 RSS: Mark matched article as "read" if refers to duplicate torrent
PR #22477.
2025-05-26 15:47:09 +03:00