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
@@ -251,6 +251,12 @@
<data name="Archive.Log.ConvertSuperseded" xml:space="preserve"><value>{0}: kopš šīs konvertēšanas apstiprināšanas cita konvertēšana jau ir izveidojusi tās kopiju šajā formātā; otra kopija netiek veidota.</value></data>
<data name="Archive.Log.Converted" xml:space="preserve"><value>{0}: fotoattēli, kas aizstāti ar konvertētām versijām: {1}</value></data>
<data name="Archive.Log.ConvertedNew" xml:space="preserve"><value>{0}: fotoattēli, kas konvertēti jaunā secībā: {1}</value></data>
<data name="Archive.Log.CopyFetched" xml:space="preserve"><value>{0}: saņemts šī datora secībā</value></data>
<data name="Archive.Log.CopyKept" xml:space="preserve"><value>{0}: paturēta vecākā versija, {1}</value></data>
<data name="Archive.Log.CopyProject" xml:space="preserve"><value>Projekts {0} nokopēts kā {1}</value></data>
<data name="Archive.Log.CopyProjectKept" xml:space="preserve"><value>Projekts {0} nav nokopēts: {1}</value></data>
<data name="Archive.Log.CopyReplaced" xml:space="preserve"><value>{0}: vecākā versija pārvietota uz atkritni</value></data>
<data name="Archive.Log.CopySent" xml:space="preserve"><value>{0}: nosūtīts uz saistīto secību</value></data>
<data name="Archive.Log.DryRun" xml:space="preserve"><value>Izmēģinājums: nekas netika mainīts.</value></data>
<data name="Archive.Log.DuplicateGroup" xml:space="preserve"><value>Faila {0} liekās kopijas: {1}</value></data>
<data name="Archive.Log.DuplicatesDone" xml:space="preserve"><value>Dublikātu grupas: {0}, liekās kopijas: {1}</value></data>
@@ -267,7 +273,17 @@
<data name="Archive.Log.ImportFailed" xml:space="preserve"><value>Nav nokopēts: {0} ({1})</value></data>
<data name="Archive.Log.IndexReclaimable" xml:space="preserve"><value>Indekss: atbrīvojami {0}</value></data>
<data name="Archive.Log.IndexVacuumed" xml:space="preserve"><value>Indekss saspiests: atbrīvoti {0}</value></data>
<data name="Archive.Log.KeptReason.Busy" xml:space="preserve"><value>to apstrādā darbs</value></data>
<data name="Archive.Log.KeptReason.FramesChanged" xml:space="preserve"><value>fotoattēli tikmēr mainījās</value></data>
<data name="Archive.Log.KeptReason.NotInPlace" xml:space="preserve"><value>versija, kas to aizstāj, nav vietā</value></data>
<data name="Archive.Log.KeptReason.NotInPlaceServer" xml:space="preserve"><value>versija, kas to aizstāj, serverī nav vietā</value></data>
<data name="Archive.Log.KeptReason.Offline" xml:space="preserve"><value>arhīvs ir bezsaistē vai tikai lasāms</value></data>
<data name="Archive.Log.KeptReason.Refused" xml:space="preserve"><value>serveris to noraidīja ({0})</value></data>
<data name="Archive.Log.KeptReason.Unhashable" xml:space="preserve"><value>fotoattēlu pašlaik nevar nolasīt</value></data>
<data name="Archive.Log.KeptReason.WouldEmpty" xml:space="preserve"><value>secība paliktu tukša</value></data>
<data name="Archive.Log.MaintenanceDone" xml:space="preserve"><value>Novecojušās bloķēšanas: {0}, pagaidu faili: {1}, saspiestas pakas: {2}, mainītas dublikātu atzīmes: {3}</value></data>
<data name="Archive.Log.MergeCopied" xml:space="preserve"><value>{0}: nokopēts un verificēts</value></data>
<data name="Archive.Log.MergeTrashed" xml:space="preserve"><value>{0} pārvietots uz atkritni</value></data>
<data name="Archive.Log.OrphanFolders" xml:space="preserve"><value>Secības bez mapes: {0}, neindeksētas mapes: {1}</value></data>
<data name="Archive.Log.Orphans" xml:space="preserve"><value>Neindeksēti fotoattēli: {0}, trūkstoši fotoattēli: {1}</value></data>
<data name="Archive.Log.ProxiesDone" xml:space="preserve"><value>{0}: izveidoti {1}, atkārtoti izmantoti {2}, nenolasāmi {3}, gaida {4}</value></data>
@@ -289,6 +305,7 @@
<data name="Archive.Log.SyncDeletedHere" xml:space="preserve"><value>{0}: izdzēsts šajā datorā, nav lejupielādēts</value></data>
<data name="Archive.Log.SyncDeletedThere" xml:space="preserve"><value>{0}: izdzēsts serverī, nav augšupielādēts</value></data>
<data name="Archive.Log.SyncFrameChanged" xml:space="preserve"><value>{0}: tā kadrs šajā datorā pa to laiku mainījās, nav lejupielādēts</value></data>
<data name="Archive.Log.SyncIntoRefused" xml:space="preserve"><value>Serveris nepieņēma fotoattēlus savā secībā; tie tiek nosūtīti kā jauni fotoattēli, un serveris tos sakārto pēc jaucējkoda</value></data>
<data name="Archive.Log.SyncMissing" xml:space="preserve"><value>{0}: trūkst, nav augšupielādēts</value></data>
<data name="Archive.Log.SyncNoPreview.many" xml:space="preserve"><value>{0:N0} kadriem serverī nav ne proxy attēla, ne sīktēla</value></data>
<data name="Archive.Log.SyncNoPreview.one" xml:space="preserve"><value>{0:N0} kadram serverī nav ne proxy attēla, ne sīktēla</value></data>