merge: rc.14 parcel phase6

# Conflicts:
#	docs/BRIEF.md
This commit is contained in:
Alby96 committed 2026-11-06 17:15:06 +01:00
commit 451d0e5092
10 files changed
+584 -13

No files matched your search

+38 -6
View File
@@ -508,6 +508,16 @@ The archive is the source of truth; the database is an index that can be rebuilt
│ └── *.pending.json journals of an ingest, a photo deletion, a frame replacement (replace.pending.json, a conversion or its undo; amended 2026-10-26, R7) or a restore a crash interrupted (below)
```
The root-level folders above (`.chronos/` with `locks/`, `journal/`, `staging/`, `trash/`,
`trash/photos/` and `trash/videos/`) exist from the start (amended 2026-11-06, owner review 4
R3): whatever path is chosen as the archive root, on the desktop or the server (Docker or
Windows), gets them when the archive is created, adopted or opened, and only the missing
ones are made; nothing existing is touched. The root itself is created only for a new
archive. A create whose folders cannot be made fails with the reason (drive or share
unavailable, permission denied, read-only, a file in the way); an open never fails for it:
the problem is logged and shown (§14.8 dashboard, `/health`). Per-sequence folders and the
trash's `.erasing`/`.erased` are still made when needed.
`sequence.json` (canonical, versioned, written atomically):
`{ id, title, camera, lens, frames: [{ i, file, size, sha256, capturedAt, exposure, fNumber,
iso, focal, bias, wb, orientation, w, h, format, previewOffset, previewLength, flags, source? }],
@@ -1916,11 +1926,16 @@ server*). The files stay in each sequence's `exports/` (§7); the section never
except into the trash.
- Toolbar: search (title, preset, file name), Kind (All, Videos, Stills, Sequences), Codec
and Year (the values present), Source (All, This PC, Server, Not sent), Order (Newest,
Oldest, Largest, Title), cards or list (kept), *Refresh*, *Clear filters* and the
Oldest, Largest, Title), cards, list or board (kept; board amended 2026-11-06, owner
review 4 R1), *Refresh*, *Clear filters* and the
selection count. The Export footer's *Videos (n)* and the Render menu's *Videos* open it
on one sequence, shown as a chip whose × clears that filter only.
- A card: the poster (the sequence's cover, or the still itself), title, preset, size ·
codec · duration · bytes, date, and chips *Here*, *On server*, *Copied*, *Missing*, *Not
- The board (owner review 4 R1): the work done in two lanes, *Published* (this PC's and
the server's renders) and *Workspace* (the workspace's renders, sent or not), newest
first, each with its count, under the same filters, selection and actions; a sent
workspace render is in both lanes, its workspace card marked *Sent*.
- A card: the poster (the sequence's cover, or the still itself), title, a line starting
with the preset (preset · codec · duration · bytes, amended 2026-11-06), date, and chips *Here*, *On server*, *Copied*, *Missing*, *Not
sent*. The list has the same columns, Preset, Format and Date hidden while the player is
open (the row's tooltip keeps them).
- Actions on the selection (toolbar) or a row (its menu, on the selection when the row is
@@ -2775,7 +2790,10 @@ operations; it queues no deep analysis (the API's `bulk/jobs` takes `deep`).
Videos (amended 2026-11-05, owner review 1 R3/R8/R9; §12.10, §14.3), the page after Library
in the sidebar. It manages the server's renders and never edits: nothing on it renders or
changes a project (owner review 2, R6).
- `#/videos` lists every render of the server as cards or a list (kept in the browser):
- `#/videos` lists every render of the server as cards, a list or a board (kept in the
browser; the board amended 2026-11-06, owner review 4 R1: lanes *Published* and
*Workspace*, the latter holding project renders produced by another machine than the
server, per `producedBy`):
search, Kind, Codec, Year and Order, the filters in the address; `#/videos?sequence=<id>`
shows one sequence's, named by a chip whose × clears that filter only (the sequence named
from its own record when none of its videos is on the page); *Load more* by cursor.
@@ -2907,7 +2925,9 @@ ports clients use when a container's ports are published as others: LAN discover
redirect and the admin panel's client address use them; also the admin panel's *Public
HTTP/HTTPS port*, `PublicHttpPort`/`PublicHttpsPort` in `server.json`, applied at once;
amended 2026-11-04, owner review 3), `CHRONOS_TLS_MODE=auto|pem|proxy`,
`CHRONOS_TLS_CERT`, `CHRONOS_TLS_KEY`, `CHRONOS_SERVER_NAME`, `CHRONOS_LANG=en`,
`CHRONOS_TLS_CERT`, `CHRONOS_TLS_KEY`, `CHRONOS_TRUSTED_PROXIES=127.0.0.0/8, ::1/128` (TLS
mode proxy: the addresses or CIDR networks whose `X-Forwarded-*` headers count; listed here
on 2026-11-06, owner review 1 phase 6, as the server already read it), `CHRONOS_SERVER_NAME`, `CHRONOS_LANG=en`,
`CHRONOS_PARALLELISM` (photos the running job processes at once; `CHRONOS_WORKERS`, its former
name, still sets it), `CHRONOS_PRIORITY_QUEUE=false`, `CHRONOS_DISCOVERY=true` (LAN UDP beacon; it leaves a
container only with host networking, Unraid network type Host: amended 2026-11-04, owner
@@ -2938,6 +2958,13 @@ at `/videos` with `CHRONOS_VIDEOS_PATH=/videos`; remove both to turn copying off
Windows: `Chronos.Server.exe` runs as console or Windows Service (`sc create`), SQLite or
PostgreSQL.
The deploy guide `docs/deploy/` (README, `docker.md`, `unraid.md`, `desktop.md`) documents
every variable above with its default, the volumes, the ports and public ports, the TLS
modes and the fingerprint, upgrades (`:latest`, `:<version>`, `:nightly`; migrations at
start, forward only), backup and restore, PostgreSQL and troubleshooting; the compose file,
the Unraid template and `deploy/releases-repo/README.md` say the same, and a change to one
updates the others (amended 2026-11-06, owner review 1 phase 6).
---
## 15. Chronos Uploader
@@ -3195,7 +3222,9 @@ Icon `https://gitea.encke-hake.ts.net/BalboSoft/Chronos/raw/branch/main/branding
`release.yml` rewrites these exact prefixes for a separate releases repository (§19.4), so
they stay verbatim. (Amended 2026-10-23, R2.) Document (in the README) how to install the
template as a user template (Unraid's template repositories read GitHub and GitLab
addresses, not Gitea's) and to pair it with the official PostgreSQL template.
addresses, not Gitea's) and to pair it with the official PostgreSQL template; `docs/deploy/unraid.md`
gives the whole procedure, the fields, host ports other than 8080/8443 with their public
ports, the array view, upgrades and backup (amended 2026-11-06, owner review 1 phase 6).
---
@@ -3393,7 +3422,10 @@ questions asked and the answers; DECISIONS rows give the reasons.
| 2026-11-04 | Owner review 3 (ports) | §12.7, §14.8, §14.9, §15, §19.6 | The public HTTP/HTTPS ports are server settings as well as variables (a variable locks them), applied at once; in a container the listening ports are locked to the template's; the admin panel's Network and TLS shows the container's ports, the public ports and the client address with Copy; clients read an address without scheme or port as port 8443 and report an address that answers as something else, never offering its certificate for trust; the Unraid template and compose gain *Public HTTP port*. |
| 2026-11-04 | Owner review 1, R5/R6 (phase 4: visual crop, transforms, looks) | §10.3, §11.2, §11.4, §12.3, §14.3, §14.7 | The crop is edited on the preview with handles, always locked to the output aspect, in the view frame (turned, straightened); the chosen proportions win: a fixed-size preset is a box the aspect is fitted in (4K at 9:16 = 2160×3840), "source" keeps the preset, the preset name stays and *Output size* shows the result; the Camera step gains Rotation (quarter turns), Mirror, Flip, Straighten (±15°, automatic cover zoom), Crop size/X/Y and Reset framing, the crop-margin and offset rows go; a turn or mirror keeps the content (crop, keyframes, a transposed aspect); the Exposure step ends with a Look (eight built-in colour looks with a strength), applied after stacking and before the knee; one Core path for render, server, nodes and preview; settings format 2 written only when a transform or look is used, read-only in older builds; `server/info` and node registrations announce the settings format, and nothing an older server or node would get wrong is sent to it; the advisor works on the view as shown. |
| 2026-11-05 | Owner review 1, R3/R8/R9 (phase 5: export panel and Render menu, export options, videos library) | §5, §7, §11.1, §11.3, §11.4, §11.5, §12.1, §12.3, §12.5, §12.8, §12.10, §14.3, §14.6, §14.7, §14.8, §14.9, §19.6 | The header's *Render ▾* reads "Render" at a fixed width, its tooltip giving the details, its menu the recommended, batch and recent presets, *Other presets ›* by group with a details line, *Render batch*, *Add to queue*, *Save frame ›* and *Videos*; the Export step's cards become a grouped preset table and its Output panel four collapsible groups (Output, Encoding, Playback, File) with summaries, open state kept by the app, and a fixed footer; advanced encoding (rate control, bit rate or quality, keyframes in seconds, B-frames, profile) and standard resolutions over the existing overrides, no format raise; playback (reverse, boomerang, loops, fades to black, hold at the end) as an output program, settings format 3 written only when used, read-only in older builds and never sent to an older server or node; *Save frame* saves one corrected frame as PNG, JPEG or TIFF 16-bit (kind `still`, format-3 jobs); renders record their SHA-256 and kind, copies are recorded (migration 0010); one Videos library on the desktop (a rail section on Ctrl+4, Archive, Jobs and Server moving to Ctrl+5…7; this PC's, the server's and unsent workspace renders merged; an in-process player) and on the admin panel (a Videos page with a browser player); a hash-verified `video-copy` job (stored as 24) into a flat videos folder (Settings › Archive, the server's `videosPath`, `CHRONOS_VIDEOS_PATH`, the optional `/videos` volume); delete into `trash/videos/` behind a dry run and fingerprint, restore with the same id after a hash check; `/api/v1/videos`, the `videos` capability, `RenderDto` `sha256` and `kind`. |
| 2026-11-06 | Owner review 1, phase 6 (deploy guide) | §14.9, §19.6 | The deploy guide `docs/deploy/` (Docker, Unraid, desktop) documents every `CHRONOS_*` variable with its default, the volumes, ports and public ports (host 8087/8444 → container 8080/8443 with Public HTTPS port 8444), TLS modes and the fingerprint, upgrades and migrations, backup and restore, PostgreSQL and troubleshooting, kept in step with the compose file, the Unraid template and the release's user guide; `CHRONOS_TRUSTED_PROXIES`, which the server already read, is listed in §14.9. |
| 2026-11-06 | Owner review 4, R1 (work board) | §12.10, §14.8 | Every video made or published in one board, the published ones apart from the work in a workspace: a third Videos layout *Board* (kept as the cards/list choice is) on the desktop and on the admin panel's Videos page, two lanes *Published* and *Workspace*, newest first, each with its count and the list's filters; a sent workspace render is in both lanes, its ledger row marked *Sent*; cards start with the preset; sizes keep number and unit together (issue #29). |
| 2026-11-06 | Owner review 4, R2 | §21 | Chronos sends nothing about its use: the usage counts consent is gone from the first run and from Settings › General (and its setting, an old settings file still loading), monetization counts no impressions; the diagnostics bundle is only saved locally. |
| 2026-11-06 | Owner review 4, R3 (archive structure) | §7, §12.8, §14.8, §14.9 | The archive's root-level folder tree (`.chronos` with `locks`, `journal`, `staging`, `trash`, `trash/photos`, `trash/videos`) is created inside the chosen archive path when an archive is created, adopted or opened, on the desktop and on the server, in Docker and on Windows; existing folders and files are never touched; a create whose tree cannot be made fails with the reason, an open logs and shows it (the dashboard's *Archive incomplete*, `/health` archive "incomplete"); Settings › Archive folder creates the archive in a folder that has none (issue #31). |
## Appendix A — `CLAUDE.md` content (create verbatim in Phase 0, keep updated)