Vladimir Golovnev
15ea836bb9
Avoid repeatedly creating the same QDateTime values
...
PR #21904 .
2024-11-26 09:04:59 +03:00
Chocobo1
3ebdb50457
Verify hash of Python installer
...
PR #21877 .
2024-11-26 00:29:11 +08:00
tinyboxvk
61ff683f11
Update link to news
...
Change `https://www.qbittorrent.org/news.php ` to `https://www.qbittorrent.org/news ` to avoid redirect.
PR #21872 .
2024-11-22 21:05:39 +08:00
Chocobo1
7f901a812d
Improve Python installation process
...
Instead of waiting it to complete, now it will react on installation process finish.
Also add more logging.
PR #21863 .
2024-11-19 18:57:44 +08:00
Vladimir Golovnev
ea35aa45d6
Remove wrong dependency on Main Window
...
Don't depend on upper level widget (Main Window) state.
PR #21816 .
2024-11-18 19:13:43 +03:00
Thomas Piccirello
f89c4c32ed
Display External IP Address in status bar
...
This change displays the last detected IPv4 and/or IPv6 address(es) in the GUI and WebUI's status bar. This does not yet handle systems with multiple addresses of the same type (e.g. multiple IPv6 addresses).
PR #21383 .
---------
Co-authored-by: Odin Vex <44311901+OdinVex@users.noreply.github.com >
2024-11-09 15:58:13 +08:00
Vladimir Golovnev
4bec9b90c4
Check real palette darkness to detect "dark theme"
...
`QStyleHints::colorScheme()` returns chosen color scheme even if current style doesn't support it and uses different palette.
PR #21771 .
2024-11-08 11:45:16 +03:00
Chocobo1
3da9444688
Reduce dependency on Main Window
...
PR #21753 .
2024-11-06 13:45:14 +08:00
Chocobo1
051d7137ea
Use proper macro for unreachable switch cases
...
Those are the `default` cases which are not expected to hit (nor reachable) normally.
When the code is compiled with release mode and it reaches `Q_UNREACHABLE()`, it becomes
undefined behavior. So it rely on the developers to catch the errors in debug mode.
The upside of this is that the `switch` statement will be more optimized than not using it.
This also means the statements after `Q_UNREACHABLE()` isn't important. It allow anything to
preserve the intention of the code.
This macro is preferred over C++23 `std::unreachable` because it will automatically insert a
`Q_ASSERT(false)` with it.
PR #21752 .
2024-11-05 11:55:55 +08:00
Vladimir Golovnev
b083029841
Handle Qt style names in a case insensitive way
...
PR #21720 .
Closes #21716 .
2024-11-03 09:54:57 +03:00
Chocobo1
6f642776b6
Simplify tab handling in Search widget
...
PR #21729 .
2024-11-03 14:43:23 +08:00
Vladimir Golovnev
0f18e80154
Fix .torrent file could not be deleted when torrent is canceled
...
PR #21735 .
Closes #21723 .
2024-11-02 16:41:05 +03:00
Vladimir Golovnev
08b51fc869
Remove trackers from previous category when moved to new one
...
PR #21717 .
Closes #21637 .
2024-11-02 16:40:27 +03:00
Vladimir Golovnev
84d895231c
Correctly delete the moved search tab
...
PR #21687 .
Closes #21675 .
2024-10-28 09:41:09 +03:00
xavier2k6
e0431e3ffb
Update python installer version for Windows
...
PR #21643 .
2024-10-27 15:05:05 +08:00
DoubleSpicy
c080fc3aa0
Fix filesize sorting in preview dialog
...
PR #21563 .
Closes #21510 .
2024-10-23 09:03:25 +03:00
Chocobo1
5dd41f506e
Fix button state for SSL certificate check
...
A copy paste error was introduced in PR #20338 .
PR #21659 .
2024-10-23 13:04:16 +08:00
sledgehammer999
a3ac692c25
Allow to use Qt's default QStyle
...
Relevant prior PR #21553
PR #21605 .
2024-10-21 19:59:55 +03:00
Vladimir Golovnev
3ab9fe55e5
Improve color scheme change detection
...
* Fix pieces bars won't correctly detect color scheme change with Qt 6.8.
* Update RSS article content view on color scheme changed.
PR #21625 .
Closes #21327 .
2024-10-21 09:50:53 +03:00
Vladimir Golovnev
a47e1cdb48
Allow to choose color scheme on Windows
...
PR #21615 .
2024-10-19 13:37:51 +03:00
Vladimir Golovnev
966387859a
Always notify user about duplicate torrent
...
PR #21480 .
Closes #21475 .
2024-10-14 11:50:20 +03:00
Chocobo1
fb40275507
Don't change combobox index after selection
...
Also keep the list sorted.
PR #21599 .
2024-10-14 14:39:54 +08:00
sledgehammer999
3d9e9715b4
Merge pull request #21364 from sledgehammer999/dont_ignore_ssl_errors
...
Don't ignore SSL errors
2024-10-12 10:37:48 +03:00
Chocobo1
c4eeb4a14a
Add drag support to torrent content widget
...
Now qbt supports dragging items from torrent content widget to another app.
Closes #5860 .
PR #21569 .
2024-10-12 14:49:17 +08:00
algebnaly
6418033cc8
Add support for Thunar file manager
...
PR #21531 .
Co-authored-by: yalikes <algebnaly@qq.com >
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com >
2024-10-12 14:41:05 +08:00
Vladimir Golovnev
2d185dc1c7
Allow to choose Qt style
...
PR #21553 .
2024-10-11 16:04:57 +03:00
thalieht
d73201c098
Fix the tab order in dialogs
...
* Torrent options
* Torrent creator
* Preferences
Closes #21387 .
PR #21395 .
2024-10-07 21:51:56 +08:00
stalkerok
3ea2be41e7
Disable the ability to create torrents with a piece size of 256MiB
...
Disabling will reduce the number of users experiencing this issue.
https://github.com/qbittorrent/qBittorrent/issues/21011
PR #21295 .
2024-10-07 21:40:02 +08:00
Chocobo1
9e5433bcf8
Add name to threads
...
This help identifying threads when debugging.
The naming scheme is using 'class/function name + variable name'.
Note that the length limitaion is 16 chars on linux. On Windows, the limit is 32767 chars.
PR #21403 .
2024-10-06 15:23:50 +08:00
thalieht
7f38216d22
Regenerate .ui files
...
PR #21411 .
2024-10-05 16:42:03 +08:00
sledgehammer999
6981217369
Don't ignore SSL errors
2024-10-04 22:48:46 +03:00
Hanabishi
b5b34c9ff4
Add "Simple pread/pwrite" disk IO type
...
PR #21300 .
2024-10-01 19:58:35 +03:00
Chocobo1
7b45566efc
Migrate away from deprecated functions in Qt 6.9
...
Closes #21412 .
PR #21415 .
2024-09-30 18:31:17 +08:00
xavier2k6
c30a07702d
Replace QVector with QList
...
Migrated last remnants of QVector to Qlist, reference https://github.com/qbittorrent/qBittorrent/pull/21016#issuecomment-2212403741 onward.
PR #21407 .
2024-09-30 18:20:58 +08:00
Chocobo1
10eb921d70
Allow drop action only on transfer list
...
Now drop action is only allowed on transfer list, previously it was on main window.
Having drop action on the whole main window is not preferred because it could allow drop action
on other unrelated widgets, such as execution log or RSS widget which is unexpected behavior.
PR #21332 .
2024-09-30 16:59:57 +08:00
Thomas Piccirello
81def39d8c
WebUI: Support managing web seeds
...
Closes #8475 .
PR #21055 .
2024-09-28 15:37:36 +08:00
sledgehammer999
1c43286616
Make Program Updater choose the same build for download
...
We're probably stuck offering the duo of RC_1_2 and RC_2_0 for some
time in the future. So hardcode the choices and make the Program Updater
choose the variant the user currently uses.
2024-09-16 22:26:57 +03:00
Chocobo1
4555a46e5d
Remove unused function
...
PR #21334 .
2024-09-16 18:10:13 +08:00
Burnerelu
e06b7f8f4d
Enable customizing the save statistics time interval
...
This change extends the Advanced section of the Preferences menu with a new field, allowing changing the time statistics save interval. A zero value will prevent recurrent saving.
This aims to provide the feature requested in issue #21285 .
PR #21291 .
2024-09-16 17:16:59 +08:00
Chocobo1
a0c32110f1
Add URL link for reverse proxy setup examples
...
The link is helpful for users whom needs to setup reverse proxy.
PR #21305 .
2024-09-13 22:18:31 +08:00
Chocobo1
130c0d8487
Revise cookie 'secure flag' enable condition
...
The localhost is 'potentially trustworthy' and RFC 6265 allows setting secure flag in this case.
Also check `X-Forwarded-Proto` header value to support reverse proxy usage.
Note: for reverse proxy users, now the `X-Forwarded-Proto` header is expected to be sent to qbt
otherwise the `secure` flag might be set erroneously.
https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.2.5
https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy
Closes #21250 .
PR #21260 .
2024-09-07 21:38:27 +08:00
Prince Gupta
a7f7c5fb73
Fix highlighted piece color
...
PR #20971 .
2024-09-02 08:11:35 +03:00
Chocobo1
a91bac8aa0
Add link to 'List of alternative WebUI' wiki page in Options
...
PR #21224 .
2024-08-23 02:27:24 +08:00
Vladimir Golovnev
0904f4a89b
Refresh search results colors once color scheme is changed
...
* Refresh search results colors once color scheme is changed
* Improve color of visited search result items
PR #21189 .
Closes #21187 .
2024-08-21 15:08:14 +03:00
Vladimir Golovnev
c5b7c82344
Refresh pieces bar colors once color scheme is changed
...
PR #21183 .
Closes #21155 .
2024-08-13 09:11:21 +03:00
Vladimir Golovnev
cbabe56fcf
Hide zero status filters when torrents removed
...
PR #21150 .
Closes #21146 .
2024-08-08 08:19:53 +03:00
Harald Nordgren
989b1d176d
Enable adaptive step size for upload and download limits
...
PR #21138 .
2024-08-07 21:51:06 +08:00
Chocobo1
7b2886e477
Revise label text
...
PR #21118 .
2024-08-05 21:01:49 +08:00
Vladimir Golovnev
3b38d0de7f
Represent by TorrentInfo only info-section related metadata
...
PR #21084 .
2024-07-19 06:25:41 +03:00
Chocobo1
8b7fdf0f22
Bump Python version minimum requirement
...
The new minimum version is Python 3.9.
Debian Buster (oldoldstable) support ends at [2024.06.30](https://www.debian.org/releases/buster/ ).
Ubuntu Focal (20.04LTS) support ends at [2025.04](https://ubuntu.com/about/release-cycle ).
By the time qbt v5.1 is released, Buster and Focal would have become EOL.
https://packages.debian.org/search?keywords=python3
https://packages.ubuntu.com/search?keywords=python3
PR #21064 .
2024-07-17 12:13:58 +08:00