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

Add WebAPI/WebUI for managing cookies #21340

Merged
merged 3 commits into from
Sep 30, 2024

Conversation

Piccirello
Copy link
Member

Closes #21125

Screenshot 2024-09-14 at 16 41 36

@Piccirello Piccirello added WebUI WebUI-related issues/changes WebAPI WebAPI-related issues/changes labels Sep 14, 2024
@Piccirello Piccirello force-pushed the cookie-manager branch 2 times, most recently from 6980297 to e87911f Compare September 15, 2024 00:01
@Piccirello Piccirello requested a review from a team September 15, 2024 00:01
@Piccirello Piccirello force-pushed the cookie-manager branch 2 times, most recently from 99991f5 to ced240c Compare September 15, 2024 00:02
@Piccirello Piccirello marked this pull request as ready for review September 15, 2024 00:05
@Piccirello Piccirello added this to the 5.1 milestone Sep 15, 2024
@@ -787,7 +785,6 @@ void TorrentsController::pieceStatesAction()
void TorrentsController::addAction()
{
const QString urls = params()[u"urls"_s];
const QString cookie = params()[u"cookie"_s];
Copy link
Member Author

@Piccirello Piccirello Sep 15, 2024

Choose a reason for hiding this comment

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

Do we have a WebAPI bump yet in 5.1? It'd be nice to get this in 5.0 if possible but otherwise can bump the WebAPI in 5.1 too.

src/webui/www/private/index.html Outdated Show resolved Hide resolved
src/webui/api/appcontroller.cpp Outdated Show resolved Hide resolved
src/webui/api/appcontroller.cpp Outdated Show resolved Hide resolved
src/webui/api/appcontroller.cpp Outdated Show resolved Hide resolved
src/webui/api/appcontroller.cpp Outdated Show resolved Hide resolved
src/webui/api/appcontroller.cpp Outdated Show resolved Hide resolved
@Chocobo1 Chocobo1 requested a review from a team September 20, 2024 13:46
@Chocobo1 Chocobo1 requested a review from a team September 21, 2024 06:44
@Piccirello Piccirello force-pushed the cookie-manager branch 2 times, most recently from fcabdc5 to 67a7d3c Compare September 21, 2024 18:08
Copy link
Member

@Chocobo1 Chocobo1 left a comment

Choose a reason for hiding this comment

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

Just letting you know there are merge conflicts.

src/webui/www/private/views/cookies.html Show resolved Hide resolved
Signed-off-by: Thomas Piccirello <thomas@piccirello.com>
Signed-off-by: Thomas Piccirello <thomas@piccirello.com>
The cookie manager should now be used.

Signed-off-by: Thomas Piccirello <thomas@piccirello.com>
@Chocobo1 Chocobo1 requested a review from a team September 28, 2024 07:40
@Chocobo1 Chocobo1 merged commit 6bbb7b7 into qbittorrent:master Sep 30, 2024
14 checks passed
@Chocobo1
Copy link
Member

@Piccirello
Thank you!

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.

add cookies in webui
3 participants