Enhancement: support qBittorrent apikey#6791
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #6791 +/- ##
=======================================
Coverage 81.42% 81.43%
=======================================
Files 532 532
Lines 9576 9581 +5
Branches 1797 1797
=======================================
+ Hits 7797 7802 +5
Misses 1079 1079
Partials 700 700
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
To make the coverage reach 100%, I could possible change the proxy.test.js Line 53 to use a key for the 5.2.0 test case. Though, I'm not familiar with how the tests work. From |
|
Appreciate the peer review and merge! Glad to contribute. |
Proposed change
Description
Update qBittorrent service widget to support using an API key instead of a username and password.
qBittorent supports API Keys in version ≥ v5.2.0
I mostly referenced
src\widgets\photoprism\proxy.jsfor the changes.Closes #6706
Configuration Example
Testing
Since it's a simple change, I only tested in using by changing the services.yaml
AI Disclosure
I only used the Google AI Overview when googling REST API, javascript, and qBittorent api.
Type of change
Checklist: