diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index c766067e..8b6f11ff 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -5,6 +5,44 @@ commits follow Conventional Commits (release notes are generated from them by `C ## [Unreleased] +### Added +- **Work board** (owner review 4, R1, #29): a third Videos layout, *Board*, on the desktop's Videos section and on the + admin panel's Videos page: two lanes, *Published* and *Workspace*, newest first, each with its count, under the + list's filters, selection and actions. A sent workspace render shows in both lanes, its workspace card marked + *Sent*. A `videos-board` capture scene in light and dark. +- **Archive folder tree** (owner review 4, R3, #31): every archive, on the server (Docker or Windows) and on the + desktop, gets its full root-level folder tree inside the chosen root (`.chronos` with `locks`, `journal`, + `staging`, `trash`, `trash/photos`, `trash/videos`) when it is created, adopted or opened; only missing folders are + made and existing folders and files are never touched. While a folder cannot be made the admin dashboard shows + *Archive incomplete* (folder and reason in its tooltip) and `/health` reports archive "incomplete". +- **Deploy guide** (owner review 1, phase 6, #22): `docs/deploy/` (Docker, Unraid, desktop): every `CHRONOS_*` + variable with its default, volumes, ports and public ports (host 8087/8444 → container 8080/8443), TLS modes and + fingerprint, upgrades and migrations, backup and restore, PostgreSQL, the archive's folder tree, troubleshooting; + Setup, portable mode and updates. The owner review 4 request file + (`docs/requests/2026-11-06-owner-review-4.md`). + +### Changed +- Video cards start with the preset ("4K archive · HEVC · 0:41 · 1.4 GB"); sizes keep number and unit together with a + no-break space, in every culture. +- Typing a folder that is not yet an archive in Settings › Archive now creates the archive there, as Welcome's + *Create* does, instead of doing nothing. +- EULA §4 and BRIEF §21 say Chronos sends nothing about its use; BRIEF §7, §12.10, §14.8 and §14.9 describe the + board and the archive's folder tree; §14.9 lists `CHRONOS_TRUSTED_PROXIES`; §19.6 points to the Unraid guide; §24 + lists owner review 4 and phase 6. + +### Removed +- The anonymous usage counts (owner review 4, R2, #30): the consent on the first run, Settings › General › *Usage + counts* and the `AnonymousUsageCounts` setting. Chronos sends nothing about its use; the diagnostics bundle is still + only saved locally by the user. + +### Fixed +- The card subtitle did not start with the preset and sizes could wrap between number and unit (#28). +- Creating or adopting an archive where its folders cannot be made fails with a clear, localised reason (drive or + share unavailable, permission denied, read-only, a file in the way) instead of a generic error. +- Settings files that still carry `AnonymousUsageCounts` load and are saved without it. + +## [0.1.0-rc.13] — 2026-11-05 + ### Added - **Render menu** (owner review 1, R3, phase 5): the editor header's *Render ▾* lists the recommended preset, the batch presets and up to three recent ones of this sequence, then *Other presets ›* grouped as Video, Social, diff --git a/docs/DECISIONS.md b/docs/DECISIONS.md index 7541e30e..419f7ad5 100644 --- a/docs/DECISIONS.md +++ b/docs/DECISIONS.md @@ -775,3 +775,20 @@ One line per decision: date · decision · alternative · reason. | 2026-11-05 | Phase 5 integration (after the parcels merged): a videos trash entry is titled by its sequence's title (the render's file name when the record has none) and its folder is the whole path the render was deleted from, file name last, which the panel's restore message and the desktop's trash row show; render progress counts the output program's entries, not the plan's frames, so loops, a boomerang and held fades no longer overshoot; the editor's group states live in `AppSettings.EditorGroups` (keys `export.` and `preset.`) and survive a restart. | The render's file name as title and its folder as folder | Several renders of one sequence read as that sequence's entries; the file name stays in the path. | | 2026-11-05 | Phase 5 Export step (P6), beyond the plan: Keyframes is disabled with a reason for the managed codecs, as rate control is (they have no GOP to set); a preset group starts open when it holds the preset in use or the recommended one, else the first group opens; sequence presets come first in their export preset's group; `ExportPlan` carries the output program, so the footer's duration and frame count, the estimate and the progress agree; the tab resolves the export on every edit rather than reading the last plan. | Keyframes editable everywhere | A value the encoder cannot honour would only end as a warning. | | 2026-11-05 | Phase 5 Render menu (P5): `SplitButton` gains hierarchical, two-line entries (`RenderMenuItem`: preset, header, separator, command, submenu; each with a muted details line, a check mark when current and a tooltip) styled in `Chronos.Ui/Themes/Visuals.xaml`; the menu is rebuilt each time it opens, so recent presets and the batch count are those of that moment; recent presets skip stills (the render kind, also carried by sync since P8). | A menu built once per sequence | History and batch change while the editor is open; building on open costs nothing. | +| 2026-11-06 | The work board is a third Videos layout, stored as `VideosLayout=Board`, reusing the list's filters, selection and actions. | A separate section or page with its own store | It needs no new store or setting and keeps one place for every render (owner review 4 R1). | +| 2026-11-06 | A sent workspace render shows in both lanes: its home copy under *Published*, its ledger row under *Workspace* with a *Sent* chip. | Only under Published once sent | The board shows both where the work is published and what the workspace produced. | +| 2026-11-06 | The admin *Workspace* lane holds renders with a project id whose `producedBy` differs from the server's name (from `/api/v1/server/info`). | A new render origin field and migration | The server never sees unsent PC exports, so this is the simplest signal it has; a renamed server or a render-node project render can land in the wrong lane (known limit). | +| 2026-11-06 | The no-break space between a size's number and unit goes into `Formatting.Bytes`, not into the resources. | Edit every culture's size strings | One place covers every culture and no translations need editing. | +| 2026-11-06 | The usage counts consent, its `AnonymousUsageCounts` setting and its strings are removed outright, not hidden behind `ChronosAdsEnabled`; the diagnostics zip stays. | Hide the consent, or remove the diagnostics zip too | The owner wants no usage data sent and there is nowhere to send it; nothing ever sent it; the zip is saved by the user and never sent (owner review 4 R2). | +| 2026-11-06 | Monetization (§21) counts no impressions; an ad build only fetches the manifest and creatives. | Count impressions with consent | Owner review 4 R2: Chronos sends nothing about its use. | +| 2026-11-06 | The three usage-count keys were deleted line by line in every culture rather than through `i18n prune`. | `i18n prune` | Prune re-sorts whole resx files, which would conflict with parcels running at the same time. | +| 2026-11-06 | The archive structure step covers only the root-level folders of §7 (`.chronos`, `locks`, `journal`, `staging`, `trash`, `trash/photos`, `trash/videos`); per-sequence folders and the trash's `.erasing`/`.erased` are still made when needed; `archive.json` stays with `ArchiveService`. | Pre-create every folder Chronos may use | Those belong to a sequence or exist only while Empty runs; `archive.json` needs an id and name. | +| 2026-11-06 | The structure step creates the root only for a new archive. | Create the root whenever it is missing | An unplugged drive or missing share must be reported, not replaced by an empty folder. | +| 2026-11-06 | Creating an archive whose folders cannot be made fails; opening one never fails for it, the problem is logged and shown; the desktop refuses to adopt a writable archive it cannot complete but opens a read-only one. | Fail every open | A read-only archive must still open for browsing and the server must still start; a writable but incomplete one would make deletions and conversions fail later. | +| 2026-11-06 | The server re-checks the archive's tree on every dashboard read. | Check only at start | A share that comes back repairs itself without a restart; the server's archive path is an environment variable, so a path change is a restart, which is covered. | +| 2026-11-06 | Settings › Archive folder creates an archive in a folder that has none. | Refuse a folder without an archive | Owner request R3: whatever path is given as the archive root gets the archive's structure. | +| 2026-11-06 | The deploy guide lives in `docs/deploy/`; `deploy/releases-repo/README.md` stays the short user guide shipped with releases. | One guide in the releases README | The releases repository copies only that README, so a link from it into the private development repository would break. | +| 2026-11-06 | Backup is `pg_dump` plus `/data` plus the archive; Archive › Rebuild is only a fallback for the index. | Archive only, rebuild the rest | Users, sign-ins, schedules, job history and the audit log live only in the database. | +| 2026-11-06 | The docs describe one update channel (stable releases), pre-releases installed by hand. | Document a pre-release channel | That is what the update check does: it asks for releases with `pre-release=false`. | +| 2026-11-06 | `CHRONOS_TRUSTED_PROXIES` is listed in BRIEF §14.9. | Leave it undocumented | The server already reads it and the compose file and Unraid template already offer it. | +| 2026-11-06 | rc.14 integration: the BRIEF §24 rows of owner review 4 name the sections actually amended (R1 §12.10, §14.8; R2 §21; R3 §7, §12.8, §14.8, §14.9), and §7, §12.10, §14.8 and the Docker guide gain the board and the archive's folder tree. | Keep the parcels' expected sections | The phase 6 parcel wrote the rows before the feature parcels landed. | diff --git a/docs/deploy/docker.md b/docs/deploy/docker.md index d6e85a64..9d22af39 100644 --- a/docs/deploy/docker.md +++ b/docs/deploy/docker.md @@ -58,6 +58,10 @@ docker compose up -d - The server writes into the archive's `.chronos` folders at once (staging, trash, locks). One left to root (an earlier run as root, a copy made as root) stops the start with an error naming it; fix it on the host with `chown -R : /.chronos`. Nothing inside the archive is ever chowned by the container. +- At every start the server lays out the archive's folder tree inside `/archive` (`.chronos/` with `locks`, `journal`, + `staging`, `trash`, `trash/photos`, `trash/videos`), making only the missing folders and touching nothing that + exists. A folder it cannot make does not stop the start: the log warns, the dashboard shows *Archive incomplete* + (the folder and reason in its tooltip) and `/health` reports archive "incomplete" until it can be made. ## Environment variables @@ -216,6 +220,7 @@ a newer archive, run Archive › *Scan* so the index catches up with what the ar | *Not a Chronos server* | Another service answers on that host port (on the owner's host 8443 is another service). Use the client address with the right public HTTPS port | | The free space shown is the cache's (Unraid) or too small | A cached share reports its primary storage. Map the share's array view read-only to `/space` and set `CHRONOS_SPACE_PATH=/space` ([unraid.md](unraid.md#free-space-of-the-array)) | | The container restarts at once, log: *… is not writable by PUID:PGID* | Give that user write access to the archive (or the named `.chronos` folder) on the host, or set `PUID`/`PGID` to its owner | +| Dashboard: *Archive incomplete*; `/health`: archive "incomplete" | A folder of the archive's tree cannot be made (share unavailable, permission denied, read-only, a file in the way; the tooltip names it). Fix it on the host; the next dashboard read checks again, no restart needed | | Log: *Database not reachable yet … retry* | PostgreSQL is starting, or `CHRONOS_DB_HOST` is wrong. Container names resolve only on a shared user-defined network; on Unraid's default bridge use the host's IP | | A field in the admin panel is read-only | A variable sets it; its tooltip names it. Remove the variable to change it in the panel | | The client asks to trust a new fingerprint | `/data` was replaced or the self-signed certificate was renewed. Compare with the admin panel before accepting |