fix: owner review 3 phase 1: server ports for clients, screenshot baselines (#16)
CI / Build and test (push) Successful in 9m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 14m4s
CI / PostgreSQL 16 integration (push) Successful in 8m26s
CI / PostgreSQL 17 integration (push) Successful in 8m43s
CI / Docker image (push) Successful in 50s
Release / Server image (push) Successful in 1m23s
CI / Build and test (push) Successful in 9m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 14m4s
CI / PostgreSQL 16 integration (push) Successful in 8m26s
CI / PostgreSQL 17 integration (push) Successful in 8m43s
CI / Docker image (push) Successful in 50s
Release / Server image (push) Successful in 1m23s
Clients could not reach a server in a container whose ports are published as other host ports: the panel showed the container's ports, the template had no public HTTP port, and a bare host meant port 443. Public ports become panel settings, the panel shows the client address, both clients default to 8443, and an address that answers as another service is named as not a Chronos server (its certificate never offered for trust). The screenshot baselines are captured on the development PC and committed; measured values are fixed while the capture runs. 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 #16.
This commit is contained in:
1 parent
30a5b03f37
commit
255e149087
306 files changed
+2023
-206
No files matched your search
+41
-5
@@ -1498,7 +1498,17 @@ Global job bar mirrors the active job.
|
||||
|
||||
First connection shows the certificate fingerprint (trust-on-first-use); login modal;
|
||||
per-sequence sync actions and states; conflict resolution only for settings JSON (keep
|
||||
mine / take server / save both).
|
||||
mine / take server / save both). The address field, here and in the Uploader (§15), reads
|
||||
one rule: no scheme means HTTPS, and then no port means 8443, the server's HTTPS port;
|
||||
`https://<name>` alone keeps 443 (a reverse proxy); a typed port is kept; a bare IPv6
|
||||
address gets its brackets; a link-local one with a zone index is refused. An address that
|
||||
answers but not as a Chronos Server (any redirect, an answer that is not JSON, an error
|
||||
without Chronos's `X-Chronos-Api` header and error code, JSON of another shape, more than
|
||||
1 MB, or plain HTTP on a port reached over HTTPS) fails with one sentence naming the
|
||||
address and the port to check; behind a certificate not
|
||||
trusted yet, `server/info` is read once without checking it and without credentials, and only
|
||||
a Chronos answer leads to the fingerprint question, so another service's certificate is never
|
||||
offered for trust (amended 2026-11-04, owner review 3).
|
||||
|
||||
### 12.8 Settings
|
||||
|
||||
@@ -2119,7 +2129,17 @@ clean-up* schedule's age limit, R10), Logs (amended 2026-10-26, R11: file level
|
||||
level (Trace…None, default Information), keep logs (days), file size (MB), logs total (MB),
|
||||
rotation (daily or hourly, UTC), keep audit (days; the *Audit log clean-up* schedule's age
|
||||
limit, §14.6), diagnostics logs (MB), applied without a restart)). A field an environment
|
||||
variable fixes is read-only, its tooltip naming that variable (`lockedBy`, §14.3; R11). The
|
||||
variable fixes is read-only, its tooltip naming that variable (`lockedBy`, §14.3; R11).
|
||||
Network and TLS (amended 2026-11-04, owner review 3): HTTP port and HTTPS port (in a
|
||||
container *Container HTTP/HTTPS port*, read-only: the template maps them to host ports),
|
||||
*Public HTTP port* and *Public HTTPS port* (empty: the listening port, shown as placeholder;
|
||||
applied at once to LAN discovery and the HTTPS redirect), and a read-only *Client address*
|
||||
with Copy: `https://<the host name the browser used>:<the HTTPS port the page came through,
|
||||
else the public HTTPS port>`, the proxy's address in TLS mode proxy, which is what users type
|
||||
in Chronos and the Uploader; when the page's HTTPS port is not the saved one, a *Use <port>*
|
||||
button fills it in as the Public HTTPS port, and saving a Public HTTPS port other than the
|
||||
page's asks first, as the redirect follows it at once; the discovery tooltip says that a
|
||||
container needs network type Host for it. The
|
||||
last group of Settings, About, is read-only: version, API version, database and uptime (the
|
||||
server name and the fingerprint are in the groups above); an old `#/about` link opens Settings on it (amended 2026-10-26,
|
||||
R4, R5). Same UI rules: tooltips only, light/dark, localised via `/api/v1/i18n`, keyboard
|
||||
@@ -2270,10 +2290,20 @@ it has worked in between; uploads always check the archive's own volume, §14.4,
|
||||
conversion the tighter of the two, §14.3: amended 2026-10-26, R7),
|
||||
`CHRONOS_DB=postgres|sqlite` (Linux: postgres only), `CHRONOS_DB_HOST`, `CHRONOS_DB_PORT=5432`,
|
||||
`CHRONOS_DB_NAME`, `CHRONOS_DB_USER`, `CHRONOS_DB_PASSWORD`, `CHRONOS_DB_SSLMODE=prefer`,
|
||||
`CHRONOS_HTTP_PORT=8080`, `CHRONOS_HTTPS_PORT=8443`, `CHRONOS_TLS_MODE=auto|pem|proxy`,
|
||||
`CHRONOS_HTTP_PORT=8080`, `CHRONOS_HTTPS_PORT=8443` (in a container, where
|
||||
`DOTNET_RUNNING_IN_CONTAINER=true`, the listening ports are the template's: only these
|
||||
variables change them, which network type Host needs when another service uses 8080 or
|
||||
8443; the admin panel shows them read-only and a `server.json` value is ignored with a
|
||||
warning and removed at the next save), `CHRONOS_PUBLIC_HTTP_PORT` and `CHRONOS_PUBLIC_HTTPS_PORT` (the host
|
||||
ports clients use when a container's ports are published as others: LAN discovery, the HTTPS
|
||||
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_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),
|
||||
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
|
||||
review 3),
|
||||
`CHRONOS_LOG_LEVEL` (Trace|Debug|Information|Warning|Error|Critical|None, also `info`,
|
||||
`warn`, `off`; default Information: sets the level of the log files and of the console and
|
||||
locks both in the admin panel), `CHRONOS_LOG_CONSOLE_LEVEL` (the console alone, read after
|
||||
@@ -2536,7 +2566,12 @@ the log variables, *Log level* `CHRONOS_LOG_LEVEL` included, and *Audit retentio
|
||||
`CHRONOS_AUDIT_RETENTION_DAYS` are advanced and empty by default (each description gives
|
||||
the default), so the admin panel's Settings › Logs chooses them; a value given in the
|
||||
template locks its setting; TZ also sets the time zone of the schedules; amended
|
||||
2026-10-26, R10, R11), description ≤ 2 sentences.
|
||||
2026-10-26, R10, R11), *Public HTTP port* `CHRONOS_PUBLIC_HTTP_PORT` and *Public HTTPS port*
|
||||
`CHRONOS_PUBLIC_HTTPS_PORT`, empty by default, next to the ports, whose descriptions say to
|
||||
enter the same host port there when it changes and that network type Host ignores the mapping (the
|
||||
server then listens on 8080 and 8443 itself; the user guide says to add `CHRONOS_HTTP_PORT` /
|
||||
`CHRONOS_HTTPS_PORT` when another service uses either); the overview names the client address and
|
||||
that LAN discovery needs network type Host (amended 2026-11-04, owner review 3), description ≤ 2 sentences.
|
||||
Registry and Project `https://gitea.encke-hake.ts.net/BalboSoft/Chronos`,
|
||||
Support `https://gitea.encke-hake.ts.net/BalboSoft/Chronos/issues`, TemplateURL
|
||||
`https://gitea.encke-hake.ts.net/BalboSoft/Chronos/raw/branch/main/deploy/unraid/chronos.xml`,
|
||||
@@ -2735,6 +2770,7 @@ questions asked and the answers; DECISIONS rows give the reasons.
|
||||
| 2026-10-26 | Owner review 2, R7 (naming) | §7.1, §13, §14.3 | One naming rule for import, upload and Reorganize: the sequence's camera and lens, `{n}` its place, a frame without a time at the sequence's start; template rules everywhere a template is typed or sent (no folder level scans skip, one a value such as a title gives escaped with `_`; a file template keeps the extension, tells photos apart, holds no slash; long names shortened before `.{ext}`; titles as text), held to a template only when it is given anew; `invalid_template` names the rule. |
|
||||
| 2026-10-26 | Owner review 2, R7 (conversion) | §5, §7, §8.1, §8.3, §8.7, §9, §12.2, §12.4, §12.5, §13, §14.3, §14.4, §14.5, §14.8, §14.9 | Convert after import on the desktop (the Archive manager's set, the Library's selection) and the admin panel (the Library's selection): JPEG with a quality, TIFF-16 or linear DNG (the archival choice, scene-referred so a RAW's highlights above white and colours outside sRGB survive), Replace or New sequence chosen at every run and never remembered, behind a dry run that lists each sequence's photos, sizes and the photos that stay as they are with why, and the free space where the conversion writes; Replace confirmed by typing; the `convert` job (stored as 19) converts exactly the photos confirmed, one sequence at a time and all or nothing, resumable through its journals and staging, never twice at once; full-resolution decodes only (the managed decoders first, never a 16-bit file from an 8-bit RAW development; the server leaves what it cannot read to a PC), what Chronos reads from a photo never changed (profiles carried, a linear DNG of sRGB values only), Exif carried, every file verified by the server's decoders; Replace swaps the files of the frames in place under a crash-safe journal, the originals going into a replaced trash entry that Undo or Restore swaps back and that Empty erases only while the archive on disk shows each conversion intact, or deleted on its own word (a tombstone, the trash, an erasure record); import still copies byte for byte and the card keeps a converted photo's copy; sync and the ingest count every encoding of a photo as one; `POST /api/v1/archive/convert` with the plan cache it shares with Reorganize, `sequenceChanged` `converted` and `created`, the audit `archive_converted`. |
|
||||
| 2026-10-26 | Owner review 2, R8 (phase 5a: workspace and projects, local home) | §4.4, §5, §7, §12.2, §12.3, §12.6, §12.8, §14.5, §14.6 | A sequence's home (this PC's archive) keeps its projects: Main, mirrored both ways with the sequence's settings so older clients and sync keep working, and other named projects, each a linear history of immutable versions in the portable form (positions parked by photo, SHA-256 of canonical text), stored as sidecars in `.chronos/projects/` and indexed by migration 0009 (`projects`, `project_versions`, `renders.project_id`/`project_version_id`); deletions only on the archive's word, the trash read first; Edit opens only workspace projects: *Open in workspace* (project, proxies), the `workspace-copy` job (stored as 20, desktop only, hash-verified, resumable, space checked), the working state in a folder outside the library, the project button with its state chip and menu (Save version, Sync, History with Compare and Restore, Open, New, Rename, Delete, Remove local copy), push and pull with replay and field-level merge, conflicts only when both sides changed a setting (Keep mine, Take library's, Save both, Later), renders at the home with the settings embedded; Settings › Workspace (folder, sync, kept versions). The server home is phase 5b; originals, local render, clean-up and the rest of Settings › Workspace are phase 5c. |
|
||||
| 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*. |
|
||||
|
||||
## Appendix A — `CLAUDE.md` content (create verbatim in Phase 0, keep updated)
|
||||
|
||||
|
||||
Reference in new issue
Block a user