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

+7
View File
@@ -182,6 +182,13 @@
<data name="Settings.Server.Announce" xml:space="preserve"><value>在區域網路上公告</value></data>
<data name="Settings.Server.Cache" xml:space="preserve"><value>伺服器快取</value></data>
<data name="Settings.Server.Certificates" xml:space="preserve"><value>信任的憑證</value></data>
<data name="Settings.Server.Copies" xml:space="preserve"><value>相符項目</value></data>
<data name="Settings.Server.CopyLinking" xml:space="preserve"><value>連結相符項目</value></data>
<data name="Settings.Server.CopyLinking.AskAlways" xml:space="preserve"><value>一律詢問</value></data>
<data name="Settings.Server.CopyLinking.WhenHalf" xml:space="preserve"><value>一半相同時</value></data>
<data name="Settings.Server.CopyLinking.WhenIdentical" xml:space="preserve"><value>完全相同時</value></data>
<data name="Settings.Server.CopyPhotos" xml:space="preserve"><value>整合相片</value></data>
<data name="Settings.Server.CopyProjects" xml:space="preserve"><value>整合專案</value></data>
<data name="Settings.Server.Default" xml:space="preserve"><value>預設伺服器</value></data>
<data name="Settings.Server.Discovery" xml:space="preserve"><value>區域網路探索</value></data>
<data name="Settings.Server.ForgetName" xml:space="preserve"><value>忘記:{0}</value></data>