fix(server): a refused sequence delete names its reason
DELETE /api/v1/sequences/{id} answers 503 archive_offline for an offline
archive, 409 sequence_busy for a busy sequence or a stale plan, and 409
archive_root, contains_sequences, sidecar_mismatch, folder_missing or
folder_in_use otherwise; a sequence deleted meanwhile is a 404.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
4 files changed
+79
-7
No files matched your search
+7
-1
@@ -26,14 +26,19 @@
|
||||
<data name="Server.Disconnect" xml:space="preserve"><value>Disconnect</value></data>
|
||||
<data name="Server.Empty" xml:space="preserve"><value>Not connected to a server</value></data>
|
||||
<data name="Server.Error.AccountLocked" xml:space="preserve"><value>Too many failed sign-ins; the account is locked for a while.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.ArchiveOffline" xml:space="preserve"><value>The archive is offline or read-only; try again when it is back.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.ArchiveRoot" xml:space="preserve"><value>Its photos are the archive's root folder, which never moves to the trash.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.BadCredentials" xml:space="preserve"><value>Wrong user name or password.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.BadRequest" xml:space="preserve"><value>The request is not valid.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.CertificateChanged" xml:space="preserve"><value>The server certificate changed; confirm it and sign in again.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.ChunkOutOfRange" xml:space="preserve"><value>This upload has no such chunk.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.ChunkSize" xml:space="preserve"><value>The chunk has the wrong size.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.CommitFailed" xml:space="preserve"><value>The file could not be stored in the archive; try again.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.ContainsSequences" xml:space="preserve"><value>Its folder holds other sequences; move them elsewhere first.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.CsrfFailed" xml:space="preserve"><value>The security token is missing; reload the page.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.Failed" xml:space="preserve"><value>The connection failed; the log has the details.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.FolderInUse" xml:space="preserve"><value>A file of the sequence is open in another program; close it and try again.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.FolderMissing" xml:space="preserve"><value>Its folder is no longer on disk; nothing is left to move to the trash.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.Forbidden" xml:space="preserve"><value>Your account cannot do this.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.HashMismatch" xml:space="preserve"><value>The file arrived damaged; upload it again.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.HttpsRequired" xml:space="preserve"><value>Open the admin panel over HTTPS to sign in.</value><comment>long</comment></data>
|
||||
@@ -66,10 +71,11 @@
|
||||
<data name="Server.Error.RateLimited" xml:space="preserve"><value>Too many attempts; wait a minute and try again.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.SamePassword" xml:space="preserve"><value>Choose a password different from the current one.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.Self" xml:space="preserve"><value>You cannot do this to your own account.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.SequenceBusy" xml:space="preserve"><value>A job is working on this sequence, or it cannot move to the trash; try again when it is free.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.SequenceBusy" xml:space="preserve"><value>A job is working on this sequence or its archive; try again when it is free.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.SessionExpired" xml:space="preserve"><value>The session expired; sign in again.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.SettingLocked" xml:space="preserve"><value>An environment variable sets this; change it there.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.SettingsConflict" xml:space="preserve"><value>The sequence changed on the server; reload it and apply your edit again.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.SidecarMismatch" xml:space="preserve"><value>Its folder holds another sequence; scan the archive first.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.TooLarge" xml:space="preserve"><value>The request is larger than the server accepts.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.TooManyUploads" xml:space="preserve"><value>Too many uploads at once; retry shortly.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.Unauthorized" xml:space="preserve"><value>Sign in to continue.</value><comment>long</comment></data>
|
||||
|
||||
Reference in new issue
Block a user