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

+53
View File
@@ -5,6 +5,59 @@ commits follow Conventional Commits (release notes are generated from them by `C
## [Unreleased]
## [0.1.0-rc.5] — 2026-10-27
### Added
- Admin panel: **Library**, right after the Dashboard (owner review 2, R6). It manages the library and never edits a
video: browse the sequences as cards or a list, search, filter by year, camera, status and tag (each with its
count), sort, and load more; select with check boxes, Shift ranges, the keyboard or *Select all* of a filter; then
Analyse, Proxies, Thumbnails, Verify, add or remove tags, export a CSV, or delete into the archive's trash after a
dry run that lists what goes and what cannot, with why.
- Admin panel: a sequence's page: title edited in place, tags, rating and notes; its facts; its photos with a viewer
(←/→, Esc, the photo's details); set the cover, download originals and renders, delete photos (their number typed
above 20) or the whole sequence. Nothing here edits the video.
- Admin panel: the archive's **trash**, from the Library and from Archive: restore an entry, or empty the trash after
a dry run and typing "empty"; the emptying runs as a job that erases exactly what the dry run showed.
- Admin panel: **Upload** photos from the browser into an existing or a new sequence, with the file picker or by
drag and drop (owner review 2, R3). Photos are hashed in the browser by a self-tested in-house SHA-256, dated from
their Exif (else the file's time), sent in resumable chunks and verified by the server. Each photo shows its state,
with a total, Cancel, and a warning before leaving the page while photos are sent. Folders are skipped: importing a
whole folder stays on the desktop.
- Deleted photos stay deleted: a tombstone in the sequence's sidecar and the index keeps sync, the Uploader, watch
folders and older clients from bringing them back, also after the trash is emptied. A photo comes back only by
restoring it from the trash or with *Upload again* on the panel. Sync never deletes your local files. Known
limitations: a photo never hashed whose file was already missing when it was deleted leaves no tombstone, so a
copy elsewhere (another PC, a card) can come back; on a PC, a photo deleted there that the server has not verified
yet still counts as missing in the sync table, and *Download* fetches and discards it until the server verifies it.
- Desktop: Archive › Maintenance › *Trash…* lists deleted photos beside deleted sequences, restores both (photos
after a hash check, into a new sequence when theirs is gone), says why a photo stayed in the trash, and *Empty…*
erases the trash for good after a dry run and typing the number of entries, through a new *Empty trash* job that
refuses when the trash changed since. No schedule ever empties the trash.
- API v1: `POST /api/v1/sequences/{id}/frames/delete`, `/api/v1/sequences/bulk/delete`, `/bulk/retag` and
`/bulk/jobs` (up to 1,000 sequences a request, answered per sequence), `GET /api/v1/sequences/facets`,
`GET /api/v1/sequences/{id}/thumb`, `rendered=true|false` on `GET /api/v1/sequences`, `/api/v1/archive/trash`
(list, restore, empty with a dry run and its fingerprint), `removed` in the sequence manifest, `extensions` in
`GET /api/v1/server/info`, `restore` on an upload's start and completion, and 409 `photo_removed`.
### Changed
- **Upgrade:** the index (SQLite, or the server's PostgreSQL database) moves to schema 8 (migration 0008, photo
tombstones) at the first start, one way: an older build refuses the upgraded index, so going back means restoring a
copy made before the upgrade.
- After photos are deleted from a sequence, its project's exclusions, hero and keyframes on those photos wait for
them (a restore puts them back) and the others follow their photos; a cover whose photo went is cleared. Before,
positions stayed where they were and could slide onto other photos.
- Server: frame uploads whose file name starts with `.` (the `._` files a Mac leaves on cards, hidden files) are
refused from every client, as the archive scan leaves them out.
- Admin panel: its files are checked with the server before each use (`no-cache` with an ETag), so after an upgrade
the browser never mixes new and old pages.
- Admin panel: confirmations can list what they concern and ask for a name, a word or a count; arrows mirror in
right-to-left languages, as on the desktop.
- The audit log and the dashboard name photo deletions, trash restores and requests to empty the trash.
### Fixed
- Server: a verify of chosen sequences (`POST /api/v1/jobs` with `verify`) failed at once, because it targeted the
sequences instead of their archive.
## [0.1.0-rc.4] — 2026-10-27
### Added