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
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:
1 parent
988068ee8e
commit
20d64af4a4
793 files changed
+23882
-2096
No files matched your search
+201
-18
@@ -310,6 +310,28 @@ through this PC's sign-in on the Server screen: a project of a server this PC is
|
||||
in to still opens from the workspace and reads Offline. An older server's sequences open
|
||||
with proxies as before (§14.5).
|
||||
|
||||
Separate homes (amended 2026-11-15, owner review 5 R3). "Local" is this PC's archive and
|
||||
each Chronos Server is its own home, keyed by the stable id the server announces: a server
|
||||
key is `id:<N>` when the server announces an id, else the 1.0 address key, and address keys
|
||||
are kept as aliases, so queued jobs, bundles and links written with an address keep
|
||||
matching without a rewrite. One index (`chronos.db`) is kept; the workspace and the cache
|
||||
are split per home (§6.2), and downloaded originals of a server go to its own archive
|
||||
(§12.7).
|
||||
|
||||
Desktop as a server (amended 2026-11-15, owner review 5 R4). Chronos Desktop can share this
|
||||
PC's library on the LAN (Settings › Server › *Share this library*): it hosts the
|
||||
`Chronos.Server` library in-process (Kestrel, API v1, admin panel, accounts with the
|
||||
first-run admin, TLS with a self-signed certificate, LAN beacons, uploads, sync, events,
|
||||
render nodes) over the desktop's own index, archive and processing services, job engine and
|
||||
scheduler, which the hosted server never creates, starts, stops or disposes. Sharing starts
|
||||
after the schedules and the archive reopen and stops first at exit; closing the window
|
||||
stops it (the tray lifetime is not built yet). In hosted mode the jobs API lists and acts
|
||||
on server job kinds only, so the desktop's workspace, sync and download jobs stay private;
|
||||
every by-id endpoint, in both modes, answers 404 for an item of an archive the server does
|
||||
not serve; server-only state lives in `<data>\server`; the hosted options are `server.json`
|
||||
plus the values the desktop owns, never `CHRONOS_*` variables. Uploaders and other desktops
|
||||
connect to it exactly as to a Docker server; the Docker image is unchanged.
|
||||
|
||||
---
|
||||
|
||||
## 5. Domain model
|
||||
@@ -373,8 +395,10 @@ Primary entities (identical concepts in SQLite and PostgreSQL; ids are UUIDv7 st
|
||||
folder moved with its projects; all three run by the desktop only: amended 2026-10-26, R8;
|
||||
video-copy, stored as 24, renders copied hash-verified into a videos folder, desktop and
|
||||
server: amended 2026-11-05, owner review 1 R3/R8/R9), target ids, state (queued, running, paused, done, failed, cancelled),
|
||||
progress (done/total, fps, eta), log tail, created by, node id, attempts, error, schedule id
|
||||
(the schedule that queued it; amended 2026-10-26, R10).
|
||||
progress (done/total, fps, eta; and a detail: step, current item, item x of y, part n of m
|
||||
with its unit, stored as `jobs.progress_detail`, migration 0011, so a paused or failed job
|
||||
keeps where it stopped: amended 2026-11-15, owner review 5 R2), log tail, created by, node
|
||||
id, attempts, error, schedule id (the schedule that queued it; amended 2026-10-26, R10).
|
||||
- **Schedule** (amended 2026-10-26, R10) — id, system key (set, and unique, on a host's
|
||||
system schedules, §14.6), name, action (scan, verify, thumbnails, proxies, analysis,
|
||||
maintenance, backup, cleanup, duplicates, orphans), target (`current`: the host's
|
||||
@@ -440,7 +464,25 @@ applied at startup inside a transaction, recorded in `schema_migrations`. Dialec
|
||||
differences (types, `RETURNING`, upserts) are confined to SQL files and a small `SqlDialect`
|
||||
helper.
|
||||
|
||||
### 6.2 SQLite (client, and Windows standalone server)
|
||||
### 6.2 SQLite (client, and the library Chronos Desktop shares)
|
||||
|
||||
Homes (amended 2026-11-15, owner review 5 R3): the workspace holds `local\` (this PC's
|
||||
archive's projects) and `servers\<id>\` (each server's; `addr-` plus the first 16 hex of
|
||||
SHA-256 of the key for a server without an id, the 1.0 proxy cache's own folder name), each
|
||||
an ordinary store with its own trash, sync and a `server.json` record; its parent
|
||||
`workspace.json` is format 2 (`layout: "homes"`), so Chronos 1.0 refuses a sorted workspace
|
||||
instead of showing it empty (a downgrade is not supported). The cache holds
|
||||
`servers\<id>\{proxies,render-node,import}`; the cache trim keeps `servers\` whole. At the
|
||||
first start of 1.1, between opening the index and starting the job engine, the 1.0 workspace
|
||||
and cache are sorted into homes: a dry-run plan, then same-folder renames only, each checked
|
||||
by an inventory of relative names and sizes, under a journal in the data folder that resumes
|
||||
after a crash; a project in two places keeps the copy whose working state was saved last,
|
||||
the other going to its home's `.trash`; a cache clash stays in place; leased projects, an
|
||||
unreachable workspace and an unfinished workspace move wait for a later start while the
|
||||
cache part runs. Nothing is deleted. A toast reports *Folders sorted* (with *Open*),
|
||||
*Folders pending* or a failure (with *Logs*). The server's id is the app setting `server.id`
|
||||
(a Guid v7 made at first start) in its database, so a restore keeps it and a fresh database
|
||||
makes a new one.
|
||||
|
||||
- Binding: `Chronos.Core.Windows/Sqlite/WinSqlite3.cs` P/Invoke to `winsqlite3.dll`
|
||||
(`sqlite3_open_v2`, `prepare_v2`, `step`, `reset`, `finalize`, `bind_*`, `column_*`,
|
||||
@@ -1779,6 +1821,8 @@ admin panel offers the same (§14.8), through the same engine and job.
|
||||
- A running or paused conversion makes its sequences busy. The Library and Archive screens read
|
||||
the sequences again when it ends (a failed one converted the others); an editor open on a
|
||||
converted sequence reloads.
|
||||
- *Recent maintenance* is live (amended 2026-11-15, owner review 5 R2): a running entry
|
||||
takes the job's progress through a 500 ms throttle and shows its status line (§12.6).
|
||||
|
||||
### 12.6 Jobs
|
||||
|
||||
@@ -1819,8 +1863,18 @@ R10; a tab, not a rail entry, so a schedule and the jobs it queued are side by s
|
||||
their sequence in Edit. Cancelling a first copy removes the media it wrote, once it has
|
||||
stopped and only while no other copy of that project waits or runs; a paused copy keeps
|
||||
them and resumes.
|
||||
- What a job does now (amended 2026-11-15, owner review 5 R2): under its target each row
|
||||
has a muted status line, inside the 38 px row, built from the job's detail (§14.6):
|
||||
step, item, photo x of y, part n of m ("Verifying photo 812 of 2,400 · Harbour sunset ·
|
||||
sequence 3 of 41"); a paused or failed job says where it stopped ("Stopped at …"); a
|
||||
queued or finished job shows none. Its tooltip adds the speed and the time left. An
|
||||
unknown step shows its counts only, an unknown clean-up or maintenance sub-step the
|
||||
generic step word, never a raw key. The line is never a live region; only state changes
|
||||
are announced.
|
||||
|
||||
Global job bar mirrors the active job.
|
||||
Global job bar mirrors the active job. It shows the status line in at most 60 characters,
|
||||
the item dropped first, then cut with "…"; its tooltip is the whole bar text; the counter
|
||||
of a byte-counted job (verify, import) shows sizes (amended 2026-11-15, owner review 5 R2).
|
||||
|
||||
### 12.7 Server (client side)
|
||||
|
||||
@@ -1861,6 +1915,41 @@ its current chunk or file and resumes by itself afterwards: uploads, the sync's
|
||||
the workspace's copies from a server and its renders sent to one. Copies from and sends to
|
||||
this PC's archive never wait.
|
||||
|
||||
Server jobs (amended 2026-11-15, owner review 5 R2): while connected, a panel between the
|
||||
connection panel and the sync table lists the server's running and paused jobs (not the
|
||||
queued ones, which stay in the admin panel), live from the jobs API and its `jobProgress`
|
||||
and `jobState` events, with the same status line as §12.6 (the Jobs table's columns
|
||||
without Where, about 4 rows). Updates apply at most 4 times a second; a lost connection
|
||||
retries with a 2 s to 1 min backoff and lists again. Showing the list needs Read; *Pause*,
|
||||
*Resume* and *Cancel* are offered only to accounts with ManageArchive, otherwise the list
|
||||
is read-only. A refused action shows the server's own localized message. The panel is
|
||||
hidden while nothing runs or is paused.
|
||||
|
||||
This library (amended 2026-11-15, owner review 5 R4): the first panel of the section is this
|
||||
PC's library shared to the LAN (Settings › Server › *Share this library*, §12.8): the
|
||||
sharing state (*Restart* when it could not start; a port in use is named), the addresses
|
||||
with *Copy*, the ports, the certificate fingerprint with *Copy*, the first admin's temporary
|
||||
password while its file exists (masked, *Show*, *Copy*), the clients of the last 5 minutes
|
||||
and the render nodes online, and *Admin panel*; while sharing is off, one row and *Sharing
|
||||
settings*. Chronos Desktop refuses to connect to its own shared library (by fingerprint,
|
||||
before the trust question, or by server id) and drops its own beacon from the servers found
|
||||
on the LAN.
|
||||
|
||||
Separate homes (amended 2026-11-15, owner review 5 R3): each server is known by the stable
|
||||
id it announces (`ServerInfo.serverId`, §14.3), its addresses kept as aliases
|
||||
(`AppSettings.KnownServers`), so one server reached at several addresses, or by name and
|
||||
by IP, is one server: its projects stay Online and keep one set of links, projects and
|
||||
proxy cache. A known id seen with another certificate and another name raises a warning
|
||||
toast (a cloned database). At every sign-in with an id that has aliases, before the sync
|
||||
agent starts, its homes are re-keyed from the address to the id (skipped while workspace,
|
||||
download, upload or video-copy jobs are pending; the aliases match meanwhile). *Download
|
||||
originals* of a server's sequence goes to that server's own archive, beside this PC's one
|
||||
(`<parent>\<archive name> - <server>`, " (2)"… on a clash, named "<server> (server)"),
|
||||
made at the first download with a toast giving its path; a server without an id (1.0)
|
||||
keeps sending originals to this PC's archive; a sequence with a local copy keeps receiving
|
||||
originals into that copy's archive; copies already downloaded stay where they are. The
|
||||
originals archives are scanned after each finished scheduled scan of this PC's archive.
|
||||
|
||||
### 12.8 Settings
|
||||
|
||||
Sections (list on the left, controls on the right, no descriptions — tooltips only):
|
||||
@@ -1909,6 +1998,15 @@ R11), About last (§12.9). Each action has one place in Settings
|
||||
(amended 2026-10-26, R5).
|
||||
Import/export settings as JSON.
|
||||
|
||||
Owner review 5 (amended 2026-11-15): Workspace gains *Home folders* (R3): This PC and each
|
||||
server, with the folder path and *Open*. Server gains, above *Default server*, the
|
||||
*Sharing* rows (R4): *Share this library* (off by default), library name, HTTPS and HTTP
|
||||
ports (8443 and 8080, Docker's defaults), public ports and LAN announcement (on); Reset all
|
||||
turns sharing off, Export and Import carry it; and *Known servers* (R3): name, last address,
|
||||
short server id (the full id in the tooltip), *Signed in* or *Offline*, the originals folder
|
||||
and the server's cache share, each with *Open*. The settings Chronos Desktop owns are shown
|
||||
in the shared library's admin panel as "Set in Chronos Desktop".
|
||||
|
||||
### 12.9 About
|
||||
|
||||
The last page of Settings (§12.8), no longer an entry of the rail (amended 2026-10-26, R5):
|
||||
@@ -2094,6 +2192,19 @@ GET /api/v1/archive/trash · POST /archive/trash/{name}/restore · POST /arch
|
||||
GET /api/v1/i18n/{culture} strings for the web admin
|
||||
```
|
||||
|
||||
Owner review 5 (amended 2026-11-15), all additive in API v1, older peers ignoring them:
|
||||
- `server/info` sends `serverId` (R3), the server's stable id (§6.2); a client reads an
|
||||
answer with or without it.
|
||||
- `JobDto.detail`, `jobProgress.detail` and `NodeProgress.detail` (R2) carry what a job does
|
||||
now: `{step, item, itemDone, itemTotal, part, parts, partUnit}`, step and unit as
|
||||
kebab-case keys (appended only, stored and sent by name; an unknown one reads as none and
|
||||
its counts still show). Handlers never send wording: each client localizes the keys. A
|
||||
render node's detail is normalized on arrival; a report without one (an older node)
|
||||
clears it.
|
||||
- Every by-id endpoint (sequences, frames, renders, videos, job targets, bulk delete and
|
||||
retag, video delete and copy) answers 404 for an item of an archive the server does not
|
||||
serve (R4), and a client's render export folder is always ignored.
|
||||
|
||||
Library and trash (amended 2026-10-26, R6):
|
||||
- `frames/delete` needs the Delete permission and the sequence's owner or an admin, like
|
||||
deleting the sequence. It takes 1–100,000 ids, under a body limit of its own (100,000 × 48
|
||||
@@ -2536,6 +2647,23 @@ waits on a metered connection: uploads, downloads, workspace copies and renders
|
||||
|
||||
### 14.6 Job engine
|
||||
|
||||
Progress (amended 2026-11-15, owner review 5 R2): handlers report a detail with their
|
||||
progress (§5, §14.3: step, item, item x of y, part n of m), the overall done/total
|
||||
unchanged. The engine publishes at most one report per 500 ms per job
|
||||
(`JobEngineOptions.ProgressInterval`, on its `TimeProvider`), at once for the run's first
|
||||
report, a step change and a count that reaches its total; a dropped report is published by
|
||||
the persist that falls due. Progress is still persisted at most every 5 s and at each
|
||||
checkpoint. The server's events go through one 500 ms gate per job (`ProgressGate`, 50 ms of
|
||||
slack), shared by its own jobs and render nodes' reports. A new run of a job starts with no
|
||||
detail. Steps per kind: 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 (only when resuming with staged files) → Convert → Replace;
|
||||
Reorganize step n of m; import the file being copied; maintenance its sub-step keys, 1 of
|
||||
5; clean-up its step names; empty-trash entry n of m; render Analyse → Encode → Verify
|
||||
(frame counts only for the last output of a batch); upload, download, video copy and the
|
||||
workspace copy, send and move steps with their items. Duplicates, orphans and backup report
|
||||
no total while running, so the bar runs without a count.
|
||||
|
||||
Persistent queue in the DB; jobs run one at a time, and the parallelism (configurable,
|
||||
default = cores/2) is how many photos the running job processes at once; job kinds in §5;
|
||||
checkpoints every 5 s (progress + resumable cursor); crash-safe restart; priorities
|
||||
@@ -2702,7 +2830,12 @@ confirmed, its runs paged under it, each linking to its job; *New schedule* and
|
||||
side panel: name, action (those the server cannot run disabled, the reason in the
|
||||
tooltip), recurrence (interval, daily, weekly, monthly), the action's parameters, priority,
|
||||
catch-up, on; a field the server refuses is marked; the tab follows `scheduleChanged` and
|
||||
`jobState` events, so skipped runs and other administrators' edits appear at once) · Logs
|
||||
`jobState` events, so skipped runs and other administrators' edits appear at once; the
|
||||
target cell of a running or paused job, and the dashboard's active jobs, carry a muted
|
||||
status line from its detail (§14.6), cut at 90 characters, `dir="auto"`, its `title` the
|
||||
whole line with speed and time left, updated by `jobProgress`: amended 2026-11-15, owner
|
||||
review 5 R2; on a library Chronos Desktop shares, the settings the desktop owns read "Set in
|
||||
Chronos Desktop": owner review 5 R4) · Logs
|
||||
(tail, download; schedule changes and runs in words, a system schedule by its name in the
|
||||
panel's language) and, docked at the foot of the sidebar above the account, Settings
|
||||
(server name, ports, TLS mode + fingerprint, discovery, jobs: parallelism and priority
|
||||
@@ -2955,8 +3088,12 @@ copying is optional; amended 2026-11-05, owner review 1 R3/R8/R9), `HEALTHCHECK`
|
||||
`/health`, `linux/amd64` (the Dockerfile can also build `linux/arm64`, but releases publish amd64 only; amended 2026-11-06, phase 6). `docker-compose.yml` with a PostgreSQL 17 service
|
||||
(amended 2026-11-05, owner review 1 R3/R8/R9: and the videos folder, `${CHRONOS_VIDEOS:-./videos}`
|
||||
at `/videos` with `CHRONOS_VIDEOS_PATH=/videos`; remove both to turn copying off).
|
||||
Windows: `Chronos.Server.exe` runs as console or Windows Service (`sc create`), SQLite or
|
||||
PostgreSQL.
|
||||
Windows (amended 2026-11-15, owner review 5 R4): there is no separate Windows server
|
||||
program and no Windows service. `Chronos.Server` is a library; `Chronos.Server.Host` is
|
||||
the console program the Docker image runs (`/app/Chronos.Server.Host.dll`) and developers
|
||||
start with `dotnet run --project src/Chronos.Server.Host`. On Windows a library is served
|
||||
by Chronos Desktop, Settings › Server › *Share this library* (§12.7, §12.8), which hosts
|
||||
the same engine in-process over the desktop's own index and archive.
|
||||
|
||||
The deploy guide `docs/deploy/` (README, `docker.md`, `unraid.md`, `desktop.md`) documents
|
||||
every variable above with its default, the volumes, the ports and public ports, the TLS
|
||||
@@ -2978,6 +3115,13 @@ new files after they stop growing), run at startup, minimise to tray, per-sessio
|
||||
(auto-group / choose sequence / new sequence with title). P2: "make proxies here" toggle
|
||||
for HEIC/RAW so the server can render without a node.
|
||||
|
||||
Updates (amended 2026-11-15, owner review 5 R1): the settings panel has an *Updates* row
|
||||
(*Check on start*, *Check now*, the status: *Up to date*, *Version {0} available*, *Check
|
||||
failed*, then *Download* / *Cancel* / *Show setup*), as §18 describes. The start-up check
|
||||
is skipped when Chronos Desktop is installed in the same folder. The Uploader is installed
|
||||
by the one Chronos setup (§18), as a component; a 1.0 Uploader installed on its own is
|
||||
merged into it at the first update.
|
||||
|
||||
```
|
||||
│ Chronos Uploader ☁ https://nas.local:8443 · alberto · ● Connected [⚙] │
|
||||
│ ┌────────────────────────────────────────────────────────────────────────────────┐ │
|
||||
@@ -3039,19 +3183,44 @@ for HEIC/RAW so the server can render without a node.
|
||||
|
||||
- Builds: `dotnet publish -c Release -r win-x64 --self-contained -p:PublishSingleFile=true
|
||||
-p:PublishReadyToRun=true` for App, Uploader, Setup; server as framework-dependent
|
||||
Docker image and a self-contained Windows zip/installer. (No trimming: WPF does not
|
||||
Docker image only (amended 2026-11-15, owner review 5 R1/R4: no Windows server zip or
|
||||
installer; on Windows Chronos Desktop shares its library, §14.9). (No trimming: WPF does not
|
||||
support it.) The Windows programs are cross-compiled on the Linux runner
|
||||
(`EnableWindowsTargeting`), and `Chronos.Tools pe-check` stops a release whose executables
|
||||
lost the GUI subsystem, the icon, the version information or the PerMonitorV2 manifest
|
||||
(amended 2026-10-23, R3).
|
||||
- `Chronos.Setup` (in-house, WPF, ~one screen): choose components (Chronos, Uploader,
|
||||
Server for Windows), folder, shortcuts, file associations (`.chronos` project bundles),
|
||||
- `Chronos.Setup` (in-house, WPF, ~one screen): choose components (Chronos Desktop,
|
||||
Chronos Uploader), folder, shortcuts, file associations (`.chronos` project bundles),
|
||||
installs to `%LOCALAPPDATA%\Programs\Chronos` per user (no admin) or `Program Files`
|
||||
(elevated), registers Add/Remove Programs entry with uninstaller, silent mode
|
||||
(`/S /DIR=`), upgrade in place, keeps user data. Payload appended to the setup exe as a
|
||||
compressed archive (in-house format on `DeflateStream`) with a manifest and per-file
|
||||
hashes. If the human later permits a build-time tool, Inno Setup/MSIX are acceptable
|
||||
alternatives; default is in-house.
|
||||
- One setup (amended 2026-11-15, owner review 5 R1/R4): the one `Chronos-Setup-<ver>.exe`
|
||||
installs, updates, adds, removes and uninstalls both programs. The product stays
|
||||
"Chronos" (Add/Remove Programs key, folder, asset name), the component ids stay `Chronos`
|
||||
(shown "Chronos Desktop") and `Uploader`, and `/COMPONENTS=Desktop` is an alias of
|
||||
`Chronos`. A fresh install preselects only Chronos Desktop. Each component row shows its
|
||||
state ("Installed · size", the installed version); a *Changes* row is the dry-run plan of
|
||||
an update (programs added, removed, replaced, kept separate). With every component
|
||||
unticked on an installed copy the primary action is a destructive *Uninstall* in the same
|
||||
window (an all-users uninstall from an unelevated window runs an elevated `/uninstall /S`
|
||||
child). An explicit `/COMPONENTS` list is exact: a retained component it omits is
|
||||
removed; an unknown id that is not retained fails with exit 2. The install log is format
|
||||
2 (each program's files, shortcuts, version and SHA-256; a format-1 log is still read). A
|
||||
removed or obsolete file whose SHA-256 differs from the log, or cannot be read, is kept
|
||||
and counted ("N changed files kept"). An installed Chronos Server 1.0 is a *retained*
|
||||
component, "Chronos Server 1.0.0 · No longer offered": kept untouched until it is
|
||||
unticked or left out of an explicit `/COMPONENTS`, then removed with its Windows service;
|
||||
its data in `%ProgramData%\Chronos Server` is kept. A format-1 log gives the retained
|
||||
component every previous-only file and every shortcut the payload lacks, so nothing is
|
||||
deleted by guess. A separate 1.0 "Chronos Uploader" product is merged after the new
|
||||
install works: its Run value is retargeted (the StartupApproved state kept), then it is
|
||||
uninstalled and its shortcut handed over; it fixes the scope of the new install and
|
||||
preselects the Uploader; an all-users copy under a per-user install stays, and the
|
||||
*Changes* row says so. `pack-installer` refuses `Server` unless `--legacy` (the CI
|
||||
migration test only).
|
||||
- Code signing hook in the release workflow (Authenticode with `osslsigncode`, the Linux
|
||||
counterpart of `signtool`; amended 2026-10-23, R3) using secrets when present; unsigned
|
||||
builds are still produced.
|
||||
@@ -3065,8 +3234,16 @@ for HEIC/RAW so the server can render without a node.
|
||||
property `ChronosReleasesUrl` (default `https://gitea.encke-hake.ts.net/BalboSoft/Chronos`),
|
||||
which also gives the licence link (`<repository>/src/branch/main/EULA.md`), the issues
|
||||
link (`<repository>/issues`) and the Add/Remove Programs `URLInfoAbout`. (Amended
|
||||
2026-10-23, R2.)
|
||||
- Distribution: installers, zips and `SHA256SUMS` on the Gitea release of the releases
|
||||
2026-10-23, R2.) Chronos Uploader checks too (amended 2026-11-15, owner review 5 R1):
|
||||
Settings › Updates with *Check on start* (setting `CheckForUpdates`, on by default, so a
|
||||
1.0 `uploader.json` without it opts in), *Check now*, *Download* and *Show setup*, through
|
||||
the same `UpdateFlow`, feed and `Chronos-Setup-*` asset (a portable Uploader too: the
|
||||
portable zip holds no Uploader) verified against `SHA256SUMS` in `%TEMP%\Chronos\updates`; a newer release found at
|
||||
start shows an in-window toast with *Download*. The start-up check is skipped when
|
||||
`Chronos.exe` sits in the Uploader's folder (the desktop's notice covers the same setup);
|
||||
*Check now* is always offered. The update code lives in `Chronos.Core/Updates` and
|
||||
`Chronos.Ui/Updates`.
|
||||
- Distribution: the setup, the portable zip and `SHA256SUMS` on the Gitea release of the releases
|
||||
repository; Docker images in the Gitea container registry
|
||||
(`gitea.encke-hake.ts.net/balbosoft/chronos-server`); Unraid template in the repository
|
||||
(§19.6); who can reach them today: §19.4. (Amended 2026-10-23, R2.)
|
||||
@@ -3114,19 +3291,21 @@ container; the timings are printed at the end of the log.
|
||||
`obj/project.assets.json` lists no packages. The workflows use only shell (`run`) steps: no
|
||||
third-party actions at all (amended 2026-10-23, R3).
|
||||
|
||||
### 19.3 `release.yml` (tag `v*`, or manual re-publish of an existing tag; amended 2026-10-23, R3; amended 2026-10-26, R1)
|
||||
### 19.3 `release.yml` (tag `v*`, or manual re-publish of an existing tag; amended 2026-10-23, R3; amended 2026-10-26, R1; amended 2026-11-15, owner review 5 R1/R4)
|
||||
|
||||
Job `release`, in the SDK container: the version from the tag
|
||||
(`vMAJOR.MINOR.PATCH[-PRERELEASE]`, SemVer 2.0 as `release-channels` reads it, checked
|
||||
before anything is built) passed as `-p:ChronosVersion`, with
|
||||
`-p:ChronosReleasesUrl` (the releases repository's address, §18); build and the Linux
|
||||
tests; self-contained single-file win-x64 publish of App and Uploader (ReadyToRun), Server
|
||||
tests; self-contained single-file win-x64 publish of App and Uploader (ReadyToRun)
|
||||
and Setup (ReadyToRun), cross-compiled on Linux; `Chronos.Tools pe-check` (GUI subsystem,
|
||||
icon, version information, PerMonitorV2 manifest); Authenticode signing with
|
||||
`osslsigncode` when the secrets `SIGN_PFX_BASE64` and `SIGN_PASSWORD` exist; the
|
||||
installers `Chronos-Setup-<ver>.exe` (components Chronos, Uploader, Server) and
|
||||
`Chronos-Uploader-Setup-<ver>.exe`, `Chronos-Server-win-x64-<ver>.zip` and
|
||||
`Chronos-win-x64-portable-<ver>.zip` (with `portable.txt`); release notes
|
||||
`osslsigncode` when the secrets `SIGN_PFX_BASE64` and `SIGN_PASSWORD` exist; the one
|
||||
installer `Chronos-Setup-<ver>.exe` (components Chronos Desktop and Chronos Uploader) and
|
||||
`Chronos-win-x64-portable-<ver>.zip` (with `portable.txt`), nothing else: a "Check the
|
||||
release assets" step fails the release when an `*Uploader-Setup*` or `*Server-win*` file
|
||||
appears (amended 2026-11-15, owner review 5 R1/R4: the Uploader-only setup and the Windows
|
||||
server zip are no longer published; Chronos Server ships as the Docker image); release notes
|
||||
(`Chronos.Tools changelog` from Conventional Commits) and `SHA256SUMS`; the Gitea release
|
||||
made by `Chronos.Tools gitea-release` (a draft first, every file uploaded and its size
|
||||
verified, then published). Then `Chronos.Tools release-channels` decides what the tag moves
|
||||
@@ -3426,6 +3605,10 @@ questions asked and the answers; DECISIONS rows give the reasons.
|
||||
| 2026-11-06 | Owner review 4, R1 (work board) | §12.10, §14.8 | Every video made or published in one board, the published ones apart from the work in a workspace: a third Videos layout *Board* (kept as the cards/list choice is) on the desktop and on the admin panel's Videos page, two lanes *Published* and *Workspace*, newest first, each with its count and the list's filters; a sent workspace render is in both lanes, its ledger row marked *Sent*; cards start with the preset; sizes keep number and unit together (issue #29). |
|
||||
| 2026-11-06 | Owner review 4, R2 | §21 | Chronos sends nothing about its use: the usage counts consent is gone from the first run and from Settings › General (and its setting, an old settings file still loading), monetization counts no impressions; the diagnostics bundle is only saved locally. |
|
||||
| 2026-11-06 | Owner review 4, R3 (archive structure) | §7, §12.8, §14.8, §14.9 | The archive's root-level folder tree (`.chronos` with `locks`, `journal`, `staging`, `trash`, `trash/photos`, `trash/videos`) is created inside the chosen archive path when an archive is created, adopted or opened, on the desktop and on the server, in Docker and on Windows; existing folders and files are never touched; a create whose tree cannot be made fails with the reason, an open logs and shows it (the dashboard's *Archive incomplete*, `/health` archive "incomplete"); Settings › Archive folder creates the archive in a folder that has none (issue #31). |
|
||||
| 2026-11-15 | Owner review 5, R1 (one setup, #64) | §15, §18, §19.3 | One `Chronos-Setup-<ver>.exe` installs, updates, adds, removes and uninstalls Chronos Desktop and Chronos Uploader (Desktop preselected, `/COMPONENTS=Desktop` an alias of `Chronos`), with a *Changes* row as the dry-run plan and *Uninstall* when nothing is ticked; install log format 2 with per-file SHA-256, a changed file kept and counted; a 1.0 Chronos Server is retained as "no longer offered" until unticked; a separate 1.0 Uploader is merged; the release publishes only the setup, the portable zip and `SHA256SUMS`; the Uploader checks for updates (Settings › Updates, opt-out, skipped at start beside Chronos Desktop). |
|
||||
| 2026-11-15 | Owner review 5, R2 (mass-pass progress, #65) | §5, §12.5, §12.6, §12.7, §14.3, §14.6, §14.8 | Jobs report a detail (step, item, item x of y, part n of m; `jobs.progress_detail`, migration 0011; `detail` on `JobDto`, `jobProgress` and `NodeProgress`), published at most twice a second per job (engine and server gate 500 ms); the Jobs rows, the job bar (60 characters), Archive › Recent maintenance, the editor's server job line and the admin panel's Jobs and dashboard show it; the desktop's Server section lists the connected server's running and paused jobs live, with Pause, Resume and Cancel only for ManageArchive. |
|
||||
| 2026-11-15 | Owner review 5, R3 (separate homes, #66) | §4.4, §6.2, §12.7, §12.8, §14.3 | Each server has a stable id (`server.id`, `serverId` in `server/info`); the desktop keys servers by it with addresses as aliases; the workspace and the cache are split into `local\` and `servers\<id>\` homes (parent manifest format 2), sorted from the 1.0 layout at the first start by journaled, inventory-checked renames; a server's homes are re-keyed at sign-in; *Download originals* goes to the server's own archive beside this PC's; Settings gain Home folders and Known servers. |
|
||||
| 2026-11-15 | Owner review 5, R4 (desktop as LAN server, #67) | §4.4, §6.2, §12.7, §12.8, §14.3, §14.8, §14.9, §18, §19.3 | The separate Windows server program and its Windows service leave the product: `Chronos.Server` is a library, `Chronos.Server.Host` the Docker and development program; Chronos Desktop shares this PC's library on the LAN (Settings › Server › *Share this library*, Server › This library), hosting the same engine in-process over its own index and archive; by-id endpoints are scoped to the served archive; the desktop refuses its own share. |
|
||||
|
||||
## Appendix A — `CLAUDE.md` content (create verbatim in Phase 0, keep updated)
|
||||
|
||||
|
||||
Reference in new issue
Block a user