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

+8
View File
@@ -241,3 +241,11 @@ Project Projekt a named set of edits of one sequence, with a linear version hist
Main Hlavný name of every sequence's first project, holding the sequence's own settings
Versions Verzie the saved states of a project, listed in its history
Workspace copy Pracovná kópia the job that copies a project's photos into the workspace
Match zhoda pl. Zhody; "match found": nájdená zhoda; two copies of one time-lapse (owner review 6); never the Duplicates or Copy term
Integrate Integrovať integrated: integrované; Integrate photos: Integrácia fotografií; complete a local and a server sequence with each other's photos
Merge sequences Zlúčenie sekvencií button: Zlúčiť; job kind: Zlúčenie sekvencií; two sequences of this PC into the kept one
Keep apart Ponechať oddelene kept apart: ponechané oddelene; answer to a match, not asked again
Twin Dvojča a workspace project with a sibling at the other home (Edit picker chip)
Link only / Unlink Iba prepojiť / Zrušiť prepojenie linked: prepojené; Link matches: Prepojenie zhôd
Union Zjednotenie the default Integrate photos choice: every photo to both sides, a differing one kept in both versions
Kept / Other (merge) Ponechaná / Druhá the kept sequence of a merge and the one that goes to the trash; Only in kept: Iba v ponechanej; Kept one wins: Vyhráva ponechaná
Can't render this file because it contains an unexpected character in line 2 and column 69.