release: publish v2.0.34 account recovery fixes
Add a manual Mega-Debrid cooldown reset that preserves active downloads while releasing affected queued work. Replace false per-account cooling for ambiguous Mega-Web session failures with one shared session backoff, attribute fallback failures to the provider actually attempted, and accept omitted optional renderer settings during provider changes. Expand regression coverage and stabilize archive integration checks under concurrent validation load.
This commit is contained in:
+13
-2
@@ -2914,7 +2914,7 @@ export function App(): ReactElement {
|
||||
});
|
||||
};
|
||||
|
||||
const onResetDebridLinkApiKeyDailyUsage = async (entry: ConfiguredAccountEntry, keyId: string, keyLabel: string): Promise<void> => {
|
||||
const onResetDebridLinkApiKeyDailyUsage = async (entry: ConfiguredAccountEntry, keyId: string, keyLabel: string): Promise<void> => {
|
||||
await performQuickAction(async () => {
|
||||
const result = await window.rd.resetDebridLinkApiKeyDailyUsage(keyId);
|
||||
syncLiveProviderUsageSettings(result);
|
||||
@@ -3014,6 +3014,16 @@ export function App(): ReactElement {
|
||||
});
|
||||
};
|
||||
|
||||
const onResetMegaDebridCooldowns = async (): Promise<void> => {
|
||||
await performQuickAction(async () => {
|
||||
const result = await window.rd.resetMegaDebridCooldowns();
|
||||
await reconcileAuthoritativeSnapshot();
|
||||
showToast(result.cleared > 0 ? "Mega-Debrid-Cooldowns zurückgesetzt" : "Keine aktiven Mega-Debrid-Cooldowns.", 2400);
|
||||
}, (error) => {
|
||||
showToast(`Cooldown-Reset fehlgeschlagen: ${String(error)}`, 3200);
|
||||
});
|
||||
};
|
||||
|
||||
const getAccountToggleTarget = (row: AccountTableRow): AccountToggleTarget | null => {
|
||||
if (row.toggleKind === "mega" && row.accountId) {
|
||||
return {
|
||||
@@ -5155,7 +5165,8 @@ export function App(): ReactElement {
|
||||
: hosterId;
|
||||
if (!resolvedHosterId || settingsDraft.hosterRouting?.[resolvedHosterId] || !configuredProviders[0]) return;
|
||||
setHosterRouting({ ...(settingsDraft.hosterRouting || {}), [resolvedHosterId]: configuredProviders[0] });
|
||||
}
|
||||
},
|
||||
onResetMegaDebridCooldowns: () => { void onResetMegaDebridCooldowns(); }
|
||||
};
|
||||
|
||||
const settingsFormActions: SettingsViewActions["form"] = {
|
||||
|
||||
Reference in New Issue
Block a user