feat(copies): matches between this PC and the server, Integrate and merge (owner review 6, v1.2.0) (#74)
CI / Build and test (push) Successful in 13m44s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 16s
Release / Build, test and publish (push) Successful in 26m34s
CI / PostgreSQL 16 integration (push) Failing after 17m36s
CI / PostgreSQL 17 integration (push) Failing after 15m36s
CI / Docker image (push) Successful in 1m12s
Release / Server image (push) Failing after 15s

The same time-lapse on a server and on this PC under different ids, or twice on this PC, is recognised,
compared and settled as the owner asked in owner review 6.

Matches are found after each sync refresh, through the server's new photo lookup, and after the jobs that
change photos. The default is to ask every time. Server › Matches offers:
- Keep apart, which is remembered;
- Link only and Unlink;
- the Compare dialog: photos, details line by line, projects and the plan.

Integrate completes both sides. Photos default to Union, projects are copied across, and a losing version
goes to the trash only after a hash check. Afterwards new photos move by themselves, and deletions wait for
the user.

A merge of two local sequences verifies every photo before the other sequence goes to its archive's trash.
Upload all local skips suspected matches and flags them.

Migration 0012 adds the found_copies and copy_probes tables. Jobs 25 (Integrate) and 26 (MergeSequences) are
new, and so are the server capabilities photo-lookup and upload-into.

Refs #73

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #74.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-11-18 15:20:29 +01:00
1 parent 43719bb5c5
commit f33bcac32e
586 files changed
+41546 -280

No files matched your search

+17
View File
@@ -259,6 +259,7 @@
<data name="Archive.Log.SyncChanged" xml:space="preserve"><value>{0}: cambiato da quando è stato archiviato, non caricato</value></data>
<data name="Archive.Log.SyncDeletedHere" xml:space="preserve"><value>{0}: eliminato su questo PC, non scaricato</value></data>
<data name="Archive.Log.SyncDeletedThere" xml:space="preserve"><value>{0}: eliminato sul server, non caricato</value></data>
<data name="Archive.Log.SyncIntoRefused" xml:space="preserve"><value>Il server ha rifiutato foto nella sua sequenza; vanno come foto nuove e il server le archivia per hash</value><comment>long: job log line of an upload</comment></data>
<data name="Archive.Log.SyncFrameChanged" xml:space="preserve"><value>{0}: il suo fotogramma qui è cambiato nel frattempo, non scaricato</value></data>
<data name="Archive.Log.SyncMissing" xml:space="preserve"><value>{0}: mancante, non caricato</value></data>
<data name="Archive.Log.SyncNoPreview.one" xml:space="preserve"><value>{0:N0} fotogramma non ha né proxy né miniatura sul server</value></data>
@@ -446,4 +447,20 @@
<data name="Archive.Log.WorkspaceSendNoProvenance" xml:space="preserve"><value>{0}: il server ha tenuto il render senza il suo progetto; aggiorna il server per tenerlo</value></data>
<data name="Archive.Log.WorkspaceMoveLeft" xml:space="preserve"><value>Spostato; {0} contiene ancora {1} elementi che non è stato possibile eliminare</value></data>
<data name="Archive.Trash.Kind.Videos" xml:space="preserve"><value>Video</value></data>
<data name="Archive.Log.CopySent" xml:space="preserve"><value>{0}: inviata nella sequenza collegata</value></data>
<data name="Archive.Log.CopyFetched" xml:space="preserve"><value>{0}: ricevuta nella sequenza di questo PC</value></data>
<data name="Archive.Log.CopyKept" xml:space="preserve"><value>{0}: versione precedente mantenuta, {1}</value></data>
<data name="Archive.Log.CopyProjectKept" xml:space="preserve"><value>Progetto {0} non copiato: {1}</value></data>
<data name="Archive.Log.KeptReason.Busy" xml:space="preserve"><value>un&apos;attività ci sta lavorando</value></data>
<data name="Archive.Log.KeptReason.FramesChanged" xml:space="preserve"><value>le foto sono cambiate nel frattempo</value></data>
<data name="Archive.Log.KeptReason.NotInPlace" xml:space="preserve"><value>la versione che la sostituisce non è al suo posto</value></data>
<data name="Archive.Log.KeptReason.NotInPlaceServer" xml:space="preserve"><value>la versione che la sostituisce non è al suo posto sul server</value></data>
<data name="Archive.Log.KeptReason.Offline" xml:space="preserve"><value>l&apos;archivio non è raggiungibile o è di sola lettura</value></data>
<data name="Archive.Log.KeptReason.Refused" xml:space="preserve"><value>il server l&apos;ha rifiutato ({0})</value></data>
<data name="Archive.Log.KeptReason.Unhashable" xml:space="preserve"><value>la foto non si può leggere ora</value></data>
<data name="Archive.Log.KeptReason.WouldEmpty" xml:space="preserve"><value>la sequenza resterebbe vuota</value></data>
<data name="Archive.Log.CopyReplaced" xml:space="preserve"><value>{0}: versione precedente nel cestino</value></data>
<data name="Archive.Log.CopyProject" xml:space="preserve"><value>Progetto {0} copiato come {1}</value></data>
<data name="Archive.Log.MergeCopied" xml:space="preserve"><value>{0}: copiata e verificata</value></data>
<data name="Archive.Log.MergeTrashed" xml:space="preserve"><value>{0} spostata nel cestino</value></data>
</root>