fix: address the rc.14 review

Settings no longer makes a folder an archive on its own: a typed or
picked folder without archive.json is made one only after a
confirmation naming it, and Settings > Import keeps this PC's archive
folder and never creates one. A half-typed path or another PC's drive
letter could otherwise get .chronos and sidecars written unasked.

The server's structure check creates nothing in a root that lost its
archive.json (an unmounted disk's empty mount point) and reports it
unavailable; /health re-checks when its last check is over 10 s old,
so a fix on the host shows without a dashboard read.

The admin board reads the server newest first with Order off, counts
Published over the server's total, and a Shift range runs along the
lane picked in. Admin sizes keep number and unit together. A sent
workspace render whose file left exports/ is no longer listed as
missing. Desktop Board cards put their actions under the text while
the player is open. Start-up range errors name the CHRONOS_* variable;
the deploy guide documents the parallelism clamp and the log rule.

Refs #29 #31

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-06 17:52:44 +01:00
1 parent 159a8e6939
commit 2c15ee0e09
25 files changed
+336 -53

No files matched your search

+16 -2
View File
@@ -24,8 +24,16 @@ commits follow Conventional Commits (release notes are generated from them by `C
### 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.
- Typing or picking a folder that is not yet an archive in Settings › Archive now offers to create the archive
there, as Welcome's *Create* does, after a confirmation that names the folder; *Not now* only remembers it.
- Settings › Import keeps this PC's archive folder, like its workspace: another PC's drive letter can name one of this
PC's own folders.
- The admin board always reads the server newest first (*Order* is off there, its tooltip says why); *Published*
counts every render the server holds, *Workspace* those read so far ("+" while more can be read).
- `/health` checks the archive's tree again once its last check is over 10 seconds old, so a fix on the host shows
there without opening the dashboard.
- A server setting out of range stops the start with a message naming its `CHRONOS_*` variable (ports and logs
included).
- 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.
@@ -40,6 +48,12 @@ commits follow Conventional Commits (release notes are generated from them by `C
- 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.
- rc.14 review: a sent workspace render whose file left `exports/` no longer shows on the desktop board as *Missing*
(its home holds it); a Shift range on the admin board runs along the lane picked in, as its cards are shown; a
server archive root that lost its `archive.json` (an unmounted disk's empty mount point) gets no folders, the
dashboard warns and `/health` says "missing"; the admin panel's sizes keep number and unit together too; desktop
Board cards put their actions under the text while the player is open, so titles and facts are no longer cut at
the window's smallest width.
## [0.1.0-rc.13] — 2026-11-05
+5
View File
@@ -792,3 +792,8 @@ One line per decision: date · decision · alternative · reason.
| 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. |
| 2026-11-06 | rc.14 review: Settings › Archive folder makes a folder without an archive one only after a confirmation naming it (*Create archive* / *Not now*, which only remembers the folder); Settings › Import never creates one and keeps this PC's archive folder. Supersedes the row "Settings › Archive folder creates an archive…". | Create silently, as the parcel did | A half-typed path commits on focus loss and an imported path can name the user's own photos: adopting either writes `.chronos` and sidecars there unasked (CLAUDE.md: explicit user action). |
| 2026-11-06 | The server's structure check makes nothing in a root without `archive.json` and reports it unavailable (`/health`: archive "missing"); `/health` re-checks once the last check is over 10 s old (`ServerArchive.HealthRecheck`). | Check only on dashboard reads; create in any existing root | An unmounted disk leaves an empty mount point whose underlying disk must not get `.chronos`; monitoring that only polls `/health` must see a fix without a dashboard read, throttled so a busy health probe stays cheap. |
| 2026-11-06 | The admin board reads the server with `sort=newest` and disables *Order* with a tooltip; *Published* shows the server's total, *Workspace* the loaded count with "+" while a cursor remains; a Shift range runs along the lane picked in (`selectableGrid`'s `order(el)`). | Re-sort the loaded page; one range over every card | The board must show the server's newest renders and honest counts, and a range must cover only the cards seen between the two clicks (a sent render is in both lanes). |
| 2026-11-06 | `CHRONOS_PARALLELISM` out of 1–64 stays clamped; the other range errors at start name the `CHRONOS_*` variable (`ServerOptions.VariableOf`). | Refuse every value out of range | Clamping parallelism is long-standing behaviour the admin panel relies on; the deploy guide documents the exception. |
| 2026-11-06 | Desktop Board cards move their quick actions to a row under the text while the player pane is open. | Stack the lanes; hide the actions | Keeps both lanes side by side and every action on the card; at 1200 px with the player the text column grows from about 80 px to the whole card. |
+7 -3
View File
@@ -61,14 +61,18 @@ docker compose up -d
- 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.
(the folder and reason in its tooltip) and `/health` reports archive "incomplete" until it can be made. Both check
again by themselves (the dashboard at each read, `/health` when its last check is over 10 seconds old), so a fix on
the host needs no restart. A root without its `.chronos/archive.json` (an unmounted disk leaves an empty mount
point) gets no folders: the dashboard shows *Archive incomplete* and `/health` reports archive "missing".
## Environment variables
Every server setting comes from, in order: its default, `/data/server.json`, then the environment. **A variable that is
set fixes its setting:** the admin panel shows the field read-only and its tooltip names the variable. Leave a
variable unset to choose the value in the admin panel while the server runs. A value out of range stops the start
with a message naming the variable.
with a message naming the variable, except `CHRONOS_PARALLELISM`, which is held to 1–64. The logs' total
(`CHRONOS_LOG_MAX_TOTAL_MB`) may not be below the log file size (`CHRONOS_LOG_MAX_FILE_MB`), unless it is 0.
| Variable | Default | Meaning |
|---|---|---|
@@ -220,7 +224,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 |
| 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, or `/health` within 10 seconds, 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 |