fix(workspace): close the phase 5c review findings

Originals are now judged by their bytes, never by the media index: a removal
or clean-up hashes every file under media/originals and deletes it only when
the home holds that SHA-256; every other file, named or not, goes to the
workspace trash. Trash entries are filled under a staging name that Empty
never lists. A ledger can only name files inside exports/.

Jobs follow the workspace: a copy, render or send resolves the folder that
holds its project now (a moved workspace, a retry after a move) and waits
while a move has not switched yet. A clean-up failure after the switch is a
warning that keeps the journal for a later resume; entries that changed
since they were copied are kept, and a same-volume rename refused across
volumes falls back to copy and verify.

Sends map a replayed version by content hash, or go with the project only,
and note an old server that drops provenance. The media index (format 2) and
project file (format 3) refuse older readers while they hold originals.
Metered connections also hold sync downloads and server copies. The editor
gains Send again, the Settings page can resume a stopped move, the disabled
tooltips say why, and unused strings are pruned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-04 17:32:48 +01:00
1 parent 09fcff4eb2
commit 2654683a12
125 files changed
+1618 -401

No files matched your search

+5
View File
@@ -443,4 +443,9 @@
<data name="Archive.Log.WorkspaceMoved" xml:space="preserve"><value>Workspace moved to {0}: projects: {1}, files: {2}</value><comment>long: job log line; {0} target folder; {1} and {2} counts</comment></data>
<data name="Archive.Log.WorkspaceMoveResumed" xml:space="preserve"><value>Move resumed from its journal: {0}</value><comment>long: job log line; {0} the journal file</comment></data>
<data name="Archive.Log.WorkspaceMoveProject" xml:space="preserve"><value>Moved: {0}</value><comment>long: job log line; {0} project name</comment></data>
<data name="Archive.Log.WorkspaceCopyHeld" xml:space="preserve"><value>Held while the connection is metered</value><comment>long: job log line</comment></data>
<data name="Archive.Log.WorkspaceVersionReplayed" xml:space="preserve"><value>{0}: the home made the version again as version {1}; the render goes with it</value><comment>long: job log line; {0} project name; {1} version number</comment></data>
<data name="Archive.Log.WorkspaceVersionNotHome" xml:space="preserve"><value>{0}: the render's version is not at the home; sent with the project only</value><comment>long: job log line; {0} project name</comment></data>
<data name="Archive.Log.WorkspaceSendNoProvenance" xml:space="preserve"><value>{0}: the server kept the render without its project; update the server to keep it</value><comment>long: job log line; {0} render file name</comment></data>
<data name="Archive.Log.WorkspaceMoveLeft" xml:space="preserve"><value>Moved; {0} still holds {1} item(s) that could not be cleared</value><comment>long: job log line; {0} old folder; {1} a count</comment></data>
</root>
-6
View File
@@ -447,7 +447,6 @@
<data name="Editor.Workspace.Undo" xml:space="preserve"><value>Undo</value></data>
<data name="Editor.Workspace.UpdateMedia" xml:space="preserve"><value>Update media</value></data>
<data name="Editor.Workspace.Updating" xml:space="preserve"><value>Updating media</value></data>
<data name="Editor.OpenWorkspace.OriginalsSize" xml:space="preserve"><value>Originals: {0}</value><comment>long; {0} a size, &quot;1.2 GB&quot;</comment></data>
<data name="Editor.Project.CopyOriginals" xml:space="preserve"><value>Copy originals…</value></data>
<data name="Editor.Project.ProxiesOnly" xml:space="preserve"><value>Proxies only…</value></data>
<data name="Editor.ProxiesOnly.Title" xml:space="preserve"><value>Proxies only for {0}</value><comment>{0} project name</comment></data>
@@ -462,15 +461,10 @@
<data name="Editor.Workspace.OriginalsRemoved" xml:space="preserve"><value>Originals removed</value></data>
<data name="Editor.Workspace.OriginalsNotRemoved" xml:space="preserve"><value>Originals not removed</value></data>
<data name="Editor.Workspace.OriginalsMissing" xml:space="preserve"><value>Without original: {0}</value><comment>long; {0} a count of frames</comment></data>
<data name="Editor.Workspace.Media.Proxies" xml:space="preserve"><value>Proxies</value></data>
<data name="Editor.Workspace.Media.Originals" xml:space="preserve"><value>Originals</value></data>
<data name="Editor.OpenProject.Title" xml:space="preserve"><value>Open which project?</value></data>
<data name="Editor.OpenProject.Message" xml:space="preserve"><value>{0} has several projects in the workspace: choose the one to open.</value><comment>long; {0} sequence title</comment></data>
<data name="Editor.Render.QueuedLocal" xml:space="preserve"><value>Render queued on this PC</value></data>
<data name="Editor.Render.Local" xml:space="preserve"><value>On this PC</value></data>
<data name="Editor.Render.SentHome" xml:space="preserve"><value>Sent home</value></data>
<data name="Editor.Render.SentTo" xml:space="preserve"><value>{0} is in the library</value><comment>{0} render file name</comment></data>
<data name="Editor.Render.SentTo.Server" xml:space="preserve"><value>{0} is on the server</value><comment>{0} render file name</comment></data>
<data name="Editor.Render.NotSent" xml:space="preserve"><value>Not sent</value></data>
<data name="Editor.Render.SendFailed" xml:space="preserve"><value>Render not sent</value></data>
<data name="Editor.Render.SendAgain" xml:space="preserve"><value>Send again</value></data>
-1
View File
@@ -140,7 +140,6 @@
<data name="Server.Login.SignIn" xml:space="preserve"><value>Sign in</value></data>
<data name="Server.Login.Title" xml:space="preserve"><value>Sign in</value></data>
<data name="Server.Login.User" xml:space="preserve"><value>User</value></data>
<data name="Server.PauseMetered" xml:space="preserve"><value>Pause metered uploads</value></data>
<data name="Server.Quota" xml:space="preserve"><value>{0} of {1}</value></data>
<data name="Server.QuotaUnlimited" xml:space="preserve"><value>{0} used</value></data>
<data name="Server.RenderNode" xml:space="preserve"><value>Act as render node</value></data>
-2
View File
@@ -255,9 +255,7 @@
<data name="Settings.Workspace.MovePlan.OtherVolume" xml:space="preserve"><value>Other drive: files copied and checked</value><comment>long</comment></data>
<data name="Settings.Workspace.MovePlan.Unsent" xml:space="preserve"><value>Not sent yet: {0}</value><comment>long; {0} a count of projects</comment></data>
<data name="Settings.Workspace.MovePlan.Action" xml:space="preserve"><value>Move</value></data>
<data name="Settings.Workspace.MovePlan.Refused" xml:space="preserve"><value>Move not possible</value></data>
<data name="Settings.Workspace.Moving" xml:space="preserve"><value>Moving the workspace</value></data>
<data name="Settings.Workspace.Moved" xml:space="preserve"><value>Workspace moved</value></data>
<data name="Settings.Workspace.NotMoved" xml:space="preserve"><value>Workspace not moved</value></data>
<data name="Settings.Workspace.MoveUnfinished" xml:space="preserve"><value>Move not finished</value></data>
<data name="Settings.Workspace.MoveUnfinishedMessage" xml:space="preserve"><value>A move of the workspace to {0} stopped before it ended; its projects are still in {1}.</value><comment>long; {0} the target folder; {1} the folder in use</comment></data>
+3 -10
View File
@@ -233,7 +233,6 @@
<data name="Tooltips.Editor.OpenWorkspace.Name" xml:space="preserve"><value>The new project's name: 1 to 60 characters, each name once per sequence</value></data>
<data name="Tooltips.Editor.OpenWorkspace.New" xml:space="preserve"><value>A new project of this sequence, starting from Main</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Open" xml:space="preserve"><value>Copy the project's photos into the workspace, then open it there</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Originals" xml:space="preserve"><value>Copying the originals, to render on this PC, comes in a later update</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Projects" xml:space="preserve"><value>The sequence's projects in the library</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Projects.Server" xml:space="preserve"><value>The sequence's projects on the server</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Proxies" xml:space="preserve"><value>Copy the proxies: light and fast to edit; renders use the library's originals</value></data>
@@ -690,7 +689,6 @@
<data name="Tooltips.Server.LoginUser" xml:space="preserve"><value>Your user name on the server</value></data>
<data name="Tooltips.Server.NodeEncoders" xml:space="preserve"><value>Video encoders the server can use on this PC: {0}</value></data>
<data name="Tooltips.Server.NoneFound" xml:space="preserve"><value>No server found on this network yet; type its address</value></data>
<data name="Tooltips.Server.PauseMetered" xml:space="preserve"><value>Pause uploads while Windows reports this connection as metered; they resume by themselves when it is not</value><comment>long</comment></data>
<data name="Tooltips.Server.Quota" xml:space="preserve"><value>Space you use on the server out of your quota</value></data>
<data name="Tooltips.Server.RenderNode" xml:space="preserve"><value>Let the server send render jobs to this PC when it is idle; uses your GPU encoders</value></data>
<data name="Tooltips.Server.Role.Admin" xml:space="preserve"><value>Admins manage users, the archive and the server</value></data>
@@ -846,7 +844,6 @@
<data name="Tooltips.Settings.Tier.Unavailable" xml:space="preserve"><value>No decoder on this PC reads its pixels; such frames are left out of renders</value></data>
<data name="Tooltips.Settings.UsageCounts" xml:space="preserve"><value>Send a daily anonymous count of versions and languages in use; nothing else, off by default</value></data>
<data name="Tooltips.Settings.UseWorkspace" xml:space="preserve"><value>Edit uses this folder from now on; nothing is moved or deleted</value></data>
<data name="Tooltips.Settings.WorkspaceFolder" xml:space="preserve"><value>The workspace's folder (a fast disk is best); Change uses another one, moving it comes in a later update</value></data>
<data name="Tooltips.Settings.WorkspaceSync" xml:space="preserve"><value>Send each version you save to the library at once, and take the library's new versions</value></data>
<data name="Tooltips.Setup.AllUsers" xml:space="preserve"><value>Install in Program Files for every account · asks for administrator approval</value></data>
<data name="Tooltips.Setup.AllUsersOnly" xml:space="preserve"><value>{0} · it runs as a Windows service, so it installs for all users in Program Files</value></data>
@@ -950,12 +947,7 @@
<data name="Tooltips.Editor.ProxiesOnly.ToTrash.Server" xml:space="preserve"><value>Originals the server no longer holds as they are here: they go to the workspace's trash, not deleted</value></data>
<data name="Tooltips.Editor.ProxiesOnly.Action" xml:space="preserve"><value>Delete the originals listed from the workspace; the proxies and the project stay</value></data>
<data name="Tooltips.Editor.ProxiesOnly.Keep" xml:space="preserve"><value>Keep the originals in the workspace</value></data>
<data name="Tooltips.Editor.Workspace.OriginalsMissing" xml:space="preserve"><value>The library had no original of these frames: they stay proxies here, and a local render waits until they are copied</value></data>
<data name="Tooltips.Editor.Workspace.OriginalsMissing.Server" xml:space="preserve"><value>The server had no original of these frames (or your account cannot read them): they stay proxies here</value></data>
<data name="Tooltips.Editor.Workspace.Media.Proxies" xml:space="preserve"><value>The workspace holds the proxies of this project: renders run where the originals are</value></data>
<data name="Tooltips.Editor.Workspace.Media.Originals" xml:space="preserve"><value>The workspace holds the proxies and the originals of this project: renders run on this PC</value></data>
<data name="Tooltips.Editor.OpenProject.Choose" xml:space="preserve"><value>Open this project of the sequence; Settings › Workspace › Open project says whether Edit asks</value></data>
<data name="Tooltips.Editor.Render.Local" xml:space="preserve"><value>Rendered on this PC from the workspace's originals; the file is in the project's exports folder</value></data>
<data name="Tooltips.Editor.Render.NotSent" xml:space="preserve"><value>Rendered on this PC, not in the library yet: it is sent with the next send; the file stays in the workspace</value></data>
<data name="Tooltips.Editor.Render.NotSent.Server" xml:space="preserve"><value>Rendered on this PC, not on the server yet: it is sent with the next send; the file stays in the workspace</value></data>
<data name="Tooltips.Editor.Render.SendAgain" xml:space="preserve"><value>Send the renders made here that the library does not have yet</value></data>
@@ -974,13 +966,11 @@
<data name="Tooltips.Settings.Workspace.Move" xml:space="preserve"><value>Move the workspace folder with its projects to another folder, after a plan; each file is checked before its source goes</value></data>
<data name="Tooltips.Settings.Workspace.SizeLimit" xml:space="preserve"><value>Past this size, the media of the projects used longest ago are removed once they are in step with their home; their versions stay</value></data>
<data name="Tooltips.Settings.Workspace.NoLimit" xml:space="preserve"><value>The workspace grows as needed; only Clean after removes media</value></data>
<data name="Tooltips.Settings.Workspace.DefaultMedia" xml:space="preserve"><value>What Open in workspace copies unless you choose otherwise there</value></data>
<data name="Tooltips.Settings.Workspace.Proxies" xml:space="preserve"><value>Copy the proxies: light and fast to edit; renders run where the originals are</value></data>
<data name="Tooltips.Settings.Workspace.Originals" xml:space="preserve"><value>Copy the originals too, to render on this PC; it takes the most space</value></data>
<data name="Tooltips.Settings.Workspace.VersionOnRender" xml:space="preserve"><value>A render first saves your changes as a version (sent at once when Sync is on), so the render names the version it shows</value></data>
<data name="Tooltips.Settings.Workspace.CleanAfter" xml:space="preserve"><value>Remove the media of projects not opened for this long, once they are in step with their home; opening one copies them again</value></data>
<data name="Tooltips.Settings.Workspace.Never" xml:space="preserve"><value>Media stay until you remove them, or Size limit does</value></data>
<data name="Tooltips.Settings.Workspace.OpenProject" xml:space="preserve"><value>Which project Edit opens for a sequence with several in the workspace</value></data>
<data name="Tooltips.Settings.Workspace.LastUsed" xml:space="preserve"><value>The project you opened last for the sequence</value></data>
<data name="Tooltips.Settings.Workspace.Main" xml:space="preserve"><value>The sequence's Main project, which holds its own settings</value></data>
<data name="Tooltips.Settings.Workspace.Ask" xml:space="preserve"><value>List the sequence's projects each time</value></data>
@@ -991,4 +981,7 @@
<data name="Tooltips.Settings.Workspace.MovePlan.Action" xml:space="preserve"><value>Queue the move: the projects are moved or copied and checked, then Edit uses the new folder</value></data>
<data name="Tooltips.Settings.Workspace.MovePlan.Keep" xml:space="preserve"><value>Keep the workspace where it is</value></data>
<data name="Tooltips.Settings.Workspace.ResumeMove" xml:space="preserve"><value>Queue the move again: it takes up from its journal, nothing is copied twice</value></data>
<data name="Tooltips.Settings.Workspace.MoveUnfinished" xml:space="preserve"><value>A move stopped before it ended: resume it first</value></data>
<data name="Tooltips.Editor.Project.HasOriginals" xml:space="preserve"><value>The originals are in the workspace already</value></data>
<data name="Tooltips.Editor.Project.ProxiesAlready" xml:space="preserve"><value>The workspace holds only the proxies already</value></data>
</root>