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

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
@@ -222,6 +222,12 @@
<data name="Archive.Log.ConvertSuperseded" xml:space="preserve"><value>{0} : une autre conversion a fait sa copie dans ce format depuis la confirmation de celle-ci ; aucune seconde copie n'est faite.</value></data>
<data name="Archive.Log.Converted" xml:space="preserve"><value>{0} : photos remplacées par leur conversion : {1}</value></data>
<data name="Archive.Log.ConvertedNew" xml:space="preserve"><value>{0} : photos converties dans une nouvelle séquence : {1}</value></data>
<data name="Archive.Log.CopyFetched" xml:space="preserve"><value>{0} : reçue dans la séquence de ce PC</value></data>
<data name="Archive.Log.CopyKept" xml:space="preserve"><value>{0} : ancienne version conservée, {1}</value></data>
<data name="Archive.Log.CopyProject" xml:space="preserve"><value>Projet {0} copié sous le nom {1}</value></data>
<data name="Archive.Log.CopyProjectKept" xml:space="preserve"><value>Projet {0} non copié : {1}</value></data>
<data name="Archive.Log.CopyReplaced" xml:space="preserve"><value>{0} : ancienne version mise à la corbeille</value></data>
<data name="Archive.Log.CopySent" xml:space="preserve"><value>{0} : envoyée dans la séquence liée</value></data>
<data name="Archive.Log.DryRun" xml:space="preserve"><value>Simulation : rien n'a été modifié.</value></data>
<data name="Archive.Log.DuplicateGroup" xml:space="preserve"><value>Copies supplémentaires de {0} : {1}</value></data>
<data name="Archive.Log.DuplicatesDone" xml:space="preserve"><value>Groupes de doublons : {0}, copies supplémentaires : {1}</value></data>
@@ -238,7 +244,17 @@
<data name="Archive.Log.ImportFailed" xml:space="preserve"><value>Non copié : {0} ({1})</value></data>
<data name="Archive.Log.IndexReclaimable" xml:space="preserve"><value>Espace récupérable dans l'index : {0}</value></data>
<data name="Archive.Log.IndexVacuumed" xml:space="preserve"><value>Index compacté ; espace libéré : {0}</value></data>
<data name="Archive.Log.KeptReason.Busy" xml:space="preserve"><value>une tâche la traite</value></data>
<data name="Archive.Log.KeptReason.FramesChanged" xml:space="preserve"><value>les photos ont changé entre-temps</value></data>
<data name="Archive.Log.KeptReason.NotInPlace" xml:space="preserve"><value>la version qui la remplace n'est pas en place</value></data>
<data name="Archive.Log.KeptReason.NotInPlaceServer" xml:space="preserve"><value>la version qui la remplace n'est pas en place sur le serveur</value></data>
<data name="Archive.Log.KeptReason.Offline" xml:space="preserve"><value>l'archive est hors ligne ou en lecture seule</value></data>
<data name="Archive.Log.KeptReason.Refused" xml:space="preserve"><value>le serveur l'a refusée ({0})</value></data>
<data name="Archive.Log.KeptReason.Unhashable" xml:space="preserve"><value>la photo ne peut pas être lue pour l'instant</value></data>
<data name="Archive.Log.KeptReason.WouldEmpty" xml:space="preserve"><value>la séquence resterait vide</value></data>
<data name="Archive.Log.MaintenanceDone" xml:space="preserve"><value>Verrous obsolètes : {0}, fichiers temporaires : {1}, paquets compactés : {2}, marqueurs de doublon modifiés : {3}</value></data>
<data name="Archive.Log.MergeCopied" xml:space="preserve"><value>{0} : copiée et vérifiée</value></data>
<data name="Archive.Log.MergeTrashed" xml:space="preserve"><value>{0} mise à la corbeille</value></data>
<data name="Archive.Log.OrphanFolders" xml:space="preserve"><value>Séquences sans leur dossier : {0}, dossiers non indexés : {1}</value></data>
<data name="Archive.Log.Orphans" xml:space="preserve"><value>Photos non indexées : {0}, photos manquantes : {1}</value></data>
<data name="Archive.Log.ProxiesDone" xml:space="preserve"><value>{0} : créés {1}, réutilisés {2}, illisibles {3}, en attente {4}</value></data>
@@ -260,6 +276,7 @@
<data name="Archive.Log.SyncDeletedHere" xml:space="preserve"><value>{0} : supprimé sur ce PC, non téléchargé</value></data>
<data name="Archive.Log.SyncDeletedThere" xml:space="preserve"><value>{0} : supprimé sur le serveur, non envoyé</value></data>
<data name="Archive.Log.SyncFrameChanged" xml:space="preserve"><value>{0} : son image ici a changé entre-temps, non téléchargé</value></data>
<data name="Archive.Log.SyncIntoRefused" xml:space="preserve"><value>Le serveur a refusé des photos dans sa séquence ; elles partent comme nouvelles photos et le serveur les classe selon leur hachage</value></data>
<data name="Archive.Log.SyncMissing" xml:space="preserve"><value>{0} : manquant, non envoyé</value></data>
<data name="Archive.Log.SyncNoPreview.one" xml:space="preserve"><value>{0:N0} image n'a ni proxy ni miniature sur le serveur</value></data>
<data name="Archive.Log.SyncNoPreview.other" xml:space="preserve"><value>{0:N0} images n'ont ni proxy ni miniature sur le serveur</value></data>