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

WebUI: Improve accuracy of trackers list #20601

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

Piccirello
Copy link
Member

@Piccirello Piccirello commented Mar 24, 2024

This PR fixes various accounting issues with the trackers list. Removing a torrent would not update the trackers list, nor would removing a tracker from a torrent. And removing a tracker with a shared host but unique url (e.g. example.com/1 and example.com/2) would erroneously remove the tracker's host from the list, despite trackers with that host still remaining.

Closes #20054, closes #20053.

@Piccirello Piccirello added the WebUI WebUI-related issues/changes label Mar 24, 2024
@Piccirello Piccirello added this to the 5.0 milestone Mar 24, 2024
@Piccirello Piccirello requested a review from a team March 24, 2024 06:46
This PR fixes various accounting issues with the trackers list. Removing a torrent would not update the trackers list, nor would removing a tracker from a torrent. And removing a tracker with a shared host but unique url (e.g. example.com/1 and example.com/2) would erroneously remove the tracker's host from the list.

Closes qbittorrent#20054.
@Chocobo1 Chocobo1 requested a review from a team March 25, 2024 08:00
@Chocobo1 Chocobo1 merged commit 4967f97 into qbittorrent:master Mar 29, 2024
13 checks passed
@Chocobo1
Copy link
Member

@Piccirello
Thank you!

@terrytw
Copy link

terrytw commented Apr 8, 2024

@Chocobo1 @glassez Is it possible to backport this to 4.6.x? This is a bugfix that fixes something introduced by #19062 which is release with 4.6.0, so I think it's logical?

@Piccirello
Copy link
Member Author

I'd be happy to backport it if we plan to ship another 4.6 release.

@Chocobo1
Copy link
Member

Chocobo1 commented Apr 9, 2024

I'd be happy to backport it if we plan to ship another 4.6 release.

@Piccirello
If you feel it should be fixed in v4.6 then go for it. Just cherry-pick the commit from master branch to #20636 if possible.

@Piccirello
Copy link
Member Author

There are some intermediate changes introduced in 9bfb447, so a cherry-pick won't be a clean merge. I think it's easiest to just wait for the release of v5.

@Piccirello Piccirello deleted the webui-trackers-list branch April 11, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebUI WebUI-related issues/changes
Projects
None yet
4 participants