feat: owner review 2 phase 3: Library on the web panel, photo trash and web upload (#11)
CI / Build and test (push) Successful in 7m25s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 10s
CI / PostgreSQL 16 integration (push) Successful in 5m20s
CI / PostgreSQL 17 integration (push) Successful in 5m22s
CI / Docker image (push) Successful in 50s
Release / Build, test and publish (push) Successful in 12m1s
Release / Server image (push) Successful in 1m26s

- Web panel Library: browse, view, delete sequences and photos, mass operations (analyse, proxies, thumbnails, verify, retag, delete, CSV). It never edits the video.
- Photo trash with tombstones (migration 0008): crash-safe delete and restore, hash-checked restore with reasons, and emptying only by an explicit fingerprinted job. Sync and uploads keep deleted photos deleted; an explicit "Upload again" brings one back.
- Upload from the web panel: in-house SHA-256 in a worker with a fail-closed self-test, capture time from EXIF, chunked, resumable; no folders.
- Desktop trash dialog with photo entries and Empty.
- Admin files are revalidated (no-cache + ETag).

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 #11.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-10-27 15:08:39 +01:00
1 parent af9eeaab9b
commit 9aa818ed47
283 files changed
+24922 -293

No files matched your search

+6
View File
@@ -71,6 +71,8 @@
<data name="Server.Error.NotChronos" xml:space="preserve"><value>該位址不是 Chronos Server。</value></data>
<data name="Server.Error.NotFound" xml:space="preserve"><value>找不到。</value></data>
<data name="Server.Error.PasswordChangeRequired" xml:space="preserve"><value>請先變更密碼。</value></data>
<data name="Server.Error.PhotoRemoved" xml:space="preserve"><value>上傳期間此相片已從序列中刪除,因此未加入。</value></data>
<data name="Server.Error.PhotoUnreadable" xml:space="preserve"><value>無法讀取 {0};少了它的雜湊值,其他副本就無法得知它已被刪除。請關閉正在使用它的程式或檢查其權限,然後再試一次。</value></data>
<data name="Server.Error.ProxiesDisabled" xml:space="preserve"><value>此典藏庫不產生代理檔。</value></data>
<data name="Server.Error.ProxyMismatch" xml:space="preserve"><value>此代理檔是由其他相片產生的。</value></data>
<data name="Server.Error.ProxyNotWanted" xml:space="preserve"><value>伺服器不需要此相片的代理檔。</value></data>
@@ -85,12 +87,15 @@
<data name="Server.Error.ScheduleSystem" xml:space="preserve"><value>無法刪除系統排程;請改為將其關閉。</value></data>
<data name="Server.Error.Self" xml:space="preserve"><value>您無法對自己的帳戶執行此操作。</value></data>
<data name="Server.Error.SequenceBusy" xml:space="preserve"><value>有工作正在處理此序列或其典藏庫;請在其空閒時再試一次。</value></data>
<data name="Server.Error.SequenceInLibrary" xml:space="preserve"><value>該序列已在圖庫中。</value></data>
<data name="Server.Error.SessionExpired" xml:space="preserve"><value>工作階段已過期;請重新登入。</value></data>
<data name="Server.Error.SettingLocked" xml:space="preserve"><value>此項目由環境變數設定;請在該處變更。</value></data>
<data name="Server.Error.SettingsConflict" xml:space="preserve"><value>序列已在伺服器上變更;請重新載入後再次套用您的編輯。</value></data>
<data name="Server.Error.SidecarMismatch" xml:space="preserve"><value>其資料夾內是另一個序列;請先掃描典藏庫。</value></data>
<data name="Server.Error.TooLarge" xml:space="preserve"><value>要求超過伺服器可接受的大小。</value></data>
<data name="Server.Error.TooManyUploads" xml:space="preserve"><value>同時上傳的數量過多;請稍後重試。</value></data>
<data name="Server.Error.TrashChanged" xml:space="preserve"><value>垃圾桶在檢查後已變更;請再次檢查後再清空。</value></data>
<data name="Server.Error.TrashMismatch" xml:space="preserve"><value>此垃圾桶項目中已沒有任何檔案與其記錄相符;它會保留在垃圾桶中。</value></data>
<data name="Server.Error.Unauthorized" xml:space="preserve"><value>請登入以繼續。</value></data>
<data name="Server.Error.Unreachable" xml:space="preserve"><value>伺服器沒有回應;請檢查位址與網路。</value></data>
<data name="Server.Error.UnsupportedMediaType" xml:space="preserve"><value>請以 JSON 傳送內容。</value></data>
@@ -99,6 +104,7 @@
<data name="Server.Error.UsernameTaken" xml:space="preserve"><value>該使用者名稱已被使用。</value></data>
<data name="Server.Error.WeakPassword" xml:space="preserve"><value>請使用至少 {0} 個字元。</value></data>
<data name="Server.Error.WebsocketRequired" xml:space="preserve"><value>請使用 WebSocket 連線。</value></data>
<data name="Server.Error.WouldEmpty" xml:space="preserve"><value>序列的所有相片都會被移除;請改為刪除序列。</value></data>
<data name="Server.Error.WrongPassword" xml:space="preserve"><value>目前的密碼錯誤。</value></data>
<data name="Server.Error.WrongUploadKind" xml:space="preserve"><value>此上傳屬於算圖工作。</value></data>
<data name="Server.Found" xml:space="preserve"><value>找到的伺服器</value></data>