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

Support removing tracker from all torrents in WebUI/WebAPI #21056

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Piccirello
Copy link
Member

Closes #20661.

@Piccirello Piccirello added WebUI WebUI-related issues/changes WebAPI WebAPI-related issues/changes labels Jul 11, 2024
@Piccirello Piccirello requested a review from a team July 11, 2024 20:08
src/webui/www/private/confirmtrackerdeletion.html Outdated Show resolved Hide resolved
src/webui/www/private/scripts/client.js Outdated Show resolved Hide resolved
src/webui/api/torrentscontroller.cpp Outdated Show resolved Hide resolved
src/webui/api/torrentscontroller.cpp Outdated Show resolved Hide resolved
@Chocobo1 Chocobo1 requested a review from a team July 26, 2024 13:47
@thalieht
Copy link
Contributor

2

Chocobo1
Chocobo1 previously approved these changes Aug 2, 2024
@Chocobo1 Chocobo1 added this to the 5.1 milestone Aug 2, 2024
@Piccirello
Copy link
Member Author

@Chocobo1 just curious, why get this in 5.1 instead of 5.0?

@Chocobo1
Copy link
Member

Chocobo1 commented Aug 2, 2024

@Chocobo1 just curious, why get this in 5.1 instead of 5.0?

AFAIK v5.0 is in 'bug fix only' stage. New feature goes into the next dev cycle (v5.1).

@Piccirello
Copy link
Member Author

@Chocobo1 just curious, why get this in 5.1 instead of 5.0?

AFAIK v5.0 is in 'bug fix only' stage. New feature goes into the next dev cycle (v5.1).

Is there somewhere I can follow along this discussion/decision making?

@Chocobo1
Copy link
Member

Chocobo1 commented Aug 2, 2024

Is there somewhere I can follow along this discussion/decision making?

It usually starts with a new git branch creation (v5.0) and backport PRs emerge. The core devs discuss about it internally.

@glassez
Copy link
Member

glassez commented Aug 3, 2024

AFAIK v5.0 is in 'bug fix only' stage.

This should take effect with the release of RC. We were merging the "soft" features between beta and RC, and since RC is still not released, we could merge similar changes in 5.0.
I leave it to your final decision.

@Chocobo1
Copy link
Member

Chocobo1 commented Aug 3, 2024

I leave it to your final decision.

I don't really have strong reason or preference for it. By default I'm leaning to v5.1 for everything.

Chocobo1 pushed a commit that referenced this pull request Aug 4, 2024
brvphoenix pushed a commit to brvphoenix/qBittorrent that referenced this pull request Aug 4, 2024
src/webui/api/torrentscontroller.cpp Outdated Show resolved Hide resolved
src/webui/api/torrentscontroller.cpp Outdated Show resolved Hide resolved
thalieht
thalieht previously approved these changes Aug 10, 2024
@skomerko
Copy link
Contributor

@Piccirello, could you also add this option?

image

@Piccirello
Copy link
Member Author

@Piccirello, could you also add this option?

image

I'm going to hold off for now but good future work.

@glassez glassez requested review from Chocobo1 and a team August 14, 2024 15:48

const QStringList urls = params()[u"urls"_s].split(u'|');
torrent->removeTrackers(urls);
for (BitTorrent::Torrent *const torrent : asConst(BitTorrent::Session::instance()->torrents()))
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
for (BitTorrent::Torrent *const torrent : asConst(BitTorrent::Session::instance()->torrents()))
for (BitTorrent::Torrent *const torrent : asConst(torrents))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebAPI WebAPI-related issues/changes WebUI WebUI-related issues/changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove a tracker from all torrents.
7 participants