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

+9
View File
@@ -6,6 +6,7 @@
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
<data name="Library.Action.Analyse" xml:space="preserve"><value>تحليل</value></data>
<data name="Library.Action.ClearSelection" xml:space="preserve"><value>مسح التحديد</value></data>
<data name="Library.Action.Compare" xml:space="preserve"><value>مقارنة…</value></data>
<data name="Library.Action.Convert" xml:space="preserve"><value>تحويل…</value></data>
<data name="Library.Action.Delete" xml:space="preserve"><value>حذف…</value></data>
<data name="Library.Action.Download" xml:space="preserve"><value>تنزيل</value></data>
@@ -20,6 +21,7 @@
<data name="Library.Action.Tag" xml:space="preserve"><value>الوسوم…</value></data>
<data name="Library.Action.Upload" xml:space="preserve"><value>رفع</value></data>
<data name="Library.Action.Verify" xml:space="preserve"><value>تحقق</value></data>
<data name="Library.Action.Versions" xml:space="preserve"><value>إصداران…</value></data>
<data name="Library.Adopt.Title" xml:space="preserve"><value>ضم مجلد</value></data>
<data name="Library.Blocked.InSync" xml:space="preserve"><value>متطابق على هذا الكمبيوتر وعلى الخادم: لا شيء للمزامنة.</value></data>
<data name="Library.Blocked.NoActiveView" xml:space="preserve"><value>لا توجد طريقة عرض محفوظة قيد الاستخدام؛ اختر واحدة أولًا.</value></data>
@@ -104,13 +106,20 @@
<data name="Library.Status.Analysed" xml:space="preserve"><value>تم التحليل</value></data>
<data name="Library.Status.Analysing" xml:space="preserve"><value>جارٍ التحليل</value></data>
<data name="Library.Status.Conflict" xml:space="preserve"><value>تعارض</value></data>
<data name="Library.Status.CopyFound" xml:space="preserve"><value>في مكان آخر أيضًا</value></data>
<data name="Library.Status.DeletedThere" xml:space="preserve"><value>محذوفة هناك</value></data>
<data name="Library.Status.Proxies" xml:space="preserve"><value>نسخ وكيلة</value></data>
<data name="Library.Status.Remote" xml:space="preserve"><value>بعيد</value></data>
<data name="Library.Status.RemoteGone" xml:space="preserve"><value>محذوف على الخادم</value></data>
<data name="Library.Status.Synced" xml:space="preserve"><value>تمت المزامنة</value></data>
<data name="Library.Transfers.Queued.few" xml:space="preserve"><value>{0:N0} عمليات نقل في الانتظار</value></data>
<data name="Library.Transfers.Queued.many" xml:space="preserve"><value>{0:N0} عملية نقل في الانتظار</value></data>
<data name="Library.Transfers.Queued.one" xml:space="preserve"><value>عملية نقل واحدة في الانتظار</value></data>
<data name="Library.Transfers.Queued.other" xml:space="preserve"><value>{0:N0} عملية نقل في الانتظار</value></data>
<data name="Library.Versions.Empty" xml:space="preserve"><value>لا توجد صورة بإصدارين.</value></data>
<data name="Library.Versions.Other" xml:space="preserve"><value>الأخرى: {0}</value></data>
<data name="Library.Versions.Stays" xml:space="preserve"><value>يبقى: {0}</value></data>
<data name="Library.Versions.Title" xml:space="preserve"><value>إصداران: {0}</value></data>
<data name="Library.View" xml:space="preserve"><value>العرض</value></data>
<data name="Library.View.Grid" xml:space="preserve"><value>شبكة</value></data>
<data name="Library.View.List" xml:space="preserve"><value>قائمة</value></data>