fix(archive): settle conversions by content and keep their aliases through trash, undo, sync and ingest
Owner review 2, phase 4b, fix round 1 (trash, undo, recovery, sync and ingest). - Replace journal: records a phase (moving, written, undoing) and the name each swapped frame is filed under. Recovery decides "sidecar written" by what the sidecar lists, not by the frames version any writer moves; a failed rollback stays undoing and its failure now stops the writer (as a photo deletion's recovery does). The ingest settles restores and replacements first, so an upload can no longer complete a swap that never happened. - Emptying a Replaced entry re-verifies each replacement where it is now: in the sequence through later conversions (a second conversion no longer strands the first originals), or, when the conversion was deleted, its copy in the trash. The dry run marks such entries "conversion deleted" (fingerprinted, shown on the desktop and the panel), and the confirmed emptying may then erase them instead of keeping them forever. - Undo of a conversion takes exactly the entries its job made (the job id is recorded on the entry), never entries found by time window. - Project positions translated by photo use the sidecar's photo of every frame still there, so positions on a converted frame stay put when another frame went meanwhile. - Sync aliases are equivalence classes: an original converted on both sides is one photo; link-by-content, proxy counting and proxy upload follow aliases; a download into a frame missing here swaps the other encoding into that frame instead of adding a frame. - The ingest answers a converted photo's original (a card or folder imported again, a download) as a duplicate of its conversion and keeps the alias tombstone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 3341a2f845753fc4c5bcba51a3b645f126c95eaf)
This commit is contained in:
1 parent
67a6d51cbe
commit
d0bbd77c92
31 files changed
+1326
-211
No files matched your search
@@ -855,6 +855,7 @@
|
||||
<data name="Admin.Theme.Tip" xml:space="preserve"><value>Switch between light and dark</value></data>
|
||||
<data name="Admin.Trash.Back" xml:space="preserve"><value>Library</value></data>
|
||||
<data name="Admin.Trash.Back.Tip" xml:space="preserve"><value>Back to the Library</value></data>
|
||||
<data name="Admin.Trash.ConversionDeleted" xml:space="preserve"><value>conversion deleted</value></data>
|
||||
<data name="Admin.Trash.DeletedAt" xml:space="preserve"><value>Deleted</value></data>
|
||||
<data name="Admin.Trash.DeletedBy" xml:space="preserve"><value>Deleted by</value></data>
|
||||
<data name="Admin.Trash.Emptied" xml:space="preserve"><value>Trash emptied.</value><comment>long</comment></data>
|
||||
|
||||
@@ -352,6 +352,7 @@
|
||||
<data name="Archive.Toolbar.Scan" xml:space="preserve"><value>Scan</value></data>
|
||||
<data name="Archive.Toolbar.Verify" xml:space="preserve"><value>Verify</value></data>
|
||||
<data name="Archive.Trash.Checking" xml:space="preserve"><value>Checking the trash…</value></data>
|
||||
<data name="Archive.Trash.ConversionDeleted" xml:space="preserve"><value>conversion deleted</value></data>
|
||||
<data name="Archive.Trash.Deleted" xml:space="preserve"><value>Deleted {0}</value><comment>long</comment></data>
|
||||
<data name="Archive.Trash.Empty" xml:space="preserve"><value>The trash is empty</value><comment>long</comment></data>
|
||||
<data name="Archive.Trash.EmptyAction" xml:space="preserve"><value>Empty…</value></data>
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
<data name="Tooltips.Archive.TitleTemplate" xml:space="preserve"><value>Title template; the title token is the current title · checked as you type</value></data>
|
||||
<data name="Tooltips.Archive.Trash" xml:space="preserve"><value>The sequences and photos deleted from this archive, each one restorable</value></data>
|
||||
<data name="Tooltips.Archive.TrashEmpty" xml:space="preserve"><value>Erase the entries of this trash for good, after a check of what they hold and a typed confirmation</value></data>
|
||||
<data name="Tooltips.Archive.TrashEmptyPlan" xml:space="preserve"><value>What is erased from the archive for good</value></data>
|
||||
<data name="Tooltips.Archive.TrashEmptyPlan" xml:space="preserve"><value>What is erased from the archive for good; originals whose conversion was deleted may be the last copy of their photos</value></data>
|
||||
<data name="Tooltips.Archive.TrashErase.one" xml:space="preserve"><value>Erase {0:N0} entry for good; type the number above first</value></data>
|
||||
<data name="Tooltips.Archive.TrashErase.other" xml:space="preserve"><value>Erase {0:N0} entries for good; type the number above first</value></data>
|
||||
<data name="Tooltips.Archive.TrashRestore" xml:space="preserve"><value>Move this entry back: a sequence into its folder and the library, photos into their sequence after a hash check</value></data>
|
||||
|
||||
@@ -849,6 +849,7 @@
|
||||
<data name="Admin.Theme.Tip" xml:space="preserve"><value>Alterna tema chiaro e scuro</value></data>
|
||||
<data name="Admin.Trash.Back" xml:space="preserve"><value>Libreria</value></data>
|
||||
<data name="Admin.Trash.Back.Tip" xml:space="preserve"><value>Torna alla Libreria</value></data>
|
||||
<data name="Admin.Trash.ConversionDeleted" xml:space="preserve"><value>conversione eliminata</value></data>
|
||||
<data name="Admin.Trash.DeletedAt" xml:space="preserve"><value>Eliminato</value></data>
|
||||
<data name="Admin.Trash.DeletedBy" xml:space="preserve"><value>Eliminato da</value></data>
|
||||
<data name="Admin.Trash.Emptied" xml:space="preserve"><value>Cestino svuotato.</value><comment>long</comment></data>
|
||||
|
||||
@@ -344,6 +344,7 @@
|
||||
<data name="Archive.Toolbar.Scan" xml:space="preserve"><value>Scansiona</value></data>
|
||||
<data name="Archive.Toolbar.Verify" xml:space="preserve"><value>Verifica</value></data>
|
||||
<data name="Archive.Trash.Checking" xml:space="preserve"><value>Controllo del cestino…</value></data>
|
||||
<data name="Archive.Trash.ConversionDeleted" xml:space="preserve"><value>conversione eliminata</value></data>
|
||||
<data name="Archive.Trash.Deleted" xml:space="preserve"><value>Eliminata il {0}</value></data>
|
||||
<data name="Archive.Trash.Empty" xml:space="preserve"><value>Il cestino è vuoto</value></data>
|
||||
<data name="Archive.Trash.EmptyAction" xml:space="preserve"><value>Svuota…</value></data>
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
<data name="Tooltips.Archive.TitleTemplate" xml:space="preserve"><value>Modello del titolo; il segnaposto title è il titolo attuale · controllato mentre scrivi</value></data>
|
||||
<data name="Tooltips.Archive.Trash" xml:space="preserve"><value>Le sequenze e le foto eliminate da questo archivio, ognuna ripristinabile</value></data>
|
||||
<data name="Tooltips.Archive.TrashEmpty" xml:space="preserve"><value>Cancella per sempre gli elementi di questo cestino, dopo un controllo di cosa contengono e una conferma digitata</value></data>
|
||||
<data name="Tooltips.Archive.TrashEmptyPlan" xml:space="preserve"><value>Cosa viene cancellato per sempre dall'archivio</value></data>
|
||||
<data name="Tooltips.Archive.TrashEmptyPlan" xml:space="preserve"><value>Cosa viene cancellato per sempre dall'archivio; gli originali la cui conversione è stata eliminata possono essere l'ultima copia delle loro foto</value></data>
|
||||
<data name="Tooltips.Archive.TrashErase.one" xml:space="preserve"><value>Cancella per sempre {0:N0} elemento; prima digita il numero qui sopra</value></data>
|
||||
<data name="Tooltips.Archive.TrashErase.other" xml:space="preserve"><value>Cancella per sempre {0:N0} elementi; prima digita il numero qui sopra</value></data>
|
||||
<data name="Tooltips.Archive.TrashRestore" xml:space="preserve"><value>Riporta indietro questo elemento: una sequenza nella sua cartella e nella libreria, le foto nella loro sequenza dopo un controllo dell'hash</value></data>
|
||||
|
||||
Reference in new issue
Block a user