feat: single setup, mass-pass progress, per-server homes, Desktop shares its library (owner review 5, v1.1.0) (#68)
CI / Build and test (push) Successful in 11m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 12s
Release / Build, test and publish (push) Successful in 14m56s
CI / PostgreSQL 16 integration (push) Successful in 10m11s
CI / PostgreSQL 17 integration (push) Successful in 10m15s
CI / Docker image (push) Successful in 45s
Release / Server image (push) Successful in 4m55s

Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #68.
This commit is contained in:
Alby96 authored and Alby96 committed 2026-11-15 18:11:43 +01:00
1 parent 988068ee8e
commit 20d64af4a4
793 files changed
+23882 -2096

No files matched your search

+131
View File
@@ -5,6 +5,137 @@ commits follow Conventional Commits (release notes are generated from them by `C
## [Unreleased]
## [1.1.0] — 2026-11-15
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 (a setup that holds one program preselects it); `/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 (a portable copy too: the
portable zip holds no Uploader), 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".
- While sharing, Chronos keeps running in the notification area: closing the window hides it (one notification
says so the first time), the tray icon offers Open Chronos and Exit, and Exit asks first when clients used the
library in the last minutes. Started with Windows while sharing, Chronos waits in the tray instead of on the
taskbar. With sharing off, closing the window exits as before.
- Server › This library warns when the 1.0 Windows Server's service is still installed (it may hold the same
ports; the setup can remove it).
- 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.
- A new step goes out once a quarter of a second has passed since the last publish, and a job gone quiet shows its
latest state within half a second.
- The job bar keeps at most 60 characters of the status line, dropping the item first; its tooltip is the whole line
with the item. Recent maintenance updates live, at most twice a second, and a maintenance job queued while the
screen is shown joins it.
- **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.
- Owner review 5 review:
- Keeping a 1.0 Chronos Uploader (Uploader unticked) no longer fixes the setup's scope and folder to the Uploader's;
`/DIR` and `/ALLUSERS` are ignored, with a log line, only when the Uploader replaces it.
- The Changes row's Remove tooltip no longer promises that changed files are kept when the install log has no
hashes (a 1.0 log).
- A setup built for the Uploader alone preselects it.
- Links move to the server's ID at every sign-in; the workspace folders wait while a copy, send or render job is
pending or a project is open in the editor.
- Workspace copy, send and render jobs of a sorted 1.0 workspace find their projects while folders are pending.
- While sharing, clients receive no events for the desktop's own jobs, the workspace's or another archive's, and
render nodes take only renders queued by a client on the shared archive.
- The desktop recognises its own share while it is still starting.
- The Server section lists a job that started between its list and its live events once the job reports progress.
- 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