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

Merged
merged 44 commits into from
Aug 2, 2024
Merged

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
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 <glassez@yandex.ru>
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
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.
@glassez glassez requested a review from Chocobo1 June 26, 2024 18:36
Chocobo1
Chocobo1 previously approved these changes Jun 27, 2024
@Chocobo1

This comment was marked as resolved.

@glassez

This comment was marked as resolved.

@glassez glassez dismissed stale reviews from Chocobo1 and themself via b0ac763 July 7, 2024 13:10
@glassez

This comment was marked as resolved.

glassez
glassez previously approved these changes Jul 7, 2024
@stalkerok
Copy link
Contributor

The backport of this PR? #20951 (after the merger)

glassez
glassez previously approved these changes Jul 8, 2024
glassez and others added 4 commits July 12, 2024 08:51
PR qbittorrent#20951.

---------

Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
Co-authored-by: thalieht <thalieht@users.noreply.github.com>
@xavier2k6
Copy link
Member

Should we merge this & open a new PR for any further backports?

@glassez
Copy link
Member

glassez commented Aug 2, 2024

Should we merge this & open a new PR for any further backports?

Well, let's do that.

@glassez glassez merged commit 195eae5 into qbittorrent:v5_0_x Aug 2, 2024
14 checks passed
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