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

-6
View File
@@ -422,7 +422,6 @@
<data name="Editor.Workspace.Undo" xml:space="preserve"><value>Annulla</value></data>
<data name="Editor.Workspace.UpdateMedia" xml:space="preserve"><value>Aggiorna media</value></data>
<data name="Editor.Workspace.Updating" xml:space="preserve"><value>Aggiornamento media</value></data>
<data name="Editor.OpenWorkspace.OriginalsSize" xml:space="preserve"><value>Originali: {0}</value></data>
<data name="Editor.Project.CopyOriginals" xml:space="preserve"><value>Copia originali…</value></data>
<data name="Editor.Project.ProxiesOnly" xml:space="preserve"><value>Solo proxy…</value></data>
<data name="Editor.ProxiesOnly.Title" xml:space="preserve"><value>Solo proxy per {0}</value></data>
@@ -437,15 +436,10 @@
<data name="Editor.Workspace.OriginalsRemoved" xml:space="preserve"><value>Originali rimossi</value></data>
<data name="Editor.Workspace.OriginalsNotRemoved" xml:space="preserve"><value>Originali non rimossi</value></data>
<data name="Editor.Workspace.OriginalsMissing" xml:space="preserve"><value>Senza originale: {0}</value></data>
<data name="Editor.Workspace.Media.Proxies" xml:space="preserve"><value>Proxy</value></data>
<data name="Editor.Workspace.Media.Originals" xml:space="preserve"><value>Originali</value></data>
<data name="Editor.OpenProject.Title" xml:space="preserve"><value>Quale progetto aprire?</value></data>
<data name="Editor.OpenProject.Message" xml:space="preserve"><value>{0} ha più progetti nello spazio di lavoro: scegli quello da aprire.</value></data>
<data name="Editor.Render.QueuedLocal" xml:space="preserve"><value>Render in coda su questo PC</value></data>
<data name="Editor.Render.Local" xml:space="preserve"><value>Su questo PC</value></data>
<data name="Editor.Render.SentHome" xml:space="preserve"><value>Render inviato</value></data>
<data name="Editor.Render.SentTo" xml:space="preserve"><value>{0} è nella libreria</value></data>
<data name="Editor.Render.SentTo.Server" xml:space="preserve"><value>{0} è sul server</value></data>
<data name="Editor.Render.NotSent" xml:space="preserve"><value>Non inviato</value></data>
<data name="Editor.Render.SendFailed" xml:space="preserve"><value>Render non inviato</value></data>
<data name="Editor.Render.SendAgain" xml:space="preserve"><value>Invia di nuovo</value></data>