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>
15 lines
878 B
SQL
15 lines
878 B
SQL
-- Tombstones of photos removed from sequences (owner review 2, R6): a photo deleted into the archive's trash (reason 0)
|
|
-- or replaced by a converted file (reason 1, with the replacement's SHA-256). The sidecar's "removed" list is the truth;
|
|
-- the index writes these rows from it, so a rebuild keeps them. Sync never offers a tombstoned photo back, and an upload
|
|
-- of that content into the sequence is answered as already there. Mirrors sqlite/0008_frame_removals.sql.
|
|
|
|
CREATE TABLE frame_removals (
|
|
sequence_id uuid NOT NULL REFERENCES sequences (id) ON DELETE CASCADE,
|
|
sha256 text NOT NULL,
|
|
replacement_sha256 text,
|
|
reason integer NOT NULL DEFAULT 0,
|
|
removed_at timestamptz NOT NULL,
|
|
PRIMARY KEY (sequence_id, sha256)
|
|
);
|
|
CREATE INDEX ix_frame_removals_sha256 ON frame_removals (sha256);
|