Summary
Add Deluge download-client support through Deluge Web JSON-RPC, including torrent/magnet submission, monitoring, automatic imports, and cleanup. The settings form supports the Web UI port (8112), categories, and reverse-proxy URL bases.
Closes #240.
Changes
Added
- Deluge adapter and workflows for connection testing, submissions, queue/tracked-item lookup, import resolution, removal, and post-import labels.
- Deluge settings UI and setup guidance, including Add paused and Post-import Category with save/reopen and connection-test support.
- Regression coverage for proxy prefixes, cookie isolation, label handling, cancellation rollback, completion detection, and cached import paths.
- Real-Deluge E2E cases for direct paths and remote path mapping.
Changed
- Integrate Deluge with client selection, torrent identifiers, queue matching, metadata, and cleanup.
- Isolate authentication cookies per operation and preserve remote filesystem path identities before mapping.
- Retain seeding sources and require current torrent verification before importing.
Fixed
- Build and dependency-registration issues, and conflicts with canary.
- Missing categories and Label-plugin validation, including concurrent label creation and bounded rollback without deleting data.
- Rounded progress incorrectly indicating completion and failed/incomplete queue snapshots appearing empty.
Removed
- Dead URL-only adapter submission branch and invented-ID fallback after a rejected magnet. The normal submission pipeline supplies prepared torrent bytes or magnets.
Testing
E2E settings coverage at 028e13ed88585f8fff5e14e0fe9e1287bd1e6fe4:
- Both real-Deluge scenarios passed locally (2 passed, 1.3 minutes). The direct-path case retains default settings; the mapped-path case covers paused submission, zero downloaded bytes and no import/relabeling across two processor cycles while paused, resume, successful import, post-import label creation/assignment, m...
Automated Canary build