fix(downloads): allow confirmed credentialless resume

- distinguish redacted session credentials from intrinsic URL authentication

- requeue confirmed resumes without saved secrets from the table and Properties window

- scope batch overrides to approved rows and harden malformed bridge payloads

- add regression coverage and localized confirmation copy
This commit is contained in:
NimBold
2026-08-15 23:32:43 +03:30
parent 3f3a3514a3
commit d135a17f1b
12 changed files with 222 additions and 36 deletions
+10 -1
View File
@@ -1236,7 +1236,16 @@ export const PropertiesWindowApp = () => {
&& !window.confirm(t($ => $.downloadTable.nonResumableOne))) {
return;
}
void requestAction('pause-resume');
const resumeWithoutCredentials = (lifecycleAction === 'resume' || lifecycleAction === 'retry')
&& snapshot.credentialsRequired === true;
if (resumeWithoutCredentials
&& !window.confirm(t($ => $.properties.resumeWithoutCredentialsConfirm))) {
return;
}
void requestAction(
'pause-resume',
resumeWithoutCredentials ? { resumeWithoutCredentials: true } : undefined,
);
}}
>
{lifecycleAction === 'pause' ? <Pause size={14} /> : <Play size={14} />}