fix(provider): exclude and persist banned/expired accounts (#891)

* fix(provider): exclude and persist banned/expired accounts

- Store terminal account states in source.yml/CSV; keep Pending runtime-only
- On 401/403, only flag the account for the throttled expiry worker
- Lift stored bans on panel renewal or credential update
- Persist per file in one batch; back up only when content changes
- Use the first usable alias for playlists when the root is blocked

* fix(provider): exclude and persist banned/expired accounts

- Store terminal account states in source.yml/CSV; keep Pending runtime-only
- On 401/403, only flag the account for the throttled expiry worker
- Lift stored bans on panel renewal or credential update
- Persist per file in one batch; back up only when content changes
- Use the first usable alias for playlists when the root is blocked
This commit is contained in:
euzu
2026-10-01 14:24:02 +02:00
committed by GitHub
parent 93b1603412
commit 0bd087d288
31 changed files with 2731 additions and 396 deletions
@@ -24,6 +24,8 @@ pub struct PatchInput {
#[serde(default)]
pub enabled: Option<serde_saphyr::Spanned<bool>>,
#[serde(default)]
pub account_disabled: Option<serde_saphyr::Spanned<bool>>,
#[serde(default)]
pub url: Option<serde_saphyr::Spanned<String>>,
#[serde(default)]
pub username: Option<serde_saphyr::Spanned<String>>,