fix: wire the owner review 5 parcels together; docs

The six parcels of owner review 5 merged into or5-v1.1 need a few joins
that no single parcel owned:

- The workspace copy and send jobs compare a project's home server
  through WorkspaceJobOptions.SameServer, so a job queued under a
  server's 1.0 address still runs once its home is re-keyed to the
  server id (plan step S3), with a test against a real server.
- The sample data gives its running and paused jobs a progress detail
  (SampleJobDetails), so the captures show the status line.
- The Windows service strings (Server.Service.*) went with the service
  hosting; they are removed line by line from all 38 cultures.
- The VS Code launch and build task start Chronos.Server.Host, now that
  Chronos.Server is a library.

Docs: CHANGELOG [Unreleased], DECISIONS rows, BRIEF amendments and the
section 24 rows for R1-R4, ARCHITECTURE, the deploy guides (Chronos
Server in Docker only; on Windows Chronos Desktop shares its library),
both READMEs and STATUS (owner review 5 in progress for v1.1.0).

Refs #64 #65 #66 #67

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-15 15:24:55 +01:00
1 parent e367f03c80
commit 817956e719
54 files changed
+578 -250

No files matched your search

+107
View File
@@ -5,6 +5,113 @@ commits follow Conventional Commits (release notes are generated from them by `C
## [Unreleased]
Owner review 5 for v1.1.0 (`docs/requests/2026-11-15-owner-review-5.md`; issues #64, #65, #66, #67). Upgrading from
1.0 keeps the archive, the database and the settings: migration 0011 runs at start, and the first start sorts the
workspace and the cache into homes. A 1.1 workspace cannot be opened by 1.0 any more (downgrading is not supported).
Chronos Uploader 1.0 users who installed it on its own: download `Chronos-Setup-1.1.0.exe` once; it replaces the
separate Uploader and later updates come through the Uploader's own check.
### Added
- **One setup** (R1, #64):
- One setup installs Chronos Desktop, Chronos Uploader or both, and adds or removes either in place. Only Chronos
Desktop is preselected; `/COMPONENTS=Desktop,Uploader` works.
- The setup shows what an update changes (programs added, removed or replaced) before it runs. With every program
unticked it offers Uninstall.
- A file you changed since setup installed it is never deleted ("N changed files kept").
- **Uploader updates** (R1, #64): Chronos Uploader checks for updates. Settings › Updates has Check on start (on by
default), Check now, Download and Show setup. Download fetches the single Chronos setup (the portable zip for a
portable copy), verifies it against the release's `SHA256SUMS` and shows it in Explorer. A newer release found at
start shows a toast with Download.
- **What a job does now** (R2, #65):
- Every job reports a structured progress detail: step, item, photo x of y, and sequence, folder, output or step n
of m. A running job says what it does now ("Verifying photo 812 of 2,400 · Harbour sunset · sequence 3 of 41"); a
paused or failed job says where it stopped.
- It shows in the Jobs table (a muted line under the target), the job bar, Archive › Recent maintenance, the
editor's server job line, and the admin panel's Jobs page and dashboard.
- Steps: scan List → Index (photo by photo in adopted or reconciled folders) or Check → FollowUps; verify,
thumbnails, proxies and deep analysis photo x of y of sequence n of m; convert Verify → Convert → Replace;
Reorganize step n of m; import the file being copied; maintenance step keys, 1 of 5; clean-up step names;
empty-trash entry n of m; render Analyse → Encode → Verify, also on render nodes and in workspace renders;
upload, download, video copy and workspace copy, send and move steps with their items.
- API v1 carries it as an optional `detail` on `JobDto`, the `jobProgress` event and `NodeProgress`; older peers
ignore it. Migration 0011 adds `jobs.progress_detail`.
- **Server jobs on the desktop** (R2, #65): the Server section lists the connected server's running and paused jobs,
live. Accounts that manage the archive can pause, resume and cancel them; for others the list is read-only.
- **Separate homes** (R3, #66):
- Each server has a stable id that it announces in `/server/info` (`serverId`). The desktop names servers by it,
so one server reached at several addresses is one server.
- The desktop keeps a separate home per server: in the workspace (`local\`, `servers\<id>\`) and in the cache
(proxies, render-node downloads, staged imports).
- Each server's downloaded originals go to their own archive, made beside this PC's archive at the first Download
originals (for example `D:\ChronosArchive - Studio NAS`, named "Studio NAS (server)"). A toast says where.
Copies already downloaded stay where they are.
- Settings › Workspace › Home folders: This PC and each server, with the folder path and Open.
- Settings › Server › Known servers: name, last address, short server ID (full ID in the tooltip), Signed in or
Offline, the originals folder and the server's cache share, each with Open.
- A warning toast when a known server ID comes back with another certificate and another name.
- The diagnostics bundle lists the workspace homes and the cache's server folders.
- **Share this library** (R4, #67):
- Settings › Server › Share this library: Chronos Desktop serves this PC's current archive to other PCs, Chronos
Uploader and render nodes while it runs, with the same engine as the Docker image. Default HTTPS 8443 and HTTP
8080; the library name, public ports and LAN announcement can be set.
- Server › This library: the sharing state (with Restart when it could not start), addresses with Copy, ports, the
certificate fingerprint with Copy, the first admin's temporary password (Show, Copy), clients of the last 5
minutes and render nodes online, and Admin panel.
- The admin panel marks the settings Chronos Desktop owns as "Set in Chronos Desktop".
- The owner review 5 request file (`docs/requests/2026-11-15-owner-review-5.md`).
### Changed
- **Setup** (R1, #64):
- Updating over a separate 1.0 Chronos Uploader replaces it. Its sign-in entry (turned off or not), its shortcut and
your data move to the new copy. An all-users copy under a per-user install stays, and the setup says so.
- The install log is format 2: each program's files, shortcuts, version and SHA-256. 1.0 logs are still read.
- The Uploader skips its start-up update check when Chronos Desktop is installed in the same folder, because the
desktop's notice covers the same setup.
- **Progress** (R2, #65):
- A job's progress is published at most twice a second, and at once for a new step, a completed count or the first
report. It is still saved at most every 5 s and at each checkpoint.
- The server's progress events go from 4/s to 2/s per job; render nodes' reports share the same gate.
- Duplicates, orphans and index backup jobs report no total while running, so the bar runs without a count instead
of standing at 0 %.
- Thumbnail and proxy passes report every frame, not only at checkpoints.
- The job bar keeps at most 60 characters of the status line, dropping the item first; its tooltip is the whole bar
text. Recent maintenance updates live, at most twice a second.
- **Homes** (R3, #66):
- On first start, 1.1 sorts a 1.0 workspace and cache into homes. It only renames, checks every rename, and resumes
after a crash. Projects in use, an unplugged workspace drive and an unfinished workspace move wait for a later
start. A toast reports "Folders sorted", "Folders pending" or a failure.
- The workspace manifest is now format 2 (layout "homes"), so Chronos 1.0 refuses a sorted workspace instead of
showing it empty.
- Workspace projects live in `local\` (this PC's archive) or `servers\<id>\` (each server). Each home has its own
trash and its own sync; workspace usage, clean-up, Trash and Empty… cover every home.
- A project stays Online when its server is reached at another address. Server comparisons, the workspace copy and
send jobs included, go through the server's ID and its aliases.
- Render-node downloads go to `<cache>\servers\<id>\render-node`, and staged imports to the server to
`<cache>\servers\<id>\import`. The cache trim keeps `servers\`. The scheduled scan never picks a server's
originals archive in place of this PC's.
- A sequence with a local copy keeps receiving originals into that copy's archive.
- **Server** (R4, #67):
- `Chronos.Server` is a library; the console and Docker program is `Chronos.Server.Host` (the image's entrypoint and
health check run `Chronos.Server.Host.dll`). Run it in development with
`dotnet run --project src/Chronos.Server.Host`.
- Every by-id API endpoint answers 404 for items of an archive the server does not serve, and a client's render
export folder is ignored.
- While sharing, scans queue thumbnails and proxies as on a server.
- Chronos Desktop refuses to connect to its own shared library and hides it from the LAN servers found.
### Removed
- The Chronos Uploader setup and the Chronos Server for Windows setup and zip are no longer released; Chronos Server
ships as a Docker image, and on Windows Chronos Desktop shares its library. An installed Chronos Server 1.0 is kept,
untouched, as "no longer offered" until you untick it, or until `/COMPONENTS` leaves it out; it is then removed with
its Windows service. Its data in `%ProgramData%\Chronos Server` is kept.
- Chronos Server as a Windows service (`--service`, `--install-service`, `--uninstall-service`).
- The unused `AppPaths.CreateDirectories` and `AppPaths.ThumbnailsDirectory`.
### Fixed
- The job bar counter of byte jobs (verify, import) shows sizes, not raw byte counts.
- Signing in to the same server at another address, or by name and by IP, no longer shows its workspace projects as
offline, nor gives it a second set of links, projects and proxy cache (the phase 5b limitation).
## [1.0.0] — 2026-11-06
The first stable release (owner review 3, R4; issue #23). It is the code of 0.1.0-rc.14. Upgrading from any 0.1.0