Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport changes to v5.0 branch #20996

Open
wants to merge 32 commits into
base: v5_0_x
Choose a base branch
from

Conversation

sledgehammer999
Copy link
Member

Continuation of PR #20918 with the conflicts resolved.

There was only one commit that conflicted:
master version: cb90b67
v5 version: 4687b4e

Files in conflict:

  • src/webui/www/package.json
  • src/webui/www/public/scripts/login.js

Piccirello and others added 30 commits June 25, 2024 19:30
This PR restores the users previously used tab (Transfer, Search, RSS, etc.) when the WebUI is reloaded.

PR qbittorrent#20705.
The cookie value can only contain ASCII characters.
PR qbittorrent#20913.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chocobo1 <[email protected]>
Add "BT" (BitTorrent) to avoid confusion about which protocol it is referring to.
Also its value doesn't need to be translated.

PR qbittorrent#20897.
PR qbittorrent#20833.

---------

Co-authored-by: Vladimir Golovnev <[email protected]>
Co-authored-by: Chocobo1 <[email protected]>
A few code are revised because the type checker (mypy) doesn't allow
changing types on a variable.

PR qbittorrent#20935.
1. Previously unhandled connections will stay in pending state. It won't
be closed until timeout happened. This may lead to wasting system
resources. Now the (over-limit) connection is actively rejected.

2. When out-of-memory occurs here, reject the new connection instead of
throwing exception and crash.

3. Also clean up some unused bits.

PR qbittorrent#20961.
… of 0

Fixes the download progress calculation for folders with zero size.
Previously, the progress would be Zero. Now, folders with zero size
show 100% progress.

PR qbittorrent#20567.
The canonical type for `size_string` is `str`. However numeric types are also accepted in order
to accommodate poorly written plugins.

PR qbittorrent#20976.
Previously `m_shutdownTimeout * 1000` was calculated in `int` and now it
is `qint64`.

PR qbittorrent#20982.
Piccirello and others added 2 commits June 25, 2024 21:13
It does not affect the produced artifacts. The only difference is the
tool itself won't depend on some specific OS image or library version.

PR qbittorrent#20983.
@sledgehammer999 sledgehammer999 added this to the 5.0 milestone Jun 25, 2024
@sledgehammer999 sledgehammer999 changed the title Backport v5 Backport to v5 Jun 25, 2024
Copy link
Member

@glassez glassez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved generally, without taking into account possible problems in resolving the mentioned conflicts.

@glassez glassez changed the title Backport to v5 Backport changes to v5.0 branch Jun 26, 2024
@glassez glassez requested a review from Chocobo1 June 26, 2024 18:36
@Chocobo1
Copy link
Member

PR #20990 should also be backported.

@glassez
Copy link
Member

glassez commented Jun 28, 2024

And #20998

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants