feat: owner review 2 phase 5b: the server as a project home (#17)
CI / Build and test (push) Successful in 9m58s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 6s
Release / Build, test and publish (push) Successful in 14m8s
CI / PostgreSQL 16 integration (push) Successful in 8m55s
CI / PostgreSQL 17 integration (push) Successful in 8m50s
CI / Docker image (push) Successful in 57s
Release / Server image (push) Successful in 1m22s

A Chronos Server keeps its sequences' projects, as a PC's archive does: Main and named projects with versions under /api/v1/sequences/{id}/projects, the projects capability and the projectChanged event. The desktop opens a server's sequences in the workspace (proxies downloaded, hash-checked, resumable) with Save version, Sync, conflicts, History, Restore and the project actions against the server. Renders can be of a project version. The admin panel lists a sequence's projects and versions. Strings in all 38 languages.

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 #17.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-11-04 14:58:11 +01:00
1 parent 255e149087
commit 81c303f484
325 files changed
+11477 -516

No files matched your search

+62
View File
@@ -5,6 +5,68 @@ commits follow Conventional Commits (release notes are generated from them by `C
## [Unreleased]
### Added
- **Server home** (owner review 2, R8, phase 5b): a Chronos Server keeps its sequences' projects, as a PC's archive
does: Main and named projects, each with its versions, under `/api/v1/sequences/{id}/projects`. The server lists the
capability `projects` and tells connected programs of every change (`projectChanged`). Settings changed by an older
Chronos, an analysis, the sync of a desktop's copy or a conversion become a new version of the sequence's Main soon
after.
- Sequences of a Chronos Server open in the workspace, as this PC's do: *Open in workspace* (in Edit, and on the
Server screen) asks which project, and its proxies are downloaded into the workspace (hash-checked, resumable).
Save version, Sync, conflicts, History and Restore, New, Rename, Delete and Remove local copy work against the
server. A project already in the workspace opens while the server is out of reach or this PC is signed out; its
work waits (*Offline*). An account without Edit opens the server's sequences with proxies, read-only, as before.
- A project's chip shows at once when someone changed it on the server (*Server newer*) or deleted it there (*Not on
server*; your copy and unsent versions are kept); a rename on the server reaches the copy. Texts name the server.
- Analyses and renders of a server's project run on the server. A render renders the version the server holds, and
first offers *Send and render* for changes not sent yet.
- The admin panel's sequence page lists its projects: who changed each last and when, its versions (20 at a time,
*Load more*), and *Rename…* and *Delete…* for projects other than Main.
- Renders can be of a project version: the server and render nodes render that version's settings and record the
project and the version with the render.
- Known limitations: projects name the server by the address they were made with, so signed in through another
address (its IP instead of its name) they read *Offline*; a copy reads the server's frames in one answer (about
35 MB at 100,000 photos); *History* downloads every version's settings; downloads into the workspace are not paused
on a metered connection (only uploads are); originals in the workspace and local renders are phase 5c.
### Fixed
- Server home, found by the phase's review before any release had them (one adversarial round, 21 findings, 19
fixed): a sequence without photos no longer writes projects at the archive's root (*This sequence has no photos
yet.*); a full-size version can be pushed and one too large is told so; version pages are capped in size; a
settings change sent to the server is no longer lost when Main is made later, nor one an earlier release's server
holds in its index alone (see the upgrade note); deleting a project as its maker needs
the same account, not just the same name; renames, rescans and reconnects reach the workspace; a status no longer
downloads the server's frames each time; a resumed copy never keeps a thumbnail as a proxy; an account without Edit
is never offered *Open in workspace*; a project opened signed out renders once signed in. The admin panel's
projects table fits narrow windows, keeps the versions loaded with *Load more* on a live refresh and no longer
downloads settings it does not show. A pull that succeeded no longer reports a failure when the server refuses the
list it reads to follow a rename (it is logged and tried at the next pull). On the Server screen a remote row's
actions, an older server's disabled *Open in workspace* included, stay on one line instead of doubling the row's
height.
### Changed
- On a Chronos Server, a `PATCH` of a sequence's settings also writes the sequence's `project.json`, under the
sequence's lease (owner review 2, R8). While another job holds the sequence for more than 20 s, its archive is
offline or its folder moved, it now answers 503 (`sequence_busy`, `archive_offline`, `folder_moved`) or 409
`folder_in_use` and changes nothing; the desktop's sync tries again at its next comparison. A `PATCH` of title,
tags, rating or notes alone is unchanged.
- Server screen: on a server that keeps projects, *Open in workspace* replaces *Open with proxies* for an account with
Edit; on an older server it is shown disabled, its tooltip saying the server needs an update.
- **Upgrade:** the server home needs this release on both the server and the desktop. Chronos uses a server's
projects only when its `server/info` lists `projects`; with an older server, Edit opens its sequences with proxies
as before. Older Chronos versions keep working with a new server: they ignore `projectChanged`, and their settings
edits become Main's versions. No migration runs (0009 came with phase 5a). The first open of a server's sequence
in Edit downloads its proxies into the workspace. An earlier server wrote a settings `PATCH` (every settings
change a desktop's linked copy sends) into its index alone, so a sequence's `project.json` there can be older than
its settings: when Main is made, the index's settings stay in force as version 2 and `project.json`'s are version 1,
never the other way round. Where Main already exists in the sequence's folder (another program made it), the index's
settings that no version holds are kept as a version under the ones `project.json` gives; *History* restores them.
- Screenshots: the capture shows its temporary data folder as a sample user's (`C:\Users\Studio\AppData\Local\Chronos`,
the sample archive as `D:\ChronosArchive`), so the baselines no longer depend on the machine's `TEMP` folder or user
name.
## [0.1.0-rc.9] — 2026-11-04
### Fixed
- Chronos and the Uploader could not reach a server in a container whose ports are published as other host ports
(owner review 3). The admin panel's Settings › Network and TLS listed the container's ports (8080, 8443) as if