feat(download-clients): rtorrent support Digest Auth (#1596)

* feat(download-clients): rtorrent support basic auth

* feat(download-client): implement new auth logic

* fix(download-client): tests store

* chore(deps): update go-rtorrent to v1.11.0
This commit is contained in:
ze0s 2024-08-28 12:21:56 +02:00 committed by GitHub
parent 861f30c144
commit 0d53f7e5fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 231 additions and 71 deletions

View file

@ -474,6 +474,21 @@ export const DownloadRuleConditionOptions: OptionBasic[] = [
}
];
export const DownloadClientAuthType: OptionBasic[] = [
{
label: "None",
value: "NONE"
},
{
label: "Basic Auth",
value: "BASIC_AUTH"
},
{
label: "Digest Auth",
value: "DIGEST_AUTH"
}
];
const logLevel = ["DEBUG", "INFO", "WARN", "ERROR", "TRACE"] as const;
export const LogLevelOptions = logLevel.map(v => ({ value: v, label: v, key: v }));