Skip to content

Fix download client inputs#442

Merged
Flaminel merged 3 commits intomainfrom
fix_download_client_inputs
Feb 15, 2026
Merged

Fix download client inputs#442
Flaminel merged 3 commits intomainfrom
fix_download_client_inputs

Conversation

@Flaminel
Copy link
Contributor

Relates to #441

@codecov
Copy link

codecov bot commented Feb 15, 2026

Codecov Report

❌ Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
code/backend/Cleanuparr.Persistence/DataContext.cs 93.75% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes download-client configuration input handling so URLs with embedded HTTP auth credentials and saved passwords round-trip correctly (relates to #441).

Changes:

  • Preserve exact Uri input strings in EF Core (including embedded credentials) via a custom converter/comparer.
  • Change download-client request contracts to accept Host/ExternalUrl as strings and parse them into Uri.
  • Populate the edit modal’s password field from the existing client config.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
code/frontend/src/app/features/settings/download-clients/download-clients.component.ts Pre-fills modal password when editing an existing client.
code/backend/Cleanuparr.Persistence/DataContext.cs Adds global Uri value converter/comparer to store OriginalString in the DB.
code/backend/Cleanuparr.Api/Features/DownloadClient/Contracts/Requests/UpdateDownloadClientRequest.cs Switches Host/ExternalUrl to string inputs and parses to Uri on apply.
code/backend/Cleanuparr.Api/Features/DownloadClient/Contracts/Requests/TestDownloadClientRequest.cs Switches Host to string input and parses to Uri for test config.
code/backend/Cleanuparr.Api/Features/DownloadClient/Contracts/Requests/CreateDownloadClientRequest.cs Switches Host/ExternalUrl to string inputs and parses to Uri on create.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Flaminel Flaminel merged commit 94acd9a into main Feb 15, 2026
7 of 8 checks passed
@Flaminel Flaminel deleted the fix_download_client_inputs branch February 15, 2026 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants