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

+2 -2
View File
@@ -31,14 +31,14 @@
}
},
{
// SQLite, as on any Windows server, with the data and the archive in out/debug/server instead of
// SQLite, as Chronos.Server.Host defaults to on Windows, with the data and the archive in out/debug/server instead of
// %ProgramData%\Chronos Server and C:\ChronosArchive. The first administrator's temporary password is in
// out/debug/server/data/initial-admin-password.txt.
"name": "Chronos Server",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build: Chronos Server",
"program": "${workspaceFolder}/src/Chronos.Server/bin/Debug/net10.0/Chronos.Server.exe",
"program": "${workspaceFolder}/src/Chronos.Server.Host/bin/Debug/net10.0/Chronos.Server.Host.exe",
"cwd": "${workspaceFolder}",
"env": {
"CHRONOS_DATA_PATH": "${workspaceFolder}\\out\\debug\\server\\data",
+2 -2
View File
@@ -69,12 +69,12 @@
},
{
"label": "build: Chronos Server",
"detail": "src/Chronos.Server, Debug",
"detail": "src/Chronos.Server.Host, Debug",
"type": "process",
"command": "dotnet",
"args": [
"build",
"${workspaceFolder}/src/Chronos.Server/Chronos.Server.csproj",
"${workspaceFolder}/src/Chronos.Server.Host/Chronos.Server.Host.csproj",
"-c",
"Debug",
"-tl:off",
+13 -12
View File
@@ -1,7 +1,7 @@
# Chronos (development repository)
Time-lapse ecosystem: **Chronos** (Windows desktop client), **Chronos Server** (Linux/Docker and Windows) and
**Chronos Uploader** (Windows), sharing one C#/.NET 10 engine with zero third-party packages. This repository is
Time-lapse ecosystem: **Chronos Desktop** (Windows desktop client, which can also share its library on the LAN),
**Chronos Server** (Linux/Docker) and **Chronos Uploader** (Windows), sharing one C#/.NET 10 engine with zero third-party packages. This repository is
`BalboSoft/Chronos` on the owner's Gitea (<https://gitea.encke-hake.ts.net/BalboSoft/Chronos>); users get the releases,
the server image and the Unraid template from it too (see [Visibility](#visibility)).
@@ -54,14 +54,15 @@ dotnet run --project src/Chronos.Tools -- fixtures
Run:
```sh
dotnet run --project src/Chronos.Server # admin panel https://localhost:8443/admin
dotnet run --project src/Chronos.Server.Host # admin panel https://localhost:8443/admin
src/Chronos.App/bin/Release/net10.0-windows/Chronos.exe [--capture <folder>]
src/Chronos.Uploader/bin/Release/net10.0-windows/Chronos.Uploader.exe
docker compose -f deploy/docker/docker-compose.yml up -d
```
The server reads `/data/server.json` (`CHRONOS_DATA_PATH`) and `CHRONOS_*` environment variables;
`Chronos.Server --help` lists them. On Linux it needs PostgreSQL; on Windows it defaults to SQLite.
`Chronos.Server.Host --help` lists them. On Linux it needs PostgreSQL; on Windows it defaults to SQLite (development
only: users on Windows share a library from Chronos Desktop, Settings › Server › *Share this library*).
### Debug in VS Code (Windows)
@@ -83,9 +84,9 @@ Open the repository folder with the C# extension (`.vscode/extensions.json` reco
- Quit an installed Chronos or Uploader first: a second copy hands over to it and ends. Debugging the Uploader points
an existing *Start with Windows* entry at the Debug build. Closing the Uploader's window keeps it in the tray (the
default): end its session with *Stop*.
- Stop the Docker stack or an installed Chronos Server before *Chronos Server*, which needs the same ports. The browser
warns about the server's self-signed certificate; sign in as `admin` with the temporary password in
`out/debug/server/data/initial-admin-password.txt`.
- Stop the Docker stack, a Chronos Server 1.0 or a Chronos that shares its library before *Chronos Server*, which
needs the same ports. The browser warns about the server's self-signed certificate; sign in as `admin` with the
temporary password in `out/debug/server/data/initial-admin-password.txt`.
- Chronos, the Uploader and Setup log to files (`%LOCALAPPDATA%\Chronos\logs`, `%TEMP%\Chronos Setup`); the server logs
to the Debug Console. Windows Firewall asks about Chronos, the Uploader and the server at their first start.
- VS Code passes the drive letter in lower case: the first build after one made with an upper-case drive letter
@@ -141,11 +142,11 @@ installed copy of either.
- validates the tag (SemVer 2.0 without build metadata: no leading zeros, no empty identifiers), builds with
`ChronosVersion` from the tag and `ChronosReleasesUrl` (the repository the release goes to), runs the package
guard, the i18n check and the Core, Data, Server and Tools tests;
- cross-compiles the self-contained single-file win-x64 programs (Chronos, Uploader and Setup with ReadyToRun;
Server), checks them with `Chronos.Tools pe-check` (GUI subsystem, icon, version, PerMonitorV2 manifest), signs
them with osslsigncode when the signing secrets exist, packs `Chronos-Setup-<v>.exe` (components Chronos,
Uploader, Server) and `Chronos-Uploader-Setup-<v>.exe` (`Chronos.Tools pack-installer`), signs the setups, zips
`Chronos-Server-win-x64-<v>.zip` and `Chronos-win-x64-portable-<v>.zip` (with `portable.txt`);
- cross-compiles the self-contained single-file win-x64 programs (Chronos, Uploader and Setup with ReadyToRun),
checks them with `Chronos.Tools pe-check` (GUI subsystem, icon, version, PerMonitorV2 manifest), signs them with
osslsigncode when the signing secrets exist, packs the one `Chronos-Setup-<v>.exe` (components Chronos Desktop and
Chronos Uploader; `Chronos.Tools pack-installer`), signs it, zips `Chronos-win-x64-portable-<v>.zip` (with
`portable.txt`) and fails if an Uploader-only setup or a Windows server zip appears;
- writes release notes from the Conventional Commits since the previous tag (`Chronos.Tools changelog`); a stable
tag starts from the previous stable tag, so its notes include what its release candidates brought;
- computes `SHA256SUMS` and publishes the Gitea release with `Chronos.Tools gitea-release`: a draft first, every
+24 -35
View File
@@ -12,9 +12,9 @@ for community review. Development happens elsewhere; please use the issues here
| Program | Runs on | What it does |
|---|---|---|
| **Chronos** | Windows 10 21H2+ / 11, x64 | Desktop client: card import with hash verification, archive, analysis advisor, sequence editor, rendering with GPU encoders (H.264, HEVC, AV1) |
| **Chronos Uploader** | Windows 10 21H2+ / 11, x64 | Small tray program that uploads photos, folders, cards and watch folders to a Chronos Server |
| **Chronos Server** | Docker (linux/amd64), Unraid, Windows | Shared archive, users, resumable uploads, sync, background jobs, render delegation to GPU-equipped PCs, web admin panel |
| **Chronos Desktop** | Windows 10 21H2+ / 11, x64 | Desktop client: card import with hash verification, archive, analysis advisor, sequence editor, rendering with GPU encoders (H.264, HEVC, AV1); can share its library on the local network |
| **Chronos Uploader** | Windows 10 21H2+ / 11, x64 | Small tray program that uploads photos, folders, cards and watch folders to a Chronos Server or a shared library |
| **Chronos Server** | Docker (linux/amd64), Unraid | Shared archive, users, resumable uploads, sync, background jobs, render delegation to GPU-equipped PCs, web admin panel |
| | |
|---|---|
@@ -31,27 +31,30 @@ for community review. Development happens elsewhere; please use the issues here
Extensions* and *HEVC Video Extensions*.
- **Hardware encoding:** any GPU whose driver provides Media Foundation encoders (NVIDIA, AMD, Intel). Without one,
Chronos encodes H.264 in software and its own formats (AVI, GIF, APNG, image sequences).
- **Server:** Docker 20.10+ (or Unraid 6.12+) and PostgreSQL 16 or 17; or Windows 10/11/Server 2019+ x64.
- **Server:** Docker 20.10+ (or Unraid 6.12+) and PostgreSQL 16 or 17. On Windows, Chronos Desktop shares its own
library instead (below).
## Install, upgrade, uninstall (Windows)
1. Download `Chronos-Setup-<version>.exe` (Chronos, Uploader and, optionally, Server) or
`Chronos-Uploader-Setup-<version>.exe` from the [latest release](https://gitea.encke-hake.ts.net/BalboSoft/Chronos/releases/latest).
1. Download `Chronos-Setup-<version>.exe`, the one setup for Chronos Desktop and Chronos Uploader, from the
[latest release](https://gitea.encke-hake.ts.net/BalboSoft/Chronos/releases/latest).
2. Check the download (optional, recommended): in PowerShell run
`Get-FileHash .\Chronos-Setup-<version>.exe -Algorithm SHA256` and compare the value with the line for that file
in `SHA256SUMS` of the same release.
3. Run the setup. It installs for the current user into `%LOCALAPPDATA%\Programs\Chronos` without administrator
rights; choose *All users* to install into `Program Files` (Windows asks for permission). The *Server* component
runs as a Windows service, so choosing it installs for all users, in a folder inside `Program Files`.
rights; choose *All users* to install into `Program Files` (Windows asks for permission). Tick Chronos Desktop,
Chronos Uploader or both; the *Changes* row lists what an update will do before it runs. Run it again later to add
or remove a program; with nothing ticked it uninstalls. A Chronos Uploader 1.0 installed on its own is replaced by
it, keeping its settings; a Chronos Server 1.0 for Windows is kept, marked *No longer offered*, until you untick it.
- **Upgrade:** Chronos checks this repository at start (you can turn this off in Settings › Updates) and shows a notice
when a new version exists. *Download* fetches the setup, verifies it against `SHA256SUMS` and shows it in Explorer;
- **Upgrade:** Chronos Desktop and Chronos Uploader check this repository at start (you can turn this off in
Settings › Updates) and show a notice when a new version exists. *Download* fetches the setup, verifies it against `SHA256SUMS` and shows it in Explorer;
run it to upgrade in place. Your archive, settings and index are kept.
- **Uninstall:** Windows Settings › Apps › Installed apps › Chronos › Uninstall. Your photos and archive are never
touched; the program data in `%LOCALAPPDATA%\Chronos` is removed only if you tick the option to do so, and only the
part no other installed Chronos program still uses. A Chronos Server service of that folder is stopped and removed.
part no other installed Chronos program still uses. A Chronos Server 1.0 service of that folder is stopped and removed.
- **Silent install** (IT deployment): `Chronos-Setup-<version>.exe /S [/DIR="D:\Apps\Chronos"] [/ALLUSERS]
[/COMPONENTS=Chronos,Uploader,Server] [/NODESKTOP] [/NOSTARTMENU] [/LANG=it]`. Silent uninstall:
[/COMPONENTS=Desktop,Uploader] [/NODESKTOP] [/NOSTARTMENU] [/LANG=it]`. Silent uninstall:
`"%LOCALAPPDATA%\Programs\Chronos\Uninstall Chronos.exe" /uninstall /S`.
- **Portable:** `Chronos-win-x64-portable-<version>.zip` keeps its data in a `data` folder next to `Chronos.exe`
(because of the `portable.txt` file). Do not unpack it into a OneDrive or Dropbox folder.
@@ -152,31 +155,17 @@ container's (8080 and 8443), not the ones clients use.
The template file is [`unraid/chronos.xml`](unraid/chronos.xml).
## Chronos Server on Windows
## Share a library from Chronos Desktop
Choose the *Server* component in the setup, or unpack `Chronos-Server-win-x64-<version>.zip`. It uses SQLite in
`C:\ProgramData\Chronos Server` by default, or PostgreSQL with `CHRONOS_DB=postgres` and the `CHRONOS_DB_*` variables.
The data folder is readable only by the server's account, SYSTEM and Administrators; without `CHRONOS_ADMIN_PASSWORD`
the first start writes a temporary admin password to `initial-admin-password.txt` there (open it from an
administrator prompt). Everything in it must belong to those accounts and nothing in it may be a link: otherwise the
server does not start and names the file to check (in the console, or for the service in Event Viewer › Windows Logs ›
Application, source `ChronosServer`). A new archive folder (default `C:\ChronosArchive`) can be changed only by those
accounts and read by other users; when other users can change an existing archive, the log says so.
There is no separate Chronos Server for Windows any more. In Chronos Desktop turn on Settings › Server › *Share this
library*: while Chronos runs it serves this PC's archive to other PCs, Chronos Uploader and render nodes with the same
engine as the Docker image, on HTTPS 8443 and HTTP 8080 by default. Server › This library shows the addresses and the
certificate fingerprint to give to clients (each with *Copy*), the first admin's temporary password, the clients
connected and *Admin panel*. Allow Chronos through the Windows firewall on private networks when Windows asks.
Run `Chronos.Server.exe` in a console, or install it as a Windows service from an administrator prompt with
`Chronos.Server.exe --install-service` (remove it with `--uninstall-service`). The service runs as LocalSystem, so it
registers only from a copy inside `Program Files` that only administrators can change: install for *All users*, or
unpack the zip into a folder under `Program Files`. A console run that was not elevated creates the data folder as the
account that ran it, and the service then refuses the folder and names that account (`… belongs to PC\name …`).
Either delete the folder (with SQLite this also deletes the server's database and its accounts), or give the folder
and everything in it to Administrators and take that account's access to it away, from a Command Prompt run as
administrator: `takeown /F "C:\ProgramData\Chronos Server" /A /R`, then
`icacls "C:\ProgramData\Chronos Server" /remove:g "PC\name" /T`, with the account the refusal names in place of
`PC\name` (`dir /q C:\ProgramData` also shows it, as the folder's owner, until `takeown` runs). When you ran the
console yourself and the prompt runs as you, that account is `"%USERDOMAIN%\%USERNAME%"`. Then start the service. No
other account gains access at any step, and afterwards only SYSTEM and Administrators have it, to the TLS key and
`initial-admin-password.txt` too. Do not reset the folder's permissions (`icacls /reset`): everything in it would then
inherit those of `C:\ProgramData`, which let every user read it.
Moving from Chronos Server 1.0 for Windows: share the same archive folder from Chronos Desktop, or run the Docker image
with it; then untick Chronos Server in the setup, which removes it and its service. Its data in
`C:\ProgramData\Chronos Server` is kept.
## Translations
+28 -20
View File
@@ -11,7 +11,8 @@ Companion to `docs/BRIEF.md` (scope, behaviour) and `docs/ui/DESIGN.md` (looks).
| `src/Chronos.Core.Windows` | net10.0-windows | WIC decoders and codec inventory, Media Foundation encoders, DXGI adapters, removable devices and volume free space, DPAPI, shell launcher, window chrome, power (P/Invoke/COM only) |
| `src/Chronos.Data` | net10.0 | `IDatabase`, SQLite binding, PostgreSQL wire client, migrations, repositories, the job engine, the archive engine (`Archiving`), the analysis/render engine (`Processing`) and the client sync engine (`Sync`) |
| `src/Chronos.Protocol` | net10.0 | API v1 DTOs, source-generated JSON context, typed `ChronosClient` with certificate pinning and bandwidth limiting, `ChronosAddress` (how both clients read a typed server address) |
| `src/Chronos.Server` | net10.0 (Web SDK) | ASP.NET Core minimal API, auth, uploads, sync, jobs, render nodes, events, embedded admin panel, Windows service host |
| `src/Chronos.Server` | net10.0 (Web SDK, `OutputType` Library) | ASP.NET Core minimal API, auth, uploads, sync, jobs, render nodes, events, embedded admin panel; hosted by `Chronos.Server.Host` or in-process by Chronos Desktop (owner review 5, #67); no Windows service host |
| `src/Chronos.Server.Host` | net10.0 exe | The console program of the server (`Program.cs`): the Docker image runs `Chronos.Server.Host.dll`, developers `dotnet run --project src/Chronos.Server.Host` |
| `src/Chronos.Ui` | net10.0-windows (WPF) | Theme (DESIGN tokens), icons, standard and custom controls, visuals (charts, filmstrip, preview, curve editor, virtualizing grid), `Loc` markup extension, MVVM helpers, notification-area icon |
| `src/Chronos.App` | WPF exe `Chronos.exe` | Desktop client |
| `src/Chronos.Uploader` | WPF exe | Uploader (tray, watch folders, resumable queue) |
@@ -20,7 +21,8 @@ Companion to `docs/BRIEF.md` (scope, behaviour) and `docs/ui/DESIGN.md` (looks).
| `tests/Chronos.Testing` | net10.0 | In-house test framework (`[Test]`, `[Theory]`+`[Case]`, `[Category]`, `[RequiresEnvironment]`, `[WindowsOnly]`, `[Serial]`, `Assert`, `TestContext`, JUnit) |
| `tests/Chronos.*.Tests` | exe | One test program per area; `dotnet run --project tests/X -- --junit out.xml` |
Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `Server`; `Ui` ← `App`, `Uploader`, `Setup`.
Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `Server` ← `Server.Host`, `App` (the App also takes the
`Microsoft.AspNetCore.App` shared framework to share its library, owner review 5); `Ui` ← `App`, `Uploader`, `Setup`.
`Core`, `Data`, `Protocol` and `Server` never reference Windows-only code (Linux CI builds and tests them).
## 2. Module map
@@ -44,10 +46,11 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
| `Import` | Card scan, session detection, import plan (photos named through `FrameNaming` with the camera and lens of their session's first photo), hash-verified copy, card eraser (re-hash before delete) |
| `Conversion` | Mass conversion after import (owner review 2, R7): `ConvertOptions` (target JPEG 4:4:4 / TIFF-16 / linear DNG, the archival one, `ConvertMode` Replace or New sequence, JPEG quality and the quality that counts, the converted name: the archive's file template with the frame's `FrameNaming` context in its sequence, as filing names it, `{ext}` the target's), `FrameConverter` (`Decoders`: the conversion's chain, the managed provider first with its header probes, WIC after it, no RAW at 8 bits for a 16-bit target; native-tier decode only; `Treatment`: what Chronos reads never changes, so the colour space is carried (code values), described by a profile made for the values written (`Describe`: float values as sRGB codes, a gray curve as RGB) or refused (a DNG takes sRGB's values only); pixels that are not numbers fail as damaged; in-house encoders, Exif from the sidecar and the original via `ExifWriter`, hashed as made, written atomically, verified: read back, metadata again, decoded by the server's decoders; `ConversionException` and its `ConversionFailure`, `FailureText`: the job log's sentence by cause), `ConvertPlanner` (per sequence the frames converted and skipped with `ConvertSkip`, each file probed with the conversion's decoders whatever tier was recorded, 8 at a time; `TooLarge`: what the target holds and the server's decoders read back, without overflow; a frame another host flagged undecodable asked again where other decoders (WIC) read it; size estimates per pixel; `ConvertSequencePlan.Digest`, the photos converted with their content; `ConvertPlan` with its space and fingerprint) |
| `Naming` | Folder/file templates and tokens (folder levels scans skip escaped with `_`; `ExpandText` for titles; `ExpandFile` shortens a long file name before its `.{ext}`); `FrameNaming` (the naming context and unique file name of a frame, shared by import, upload, Reorganize and conversion: the sequence's camera and lens, the first frame for folders; `UniqueNames`: `_2`, `_3`… in linear time); `TemplateRules` (what every place a template is typed or sent refuses, the archive engine's new or changed templates included: a folder scans skip, a lost extension, names that repeat) |
| `Model` | Domain entities and enums (§5) shared by Data, Server and clients (`SequenceProject`, `ProjectVersion` and `ProjectVersionKinds`: owner review 2, R8; `Render.Sha256` and `Kind`, `RenderKind` with `Of` reading a kindless still from its codec, fps and duration, `RenderCopy`, `JobKind.VideoCopy = 24`: owner review 1, R9) |
| `Model` | Domain entities and enums (§5) shared by Data, Server and clients (`SequenceProject`, `ProjectVersion` and `ProjectVersionKinds`: owner review 2, R8; `Render.Sha256` and `Kind`, `RenderKind` with `Of` reading a kindless still from its codec, fps and duration, `RenderCopy`, `JobKind.VideoCopy = 24`: owner review 1, R9); `JobDetail` with `JobStep` and `JobPartUnit` (owner review 5, #65: append-only, stored by kebab name; the item cut to 160 characters, never inside a surrogate pair) and `Job.Detail` |
| `Packaging` | TPK1 installer payload writer/reader, staged install transaction |
| `Diagnostics` | `Log` (never throws: a line its sink cannot write is dropped), `FileLogSink` with `LogFileOptions` (level, daily or hourly files, numbered parts past a size, pruning by age and by the total size, never the file being written), synthetic sequences, `SecretScrubber`, `DiagnosticsArchive` (scrubbed diagnostics zip) |
| `Localization`, `IO`, `Hashing`, `Branding` | `Loc`/plural rules, `AtomicFile`, `StartupCommand` (sign-in entries of the programs, moved or removed by setup), CRC-32/SHA helpers, brand mark geometry |
| `Localization`, `IO`, `Hashing`, `Branding` | `Loc`/plural rules, `AtomicFile`, `StartupCommand` (sign-in entries of the programs, moved or removed by setup), CRC-32/SHA helpers, brand mark geometry; `IO/HomeFolders` (owner review 5, #66: home folder names `local`, `servers/<idN>`, `servers/addr-<sha16>`, `IdKey`, `AddressHash`, `SafeName`, `OriginalsArchiveRoot`) |
| `Updates` | Owner review 5, #64: `UpdateCheck` (the releases feed), `UpdateDownload` (the `Chronos-Setup-*` asset, or the portable zip, verified against `SHA256SUMS`), `ProductLinks` (`ChronosReleasesUrl`); BCL only, tested on Linux |
### 2.2 Chronos.Data
@@ -56,15 +59,16 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
| `Sqlite`, `Postgres` | SQLite P/Invoke binding (winsqlite3 / libsqlite3), in-house PostgreSQL wire protocol v3 client with pool and LISTEN |
| `Migrations/{sqlite,postgres}/NNNN_name.sql` | Embedded, applied in one transaction at open (`MigrationRunner`) |
| `Repositories` | `ChronosDatabase` facade: archives, sequences, frames, tags, renders, jobs, cards, users, tokens, uploads, render nodes, settings, audit, schedules (`ScheduleRepository`: system rows seeded without overwriting edits and never deleted, the compare-and-set claim of a run), tombstones of removed photos (`FrameRemovalRepository`, `frame_removals`, written from the sidecar's `removed` list), `SequenceRepository.GetStampAsync` (a digest of what a Reorganize plans from in the index) and `GetConvertStampAsync` (with what a conversion plans from: its photos' count, sizes, formats, pixel sizes and the flags that decide), `JobRepository.ListPendingTargetsAsync` (the targets of pending jobs of a kind, also of those created before a time), `RenderRepository.RebaseFolderAsync` (the export paths that follow a moved folder), `ListPageAsync` (the videos library's keyset pages, filters and orders; a kindless still recognised in SQL by its image codec, fps 0 and duration 0) and `SetSha256Async` (a lazy hash); `RenderCopyRepository` (`render_copies`, migration 0010: the verified copies in a videos folder, no foreign key to `renders`); projects and their versions (`ProjectRepository`, `projects`, `project_versions`: rows derived from the projects' sidecars, a head advanced by compare-and-set, Main's last mirror); `JobRepository.ListPendingAsync` (the queued, running and paused jobs of a kind and target, full rows); `FrameRepository.CountNamedAsync` (hashed frames and a checksum of their hashes, for a home's frames stamp); `DatabaseBackups` (`VACUUM INTO` copies of an SQLite index into `backups` next to it, every copy keeping as many as the backup schedules keep (`KeptAsync`), the newest copy that seeds the `index-backup` schedule (`Newest`, `SystemSchedule.LastDone`), restore staged for the next start and carried out before the index opens, so it also recovers one that no longer opens) |
| `Jobs` | `JobEngine` (one job at a time; reviews the priority queue and makes a lower running job yield, requeued with its checkpoint; no history purge, the housekeeping schedule's clean-up does it), `JobPriorityQueue` (a level per job kind, the claim order, settings round trip), `IJobHandler`, `IJobHandlerProvider`, `JobContext` (progress, checkpoints, follow-up jobs that never interrupt their parent), `JobThroughput`/`JobEta` (rate and bounded time left), `ICancelledJobHandler` (a handler's clean-up after a cancel: `JobEngine.CancelAsync` calls it for a paused or failed job no handler runs, and waits first for a paused job's run that has not ended) |
| `Jobs` | `JobEngine` (one job at a time; reviews the priority queue and makes a lower running job yield, requeued with its checkpoint; no history purge, the housekeeping schedule's clean-up does it), `JobPriorityQueue` (a level per job kind, the claim order, settings round trip), `IJobHandler`, `IJobHandlerProvider`, `JobContext` (progress, checkpoints, follow-up jobs that never interrupt their parent), `JobThroughput`/`JobEta` (rate and bounded time left), `ICancelledJobHandler` (a handler's clean-up after a cancel: `JobEngine.CancelAsync` calls it for a paused or failed job no handler runs, and waits first for a paused job's run that has not ended). Owner review 5, #65: `JobContext.ReportAsync(done, total, JobDetail)`, `CheckpointAsync(…, detail)` and `ReportItemAsync` (item counts of the current detail with no allocation); publishing throttled to one report per `JobEngineOptions.ProgressInterval` (500 ms) per job with bypass for the first report, a step change and a completed count; `JobWire` maps the detail (`DetailJson`, `ParseDetailJson` never throws); `jobs.progress_detail` (migration 0011) |
| `Scheduling` | `Scheduler` (one per host: seeds the host's system schedules, claims due runs by compare-and-set, catch-up, clock changes, create/edit/reset/delete/run now as API v1 DTOs), `ScheduleRecurrence` (the in-house `every:`/`daily:`/`weekly:`/`monthly:` form, wall-clock times across DST), `ScheduleActions` (action names, parameters, availability, the archive jobs a run queues), `IScheduleHost` and `SystemSchedule` (what the server and the desktop supply), `ScheduleOutcome`, `ScheduleMapping` (model ↔ DTO) |
| `Housekeeping` | `BackupJobHandler`, `CleanupJobHandler`, `ICleanupStep` with the shared steps (`CleanupSteps`: job history, audit log, trash report that never deletes); hosts add their own steps through `ArchiveServiceOptions.CleanupSteps` |
| `Archiving` | `ArchiveService` (create/adopt/open, archive settings written to `archive.json` then the index, `ArchiveSettings.CheckTemplates` and `TemplateRuleException` holding a template given anew to the template rules; `UnderLeaseAsync`: a write under a sequence's lease with its row read under it; `EditSettingsAsync`: settings an index edit writes, written to `project.json` under the lease first and put back when the index does not take them), `ArchiveIndexer` (scan, rebuild; a sequence found in another folder takes its exports' paths along; a full scan or a rebuild takes the projects' sidecars back too), `ArchiveIngest` (uploads and imports, named through `FrameNaming`; content a conversion replaced is a duplicate of the frame holding its conversion; a restore or a replacement not settled yet refuses the batch), `ImportService`, `ArchiveVerifier`, `ArchiveImages` (thumbnail and proxy passes, several photos at once through `OrderedWork`, which hands results back in frame order), `FrameTiers` (decode tier, `PreviewOnly`/`Undecodable` flags and preview size of frames, written to sidecar and index by the light analysis, deep analysis, renders and image passes), `GprCompanions` (the JPEG of each GoPro GPR, found in the index when an import kept it in another sequence), `ArchiveMaintenance` (also a conversion job's staging and journals, by the job's state; those of a job this index does not know go together, by age), `MassRenamer` (mass rename and Reorganize: the dry run reads each sidecar for a file template; each step checked under its leases before anything of it moves (where its sequences are, what is inside and at its new folder, a sidecar of a newer format, the title it was planned from when it changes it or names the folder or files after it), then the folder, with the sequences of the plan an earlier step left as they were inside it (taken along, their title and file names kept), every index row (the frame paths and render paths of the exports inside it, a file or an image-sequence folder, its own unless the export is still at the old place and another sequence's when it moved with it, follow it in one transaction; a sidecar that cannot be read or written then still has its row follow, and fails the step), then the files under the plan's journal in `journal/` (a sequence whose photos changed since, such as one still receiving them, or whose files are found changed or in use or have their new names taken keeps its file names, the renames being pinned by digest, and the step and the plan go on); the journal keeps the tally of the whole plan, and a plan its job held (paused, cancelled or failed) is left to that job, only its half-done file renames completed at an archive open, which completes any other plan an interruption left and tells each sequence changed; the file renames of a step: sidecar, a sequence whose sidecar cannot be read staying as it is with every folder around it, index (`FrameRepository.RenameFilesAsync`) and the sequence's journal), `SequenceFolders` (`Holds`: the folder the index has for a sequence is there and its sidecar names no other sequence; every writer into a sequence's folder asks it), `SequenceTrash` (delete into the archive's hidden trash with a dry run, restore; the folder moves back when the index step fails; lists sequence and photo entries; `SequenceTrash.Empty`: the emptying's dry run, fingerprint and erase, each entry checked against its fingerprint again under its lease, `TrashKept` with its `TrashKeptReason` for each entry kept; `SequenceTrash.Replaced`: where a replaced entry's conversions are, read from the archive's sidecars (in the index's or the entry's folder, in the trash, else by one `SidecarWalk` of the archive per dry run or emptying) through their replaced tombstones, a conversion deleted only on the archive's word (a tombstone, the trash, or an `ErasureRecord` in `trash/.erased/`, written when an emptying erases a deleted sequence a replaced entry still needs), `TrashEntry.ConversionDeleted` in the dry run and its fingerprint, the erase weighed under the entry's and the sequence's leases once the sequence is settled; `BusyAsync`: what running and paused jobs hold, but the job asking, from `JobRepository.ListHoldsAsync`), `FrameTrash` (photos of a sequence into `trash/photos` with a dry run, a journal that undoes an interrupted deletion whose entry stays unlisted until its sidecar is written, tombstones (a photo never hashed is hashed as it goes; one whose original is missing goes without a file or tombstone; a frame that stays and may be a twin is hashed, its hash kept), positions parked and placed back, proxies and thumbnails moved to follow their frames; `FrameTrash.Restore`: restore re-hashes each file and says why each kept photo stayed (`KeptReason`), under a journal of its own into the sequence that another writer settles only under the entry's lease, into a new sequence through the ingest when theirs is gone, each original staged inside its oLine truncated
| `Processing` | `ProcessingService`, `SequenceAnalyser`, `DeepReports` (a saved deep report while it still describes the frames), `SequenceRender`, `ProjectStore` (a newer format refused as `Errors.Render.NewerSettings`), `ProjectBundles` (a `.chronos` file for a sequence, and the sequence a file names), `ProcessingJobs` (`Routed`: a render job sized from its resolved preset box through `RenderSize` and given its `RequiredSettingsFormat`, read from the job's own export and never below the stored settings' format; `RequiredFormat` over a batch's presets, used by the desktop's gates; `BatchExport` carrying the playback; `Still`: a still job, `StillFrame` and `StillPhoto`, format 3), `RenderNodeClient` (registers the node's settings format), job handlers (`RenderJobHandler` hashes each single-file output and records its kind, stills included) |
| `Videos` | Owner review 1, R9: `IVideoLibrary` (`ArchiveService.Videos`; the server's and the desktop's one library: list and get as `VideoItem` with state and copies, `PlanDeleteAsync` and `DeleteAsync` by fingerprint, `RestoreAsync` by trash entry, `CopiesAsync`, `CopyJob`, `FolderProblem`; `VideoQuery`, `VideoErrors` and `VideoLibraryException`, `VideoTrashNames`), `VideoLibrary` (`ProtectedFolders`: the host's folders a videos folder may not be in, the workspace on the desktop, the data folder on the server; `RecoverAsync` at open), `VideoTrash` (`.chronos/trash/videos/`: delete under the sequence's lease with a `.pending` record journal, a rename or a verified cross-volume copy, the row removed and `rendered_count` recounted, `.leftover` markers for a source a copy could not remove; restore after a re-hash under a free name, same render id; entries listed through `SequenceTrash` as `TrashKind.Videos`, titled by their sequence), `VideoCopyJobHandler` (`video-copy`, 24: free space for every render first, `.incoming-<id>.part`, hash, rename without overwrite, `render_copies`; a server's render downloaded on the desktop; checkpoint `done:<n>`), `VideosFolder` (validation, free space, " (2)" collision names, part-file names) |
| `Projects` | `ProjectService` (`ArchiveService.Projects`: the projects of this PC's sequences as a home, under the sequence's lease and only in a folder that holds the sequence (`SequenceFolders.Holds`; otherwise `SequenceFolderMovedException`: reads answer from the index, writes are refused); reads wait 3 s for the lease, then answer from the index; a read-only archive is read without writing (an index-only Main written back once it takes writes): list, create, rename, delete (the folder into `projects/.trash` first, then the deleted record; never Main), history, head (NotFound once deleted), `StoredAsync` (a version file read back and checked), push with fast-forward / idempotent repeat / divergence / hash, portability, strict format and 64 MiB checks; each call first catches up: the sidecars into the index, Main made from the sequence's settings, settings another path wrote appended to Main as an `external` version or, with a push whose mirror was cut short, merged into one `merge` version where they win, a mirror never written over `project.json` settings it has not taken in (`MovedSharedAsync`), records behind the index healed (`HealAsync`, `UpdatedAfter`), projects the archive lost written back (`WriteBackAsync`); a push to Main mirrored into `project.json` and the settings with the settings version check), `ProjectIndexer` (the reconcile, also run by full scans and rebuilds: the projects' trash read before the live folders, so a deletion wins and the live folder's late version files move beside it; a record that cannot be read held back, never taken for a deletion; a lost record written again from the index only once its folder settled (`RecordSettle`, 2 minutes) and no trash folder holds it back (`TrashRecordGrace`, 1 day); a creation cut before its record left as it is; a version file a push left past its record adopted, a stray one moved to `versions/.stray`; `BehindAsync`, one rule for a record behind the index; `SettleMainAsync` and `SwapMainAsync`, one Main from the records, passed in one transaction), `ProjectSidecars` (record and immutable version files, the settings as a JSON string checked against their hash, `MaxVersionBytes` 64 MiB refused before writing), `ProjectMerge` (three-way merge member by member, pending frames merged photo by photo, conflicts, `Replay` of local commits on a moved head; `NewerSettingsException` rather than merge a newer format; `OneFraming`: a turn or mirror on one side and a framing edit on the other are one conflict at the orientation member), `IProjectHome` and `ArchiveProjectHome` (the home a workspace pushes to and pulls from: `HoldsAsync` reads a version back, `FramesStampAsync` says when the frames changed, an offline archive or busy lease is `HomeUnavailableException`), `ServerProjectHome` (phase 5b: a server sequence's `/projects` over `ChronosClient`; a server out of reach, an expired sign-in, a 503 lease, offline archive or `projects_unreadable`, a 409 `folder_in_use` and a server without the projects are `HomeUnavailableException`, a 404 `sequence`/`project`/`version` and a refused name `ProjectException` (a deleted project's head is 404 `project`), a 422 `too_large` the `TooLarge` outcome, other refusals keep their `ChronosApiException`; `HoldsAsync` reads the version back (`?stored=true`), `FramesStampAsync` from `…/frames/stamp`, version pages read on past a page the server ended early, a 413 the `TooLarge` outcome; its sequences name an archive id made from the server's key), `HomePhotos` (a sequence's photos as positions name them, with the encodings its Replaced tombstones join; the server's frames endpoint and render nodes build the same), what each call changed (`ProjectChangeSet` to `ArchiveServiceOptions.ProjectsChanged`, once the lease is let go: projects made, renamed, deleted or with a new head, compared before and after under the lease, and whether Main's head was written into the sequence's settings), `CatchUpAsync` (the catch-up alone, saying why it cannot run), `ProjectWire` (projects, versions, push outcomes and a home's frames to and from API v1 DTOs, for the server and a client of it) |
| `Workspaces` | `WorkspaceStore` (a folder outside the library: `workspace.json` written atomically, one folder per project, no index; a leftover folder holding only stale lease files removed on listing), `WorkspaceProject` (`project.chronos` working state, `media/` with `media.json`, `proxies/<frame id>.jpg` (and `<frame id>-<sha16>.jpg` while a copy replaces one) and `analysis.json`, `versions/` with `.replaced` (versions set aside, pruned by age and count) and `.replaced.since`, `sync.json` for a conflict, a restore or the journal of a replay or a Save both, `exports/`, the lease `.lock.lease`; `UnreadableVersions`), `WorkspaceMedia` (`NamedAsAt`: the media learn the home's hashes and aliases), `WorkspaceSync` (checkout, open under the lease, save, commit, push, pull with replay and merge, the base in `project.chronos` as every write's commit point, `SettleAsync` finishing or undoing a cut push, replay or Save both, conflicts settled by keep mine, take server or save both only as shown, restore, status with Gone, Damaged and `MediaOutdated`, the home's frames read again only when their stamp moved; `FollowNameAsync`: the home's name and Main written into the copy at every pull and at a server's `renamed`), `WorkspaceCopyJobHandler` (`WorkspaceJobs.Copy` and `CopyFactsAsync`, registered by the desktop only: the archive only read, from a folder that holds the sequence; a workspace inside a library refused; the archive's current proxies copied, the others made in the workspace, each hash-verified, resumable from a checkpoint of its frames version and folder, free space checked against its estimate plus 512 MiB; the encodings conversions joined kept in `media.json`; the working state's positions moved by frame where frames stay, by photo where they came or went; a cancelled first copy's media cleared under the project's lease only when no other copy of the project waits or runs, through `ICancelledJobHandler` too; a project whose home is a server, `WorkspaceJobs.CopyFromServer`, phase 5b: downloaded through the desktop's session (`ISyncConnector`), never through this PC's archive, the frames of one frames version with the aliases of the server's conversions, each proxy (else the thumbnail standing in, `WorkspaceFrame.FileKind`) hashed as it arrives and checked on the disk, four at a time, the editor's current file never overwritten, resumable from the same checkpoint, a `<file>.thumb` marker beside a thumbnail standing in until the commit, free space checked against the server's proxy sizes); phase 5c: `WorkspaceProject` gains `media/originals/<frame id>-<sha8><ext>` (`OriginalName`), the ledger `exports/renders.json` (`WorkspaceRenders`, `WorkspaceRenderEntry`; `ContainedExportFile` keeps every ledger path inside `exports/`), `media.json` format 2 while it holds originals or was cleaned (`WorkspaceMedia.Cleaned`) and the project file format 3 while its media are Originals; `WorkspaceOriginals` (Proxies only's plan and apply, and `ClearOriginals`: every file of `media/originals` hashed and deleted only when the home's frames hold its SHA-256, the rest moved to the trash), `WorkspaceTrash` and `WorkspaceTrashBuilder` (`<workspace>/.trash`: entries `<project id>-<ticks>` filled under `.incoming-<id>-<ticks>` and renamed when whole, listed with a fingerprint of every file's path, size and time, emptied only by a plan that still matches), `WorkspaceCleaner` (the clean-up of media of projects in step with their home: Clean after, Size limit, the reasons a project is kept in `WorkspaceKeep`, `UnsentRenders`), `WorkspaceMover` (survey, plan fingerprint, the journal `<from>/.move.json` with stages Moving and Switched, rename on one volume or copy and hash-verify across volumes, resume, abandon, clear after the switch), `WorkspaceJobRoots` (internal, in `WorkspaceJobs.cs`: the folder a copy, render or send works in, the one that holds its project now, refused while a move has not switched) and the job parameters `WorkspaceRenderParameters`, `WorkspaceSendParameters`, `WorkspaceMoveParameters` in `WorkspaceJson` |
| `Sync` | `SyncService` (sync table of one server: compare, link by content through the aliases, settle conflicts, enqueue transfers), `SyncRules` (status, settings merge and differences, the proxies this PC can send, aliases followed; no I/O), `SyncTombstones` (photos either side removed are not offered back; the replaced tombstones of both sides join the encodings of one photo, union-find, each compared as the smallest SHA-256 among them, a deletion covering them all; immutable once made), `SyncPositions` (the settings' frame positions translated by photo to the frames of the copy they go to), `SyncLinkStore` (`sync_links`, `sync_state`), `SyncTransfers` and `SyncJobHandler` (resumable, hash-verified uploads and downloads as jobs; downloads commit through the archive ingest, and a frame missing here whose photo the server holds in another encoding takes that file through `FrameTrash.ReplaceMissingAsync`; job log lines from the catalog), `SyncAgent` (background comparison, server events, backoff, offline proxies; a server's `projectChanged` passed on as `ProjectChanged`, and null after a lost event stream once the stream is open again and a comparison made after that reached the server: `ISyncRemote.EventsAsync(connected, ct)`), `ProxyCache` and `RemoteSequence` (server sequences opened with proxies), `ISyncRemote` (the server calls; `ChronosSyncRemote` over `ChronosClient`) |
| `Workspaces` | `WorkspaceStore` (a folder outside the library: `workspace.json` written atomically, one folder per project, no index; a leftover folder holding only stale lease files removed on listing), `WorkspaceProject` (`project.chronos` working state, `media/` with `media.json`, `proxies/<frame id>.jpg` (and `<frame id>-<sha16>.jpg` while a copy replaces one) and `analysis.json`, `versions/` with `.replaced` (versions set aside, pruned by age and count) and `.replaced.since`, `sync.json` for a conflict, a restore or the journal of a replay or a Save both, `exports/`, the lease `.lock.lease`; `UnreadableVersions`), `WorkspaceMedia` (`NamedAsAt`: the media learn the home's hashes and aliases), `WorkspaceSync` (checkout, open under the lease, save, commit, push, pull with replay and merge, the base in `project.chronos` as every write's commit point, `SettleAsync` finishing or undoing a cut push, replay or Save both, conflicts settled by keep mine, take server or save both only as shown, restore, status with Gone, Damaged and `MediaOutdated`, the home's frames read again only when their stamp moved; `FollowNameAsync`: the home's name and Main written into the copy at every pull and at a server's `renamed`), `WorkspaceCopyJobHandler` (`WorkspaceJobs.Copy` and `CopyFactsAsync`, registered by the desktop only: the archive only read, from a folder that holds the sequence; a workspace inside a library refused; the archive's current proxies copied, the others made in the workspace, each hash-verified, resumable from a checkpoint of its frames version and folder, free space checked against its estimate plus 512 MiB; the encodings conversions joined kept in `media.json`; the working state's positions moved by frame where frames stay, by photo where they came or went; a cancelled first copy's media cleared under the project's lease only when no other copy of the project waits or runs, through `ICancelledJobHandler` too; a project whose home is a server, `WorkspaceJobs.CopyFromServer`, phase 5b: downloaded through the desktop's session (`ISyncConnector`), never through this PC's archive, the frames of one frames version with the aliases of the server's conversions, each proxy (else the thumbnail standing in, `WorkspaceFrame.FileKind`) hashed as it arrives and checked on the disk, four at a time, the editor's current file never overwritten, resumable from the same checkpoint, a `<file>.thumb` marker beside a thumbnail standing in until the commit, free space checked against the server's proxy sizes); phase 5c: `WorkspaceProject` gains `media/originals/<frame id>-<sha8><ext>` (`OriginalName`), the ledger `exports/renders.json` (`WorkspaceRenders`, `WorkspaceRenderEntry`; `ContainedExportFile` keeps every ledger path inside `exports/`), `media.json` format 2 while it holds originals or was cleaned (`WorkspaceMedia.Cleaned`) and the project file format 3 while its media are Originals; `WorkspaceOriginals` (Proxies only's plan and apply, and `ClearOriginals`: every file of `media/originals` hashed and deleted only when the home's frames hold its SHA-256, the rest moved to the trash), `WorkspaceTrash` and `WorkspaceTrashBuilder` (`<workspace>/.trash`: entries `<project id>-<ticks>` filled under `.incoming-<id>-<ticks>` and renamed when whole, listed with a fingerprint of every file's path, size and time, emptied only by a plan that still matches), `WorkspaceCleaner` (the clean-up of media of projects in step with their home: Clean after, Size limit, the reasons a project is kept in `WorkspaceKeep`, `UnsentRenders`), `WorkspaceMover` (survey, plan fingerprint, the journal `<from>/.move.json` with stages Moving and Switched, rename on one volume or copy and hash-verify across volumes, resume, abandon, clear after the switch), `WorkspaceJobRoots` (internal, in `WorkspaceJobs.cs`: the folder a copy, render or send works in, the one that holds its project now, refused while a move has not switched) and the job parameters `WorkspaceRenderParameters`, `WorkspaceSendParameters`, `WorkspaceMoveParameters` in `WorkspaceJson`. Owner review 5, #66: `WorkspaceHomes` (the parent `workspace.json` format 2, layout "homes": `local` and `servers/<folder>`, each an ordinary store with `server.json`, `ServerHomeRecord`; `StoreFor(home)`, `All()`), `WorkspaceStore` refusing the homes layout and a read-only legacy view, `WorkspaceJobRoots` searching every home, `WorkspaceJobOptions.SameServer`/`IsSameServer` (aliases, used by the copy and send handlers' home checks), `WorkspaceMover` and `WorkspaceCleaner` over every home |
| `Sync` | `SyncService` (sync table of one server: compare, link by content through the aliases, settle conflicts, enqueue transfers), `SyncRules` (status, settings merge and differences, the proxies this PC can send, aliases followed; no I/O), `SyncTombstones` (photos either side removed are not offered back; the replaced tombstones of both sides join the encodings of one photo, union-find, each compared as the smallest SHA-256 among them, a deletion covering them all; immutable once made), `SyncPositions` (the settings' frame positions translated by photo to the frames of the copy they go to), `SyncLinkStore` (`sync_links`, `sync_state`), `SyncTransfers` and `SyncJobHandler` (resumable, hash-verified uploads and downloads as jobs; downloads commit through the archive ingest, and a frame missing here whose photo the server holds in another encoding takes that file through `FrameTrash.ReplaceMissingAsync`; job log lines from the catalog), `SyncAgent` (background comparison, server events, backoff, offline proxies; a server's `projectChanged` passed on as `ProjectChanged`, and null after a lost event stream once the stream is open again and a comparison made after that reached the server: `ISyncRemote.EventsAsync(connected, ct)`), `ProxyCache` and `RemoteSequence` (server sequences opened with proxies), `ISyncRemote` (the server calls; `ChronosSyncRemote` over `ChronosClient`). Owner review 5, #66: `ServerIdentity` (`KnownServerKey`; `Key`, `Canonical`, `Same`, `KeysOf`, `FolderName`, `With`), `SyncOptions.ServersDirectory` and `Identity`, `ProxyCache` per server with alias and 1.0 fallback reads, `SyncService.RekeyAsync`/`SyncLinkStore.RekeyAsync` |
| `Homes` | Owner review 5, #66: `HomeLayoutMigration` (`PlanAsync`, `ApplyAsync`: the 1.0 workspace and cache sorted into homes by same-folder renames checked by inventory, deferrals for leased projects, an offline workspace and an unfinished move; `RekeyAsync`: an address home renamed to the server id at sign-in), `HomeLayoutJournal` (the journal in the data folder that resumes after a crash) |
### 2.3 Chronos.App areas
@@ -75,13 +79,13 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
| `Library` | Filter, facets, pager, timeline, saved views, quick and mass actions (`MassActions`: Reorganize and Convert for the sequences of one archive), remote cards and thumbnails, thumbnail cache, list export |
| `Editor` | `EditorSession` (project, undo/redo, saving, merges through `Data/Projects/ProjectMerge`), `ISequenceSource` (`LocalSequenceSource`, `RemoteSequenceSource`, `WorkspaceSequenceSource`: a workspace project over its media, the working state saved in `project.chronos` under the project's lease and merged photo by photo in the portable form (`Merge`, a setting both sides changed asked through `ProjectConflictException`), `ReadOnlyChanged` for a project of a newer Chronos, an unstored edit kept aside in `versions/.replaced` (`SetAsideAsync`), renders at the home with the portable settings through `IProjectRenders`, naming a version only while none waits to be sent; a server home's analyses and renders are the server's jobs over `WorkspaceServerHome(connect, session)`, which connects again when the sign-in changes, a render naming the version the server holds when the project is in step with it), `ServerJobs` (a server sequence's analyses and renders followed through its events, shared by `RemoteSequenceSource` and a server home's `WorkspaceSequenceSource`), the steps of the Edit path (`EditPath`: their order, each step's state, the step of each finding, the memory of the step shown; tabs Analysis, Frames, Exposure, Motion, Camera, Time, Stack, Export), the step rows (`CameraTab`: Aspect, Rotation, Mirror, Flip, Straighten, Crop size/X/Y and Reset framing through `EditorSession.Orient` and `ResetFraming`, the crop kept locked by `EditorSession.KeepCropLocked`; `ExposureTab`'s Look group; `ExportTab`'s Output size, Resolution, the Encoding and Playback rows and the footer (owner review 1, R3/R8); `ExportGroups` (`SettingGroup`: a collapsible group with its summary, open state in `EditorSettings.Groups`, which `AppSettings.EditorGroups` keeps; `ExportRules`: what rate control, keyframes, B-frames and profile offer per codec and depth, keyframes in seconds, the standard resolutions); `PresetTable` (the preset rows and their groups); `RenderMenu` (the header's Render ▾ entries, built on each opening: recommended, batch, recent, Other presets by group, Render batch, Add to queue, Save frame, Videos); `VideosLink` (the editor's way to the Videos section on a sequence); `EditorSession.StillRequests` (Save frame through the source's routing, `IProjectStills` for workspace projects); `SettingRows`: `SwitchRow`, `IconActionsRow`, `GroupRow`; `SliderActivity`, the Straighten slider showing the grid), `CropCommit` (a finished crop drag on the preview to `EditorViewModel.CommitCropCommand`, one undo step), `PreviewRenderer` (Source framing in the view frame through `RenderGeometry.ViewFor`, the mask from `EditableCrop` or `FootprintInView`, `FrameFinish` on the corrected picture only, motion vectors without it), `ExportPlanner`, `ExportSync`, `SavedCopies`, `SequenceJobs`, `ProjectFiles` (save and open `.chronos` project files: format 2 opens its workspace project, format 1 gives its settings to Main) |
| `Videos` | Owner review 1, R9: `VideoSources` (WPF-free: `VideoEntry` rows of this PC's library, the signed-in server's `/videos` and the workspace's unsent renders merged by render id, `VideoFilter` and its order, `VideoServerState` for a server not signed in, without `videos` or out of reach, `WithLocalCopies` for server renders downloaded here; `VideosFolders`: the default `Videos\Chronos` and the folder's refusals), `VideoRows` (cards and list rows with their chips), `VideoPlayerPane` and `VideoPlayerViewModel` (in-process playback: `MediaElement` for videos, an image for stills and a GIF's or APNG's first frame, *Cannot play here*); the trash dialog restores video entries through `IVideoLibrary` |
| `Workspace` | Owner review 2, R8: `WorkspaceHost` (the desktop's `WorkspaceStore` and `WorkspaceSync` over Settings › Workspace's folder, this PC's archive or, through `SyncHost.ProjectHome`, the signed-in server as the home (a server it is not signed in to reads as offline; `HomeChanged` from the server's `projectChanged`, texts worded for it by `WorkspaceText.ForHome`); checkout and copy with its size and free space, status, Save version with the sync after it, sync, resolve, restore, history, open, new, rename, delete, the plan and removal of a local copy whose files but the media go to `<workspace>/.trash` (put back whole when a move fails), pruning past Kept versions after `HoldsAsync`, copies a newer Chronos wrote or that cannot be read listed as such and never changed, a folder inside a library refused, `PlanFolderAsync` and `UseFolderAsync`; phase 5c partials: `WorkspaceHost.Media` (Copy originals, Proxies only), `.Render` (local renders, Send again), `.Cleanup` (usage, the clean-up after each copy and by schedule, the trash's plan and Empty, the removal's unsent renders and originals) and `.Move` (move plan and job, `IsMoving` gate, `MoveEnded`, the unfinished move)), `WorkspaceFolderChange` (Settings › Workspace › Change…, Move… and Resume, and the refused folder's Choose folder), `ProjectMenuViewModel` (the title's ▾: state chip read again after edits, the menu, Update media; `IWorkspaceUi` is what it asks of the section, `ShowDialogWhenFree` holding a background conflict until the open dialog closes), `WorkspaceDialogs` (Open in workspace with unreadable projects listed disabled, project name, Save version, History, conflict, a format conflict offering only Save both, Remove local copy with its typed confirmations; `WorkspaceDialogs.xaml`), `WorkspaceProjectItem` (a picker row), `WorkspaceText` (states, versions, authors, failures) |
| `Workspace` | Owner review 2, R8: `WorkspaceHost` (the desktop's `WorkspaceStore` and `WorkspaceSync` over Settings › Workspace's folder, this PC's archive or, through `SyncHost.ProjectHome`, the signed-in server as the home (a server it is not signed in to reads as offline; `HomeChanged` from the server's `projectChanged`, texts worded for it by `WorkspaceText.ForHome`); checkout and copy with its size and free space, status, Save version with the sync after it, sync, resolve, restore, history, open, new, rename, delete, the plan and removal of a local copy whose files but the media go to `<workspace>/.trash` (put back whole when a move fails), pruning past Kept versions after `HoldsAsync`, copies a newer Chronos wrote or that cannot be read listed as such and never changed, a folder inside a library refused, `PlanFolderAsync` and `UseFolderAsync`; phase 5c partials: `WorkspaceHost.Media` (Copy originals, Proxies only), `.Render` (local renders, Send again), `.Cleanup` (usage, the clean-up after each copy and by schedule, the trash's plan and Empty, the removal's unsent renders and originals) and `.Move` (move plan and job, `IsMoving` gate, `MoveEnded`, the unfinished move)), `WorkspaceFolderChange` (Settings › Workspace › Change…, Move… and Resume, and the refused folder's Choose folder), `ProjectMenuViewModel` (the title's ▾: state chip read again after edits, the menu, Update media; `IWorkspaceUi` is what it asks of the section, `ShowDialogWhenFree` holding a background conflict until the open dialog closes), `WorkspaceDialogs` (Open in workspace with unreadable projects listed disabled, project name, Save version, History, conflict, a format conflict offering only Save both, Remove local copy with its typed confirmations; `WorkspaceDialogs.xaml`), `WorkspaceProjectItem` (a picker row), `WorkspaceText` (states, versions, authors, failures). Owner review 5, #66: `WorkspaceHost.Homes`, `Find`, `SyncOf`/`SyncFor` (one sync per store), `SameServer`, `Identity`, `Reopen` (the `Store` and `Sync` properties are gone) |
| `Import` | `CardPool` (inserted cards, remembered cards, folders), camera profiles, plans and choices, destinations (archive, folder, server through `ServerImportSink`), card actions (verified delete, format, eject) |
| `Archive` | `CurrentArchive`, `ArchiveTree`, figures for the charts, maintenance reports, Reorganize (`ReorganizeDialogViewModel`: folder, file and title templates each with its switch, the dry run, Apply queues the `move` job of that plan; `ReorganizePlans`: each template's check, the plan as rows and a summary; `ReorganizeOffer`: per archive, the templates Settings › Archive's toast offers, joined while that archive's toast is up), Convert (`ConvertDialogViewModel`: format, JPEG quality and a mode chosen at every run, the dry run made once per format and quality, Apply behind the mode's confirmation queues the `convert` job of that plan through `MassConverter.QueueAsync`; `ConvertPlans`: the plan as rows in the mode's words, a summary, the space line, the Replace confirmation that types the number of photos and the New sequence one that counts the photos not copied; `ConvertUndo`: the Undo the Jobs screen's toast offers when Replace conversions end, which restores the `Replaced` trash entries their jobs made, by the job's id), retag, delete and trash dialogs (`SequenceDeletion`, `DeletePlans`, `TrashEmptyPlans`: Empty… behind a dry run and a typed confirmation, every entry whose conversion was deleted named first), `ArchiveFailures` |
| `Server` | `ServerSession`, `ConnectFlow` (trust on first use), `SyncHost` (sync engine, agent, metered hold (`UploadHold`: uploads, downloads and the workspace's server copies and sends), editor connections, Export Sync; `HasProjects`, `ProjectHome` and `ProjectChanged`, also told with null at each session start and stop: the server as a project home), sync table, `RemoteSequenceApi` |
| `Jobs`, `Settings`, `About` | Job list and buffering, `JobNotices` (which job endings raise a toast, conversions among them; `JobEndings` lets a batch speak once); the schedules of Jobs › Scheduled (`DesktopScheduleHost`: the desktop's `IScheduleHost` and its system schedules `archive-scan`, `index-backup`, `housekeeping`, `workspace-cleanup`; `CacheTrimStep`, `WorkspaceCleanStep` and `WorkspaceTrashStep`, the host's clean-up steps; `SchedulesViewModel`, `ScheduleRowViewModel`, `ScheduleEditorViewModel` and `ScheduleDialogs.xaml`, the in-window editor; `ScheduleText`); settings rows (`LogSettingsRows`: Advanced's log rows; `WorkspaceSettingsRows`: Settings › Workspace), encoder and format inventories, `ProcessingTuning` (Settings › Rendering and Analysis applied to each job: parallelism, memory budget, quality), `InterfacePriority`, language catalog, naming preview; `AboutViewModel` (owned by the shell, not a section: Settings › About, the update notice of Settings › Updates and the update check on start), update check and download |
| `Infrastructure` | `AppServices` (composition root; `SequenceReorganized`, raised after each Reorganize step and each sequence a conversion replaced or made, reloads an editor open on that sequence; the archive engine's free space from `VolumeInfo.FreeBytesAt`), `AppSettings`, `AppLogging` (Settings › Advanced › Logs applied to the log files from their first line, a launch that only hands over included, and at every save), `AppEnvironment` (installed or portable), `AppClock` (today's date, frozen by `--capture`), `StartWithWindows` (this copy's sign-in entry), `UiLanguage`, `LiveRegion`, `RenderNodeHost`, `DiagnosticsBundle`, `ShellActions` (BRIEF §8.6), `SingleInstance` (one Chronos per data folder; a later launch hands its file over a named pipe, or waits for a closing one to exit and starts in its place), device monitor |
| `DesignTime` | `SampleData`: the archive, jobs and server the screenshots and smoke tests run on, dated from the fixed `SampleData.Now` |
| `Server` | `ServerSession`, `ConnectFlow` (trust on first use), `SyncHost` (sync engine, agent, metered hold (`UploadHold`: uploads, downloads and the workspace's server copies and sends), editor connections, Export Sync; `HasProjects`, `ProjectHome` and `ProjectChanged`, also told with null at each session start and stop: the server as a project home), sync table, `RemoteSequenceApi`. Owner review 5: `SyncHost.Identity`, `KeyOf`, `LastServer`, `KnownServersChanged`, `IdentityClash`, `OriginalsArchiveAsync`/`OriginalsForDownloadAsync`/`OriginalsArchivesAsync` and the re-key in `SwitchAsync` (#66); `ServerJobsApi` (`IServerJobsApi`) and `ServerJobsViewModel`/`ServerJobsView`, the connected server's running and paused jobs (#65); `LibraryShare` (`ShareState`, `ShareClient`, `ShareUploadsStep`: this PC's library shared on the LAN through `Chronos.Server`'s `HostedServer`, #67) and `ConnectFlow` refusing the own share (`ConnectError.OwnLibrary`) |
| `Jobs`, `Settings`, `About` | Job list and buffering, `JobNotices` (which job endings raise a toast, conversions among them; `JobEndings` lets a batch speak once); the schedules of Jobs › Scheduled (`DesktopScheduleHost`: the desktop's `IScheduleHost` and its system schedules `archive-scan`, `index-backup`, `housekeeping`, `workspace-cleanup`; `CacheTrimStep`, `WorkspaceCleanStep` and `WorkspaceTrashStep`, the host's clean-up steps; `SchedulesViewModel`, `ScheduleRowViewModel`, `ScheduleEditorViewModel` and `ScheduleDialogs.xaml`, the in-window editor; `ScheduleText`); settings rows (`LogSettingsRows`: Advanced's log rows; `WorkspaceSettingsRows`: Settings › Workspace), encoder and format inventories, `ProcessingTuning` (Settings › Rendering and Analysis applied to each job: parallelism, memory budget, quality), `InterfacePriority`, language catalog, naming preview; `AboutViewModel` (owned by the shell, not a section: Settings › About, the update notice of Settings › Updates and the update check on start), update check and download. Owner review 5: `JobText.Status`/`RowStatus`/`RowStatusToolTip` (the status line of a job's detail, `BarStatusLength` 60) and `JobEntry.Detail` (#65); `Settings/HomeRows` (`HomeFolderRow`, `KnownServerRow`, #66) and `Settings/ShareSettingsRows` (#67) |
| `Infrastructure` | `AppServices` (composition root; `SequenceReorganized`, raised after each Reorganize step and each sequence a conversion replaced or made, reloads an editor open on that sequence; the archive engine's free space from `VolumeInfo.FreeBytesAt`), `AppSettings`, `AppLogging` (Settings › Advanced › Logs applied to the log files from their first line, a launch that only hands over included, and at every save), `AppEnvironment` (installed or portable), `AppClock` (today's date, frozen by `--capture`), `StartWithWindows` (this copy's sign-in entry), `UiLanguage`, `LiveRegion`, `RenderNodeHost`, `DiagnosticsBundle`, `ShellActions` (BRIEF §8.6), `SingleInstance` (one Chronos per data folder; a later launch hands its file over a named pipe, or waits for a closing one to exit and starts in its place), device monitor. Owner review 5: `AppSettings.KnownServers` and `Share`, `AppServices.SortHomesAsync` with `HomeLayout`/`HomeLayoutError`, `CacheStore.ServersFolder`/`ServerFolder`, `AppServices.Share` |
| `DesignTime` | `SampleData`: the archive, jobs and server the screenshots and smoke tests run on, dated from the fixed `SampleData.Now`; `SampleJobDetails.Apply` (the sample jobs' details), `SampleServerJobs` (the server jobs capture) |
### 2.4 Chronos.Ui and Chronos.Server
@@ -90,20 +94,21 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
| `Ui/Themes`, `Ui/Theming` | DESIGN tokens (light, dark), typography, control styles, `ThemeManager` |
| `Ui/Controls` | `ChronosWindow` (chrome, language direction), `NavRail`, `JobBar`, `ToastHost` (`Toast.Closed` once a toast leaves the screen), `Field` (placeholder, icon, error), `Chip`, `AutoSlider`, `StatusGlyph`, `EmptyState`, `Icon`, `Bidi` (right-to-left rules), `Motion` (animations off for screenshots) |
| `Ui/Interop` | DWM calls of the window chrome; `TrayIcon` (`Shell_NotifyIconW`: the Uploader's tray, the client's Windows notifications) |
| `Ui/Updates` | Owner review 5, #64: `UpdateState`, `UpdateHost`, `UpdateFlow`, shared by Chronos Desktop (About, Settings › Updates) and Chronos Uploader (`Shell/UpdatesViewModel`, `Infrastructure/UploaderUpdates`) |
| `Ui/Visuals` | `DrawingElement` (hover readout, item keyboard and activation) and its charts (`BarChart`, `SeriesChart`, `StackedBar`, `HeatmapStrip`, `TimelineBands`), `Filmstrip`, `PreviewViewport` (with `PreviewSurface` and `ViewportMath`: the crop box's handles, hit-test order, drag, keyboard nudges once selected, the straighten grid and the automation value; the math in Core `CropFrame`), `CurveEditor`, `SequenceCard`, `VirtualizingWrapPanel`, `SegmentedControl`, `SplitButton` (owner review 1, R3: hierarchical, two-line menu entries, `RenderMenuItem` of kind preset, header, separator, command or submenu, styled in `Themes/Visuals.xaml`) |
| `Server/Api`, `Server/Events` | Endpoint groups (`XxxEndpoints.Map`; `ScheduleEndpoints`: `/api/v1/schedules`; `LibraryEndpoints`: the Library filters' facets, sequence thumbnail, photo delete, bulk delete/retag/jobs; `TrashEndpoints`: list, restore, empty (`conversionDeleted` in its dry run; `videos-<id>-<ticks>` entries restored through the videos library); `VideoEndpoints` (owner review 1, R9): `/api/v1/videos` list and get (Read), delete with a dry run and fingerprint (Delete, audited `videos_deleted`, `sequenceChanged` `renders`), copy as a `video-copy` job into `ServerOptions.VideosPath` (Edit, audited `videos_copied`), library refusals mapped to 409, 422 and 507; `SystemEndpoints` announcing the `videos` capability; `ProjectEndpoints`: `/api/v1/sequences/{sid}/projects` through the archive's `ProjectService` (list with Main first, create, rename, delete, head, versions a page at a time, one version, push with its outcome as `ProjectPushResultDto` under a 65 MiB body limit, the frames and photo aliases a workspace places positions on and their stamp; pages capped at 4 Mi settings characters, `summary` and `stored` reads, 409 `sequence_empty` for a sequence without photos, deletion by the owner, an admin or the maker's own account); `SequenceEndpoints`' settings `PATCH` through `ArchiveService.EditSettingsAsync`; `ArchiveEndpoints`: settings, statistics, scan jobs, Reorganize's dry run and `move` job, Convert's dry run and `convert` job, both through `PlanCache`: a dry run's plan, made apart from its request, a few at once across both kinds, kept a few minutes while what it reads from the index stays (typed keys `PlanKey<TPlan>`: `ReorganizePlanKey`, `ConvertPlanKey` from `GetConvertStampAsync`, the selection and the target with the quality that counts, not the mode), for the same dry run and its confirmation; a conversion's confirmation takes only a kept plan (`Kept`), its busy sequences and free space taken again), API errors, the WebSocket `EventHub` |
| `Server/Security` | Accounts, password hashing, tokens, session cookies, login guard, access rules, audit log |
| `Server/Storage`, `Server/Jobs` | Archive and processing modules (the archive module's `SequenceChanged` publishes `sequenceChanged` `reorganized`, `converted` and `created`; its `FreeSpace` is `VolumeSpace.WritableFree`, the tighter of the space path's volume and the folder's own), uploads (`UploadMaintenance`: recovery at start, and the sweep that is the `uploads` clean-up step; `UploadService.ReceiveAgainAsync`: a verified upload whose filing was refused for now goes back to receiving, 503), render store (files a render under the sequence's lease, where the index has the folder then, with the project and version a node's job rendered; `FolderMovedException`, 503 `folder_moved`, when the sequence is not in it; a sent render or a node's result recorded with its verified SHA-256 and kind); `FileResponses` (Range requests, the media types of `.webm`, `.m4v` and `.apng`); the archive module sets `Videos.ProtectedFolders` to the data folder; `ProjectCatchUp` (Main takes settings written outside the projects soon after a `PATCH`, an analysis or a conversion, for sequences with a Main: `projectChanged` without waiting for the next project call); the archive module's `ProjectsChanged`, published as `projectChanged` (and `sequenceChanged` `settings` when Main was mirrored); `JobEngineHost`, `SchedulerHost` (the `Scheduler` on the engine, started after it; archive.json read every 10 minutes whatever the scan schedule does; every schedule change and run published as a `scheduleChanged` event) and `ServerScheduleHost` (time zone, archive refreshed from archive.json, system schedules), render node service (a job of a project version claimed with that version's settings placed on the frames it lists; `RoutedAsync` routes a job again from the sequence's settings of the moment, and a node that reads an older settings format, or cannot encode the adapted size, never claims it), monitor and availability (`RenderNodeAvailability` waits for a node only while one would take the routed job) |
| `Server/Hosting`, `Server/Admin/web` | `ServerHost`, `ServerLogging` (console and file levels the logging filters read at every line, the file sink's limits, the engine's level; applied again when Settings › Logs is saved), certificates, discovery beacon, embedded static files (`EmbeddedStaticFiles`: `no-cache` and a content ETag, so an upgrade never mixes old and new modules), Windows service (start and stop failures in the Application event log); the admin panel (ES modules, one per page; `schedules.js` is the Jobs page's Scheduled tab; the Library's views in `pages/library/`: `sequence.js` a sequence and its photo viewer, `projects.js` its Projects section (Main marked, head and last change, versions on demand, Rename and Delete of the others, live on `projectChanged`; nothing that edits settings), `trash.js` the archive's trash, `shared.js` cards, selection, grid keyboard and the retry of thumbnails a finished job may have built; `upload.js` the upload dialog the Library opens on demand, hashing in the module worker `hash-worker.js` with the in-house incremental SHA-256 of `sha256.js`, self-tested before its first use, and sending the capture time `capture-time.js` reads: the Exif DateTimeOriginal of a JPEG or TIFF-based file, else the file's time; `reorganize.js` the Reorganize dialog of the Library's selection and of the Archive page's save toast: template switches and fields, a live dry run of `POST /archive/reorganize` one request at a time, Apply that sends the shown plan's fingerprint back; `convert.js` the Convert dialog of the Library's selection (`planTarget` in `library.js`, shared with Reorganize: the ids, at most 1,000, or `all`): format, JPEG quality and a mode chosen at every run (Replace or New sequence, never preselected), a debounced dry run of `POST /archive/convert` one request at a time, asked in Replace's words until a mode is chosen and again while the server is still making it (a proxy's cut-off, `plan_dropped`), per sequence photos converted, left as they are or not copied and why, blocked, size before and after, the space line; Apply that confirms Replace by a typed word and New sequence with the photos not copied, asks the dry run again and sends the shown plan's fingerprint back, never twice after no answer; `pages/library/trash.js` gives replaced entries their own Restore and lists those whose conversion was deleted first, and names `videos` entries with their own Restore message; `audit.js` reads `archive_converted` as a sentence; `videos.js` the Videos page (owner review 1, R9: cards or list, filters in the address, `#/videos?sequence=<id>`, selection, Play in a `<video>` or `<img>` dialog, Download, Copy to folder and Delete… with its dry run; it calls only the videos endpoints and the render file, never a project or render route), its `videoKind`, `kindText` and `shortHash` shared with `sequence.js`'s renders; `settings.js`' *Videos folder*, locked by `CHRONOS_VIDEOS_PATH`) |
| `Server/Storage`, `Server/Jobs` | Archive and processing modules (the archive module's `SequenceChanged` publishes `sequenceChanged` `reorganized`, `converted` and `created`; its `FreeSpace` is `VolumeSpace.WritableFree`, the tighter of the space path's volume and the folder's own), uploads (`UploadMaintenance`: recovery at start, and the sweep that is the `uploads` clean-up step; `UploadService.ReceiveAgainAsync`: a verified upload whose filing was refused for now goes back to receiving, 503), render store (files a render under the sequence's lease, where the index has the folder then, with the project and version a node's job rendered; `FolderMovedException`, 503 `folder_moved`, when the sequence is not in it; a sent render or a node's result recorded with its verified SHA-256 and kind); `FileResponses` (Range requests, the media types of `.webm`, `.m4v` and `.apng`); the archive module sets `Videos.ProtectedFolders` to the data folder; `ProjectCatchUp` (Main takes settings written outside the projects soon after a `PATCH`, an analysis or a conversion, for sequences with a Main: `projectChanged` without waiting for the next project call); the archive module's `ProjectsChanged`, published as `projectChanged` (and `sequenceChanged` `settings` when Main was mirrored); `JobEngineHost`, `SchedulerHost` (the `Scheduler` on the engine, started after it; archive.json read every 10 minutes whatever the scan schedule does; every schedule change and run published as a `scheduleChanged` event) and `ServerScheduleHost` (time zone, archive refreshed from archive.json, system schedules), render node service (a job of a project version claimed with that version's settings placed on the frames it lists; `RoutedAsync` routes a job again from the sequence's settings of the moment, and a node that reads an older settings format, or cannot encode the adapted size, never claims it), monitor and availability (`RenderNodeAvailability` waits for a node only while one would take the routed job). Owner review 5: `Jobs/ProgressGate` (500 ms per job, 50 ms slack, shared by `JobEngineHost` and `RenderNodeService`, #65); `JobEngineHost` relays an external engine in hosted mode and `Exposes` only server kinds; `Storage/ServerEventBridge` (#67) |
| `Server/Hosting`, `Server/Admin/web` | `ServerHost`, `ServerLogging` (console and file levels the logging filters read at every line, the file sink's limits, the engine's level; applied again when Settings › Logs is saved), certificates, discovery beacon, embedded static files (`EmbeddedStaticFiles`: `no-cache` and a content ETag, so an upgrade never mixes old and new modules), Windows service (start and stop failures in the Application event log); the admin panel (ES modules, one per page; `schedules.js` is the Jobs page's Scheduled tab; the Library's views in `pages/library/`: `sequence.js` a sequence and its photo viewer, `projects.js` its Projects section (Main marked, head and last change, versions on demand, Rename and Delete of the others, live on `projectChanged`; nothing that edits settings), `trash.js` the archive's trash, `shared.js` cards, selection, grid keyboard and the retry of thumbnails a finished job may have built; `upload.js` the upload dialog the Library opens on demand, hashing in the module worker `hash-worker.js` with the in-house incremental SHA-256 of `sha256.js`, self-tested before its first use, and sending the capture time `capture-time.js` reads: the Exif DateTimeOriginal of a JPEG or TIFF-based file, else the file's time; `reorganize.js` the Reorganize dialog of the Library's selection and of the Archive page's save toast: template switches and fields, a live dry run of `POST /archive/reorganize` one request at a time, Apply that sends the shown plan's fingerprint back; `convert.js` the Convert dialog of the Library's selection (`planTarget` in `library.js`, shared with Reorganize: the ids, at most 1,000, or `all`): format, JPEG quality and a mode chosen at every run (Replace or New sequence, never preselected), a debounced dry run of `POST /archive/convert` one request at a time, asked in Replace's words until a mode is chosen and again while the server is still making it (a proxy's cut-off, `plan_dropped`), per sequence photos converted, left as they are or not copied and why, blocked, size before and after, the space line; Apply that confirms Replace by a typed word and New sequence with the photos not copied, asks the dry run again and sends the shown plan's fingerprint back, never twice after no answer; `pages/library/trash.js` gives replaced entries their own Restore and lists those whose conversion was deleted first, and names `videos` entries with their own Restore message; `audit.js` reads `archive_converted` as a sentence; `videos.js` the Videos page (owner review 1, R9: cards or list, filters in the address, `#/videos?sequence=<id>`, selection, Play in a `<video>` or `<img>` dialog, Download, Copy to folder and Delete… with its dry run; it calls only the videos endpoints and the render file, never a project or render route), its `videoKind`, `kindText` and `shortHash` shared with `sequence.js`'s renders; `settings.js`' *Videos folder*, locked by `CHRONOS_VIDEOS_PATH`). Owner review 5, #67: `HostedServer` (`HostedEngine`, `DesktopHostLifetime`), `ServerHost.BuildHosted`, `ServerOptions.ForHosted`/`ApplyDesktop`; `Api/ServedItems` (by-id routes scoped to the served archive); `Security/ClientActivity`; the server id (`ServerHost.ServerIdAsync`, app setting `server.id`, #66); the Windows service host is gone |
### 2.5 Hosts
| Host | Composition root | What it runs |
|---|---|---|
| Chronos (desktop) | `App/Infrastructure/AppServices` | SQLite index in `%LOCALAPPDATA%\Chronos` (or `.\data` when portable, unless the copy is in a OneDrive folder); `ArchiveService` with WIC first, then managed decoders (a conversion orders its own chain, the managed decoders first), its free space measured by Windows (`VolumeInfo.FreeBytesAt`, UNC shares included); `ProcessingService` with Media Foundation, then managed encoders; one `JobEngine` with the handlers of both and the workspace copy; the workspace (`WorkspaceHost`: `%LOCALAPPDATA%\Chronos\workspace` or `.\data\workspace`, unless Settings › Workspace says otherwise; none in a capture); thumbnails; `ServerSession`; `SyncHost` while signed in (sync engine and agent, upload and download handlers, metered hold, editors of server sequences, the server as the home of workspace projects when it has the `projects` capability); the render node while opted in and signed in; update check and download (`About/UpdateCheck`, `About/UpdateDownload`, `About/UpdateFlow`: the setup, or the portable zip for a portable copy, verified against `SHA256SUMS`, resumable, cancellable, failing after 60 s without data); diagnostics bundle; the `Scheduler` on `DesktopScheduleHost`, started once the archive was reopened (an unplugged one is looked for every minute), which then runs the archive scan once (again when an unplugged archive is back), and whose system schedules replaced the rescan timer, the daily backup loop and the job-history purge (scans follow Settings › Analysis › After a scan at every run); the restore staged in Settings › Advanced (`DatabaseBackups`) |
| Chronos Server | `Server/Hosting/ServerHost.Build` | Options from `server.json` + `CHRONOS_*`; PostgreSQL (or SQLite on Windows); `ArchiveModule` then `ProcessingModule` register job handler providers; `JobEngineHost` (renders only managed formats and MP4 jobs no render node can take, BRIEF §14.7); `RenderNodeService`/`RenderNodeMonitor`; `UploadService`; `VolumeSpace` (free space of the archive, the space path and `/data`, file system and mount from `/proc/self/mountinfo`; `WritableFree`, what a conversion counts on; tests replace it); `EventHub` (WebSocket); embedded admin panel; LAN discovery beacon; Windows service host; `SchedulerHost` with the system schedules `archive-scan` (every 10 minutes, also once at start), `upload-cleanup` (every 6 hours), `index-backup` (SQLite only, 03:00), `housekeeping` (job history, 04:00) and `audit-cleanup` (04:30; Settings › Logs shows and sets its age limit, 0 while it is off; seeded and reset from `AuditRetentionDays`, 0 by default: off, the audit log kept; `CHRONOS_AUDIT_RETENTION_DAYS` fixes it before the first pass), no other timer queues work (a 10-minute timer only reads archive.json again) |
| Chronos Uploader | `Uploader/App.xaml.cs` | `ChronosClient`, persisted queue, watch folders; no database |
| Chronos Setup | `Setup/Program` | TPK1 payload extraction, registry, shortcuts, file types named in setup's language, silent mode, uninstaller; only what starts a program its log or payload lists is changed: Windows services of those programs stopped once the programs have closed, started again (also after a failure) or deleted through the Service Control Manager (an elevated `/SERVICES … /NAMES` step when needed), sign-in entries of those programs moved to the program an upgrade renamed or removed, shared shortcuts handed to the product that keeps the program; the Server only for all users inside Program Files; "Remove my data" limited to the programs no other installed product uses |
| Chronos Server | `Server/Hosting/ServerHost.Build` | Options from `server.json` + `CHRONOS_*`; PostgreSQL (or SQLite on Windows); `ArchiveModule` then `ProcessingModule` register job handler providers; `JobEngineHost` (renders only managed formats and MP4 jobs no render node can take, BRIEF §14.7); `RenderNodeService`/`RenderNodeMonitor`; `UploadService`; `VolumeSpace` (free space of the archive, the space path and `/data`, file system and mount from `/proc/self/mountinfo`; `WritableFree`, what a conversion counts on; tests replace it); `EventHub` (WebSocket); embedded admin panel; LAN discovery beacon; `SchedulerHost` with the system schedules `archive-scan` (every 10 minutes, also once at start), `upload-cleanup` (every 6 hours), `index-backup` (SQLite only, 03:00), `housekeeping` (job history, 04:00) and `audit-cleanup` (04:30; Settings › Logs shows and sets its age limit, 0 while it is off; seeded and reset from `AuditRetentionDays`, 0 by default: off, the audit log kept; `CHRONOS_AUDIT_RETENTION_DAYS` fixes it before the first pass), no other timer queues work (a 10-minute timer only reads archive.json again). The console program is `Chronos.Server.Host`. Hosted in Chronos Desktop (`ServerHost.BuildHosted`, owner review 5, #67) it reuses the desktop's index, archive and processing services, job engine and scheduler and adds only upload-cleanup and audit-cleanup |
| Chronos Uploader | `Uploader/App.xaml.cs` | `ChronosClient`, persisted queue, watch folders; no database; the update check (`Shell/UpdatesViewModel`, `Infrastructure/UploaderUpdates`, `Interop/ShellActions`; owner review 5, #64) |
| Chronos Setup | `Setup/Program` | TPK1 payload extraction, registry, shortcuts, file types named in setup's language, silent mode, uninstaller; only what starts a program its log or payload lists is changed: Windows services of those programs stopped once the programs have closed, started again (also after a failure) or deleted through the Service Control Manager (an elevated `/SERVICES … /NAMES` step when needed), sign-in entries of those programs moved to the program an upgrade renamed or removed, shared shortcuts handed to the product that keeps the program; the Server only for all users inside Program Files; "Remove my data" limited to the programs no other installed product uses. Owner review 5, #64: one setup for the components `Chronos` (shown "Chronos Desktop", alias `Desktop`) and `Uploader`; `Engine/LegacyProducts` (`RetainedComponent`: a 1.0 Server kept until unticked; `LegacyInstall`: the 1.0 Uploader product, `FindUploader`, `CanMerge`, `Merge`), `InstallPlan.Resolve` (pure; `Retained`, `Kept`, `Legacy`, `LegacyToReplace`), `InstallResult`, install log format 2 (`componentFiles`, `componentShortcuts`, `componentVersions`, `hashes`); the Changes row and the Uninstall switch in `SetupViewModel` |
### 2.6 Job kinds and their handlers
@@ -252,7 +257,9 @@ run as server jobs whose progress comes from the events.
- Hot loops: `Span<T>`, `System.Numerics.Vector<T>`/`Vector256` where it measurably pays, no LINQ. Parallelise per
row/tile with `Parallel.For` only when work per item is large.
- Pixel math in linear light, `float`, Rec.709 primaries. Convert to sRGB/8-bit only at the edges.
- Every long operation takes a `CancellationToken` and reports progress through `IProgress<T>` or the `JobContext`.
- Every long operation takes a `CancellationToken` and reports progress through `IProgress<T>` or the `JobContext`; a
job handler passing over many photos reports a `JobDetail` (step, part n of m) and `ReportItemAsync` inside a step
(owner review 5, #65); it never sends wording, only keys.
- Libraries use `ConfigureAwait(false)`. No `async void` except WPF event handlers. Heavy work and I/O never run on
the UI thread.
- Logging through `Chronos.Core.Diagnostics.Log` in Core and Data; `ILogger` on the server. Anything that leaves the
@@ -262,8 +269,9 @@ run as server jobs whose progress comes from the events.
- IDs are UUIDv7 (`Guid.CreateVersion7()`); timestamps UTC; capture times are camera wall-clock with an optional
offset.
- The only OS actions the programs perform are those of BRIEF §8.6: open a URL and show a folder or file in Explorer
(`ShellActions` in the App), the format-volume dialog (`Core.Windows/Devices`). Downloaded updates (the setup, or
the portable zip for a portable copy) are shown in Explorer, never started.
(`ShellActions` in the App, `Interop/ShellActions` in the Uploader), the format-volume dialog (`Core.Windows/Devices`).
Downloaded updates (the setup, or the portable zip for a portable copy), by Chronos Desktop and Chronos Uploader
alike, are shown in Explorer, never started.
### 5.1 Desktop UI (WPF)
+201 -18
View File
@@ -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 (the portable zip for a portable
copy) 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)
+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
+84
View File
@@ -798,3 +798,87 @@ One line per decision: date · decision · alternative · reason.
| 2026-11-06 | `CHRONOS_PARALLELISM` out of 1–64 stays clamped; the other range errors at start name the `CHRONOS_*` variable (`ServerOptions.VariableOf`). | Refuse every value out of range | Clamping parallelism is long-standing behaviour the admin panel relies on; the deploy guide documents the exception. |
| 2026-11-06 | Desktop Board cards move their quick actions to a row under the text while the player pane is open. | Stack the lanes; hide the actions | Keeps both lanes side by side and every action on the card; at 1200 px with the player the text column grows from about 80 px to the whole card. |
| 2026-11-06 | `v1.0.0` is tagged on the code of `v0.1.0-rc.14` with no other change than the version (builds without a tag now say 1.0.0) | A last round of changes in 1.0.0 | Owner review 3 R4: finish everything, then the first stable release. rc.14 passed CI, its review and its release, so 1.0.0 ships what was tried; from here `:latest` and the update check follow stable releases only. |
| 2026-11-15 | Owner review 5 (#64): the single setup keeps product "Chronos" (Add/Remove Programs key, folder, `Uninstall Chronos.exe`, asset `Chronos-Setup-<v>.exe`), so 1.0 installs and 1.0 update checks upgrade with no migration code; component ids `Chronos`/`Uploader` stay, shown "Chronos Desktop"/"Chronos Uploader" | A new product and asset name | 1.0 desktops already fetch `Chronos-Setup-*` (`UpdateDownload.Package`) |
| 2026-11-15 | A fresh install preselects Chronos Desktop only, at least one component; ARP `NoModify` stays 1 | Both preselected | Most PCs need the desktop; the Uploader is for capture PCs |
| 2026-11-15 | The setup offers no Server component; a 1.0 Server install is a retained component ("Chronos Server 1.0.0", "No longer offered"), kept as is until it is unticked or omitted by an explicit /COMPONENTS (supersedes the earlier row on dropping components the payload no longer ships) | Remove it silently on upgrade / keep shipping it | Owner Q3: removal must be explicit and dry-run-planned, never silent |
| 2026-11-15 | A format 1 (1.0) log gives the retained component every previous-only file and every shortcut whose name the payload lacks | Guess by file name / a hard-coded 1.0 Server file list | Nothing is deleted by guess; cost: a file the 1.0 desktop app dropped stays until the Server is unticked |
| 2026-11-15 | Install log format 2 (componentFiles, componentShortcuts, componentVersions, hashes); FormatVersion defaults to 1 when absent | A separate side file | 1.0 setups ignore unknown fields; removing one component alone needs to know its files |
| 2026-11-15 | A removed or obsolete file whose SHA-256 differs from the log is kept and counted; an unreadable file counts as changed; no hash = removed as before | Always delete | Destructive operations need hash verification |
| 2026-11-15 | Explicit /COMPONENTS is exact: a retained component it omits is removed; an unknown id that is not retained fails with exit 2 | Ignore retained ids in switches | Silent installs must be able to remove the Server deliberately |
| 2026-11-15 | /COMPONENTS=Desktop and pack-installer --component Desktop= alias the component id Chronos; shortcut names stay "Chronos" and "Chronos Uploader" | Rename the component id or the shortcuts | Pins, links and the installer test follow the 1.0 names |
| 2026-11-15 | The legacy "Chronos Uploader" product is merged after the new install works: the Run value is retargeted (StartupApproved kept), then the product is uninstalled and its shortcut handed over; a per-user copy is merged only by the unelevated process; an all-users copy under a per-user install stays (the Changes row says "stays"); taskbar pins to the old path are lost | Merge before installing / elevate to remove it | No window of time without the Uploader; never ask for admin approval the user did not expect |
| 2026-11-15 | A legacy Uploader fixes the scope of a new install (CanChangeLocation false, /DIR ignored) and preselects the Uploader | Let the user pick the scope | Its removal needs the same account |
| 2026-11-15 | pack-installer refuses Server unless --legacy, which packs a per-user, non-preselected 1.0-style Server for the CI test only (amends the pack-installer row of 2026-10-23) | Delete the Server path entirely | CI must exercise the retained-Server migration without admin rights |
| 2026-11-15 | release.yml publishes only Chronos-Setup-<v>.exe, the portable zip and SHA256SUMS, and fails on an Uploader-Setup or Server-win asset; the portable zip stays (owner Q3) | Trust the step list; drop the zip | A stray asset would re-offer a product that no longer exists; portable copies update through the zip |
| 2026-11-15 | With every component unticked on an installed copy, the primary action is a destructive Uninstall that switches the same window to the uninstall options; an all-users uninstall from an unelevated window runs an elevated /uninstall /S child, then the parent removes the user data the user chose | Disable the button | One window for add, remove and uninstall |
| 2026-11-15 | The update code lives in `Chronos.Core/Updates` and `Chronos.Ui/Updates`, its tests in Core.Tests (Linux); the Uploader reuses `UpdateFlow` and `UpdateDownload` unchanged: same feed, same `Chronos-Setup-*` asset (portable zip if `portable.txt`), same `%TEMP%\Chronos\updates` folder (amends the update-check row of 2026-10-02) | A separate Uploader asset or feed | One setup ships both components; one verified file serves both programs |
| 2026-11-15 | The Uploader's start-up check is skipped when `Chronos.exe` is in its folder; Check now is always offered | Always check from both programs | Avoids two notices for the same setup |
| 2026-11-15 | The Uploader setting `CheckForUpdates` defaults to true, so a 1.0 `uploader.json` without it opts in | Default off for upgraded installs | BRIEF §18 makes the check opt-out |
| 2026-11-15 | A newer release found by the Uploader at start is an in-window toast with Download | Tray balloon | Same "one sentence plus one action" pattern as the Uploader's other toasts |
| 2026-11-15 | The Uploader has its own small shell helper (https open through ShellExecute, file reveal through SHOpenFolderAndSelectItems) | Reference Chronos.Core.Windows and use `ShellLauncher` | Core.Windows depends on Chronos.Data, which the Uploader should not carry; follow-up: move `ShellLauncher` into Chronos.Ui |
| 2026-11-15 | The Uploader's update strings are their own `Uploader.Updates.*` keys | Reuse the `About.*` keys | Each area keeps its own keys; the Uploader says "Version {0}" where the desktop says "Chronos {0}" |
| 2026-11-15 | Owner review 5 (#65): live progress gains an optional `JobDetail` (step, item, item x of y, part n of m, unit), the overall done/total unchanged; `JobStep`/`JobPartUnit` are append-only and stored and sent by kebab name; an unknown name reads as None and the counts still show | Free-text messages per handler | Clients localize keys; handlers never send wording |
| 2026-11-15 | The engine publishes ≤ 1 per 500 ms per job (`JobEngineOptions.ProgressInterval`, on its `TimeProvider`), bypassing the limit for the run's first report, a step change and a count that reaches its total (once per distinct done/total); a dropped report is published by the persist that falls due (≤ 5 s); a forced checkpoint is throttled like any report | A trailing timer per job, or publishing at every checkpoint | No timers, no concurrency, deterministic tests; up to 500 ms of progress may stay unshown while a handler is silent |
| 2026-11-15 | `ReportItemAsync(done, total, itemDone, itemTotal)` updates the current detail's item counts without a new record; with no detail yet the step is `Process`; the record is built only when read | A new `JobDetail` per photo | Hot loops (thumbnails at about 2,300 fps) report every photo with zero allocation on the drop path, which a test pins |
| 2026-11-15 | The server `ProgressGate` (500 ms per job, 50 ms of slack, shared by `JobEngineHost` and `RenderNodeService`) bypasses on step change and completion and forgets a job when it leaves Running; it is made inside `JobEngineHost` from the DI `TimeProvider`, in both the server's own and the hosted (desktop) constructor | A separate DI singleton | Keeps `ServerHost` registration unchanged; the server's events go from 4/s to 2/s |
| 2026-11-15 | `jobs.progress_detail` (migration 0011) is plain text on both dialects holding the `JobDetailDto` JSON written through `ProtocolJson`; an unreadable cell reads as null; it shows "Stopped at …" for paused and failed jobs and nothing for done ones | jsonb plus a separate Data JSON context | Text tolerates garbage, same wire shape with one serializer |
| 2026-11-15 | A render node's detail is normalized on arrival (`FromDto`, then `Detail`); a newer node's unknown step is stored as "none" with its counts; a report without a detail (an older node) clears it | Pass the node's DTO through unchanged | Keeps the item length and enum rules enforced server-side |
| 2026-11-15 | A new run of a job starts with no detail, not with its stored one | Seed the run from `Job.Detail` | Avoids re-publishing a stale step from a handler that reports none |
| 2026-11-15 | API v1 stays: `JobDto.detail`, `jobProgress.detail` and `NodeProgress.detail` are additive and optional | API v2 | Older peers ignore them or fall back to today's display |
| 2026-11-15 | Convert reports Verify (only when resuming with staged files) → Convert → Replace | The plan's Convert → Replace → Verify | The converter checks earlier staged files before it converts more; its hash check of each staged file is part of Convert |
| 2026-11-15 | Render frame counts (ItemDone/ItemTotal) are given only for the last output of a batch; earlier outputs show the step and output n of m | Counts on every output | The per-output frame total is known only for what remains after the last output starts |
| 2026-11-15 | Handlers keep their existing localized Message next to the detail (Export.Job.Verifying/Downloading, Videos.Job.Copying/Verifying) | Drop Message now | Clients that still show Message keep working; the keys can go once nothing shows Message |
| 2026-11-15 | Duplicates, orphans and backup report 0/0 with a step while running | Keep 0/1 | A total of 0 means "no count", so the bar runs rather than standing at 0 % |
| 2026-11-15 | A thumbnail/proxy checkpoint carries the sequence detail with the frame it saves | A checkpoint that keeps the old detail | At checkpoint cadence the frame goes through the checkpoint, and would otherwise be missing from photo x of y |
| 2026-11-15 | The scan's bar keeps counting folders, with photos of the current folder in the status line | A full photo count up front | It would need a second walk of the archive |
| 2026-11-15 | Workspace move picks CopyOriginal when its journal says the volumes differ, otherwise Reorganize, with entry n of m, and no project title; `WorkspaceMover` is unchanged for it | A new step value | No JobStep append was needed |
| 2026-11-15 | The Jobs row stacks the status line under the target inside 38 px, with no new column; the status line is never in a live region, only state changes are announced | A new column; announce progress | Same row height; announcing progress would flood screen readers |
| 2026-11-15 | The status tooltip is built in code (line, speed, left) | A Tooltips.Jobs.Status format | Empty pieces drop out cleanly |
| 2026-11-15 | The job bar status is cut at 60 characters with the item dropped first; the admin line is cut at 90 with the full line in its title | Wrap the text | The bar and the 52 px rows have one line each |
| 2026-11-15 | An unknown step shows its counts only; an unknown clean-up or maintenance sub-step shows the generic step word, never its raw key | Show the raw wire value | A newer server stays readable without showing internal keys |
| 2026-11-15 | Byte-counted jobs show sizes in the job bar counter | Raw counts | A defect: "1073741824 of …" read as nonsense |
| 2026-11-15 | Recent maintenance follows live progress through a 500 ms throttle | Refresh on every event | It matches the 2/s publishing |
| 2026-11-15 | Owner Q2 (supersedes the plan's "desktop Jobs list stays this PC's only"): the desktop's own Jobs list stays this PC's, and the Server section lists the connected server's running and paused jobs, not the queued ones | List server jobs in the Jobs section; also list queued jobs | The owner follows server jobs from the Server section; a busy server queues thumbnails by the thousand, the queue stays in the admin panel |
| 2026-11-15 | Pause, Resume and Cancel in the server jobs list appear only for accounts with ManageArchive; the list needs Read | Offer them to the job's creator too | JobDto has no CreatedBy, and the server accepts these actions only from the creator or ManageArchive |
| 2026-11-15 | The server jobs panel is hidden while nothing runs or is paused | An empty-state panel | Keeps the existing server screens and baselines unchanged |
| 2026-11-15 | A refused server job action shows the server's localized ApiError message, otherwise Server.Error.Unreachable | A generic failure text | The server already words the reason in the client's language |
| 2026-11-15 | Owner review 5 (#66, owner Q1): "local" is this PC's archive and each Chronos Server is its own home; one index (`chronos.db`) is kept, the cache and the workspace are split per home | One index per home | Only the files mixed; the index already tells archives apart |
| 2026-11-15 | The server id is a Guid v7 stored as the app setting `server.id` (a JSON string), made on first start, announced as `ServerInfo.ServerId` (appended) | A new table or a file in the data folder | It travels with the database through backup, restore and Postgres, and needs no migration |
| 2026-11-15 | A server key is `id:<N>` when the server announces an id, else the 1.0 address key; address keys are kept as aliases (`KnownServerKey`, `AppSettings.KnownServers`) and the archive id of an alias is accepted (supersedes the address-only server key; amends the archive-id row of phase 5b) | Re-key everything to the id and forget the addresses | Queued jobs, bundles and links written with an address keep matching without a rewrite |
| 2026-11-15 | Queued and paused job parameters are not rewritten: workspace roots resolve through the home search of `WorkspaceJobRoots` and server keys through `WorkspaceJobOptions.SameServer` (aliases) at run time, including the home checks of the workspace copy and send handlers | A `JobRepository` method that rewrites job parameters | Simpler, and it keeps `JobRepository` untouched |
| 2026-11-15 | The home folder of a server without an id is `addr-` plus the first 16 hex of SHA-256(key) | A sanitised address | It equals the 1.0 ProxyCache folder, so the legacy cache maps one-to-one and the name is filesystem-safe |
| 2026-11-15 | The workspace parent manifest goes to format 2 with `layout: "homes"`; each home is an ordinary format-1 store with a `server.json` record; one workspace Folder setting (the parent) with fixed per-home subfolders | A format bump of every store; a folder setting per home | 1.0 refuses the parent instead of listing it empty (a downgrade is not supported); the store code is reused unchanged per home |
| 2026-11-15 | The 1.0 → 1.1 sorting runs automatically at the first start, with no dialog, between opening the index and starting the job engine, using only same-folder renames, each checked by an inventory of relative names and sizes, under a journal in the data folder | Copy and SHA-256 verify; ask first | Nothing is rewritten or deleted, so an inventory is enough (the WorkspaceMover same-volume rule) and the dry-run plan plus journal satisfy the destructive-operations rule |
| 2026-11-15 | A project in two places keeps the copy whose working state was saved last; the other goes to its home's .trash; a cache clash stays in place; a sync_links clash keeps the newer row | Ask the user | Nothing is deleted, the outcome is deterministic, and the cache can be rebuilt |
| 2026-11-15 | Leased projects, an unreachable workspace and a pending workspace move defer the workspace part while the cache part runs; a failure is logged and shown and the start goes on | Block the start | The app must start; the journal resumes later |
| 2026-11-15 | The new ProxyCache layout is opt-in through `SyncOptions.ServersDirectory`; reads fall back to alias homes, then to the 1.0 folder | Switch the layout unconditionally | Sequences cached by 1.0 stay usable before sorting |
| 2026-11-15 | WorkspaceCleaner takes several WorkspaceSync instances | One cleaner per home | One cleaner sees every server's links |
| 2026-11-15 | The DiscoveryBeacon does not announce the server id yet | Add it now | The beacon id is optional; follow-up |
| 2026-11-15 | The originals archive of a server is `<parent>\<archive name> - <SafeName(server)>`, with " (2)"… on a clash, named "<server> (server)", made at the first Download originals with a toast giving its path; existing copies stay | A subfolder of the local archive; made at sign-in | Q1 asks for a separate archive per server; a sibling folder keeps the archives independent; no empty archive for servers the user never downloads from |
| 2026-11-15 | A server without an ID (1.0) sends originals to this PC's archive | Its own archive keyed by address | The address key is unstable; this keeps 1.0 behaviour until the server upgrades |
| 2026-11-15 | Originals archives are scanned after each finished scheduled Scan of this PC's archive; DesktopScheduleHost picks the archive at LastArchivePath, else the first one that is not an originals archive | A second schedule per archive; `CurrentArchive.Pick` as is | `IScheduleHost` names one archive, and the schedule must not scan a server's originals as this PC's archive |
| 2026-11-15 | KnownServers is recorded in SyncHost.Update/Remember from `Flow.Info.ServerId` | In ConnectFlow | ConnectFlow has no settings access; SyncHost already reacts to every session change on the UI thread |
| 2026-11-15 | The re-key runs at every sign-in with an ID that has aliases, before the agent starts, and is skipped while WorkspaceCopy/Render/Send/Move, Download, UploadCommit or VideoCopy jobs are pending | Re-key once, or cancel the jobs | The aliases match meanwhile, so waiting loses nothing, and jobs never see their folder renamed under them |
| 2026-11-15 | A known server id seen with a different TLS fingerprint and a different name raises a warning toast; the deploy guide says never to clone a server database | Trust the id alone | A cloned database would make two servers one |
| 2026-11-15 | The cache trim keeps `servers\` whole | Trim inside it | Its proxies are complete sets the sync keeps, and the render node trims its own downloads |
| 2026-11-15 | A chosen workspace folder still in the 1.0 layout is used as one legacy store until the next start's sorting | Split it at once on Use folder | The sorting needs the index and the job checks of the start; nothing is moved during a folder change |
| 2026-11-15 | Trash Empty… covers every home's trash, checks each trash's own fingerprint first, and erases nothing if any one changed | One trash per home in the UI | One control and one typed confirmation, still all or nothing |
| 2026-11-15 | Home toasts use Shell.Homes.* titles and messages in their own areas (Shell.Homes.Moved, Errors.Homes.*, Errors.Sync.NoOriginalsFolder); home and server rows reuse Common.Open | Tooltips keys as messages; new unused keys | Messages belong to their area; no unused keys |
| 2026-11-15 | `AppPaths.CreateDirectories`/`ThumbnailsDirectory` are deleted | Wire them in | Nothing calls them |
| 2026-11-15 | Owner review 5 (#67, owner Q3; supersedes the 2026-10-02 Windows-service row): Chronos.Server is a library and Chronos.Server.Host the console exe (Docker, development); the App references the library and the Microsoft.AspNetCore.App shared framework; the Windows service hosting is deleted | A separate server process started by the desktop; keep the service as a development path | No external processes, one engine and one index, zero packages |
| 2026-11-15 | The hosted server reuses the desktop's index, archive and processing services, job engine and scheduler, and never creates, starts, stops or disposes them; no static log sink, no console lifetime (DesktopHostLifetime) | A second engine/index inside the server | Two engines would claim the same jobs; the desktop's log stays its own |
| 2026-11-15 | ImagesAfterScanWhen follows sharing; the uploads clean-up step is the desktop's (ShareUploadsStep), "Sharing off: nothing swept." otherwise | Fixed ImagesAfterScan | Clients of a shared library need thumbnails and proxies like a server's |
| 2026-11-15 | One scheduler: the share adds only upload-cleanup and audit-cleanup; DesktopScheduleHost lists them while sharing is on so Reset restores them | The server's own scheduler | Two schedulers would double-run the archive scan, backup and housekeeping |
| 2026-11-15 | In hosted mode the jobs API lists and acts on server job kinds only (JobEngineHost.Exposes); desktop-private jobs answer 404 | Expose all jobs | Workspace jobs carry local paths of this PC |
| 2026-11-15 | Every by-id endpoint is scoped to the served archive in both modes (ServedItems filter); a client's render export folder is always dropped | Scope only in hosted mode; validate the folder | The desktop's index holds other archives (servers' originals); same rule on Docker costs nothing; a client must never pick a path on the server's disk |
| 2026-11-15 | Server-only state lives in <data>\server (private through DataFolderAccess.Restrict); accounts live in the one index and its backups | A separate server database | One index, one backup |
| 2026-11-15 | Hosted options = server.json + desktop-owned values, no environment variables; locked keys show "Set in Chronos Desktop" | Honour CHRONOS_* | A developer's variables must not reach the desktop |
| 2026-11-15 | AppSettings.Share, default off, ports 8443/8080, discovery on; Reset all turns it off; Export/Import carry it | Other ports | Docker's defaults, so "studio-pc" alone works in the Uploader |
| 2026-11-15 | The first admin is made as in Docker (AdminBootstrap); the desktop shows the temporary password while its file exists (masked, Show, Copy) | A new password UI | No password in settings or logs |
| 2026-11-15 | A port in use leaves sharing "Not started" naming the port; other start failures show "Sharing could not start: {reason}" | Silent retry on another port | Clients need a stable address |
| 2026-11-15 | Sharing starts after the schedules and the archive reopen, stops first at exit, and runs Kestrel start/stop off the UI thread | Start at index open | The scheduler must exist; the exit blocks the UI thread |
| 2026-11-15 | The desktop refuses its own share in ConnectFlow (fingerprint before the trust question, or server id) and drops its own beacon from LAN discovery | Allow loopback sessions | The desktop already has the library open; a session to itself would double every change |
| 2026-11-15 | Captures show the PC as STUDIO-PC (AppEnvironment.PcName) | The real machine name | Screenshots show nothing of the machine |
| 2026-11-15 | Not built in v1.1 yet: the tray lifetime for sharing (closing the window stops it), the firewall status row, the 1.0 service probe in the desktop, in-process refresh of the Library on client changes | Hold the release for them | The share works while the window is open; each is a follow-up issue |
| 2026-11-15 | Owner review 5 merge: the parcels ran in parallel worktrees with per-file ownership and were merged in the order p1b, p1a, p21, p22, p23, p4 (with p31, p32); Tooltips rows were inserted in sorted position per key prefix, never `i18n prune`; the unused `Server.Service.*` keys were removed line by line in all 38 cultures; the 36 other cultures, docs and baselines are done once at the merge step | Sequential parcels | Four issues in one release; ownership kept the merges to three conflicts |
| 2026-11-15 | The sample data applies `SampleJobDetails` to every sample job, the server transfer jobs included | Only `Jobs()` | The Server screen's running upload and paused download show the detail like the Jobs screen |
+16 -3
View File
@@ -12,12 +12,13 @@ by its `windows` job once a Windows runner is registered (`WINDOWS_RUNNER`), and
| 4 Card import | Done: device detection, card pool and camera profiles, plan with sessions (merge and split), hash-verified copy, post-actions (verified delete, format behind a typed confirmation, eject), auto-import, Archive, Folder and Server destinations. Gate: import from a simulated card folder end to end in tests; delete and format refuse any photo the import did not verify; screenshots on `ci-screenshots`. |
| 5 Analysis advisor | Done: light and deep analysis, reports and section charts, recommendations with localised reasons, sequence presets, Auto/manual controls and Optimise in the editor. Gate: golden recommendations for synthetic sequences; every reason key exists in `en` and `it` (`i18n check`); deep analysis streams with checkpoints and resumes after a restart. |
| 6 Engine, encoding, editor | Done: render pipeline, MP4/AVI/GIF/APNG/image sequences, Media Foundation H.264/HEVC/AV1 with managed fallbacks; the sequence editor (Frames, Exposure, Camera, Motion and Export tabs, preview tools, section charts, curve editor, undo/redo, batch export) for local and server sequences. Gate: self-test suite green; the in-house inspector validates the containers the tests write; the encoder in use is logged. Playback: MediaPlayer opens the Media Foundation output and a source reader decodes its first frame (Windows tests). The pixel diff of every `--capture` screen against `tests/visual/baselines` (`screenshots diff`, BRIEF §20.2) is wired into CI but not armed: no baseline is committed yet, so the step compares nothing and only warns until the first baselines are accepted from `ci-screenshots` (Next steps). |
| 7 Server, sync, uploader | Done: server (API, auth, uploads, jobs, render nodes, events, admin panel with light and dark themes, Windows service), Uploader, client sync (sync table, conflicts with *Save both*, proxies kept offline, metered pause), server sequences edited with proxies and rendered where the originals are, this PC as a render node. Gate covered in-process: a sequence uploaded from one PC downloads identically on another, interrupted uploads and downloads resume, server events update a PC, renders run on a node and on the server's managed fallback, jobs resume after a restart, sign-ins and administrative actions are audited. The run with two real PCs and the Uploader against the Docker server is part of the release test. |
| 7 Server, sync, uploader | Done: server (API, auth, uploads, jobs, render nodes, events, admin panel with light and dark themes; the Windows service was replaced in owner review 5 by Chronos Desktop sharing its library), Uploader, client sync (sync table, conflicts with *Save both*, proxies kept offline, metered pause), server sequences edited with proxies and rendered where the originals are, this PC as a render node. Gate covered in-process: a sequence uploaded from one PC downloads identically on another, interrupted uploads and downloads resume, server events update a PC, renders run on a node and on the server's managed fallback, jobs resume after a restart, sign-ins and administrative actions are audited. The run with two real PCs and the Uploader against the Docker server is part of the release test. |
| 8 Release readiness | Release pipeline end to end (installers, portable and server zips, SHA256SUMS, release notes, optional signing, server image in the Gitea container registry, optional separate releases repository), update check with verified download, scrubbed diagnostics bundles (desktop and server), performance gates, 38 cultures (`en`, `it` and 36 machine translations with glossaries and independent reviews), RTL pass (`ar`, `he`: mirrored windows, left-to-right islands for media, charts, numbers and paths; any right-to-left culture added later follows), accessibility pass (names, live regions, keyboard paths for charts and the curve editor). The installer test (silent install of the packed installers, run, upgrade in place, uninstall: files, Add/Remove Programs, shortcuts, file type, user data kept, exit codes) runs in CI's `windows` job on a Windows runner. Pending: the interactive install on a real PC, Unraid template validation on a real server. |
| 8.1 Owner review 1 | In progress (request, answers and plan: `docs/requests/2026-10-15-owner-review-1.md`). Phase 1 done: stalled thumbnail and proxy jobs no longer fail and stay Running (frame-counted progress, bounded time left, final state always written); the editor's cancelled decodes stay in their tasks (no debugger stops in `WicDecoderProvider.cs`); WIC decodes RAW only through the Raw Image Extension and never DNG; GoPro DNGs converted by Adobe software are DNGs, developed natively for videos, read through their embedded preview for analyses and previews, and reclassified in existing archives by the next light analysis. Phase 2 done: jobs run one at a time on the desktop and the server; Parallelism is how many photos the running job processes at once (thumbnail and proxy passes, tier probes, deep analysis, render decodes); pausing the running job starts the next; an optional priority queue by job kind (Settings › Rendering, admin panel › Settings › Jobs, `CHRONOS_PRIORITY_QUEUE`) pauses lower jobs and resumes them by themselves; `CHRONOS_PARALLELISM` replaces `CHRONOS_WORKERS`. Phase 3a done: the rail is 200 px and collapses to icons with ≡ or Ctrl+B (tooltips then name the sections, the choice saved at once); the admin panel's sidebar is 256 px and collapses the same way. Phase 3b done: the Sequence section is now Edit, one sequence at a time chosen in a picker inside the section (Change sequence, Ctrl+O; the sequence edited last selected first), and the editor's tabs are the steps of a guided, freely navigable path from a new Analysis step (every finding with the step that deals with it) to Export, each step showing where it stands, with Previous and Next. Phase 4 done and released as `v0.1.0-rc.12` (issue #19, `188b2c2e`; one adversarial review round, 30 findings, all confirmed and fixed, and a final check that fixed one more; strings in all 38 languages; 31 screenshot baselines accepted): the crop edited on the preview with eight handles, always locked to the output's aspect, in the view frame, by mouse, keyboard (Enter selects) and Crop size/X/Y (R5); the chosen proportions win: a fixed-size preset is a box the aspect is fitted in (`RenderSize`: 4K at 9:16 = 2160×3840), "source" keeps the preset, *Output size* on the Export step; Rotation (quarter turns), Mirror, Flip and Straighten (±15°, automatic cover zoom, the grid while it moves) in the Camera step inside the one warp (`FrameOrientation`), a turn or mirror keeping the content (`OrientationEdit`: crop, keyframes, transposed aspect), Reset framing; eight built-in colour looks with a strength at the end of the Exposure step, after stacking and before the knee (`LookFilter`, `FrameFinish`), the same in the render, on the server, render nodes and the preview; settings format 2 written only while a transform or look is used (`ProjectSettings.RequiredFormat`), read-only in older builds; `server/info` and node registrations announce the settings format, jobs carry the one they need (`RenderRules.RequiredFormat`), and nothing an older server or node would get wrong is sent to it (Sync, Send and render, the Library's Render, a remote editor's save); encoder limits read either way round; the advisor on the view as shown. Also fixed on the way (issue #20): project text is LF on every OS, stored CRLF versions compare equal. Known limitations: an older desktop renders a chosen aspect at the preset's ratio on its own; the server's settings format is cached for a minute; the new Camera rows and the Straighten slider binding have no on-screen test. Phase 5 done, to be released as `v0.1.0-rc.13` (issue #21; eight parcels and an integration, one adversarial review round whose findings are all fixed; strings in English and Italian, the other 36 languages being imported): the header's *Render ▾* at a fixed width with its details in the tooltip and a structured menu (recommended, batch and recent presets, *Other presets ›* by group with a details line, *Render batch*, *Add to queue*, *Save frame ›*, *Videos*; `RenderMenu`, hierarchical two-line `SplitButton` entries) (R3); the Export step's grouped preset table, four collapsible groups with summaries kept per user (`ExportGroups`, `AppSettings.EditorGroups`) and a fixed footer (R3); advanced encoding (rate control, bit rate or quality, keyframes in seconds, B-frames, profile, gated per codec and depth) and standard resolutions over the existing overrides, no format raise (R8); playback (reverse, boomerang, loops, fades to black, hold) as the Core `OutputProgram` between the plan and the encoder, with estimates, progress and star trails following it, settings format 3 written only when used (R8); *Save frame* as a still render (PNG, JPEG, TIFF 16-bit; `RenderTarget.StillFrame`, `StillImageSession`; format-3 jobs, also from workspace projects) (R8); render SHA-256 and kind, render copies (migration 0010); the videos library (`VideoLibrary`, `VideoTrash` into `trash/videos/` with a dry run, fiLine truncated
| 8.2 Chronos on Gitea | Done (request: `docs/requests/2026-10-23-chronos-gitea.md`): Titano renamed Chronos everywhere, translations' grammar included; repository, update check, links, issue forms and registry moved to the self-hosted Gitea; Gitea Actions CI, release, nightly image and performance workflows for the Linux runner, with the Windows programs cross-compiled and checked (`pe-check`); new `Chronos.Tools` commands `zip`, `gitea-release`, `postgres-ci`, `pe-check`. Pre-releases `v0.1.0-rc.1` and `v0.1.0-rc.2` (the update check builds its links from `ChronosReleasesUrl`, since Gitea's use its LAN ROOT_URL) published; `REGISTRY_TOKEN` is set and the `v0.1.0-rc.2` server image is in the registry. |
| 8.3 Owner review 2 | Done (request, answers and plan: `docs/requests/2026-10-26-owner-review-2.md`). Phase 1 done and released as `v0.1.0-rc.3` (one adversarial review round, 19 findings fixed; strings in all 38 languages): `:latest` follows the highest stable release, or the highest pre-release while none is stable (`Chronos.Tools release-channels`), `:nightly` stays the nightly build of `main` (R1); `CHRONOS_SPACE_PATH` and the Unraid template's *Array view* (`/mnt/user0/<share>` read-only at `/space`) make the admin panel show the array's free space, the cache apart as *Write volume*, the file system in the tooltip, and completing an upload checks the archive volume first (507, resumable) (R2); the Settings icon is a toothed gear and the admin panel docks Settings at the foot of its sidebar (R4); About is the last page of Settings on the desktop and the last group of Settings on the admin panel (R5); Import › Folder… › *Whole folder* imports a folder as one sequence per format, titled after the folder (R9). Phase 2 done and released as `v0.1.0-rc.4` (one adversarial review round, 35 findings fixed; strings in all 38 languages): scheduled jobs (R10) — schedules (migration 0007) with an in-house recurrence form, one scheduler per host claiming runs by compare-and-set with catch-up, and Jobs › Scheduled on the desktop and the admin panel (`/api/v1/schedules`, `scheduleChanged`); every timer that queued work is a visible system schedule (server: archive scan, upload clean-up every 6 h, index backup at 03:00, job history and audit log clean-ups; desktop: archive scan, daily index backup, housekeeping with cache trim), the archive still scanned at start; new Backup and Clean-up jobs, duplicates and orphans reports as jobs, one backup retention, the trash only reported; log settings (R11) — file and console levels, retention, file and total size limits, daily or hourly rotation, audit retention (the audit clean-up schedule's) and the diagnostics share in the admin panel's Settings › Logs (`CHRONOS_LOG_*`, `lockedBy`) and the desktop's Settings › Advanced; the server's files take Debug and Trace again, and logging never fails a job. Phase 3 done and released as `v0.1.0-rc.5` (one adversarial review round and two fix rounds, 40 findings fixed; strings in all 38 languages; Library, photo delete and restore and the web upload tried by hand): the admin panel manages and never edits (R6) — a Library page (facets filters, cards or list, keyboard selection, mass Analyse, Proxies, Thumbnails, Verify, Tags, Export CSV and Delete, 1,000 sequences a request), a sequence's page (inline title, tags, rating, notes, photo viewer, cover, downloads, photo delete) and the trash view (Restore, Empty… behind a dry run, the typed word and a fingerprint); photos deleted into `trash/photos` under crash-safe journals with tombstones in the sidecar and `frame_removals` (migration 0008), so sync and uploads never bring them back unless restored or uploaded again on purpose; trash kinds, restore reasons and the `EmptyTrash` job on the desktop's Trash… too (typed entry count); the panel's files revalidated (`no-cache`, ETag); upload from the panel (R3) — file picker or drop, no folders, a self-tested in-house SHA-256 in a module worker, Exif capture time, resumable chunks. Known limitations: a never-hashed photo whose file was already missing is deleted without a tombstone; an unhashed server frame of a photo deleted on a PC stays *missing here* until the server verifies it; `jobState` carries no kind, so panel pages refresh after any job. Phase 4a done and released as `v0.1.0-rc.6` (one adversarial review round and six fix rounds; strings in all 38 languages): Reorganize after import (R7) on the desktop (Archive manager, Library, the toast after Settings › Archive templates change; it replaces Rename… and Move…) and the admin panel (Library, the *Saved* toast of Archive) — folder, file and title templates applied to filed sequences behind a dry run that lists every change, the photos that keep their names and why (in place, never verified, missing) and the sequences that stay whole (unreadable sidecar), applied by the `move` job of exactly the confirmed plan (fingerprint, `POST /api/v1/archive/reorganize`, plans kept a few minutes on the server), which holds the rest when paused, cancelled or failed (also while the archive is offline), lets a sequence still receiving photos keep its file names and takes along a sequence left as it was inside a folder that moves; files renamed in two phases under `.chronos/rename-files.json`, completed after a crash by the next writer; the index, frames and exports follow a moved folder in one transaction, here and at another index's next scan, and writers never create a folder a Reorganize left nor write into one another sequence took; import, upload and Reorganize name photos by one rule (the sequence's camera and lens), and templates follow one set of rules everywhere Line truncated
| 8.3 Owner review 2 | Done (request, answers and plan: `docs/requests/2026-10-26-owner-review-2.md`). Phase 1 done and released as `v0.1.0-rc.3` (one adversarial review round, 19 findings fixed; strings in all 38 languages): `:latest` follows the highest stable release, or the highest pre-release while none is stable (`Chronos.Tools release-channels`), `:nightly` stays the nightly build of `main` (R1); `CHRONOS_SPACE_PATH` and the Unraid template's *Array view* (`/mnt/user0/<share>` read-only at `/space`) make the admin panel show the array's free space, the cache apart as *Write volume*, the file system in the tooltip, and completing an upload checks the archive volume first (507, resumable) (R2); the Settings icon is a toothed gear and the admin panel docks Settings at the foot of its sidebar (R4); About is the last page of Settings on the desktop and the last group of Settings on the admin panel (R5); Import › Folder… › *Whole folder* imports a folder as one sequence per format, titled after the folder (R9). Phase 2 done and released as `v0.1.0-rc.4` (one adversarial review round, 35 findings fixed; strings in all 38 languages): scheduled jobs (R10) — schedules (migration 0007) with an in-house recurrence form, one scheduler per host claiming runs by compare-and-set with catch-up, and Jobs › Scheduled on the desktop and the admin panel (`/api/v1/schedules`, `scheduleChanged`); every timer that queued work is a visible system schedule (server: archive scan, upload clean-up every 6 h, index backup at 03:00, job history and audit log clean-ups; desktop: archive scan, daily index backup, housekeeping with cache trim), the archive still scanned at start; new Backup and Clean-up jobs, duplicates and orphans reports as jobs, one backup retention, the trash only reported; log settings (R11) — file and console levels, retention, file and total size limits, daily or hourly rotation, audit retention (the audit clean-up schedule's) and the diagnostics share in the admin panel's Settings › Logs (`CHRONOS_LOG_*`, `lockedBy`) and the desktop's Settings › Advanced; the server's files take Debug and Trace again, and logging never fails a job. Phase 3 done and released as `v0.1.0-rc.5` (one adversarial review round and two fix rounds, 40 findings fixed; strings in all 38 languages; Library, photo delete and restore and the web upload tried by hand): the admin panel manages and never edits (R6) — a Library page (facets filters, cards or list, keyboard selection, mass Analyse, Proxies, Thumbnails, Verify, Tags, Export CSV and Delete, 1,000 sequences a request), a sequence's page (inline title, tags, rating, notes, photo viewer, cover, downloads, photo delete) and the trash view (Restore, Empty… behind a dry run, the typed word and a fingerprint); photos deleted into `trash/photos` under crash-safe journals with tombstones in the sidecar and `frame_removals` (migration 0008), so sync and uploads never bring them back unless restored or uploaded again on purpose; trash kinds, restore reasons and the `EmptyTrash` job on the desktop's Trash… too (typed entry count); the panel's files revalidated (`no-cache`, ETag); upload from the panel (R3) — file picker or drop, no folders, a self-tested in-house SHA-256 in a module worker, Exif capture time, resumable chunks. Known limitations: a never-hashed photo whose file was already missing is deleted without a tombstone; an unhashed server frame of a photo deleted on a PC stays *missing here* until the server verifies it; `jobState` carries no kind, so panel pages refresh after any job. Phase 4a done and released as `v0.1.0-rc.6` (one adversarial review round and six fix rounds; strings in all 38 languages): Reorganize after import (R7) on the desktop (Archive manager, Library, the toast after Settings › Archive templates change; it replaces Rename… and Move…) and the admin panel (Library, the *Saved* toast of Archive) — folder, file and title templates applied to filed sequences behind a dry run that lists every change, the photos that keep their names and why (in place, never verified, missing) and the sequences that stay whole (unreadable sidecar), applied by the `move` job of exactly the confirmed plan (fingerprint, `POST /api/v1/archive/reorganize`, plans kept a few minutes on the server), which holds the rest when paused, cancelled or failed (also while the archive is offline), lets a sequence still receiving photos keep its file names and takes along a sequence left as it was inside a folder that moves; files renamed in two phases under `.chronos/rename-files.json`, completed after a crash by the next writer; the index, frames and exports follow a moved folder in one transaction, here and at another index's next scan, and writers never create a folder a Reorganize left nor write into one another sequence took; import, upload and Reorganize name photos by one rule (the sequence's camera and lens), and templates follow one set of rules everywhere Line truncated
| 8.4 Owner review 4 | Done (request and plan: `docs/requests/2026-11-06-owner-review-4.md`): released as `v0.1.0-rc.14` with owner review 1 phase 6 (the deploy guide `docs/deploy/`), then as `v1.0.0` (#23), the first stable release: R1 work board of every video made or published, the published apart from workspace work (#29); R2 the anonymous usage counts removed, nothing sent by itself (#30); R3 the archive's whole folder structure created inside the chosen archive path, desktop and server (#31); R4 the repository on Gitea in order (earlier work as closed issues #32–#54 in their milestones, the original documentation in `docs/reference/original`, `fe50b877`); R5 licensing set aside and recorded in #24. |
| 8.5 Owner review 5 | In progress for `v1.1.0` (request, answers and plan: `docs/requests/2026-11-15-owner-review-5.md`; issues #64–#67, milestone v1.1.0). The parcels are merged on `or5-v1.1`: one setup for Chronos Desktop and Chronos Uploader with the Uploader's update check (#64); the detail of mass passes (step, photo x of y, sequence n of m) on the desktop, the admin panel and, for the connected server's jobs, the desktop's Server section (#65); separate homes per server keyed by a stable server id, with the 1.0 workspace and cache sorted at the first start and a separate originals archive per server (#66); Chronos Desktop sharing its library on the LAN in place of Chronos Server for Windows (#67). Build 0 warnings; Core, Data, Server, Tools, App and Core.Windows suites green on the PC. Left: translations of the new keys into the 36 other languages, the capture baselines (setup, jobs, archive, settings, server, uploader scenes), the Windows-only smoke tests and `installer-test.ps1` on a Windows PC, the release dry run, and the #67 pieces not built yet (tray lifetime, firewall row, 1.0 service probe in the desktop). |
| 9 Monetization | Not started: requires explicit approval (§22); the proposal is recorded in issue #24 (owner review 4, R5). |
## Verification (2026-10-12)
@@ -40,7 +41,7 @@ installers were installed, run, upgraded and removed on GitHub's `windows-latest
```
dotnet build Chronos.slnx -c Release
dotnet run --project src/Chronos.Server # https://localhost:8443/admin (set CHRONOS_DATA_PATH/CHRONOS_ARCHIVE_PATH)
dotnet run --project src/Chronos.Server.Host # https://localhost:8443/admin (set CHRONOS_DATA_PATH/CHRONOS_ARCHIVE_PATH)
src/Chronos.App/bin/Release/net10.0-windows/Chronos.exe # Windows
src/Chronos.Uploader/bin/Release/net10.0-windows/Chronos.Uploader.exe # Windows
docker compose -f deploy/docker/docker-compose.yml up -d # server + PostgreSQL 17
@@ -53,6 +54,18 @@ src/Chronos.App/bin/Release/net10.0-windows/Chronos.exe --capture out/screenshot
- Update download: Settings › Updates › *Check for updates*, then *Download* when a newer release exists; the verified
setup (the portable zip in a portable copy) appears in Explorer. *Cancel* stops it; the next *Download* resumes.
Settings › About shows the version, build, runtime and system.
- Owner review 5 (v1.1.0):
- One setup: `Chronos.Tools pack-installer` builds `Chronos-Setup-<v>.exe`; run it over a 1.0 install and read the
*Changes* row; untick Chronos Uploader to remove it in place; untick both for *Uninstall*.
- Uploader updates: Chronos Uploader › Settings › Updates › *Check now*.
- Progress detail: Archive › Maintenance › *Verify*, then Jobs: the row says "Verifying photo x of y · … · sequence n
of m"; pause it and the row says "Stopped at …". The admin panel's Jobs page shows the same line.
- Server jobs: sign in to a server running a verify job; the Server section lists it live.
- Homes: start 1.1 on a 1.0 data folder (portable copy): the toast says *Folders sorted*; Settings › Workspace › Home
folders and Settings › Server › Known servers list the folders. Sign in to the same server by another address: its
projects stay Online. *Download originals* goes to `<archive> - <server>`.
- Share this library: Settings › Server › *Share this library*, then Server › This library; connect the Uploader or
another PC to the address shown.
- Import: Import › *Folder…* (any folder of photos stands in for a card) › *Import*; the sequence opens from the
Library. Delete a sequence with *Delete…* (dry run first) and bring it back from Archive › *Trash…*.
- Whole folder: Import › *Folder…* › Group › *Whole folder*: one plan row per file format (RAW+JPEG gives two), titled
+8 -5
View File
@@ -8,7 +8,7 @@ specification behind each behaviour is `docs/BRIEF.md` (§14.9 configuration and
|---|---|
| [docker.md](docker.md) | Chronos Server in Docker with Compose: image tags, volumes, every `CHRONOS_*` variable, ports, TLS, PostgreSQL, upgrades, backup and restore, troubleshooting |
| [unraid.md](unraid.md) | Chronos Server on Unraid with the template `deploy/unraid/chronos.xml` and the official PostgreSQL template, including host ports other than 8080/8443 |
| [desktop.md](desktop.md) | Chronos and Chronos Uploader on Windows: Setup, portable mode, updates, uninstall; Chronos Server on Windows |
| [desktop.md](desktop.md) | Chronos Desktop and Chronos Uploader on Windows: the one setup, portable mode, updates, uninstall; sharing a library from Chronos Desktop |
The short user guide that ships with every release is `deploy/releases-repo/README.md` (it becomes the README of a
separate releases repository when `RELEASES_REPO` is set). It and these guides say the same things; these go further.
@@ -17,9 +17,12 @@ separate releases repository when `RELEASES_REPO` is set). It and these guides s
| Program | Runs on | Talks to |
|---|---|---|
| **Chronos** (desktop) | Windows 10 21H2+ / 11, x64 | Its own archive and index on the PC; optionally a Chronos Server over HTTPS |
| **Chronos Uploader** | Windows 10 21H2+ / 11, x64 | A Chronos Server over HTTPS |
| **Chronos Server** | Docker (`linux/amd64`), Unraid 6.12+, Windows 10/11/Server 2019+ x64 | PostgreSQL 16 or 17 (Linux), SQLite or PostgreSQL (Windows); its archive folder |
| **Chronos Desktop** | Windows 10 21H2+ / 11, x64 | Its own archive and index on the PC; optionally a Chronos Server over HTTPS; can share its own library on the LAN (Settings › Server › *Share this library*) |
| **Chronos Uploader** | Windows 10 21H2+ / 11, x64 | A Chronos Server, or a library Chronos Desktop shares, over HTTPS |
| **Chronos Server** | Docker (`linux/amd64`), Unraid 6.12+ | PostgreSQL 16 or 17; its archive folder |
On Windows there is no separate server program: Chronos Desktop › Settings › Server › *Share this library* serves the
PC's library with the same engine ([desktop.md](desktop.md#share-a-library-from-chronos-desktop)).
The archive is the source of truth: photos, sidecars, proxies and renders live in ordinary folders, and the database is
an index that can be rebuilt from them (BRIEF §7). Users, sign-ins, schedules, job history and the audit log live only
@@ -29,7 +32,7 @@ in the database, so back up both (see [docker.md › Backup and restore](docker.
| What | Where |
|---|---|
| Windows installers, portable zips, the Windows server zip, `SHA256SUMS` | Releases of `BalboSoft/Chronos` on `https://gitea.encke-hake.ts.net` (or of the releases repository) |
| The setup (`Chronos-Setup-<version>.exe`), the portable zip, `SHA256SUMS` | Releases of `BalboSoft/Chronos` on `https://gitea.encke-hake.ts.net` (or of the releases repository) |
| Server image | `gitea.encke-hake.ts.net/balbosoft/chronos-server` — `:latest`, `:<version>`, `:nightly` |
| Compose file and `.env` example | `https://gitea.encke-hake.ts.net/BalboSoft/Chronos/raw/branch/main/deploy/docker/docker-compose.yml` and `…/deploy/docker/.env.example` |
| Unraid template | `https://gitea.encke-hake.ts.net/BalboSoft/Chronos/raw/branch/main/deploy/unraid/chronos.xml` |
+51 -29
View File
@@ -1,7 +1,9 @@
# Chronos on Windows
Chronos (the desktop program), Chronos Uploader and Chronos Server for Windows. Requirements: Windows 10 21H2 or later,
or Windows 11, x64; 8 GB of memory or more for 4K renders. The programs are self-contained: no .NET runtime to install.
Chronos Desktop and Chronos Uploader, and sharing a library from Chronos Desktop. Requirements: Windows 10 21H2 or
later, or Windows 11, x64; 8 GB of memory or more for 4K renders. The programs are self-contained: no .NET runtime to
install. Chronos Server itself runs only in Docker ([docker.md](docker.md), [unraid.md](unraid.md)); on Windows, Chronos
Desktop serves its own library instead (below).
## Downloads
@@ -9,12 +11,14 @@ Each release on Gitea carries:
| File | What it is |
|---|---|
| `Chronos-Setup-<version>.exe` | Setup with the components Chronos, Uploader and, optionally, Server |
| `Chronos-Uploader-Setup-<version>.exe` | Setup of the Uploader alone |
| `Chronos-win-x64-portable-<version>.zip` | Chronos without installing (portable mode) |
| `Chronos-Server-win-x64-<version>.zip` | Chronos Server for Windows without the setup |
| `Chronos-Setup-<version>.exe` | The one setup: Chronos Desktop, Chronos Uploader or both |
| `Chronos-win-x64-portable-<version>.zip` | Chronos Desktop without installing (portable mode) |
| `SHA256SUMS` | The SHA-256 of every file |
Since 1.1 there is no separate Uploader setup and no Chronos Server for Windows. If you installed Chronos Uploader 1.0
on its own, run `Chronos-Setup-<version>.exe` once: it replaces the separate Uploader, keeping its sign-in entry, its
shortcut and its data.
Check a download before running it: `Get-FileHash .\Chronos-Setup-<version>.exe -Algorithm SHA256` in PowerShell, then
compare with its line in `SHA256SUMS`. Signed builds carry an Authenticode signature; unsigned ones may show a
SmartScreen prompt.
@@ -22,17 +26,24 @@ SmartScreen prompt.
## Setup
- **Per user** (default, no administrator rights): `%LOCALAPPDATA%\Programs\Chronos`.
- **All users**: `Program Files` (Windows asks for permission). Choosing the *Server* component installs for all users,
since it runs as a Windows service.
- Options: components, folder, desktop and Start menu shortcuts, the `.chronos` file type.
- **All users**: `Program Files` (Windows asks for permission).
- Options: components (Chronos Desktop, preselected, and Chronos Uploader), folder, desktop and Start menu shortcuts,
the `.chronos` file type.
- **Silent** (IT deployment): `Chronos-Setup-<version>.exe /S [/DIR="D:\Apps\Chronos"] [/ALLUSERS]
[/COMPONENTS=Chronos,Uploader,Server] [/NODESKTOP] [/NOSTARTMENU] [/LANG=it]`.
- **Upgrade**: run the newer setup over the installed version; it upgrades in place and keeps archive, settings and
index.
[/COMPONENTS=Desktop,Uploader] [/NODESKTOP] [/NOSTARTMENU] [/LANG=it]`. `Desktop` and `Chronos` name the same
component. An explicit `/COMPONENTS` list is exact: an installed component it leaves out is removed.
- **Upgrade, add or remove**: run the newer setup over the installed version; it upgrades in place and keeps archive,
settings and index. Tick or untick a program to add or remove it; the *Changes* row lists what will happen before
anything runs. A file you changed since the setup installed it is never deleted ("N changed files kept"). With every
program unticked the button becomes *Uninstall*.
- **Chronos Server 1.0 for Windows**: a setup that finds it shows "Chronos Server 1.0.0 · No longer offered" and leaves
it, and its Windows service, untouched. Untick it (or leave it out of `/COMPONENTS`) to remove it with its service; its
data in `%ProgramData%\Chronos Server` is kept. To keep serving that library, share it from Chronos Desktop (below) or
move to [Docker](docker.md).
- **Uninstall**: Windows Settings › Apps › Installed apps › Chronos › Uninstall, or silently
`"%LOCALAPPDATA%\Programs\Chronos\Uninstall Chronos.exe" /uninstall /S`. Photos and archives are never touched. The
program data in `%LOCALAPPDATA%\Chronos` goes only when you tick that option, and only the part no other installed
Chronos program still uses; a Chronos Server service of that folder is stopped and removed.
Chronos program still uses; a Chronos Server 1.0 service of that folder is stopped and removed.
## Data folders
@@ -44,6 +55,12 @@ SmartScreen prompt.
Keep neither inside a OneDrive or Dropbox folder: a SQLite index in a synced folder gets corrupted. The archive and
the workspace are folders you choose in Settings › Archive and Settings › Workspace (the workspace best on a fast local
disk).
Since 1.1 the workspace and the cache keep a separate home for this PC (`local\`) and for each server
(`servers\<id>\`); the first start of 1.1 sorts a 1.0 workspace and cache into them by renaming folders (a toast says
*Folders sorted*). Chronos 1.0 cannot open a sorted workspace: downgrading is not supported. Originals downloaded from a
server go to that server's own archive beside this PC's (for example `D:\ChronosArchive - Studio NAS`); Settings ›
Workspace › Home folders and Settings › Server › Known servers show every folder with *Open*.
Backups of the index go to `backups\` next to it every day (Settings › Advanced › *Back up now* for one more copy;
restore there too).
@@ -59,6 +76,8 @@ To upgrade, unpack the newer zip over it (or let *Download* fetch it, below); `d
repository and shows a one-line notice when a newer version exists. *Check for updates* asks at any time.
- *Download* fetches the setup (or, in portable mode, the portable zip), checks it against `SHA256SUMS` and shows it in
Explorer: run it to upgrade.
- Chronos Uploader checks the same way (its Settings › Updates: *Check on start*, *Check now*, *Download*, *Show setup*),
except at start when Chronos Desktop is installed in the same folder, whose notice covers the same setup.
- There is one channel: stable releases. Pre-releases (`-rc.N`) are never offered; install them by hand from the
Releases page. A pre-release build is offered every newer stable release, and the final release of its own version
once it is out (a `1.1.0-rc.1` build is offered `1.1.0`).
@@ -73,21 +92,24 @@ certificate fingerprint: compare it with the admin panel's and accept it once; a
that answers as another service is reported as *not a Chronos server*. Server setup and ports: [docker.md](docker.md),
[unraid.md](unraid.md).
## Chronos Server on Windows
## Share a library from Chronos Desktop
Choose the *Server* component in the setup, or unpack `Chronos-Server-win-x64-<version>.zip` into a folder under
`Program Files`.
On Windows a library is served by Chronos Desktop itself: Settings › Server › *Share this library*. While Chronos runs
it serves this PC's current archive to other PCs, Chronos Uploader and render nodes with the same engine as the Docker
image (API, admin panel, accounts, TLS, LAN announcement, uploads, sync, render nodes), over the desktop's own index:
there is no second copy of the data.
- Database: SQLite in `C:\ProgramData\Chronos Server` by default, or PostgreSQL with `CHRONOS_DB=postgres` and the
`CHRONOS_DB_*` variables ([docker.md](docker.md#environment-variables)); archive `C:\ChronosArchive` unless
`CHRONOS_ARCHIVE_PATH` says otherwise. The listening ports are 8080 and 8443 and can be changed in the admin panel.
- Run `Chronos.Server.exe` in a console, or as a service from an administrator prompt: `Chronos.Server.exe
--install-service` (remove with `--uninstall-service`). The service runs as LocalSystem and registers only from a copy
that only administrators can change.
- Without `CHRONOS_ADMIN_PASSWORD` the first start writes a temporary password to `initial-admin-password.txt` in the
data folder (open it from an administrator prompt).
- The data folder is readable only by the server's account, SYSTEM and Administrators. A console run that was not
elevated creates it as your account, and the service then refuses it and names that account: the user guide
(`deploy/releases-repo/README.md` › Chronos Server on Windows) gives the `takeown` and `icacls` commands that fix it.
- Index backups: the `index-backup` schedule copies the SQLite index daily at 03:00 (three copies kept). With
PostgreSQL use `pg_dump`.
- Ports: HTTPS 8443 and HTTP 8080 by default (Settings › Server › Sharing, with the public ports and the LAN
announcement). Windows may ask once to let Chronos through the firewall on private networks: allow it, or clients
cannot connect.
- Server › This library shows the addresses (with *Copy*), the ports, the certificate fingerprint (with *Copy*), the
first admin's temporary password while it has not been changed (*Show*, *Copy*), the clients of the last 5 minutes and
the render nodes online, and *Admin panel*. Clients connect exactly as to a Docker server ("studio-pc" alone works).
- Sharing stops when Chronos closes. A port in use leaves sharing *Not started*, naming the port.
- The server's own data (certificate, `server.json`, uploads) lives in `<data folder>\server`; accounts live in the
index, so its backups cover them.
- The settings Chronos Desktop owns read "Set in Chronos Desktop" in the admin panel.
Moving from Chronos Server 1.0 for Windows: share the same archive folder from Chronos Desktop (Settings › Archive, then
*Share this library*), or run the Docker image with that archive and a PostgreSQL database; then untick Chronos Server in
the setup. The 1.0 server's accounts and history stay in its own database in `%ProgramData%\Chronos Server`.
+6 -1
View File
@@ -76,7 +76,7 @@ with a message naming the variable, except `CHRONOS_PARALLELISM`, which is held
| Variable | Default | Meaning |
|---|---|---|
| `CHRONOS_DATA_PATH` | `/data` (Windows: `C:\ProgramData\Chronos Server`) | Data folder; read before `server.json`, which lives in it |
| `CHRONOS_DATA_PATH` | `/data` (Chronos Server 1.0 for Windows: `C:\ProgramData\Chronos Server`) | Data folder; read before `server.json`, which lives in it |
| `CHRONOS_ARCHIVE_PATH` | `/archive` (Windows: `C:\ChronosArchive`) | Archive folder |
| `CHRONOS_SPACE_PATH` | unset: the archive's volume | A folder whose volume's free space the admin panel shows (`/space`). One that cannot be measured falls back to the archive's with one warning. Uploads always check the archive's own volume (507 when full) |
| `CHRONOS_VIDEOS_PATH` | unset: copying off (`videos_folder_unset`); compose sets `/videos` | Absolute folder *Copy to videos folder* writes into, outside the archive and the data folder |
@@ -194,6 +194,11 @@ or `verify-full`. Or give a whole connection string in `CHRONOS_DB`.
| Database | The index, users and sign-ins, schedules, job history, audit log | `pg_dump` (below). The index part can also be rebuilt from the archive's sidecars (admin panel › Archive › *Rebuild*), the rest cannot |
| `/data` | Settings, the TLS certificate and key, logs | Copy the folder |
The server's id (since 1.1, the app setting `server.id` in the database, announced to clients as `serverId`) travels
with the database: a restore keeps it, so desktops still know the server; a fresh database makes a new id. Never run
two servers from copies of one database: desktops would take them for one server (they warn when a known id comes
back with another certificate and another name).
Back up (the server stopped, so nothing changes while the dump runs):
```sh
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>محرر</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>رافع</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>مشاهد</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>خادم Chronos لأرشيف التصوير بفاصل زمني وعمليات الرفع والمهام والتصيير.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>خادم Chronos ليس في Program Files ({0})، لذا لا يمكن تشغيله كخدمة؛ ثبّته لكل المستخدمين وسجّل الخدمة من هناك.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>يستطيع مستخدمون ليسوا مسؤولين تغيير {0}، لذا لا يمكن تشغيل خادم Chronos كخدمة من هناك؛ أعد تثبيته لكل المستخدمين وسجّل الخدمة مجددًا.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>نسبة الأبعاد</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>تلقائي</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>قائمة الدفعة</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Редактор</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Качващ</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Наблюдател</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Сървър на Chronos за архив на таймлапси, качвания, задачи и рендериране.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server не е в Program Files ({0}), затова не може да работи като услуга; инсталирайте го за всички потребители и регистрирайте услугата оттам.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Потребители, които не са администратори, могат да променят {0}, затова Chronos Server не може да работи като услуга оттам; инсталирайте го отново за всички потребители и регистрирайте услугата отново.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Съотношение</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>авто</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Списък за пакета</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Editor</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Nahrávač</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Čtenář</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Server Chronos pro archiv časosběrů, nahrávání, úlohy a renderování.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server není ve složce Program Files ({0}), proto nemůže běžet jako služba; nainstalujte ho pro všechny uživatele a službu zaregistrujte odtamtud.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Uživatelé, kteří nejsou správci, mohou měnit {0}, proto odtamtud Chronos Server nemůže běžet jako služba; přeinstalujte ho pro všechny uživatele a službu zaregistrujte znovu.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Poměr stran</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Seznam dávky</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Redaktør</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Uploader</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Læser</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos-server til time-lapse-arkiv, uploads, job og rendering.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server ligger ikke i Program Files ({0}), så den kan ikke køre som en tjeneste; installer den for alle brugere, og registrer tjenesten derfra.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Brugere, der ikke er administratorer, kan ændre {0}, så Chronos Server kan ikke køre som en tjeneste derfra; geninstaller den for alle brugere, og registrer tjenesten igen.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Billedformat</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Batchliste</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Bearbeiter</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Uploader</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Betrachter</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos-Server für Zeitraffer-Archiv, Uploads, Aufträge und Rendering.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server liegt nicht im Ordner „Programme“ ({0}) und kann daher nicht als Dienst laufen; installieren Sie ihn für alle Benutzer, und registrieren Sie den Dienst von dort aus.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Benutzer ohne Administratorrechte können {0} ändern, daher kann Chronos Server von dort nicht als Dienst laufen; installieren Sie ihn erneut für alle Benutzer, und registrieren Sie den Dienst neu.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Seitenverhältnis</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Stapelliste</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Επεξεργαστής</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Αποστολέας</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Θεατής</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Διακομιστής του Chronos για αρχειοθήκη time-lapse, αποστολές, εργασίες και απόδοση.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Το Chronos Server δεν βρίσκεται στο Program Files ({0}), οπότε δεν μπορεί να εκτελεστεί ως υπηρεσία. Εγκαταστήστε το για όλους τους χρήστες και καταχωρίστε την υπηρεσία από εκεί.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Χρήστες που δεν είναι διαχειριστές μπορούν να αλλάξουν το {0}, οπότε το Chronos Server δεν μπορεί να εκτελεστεί ως υπηρεσία από εκεί. Εγκαταστήστε το ξανά για όλους τους χρήστες και καταχωρίστε ξανά την υπηρεσία.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Αναλογία</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>αυτόματο</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Λίστα δέσμης</value></data>
-3
View File
@@ -151,9 +151,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Editor</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Uploader</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Viewer</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos time-lapse archive, uploads, jobs and rendering server.</value><comment>long</comment></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server is not in Program Files ({0}), so it cannot run as a service; install it for all users and register the service from there.</value><comment>long</comment></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Users who are not administrators can change {0}, so Chronos Server cannot run as a service from there; reinstall it for all users and register the service again.</value><comment>long</comment></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Aspect</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Batch list</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Editor</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Colaborador</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Lector</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Servidor de Chronos: fototeca de time-lapses, subidas, tareas y renderizado.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server no está en Archivos de programa ({0}), así que no puede ejecutarse como servicio; instálalo para todos los usuarios y registra el servicio desde allí.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Hay usuarios que no son administradores y pueden modificar {0}, así que Chronos Server no puede ejecutarse como servicio desde allí; vuelve a instalarlo para todos los usuarios y registra de nuevo el servicio.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Relación de aspecto</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Lista del lote</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Toimetaja</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Üleslaadija</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Vaataja</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronose aegvõtete arhiivi, üleslaadimiste, tööde ja renderdamise server.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server ei asu kaustas Program Files ({0}), seega ei saa see töötada teenusena; installige see kõigile kasutajatele ja registreerige teenus sealt.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Kasutajad, kes pole administraatorid, saavad muuta asukohta {0}, seega ei saa Chronos Server sealt teenusena töötada; installige see uuesti kõigile kasutajatele ja registreerige teenus uuesti.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Kuvasuhe</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Pakktöötluse loend</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Muokkaaja</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Lähettäjä</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Katselija</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos-palvelin aikaviivevideoiden arkistolle, lähetyksille, töille ja renderöinnille.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos-palvelin ei ole Program Files -kansiossa ({0}), joten se ei voi toimia palveluna; asenna se kaikille käyttäjille ja rekisteröi palvelu sieltä.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Muut kuin järjestelmänvalvojat voivat muuttaa kohdetta {0}, joten Chronos-palvelin ei voi toimia sieltä palveluna; asenna se uudelleen kaikille käyttäjille ja rekisteröi palvelu uudelleen.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Kuvasuhde</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>automaattinen</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Eräajoluettelo</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Éditeur</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Contributeur</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Lecteur</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Serveur Chronos d'archive de time-lapses, d'envois, de tâches et de rendu.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server n'est pas dans Program Files ({0}) et ne peut donc pas s'exécuter en tant que service ; installez-le pour tous les utilisateurs et enregistrez le service à partir de là.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Des utilisateurs non administrateurs peuvent modifier {0}, Chronos Server ne peut donc pas s'exécuter en tant que service depuis cet emplacement ; réinstallez-le pour tous les utilisateurs et enregistrez de nouveau le service.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Format d'image</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Liste du lot</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>עורך</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>מעלה קבצים</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>צופה</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>שרת Chronos לארכיון טיים-לאפס, להעלאות, למשימות ולרינדור.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>שרת Chronos אינו נמצא ב-Program Files ({0}), ולכן אינו יכול לפעול כשירות; יש להתקין אותו לכל המשתמשים ולרשום את השירות משם.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>משתמשים שאינם מנהלי מערכת יכולים לשנות את {0}, ולכן שרת Chronos אינו יכול לפעול משם כשירות; יש להתקין אותו מחדש לכל המשתמשים ולרשום את השירות שוב.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>יחס גובה-רוחב</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>אוטומטי</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>רשימת אצווה</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>संपादक</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>अपलोडर</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>दर्शक</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos टाइम-लैप्स संग्रह, अपलोड, कार्य और रेंडरिंग सर्वर।</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server, Program Files ({0}) में नहीं है, इसलिए यह सेवा के रूप में नहीं चल सकता; इसे सभी उपयोगकर्ताओं के लिए इंस्टॉल करें और वहीं से सेवा पंजीकृत करें।</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>जो उपयोगकर्ता व्यवस्थापक नहीं हैं वे {0} को बदल सकते हैं, इसलिए Chronos Server वहाँ से सेवा के रूप में नहीं चल सकता; इसे सभी उपयोगकर्ताओं के लिए फिर से इंस्टॉल करें और सेवा फिर से पंजीकृत करें।</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>पक्षानुपात</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>ऑटो</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>बैच सूची</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Urednik</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Pošiljatelj</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Promatrač</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos poslužitelj za arhivu time-lapse snimaka, prijenose, zadatke i renderiranje.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server nije u mapi Program Files ({0}) pa se ne može izvoditi kao usluga; instalirajte ga za sve korisnike i odande registrirajte uslugu.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Korisnici koji nisu administratori mogu mijenjati {0} pa se Chronos Server odande ne može izvoditi kao usluga; ponovno ga instalirajte za sve korisnike i ponovno registrirajte uslugu.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Omjer slike</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Popis skupnog izvoza</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Szerkesztő</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Feltöltő</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Megtekintő</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos szerver time-lapse archívumhoz, feltöltésekhez, feladatokhoz és rendereléshez.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>A Chronos Server nem a Program Files mappában van ({0}), ezért nem futhat szolgáltatásként; telepítse minden felhasználó számára, és onnan regisztrálja a szolgáltatást.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Nem rendszergazda felhasználók is módosíthatják ezt: {0}, ezért a Chronos Server onnan nem futhat szolgáltatásként; telepítse újra minden felhasználó számára, és regisztrálja újra a szolgáltatást.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Képarány</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Köteglista</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Editor</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Pengunggah</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Pelihat</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Server Chronos untuk arsip time-lapse, unggahan, tugas, dan render.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server tidak berada di Program Files ({0}), sehingga tidak dapat berjalan sebagai layanan; instal untuk semua pengguna dan daftarkan layanan dari sana.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Pengguna yang bukan administrator dapat mengubah {0}, sehingga Chronos Server tidak dapat berjalan sebagai layanan dari sana; instal ulang untuk semua pengguna dan daftarkan layanan lagi.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Rasio aspek</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>otomatis</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Daftar batch</value></data>
-3
View File
@@ -149,9 +149,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Editor</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Caricatore</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Visualizzatore</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Server Chronos per archivio time-lapse, caricamenti, job e rendering.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server non è in Programmi ({0}), quindi non può funzionare come servizio; installalo per tutti gli utenti e registra il servizio da lì.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Anche utenti non amministratori possono modificare {0}, quindi Chronos Server non può funzionare come servizio da lì; reinstallalo per tutti gli utenti e registra di nuovo il servizio.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Proporzioni</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Elenco batch</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>編集者</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>アップローダー</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>閲覧者</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos のタイムラプスアーカイブ、アップロード、ジョブ、レンダリングのサーバーです。</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server が Program Files にない ({0}) ため、サービスとして実行できません。すべてのユーザー用にインストールし、そこからサービスを登録してください。</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>管理者以外のユーザーが {0} を変更できるため、そこから Chronos Server をサービスとして実行できません。すべてのユーザー用に再インストールし、サービスをもう一度登録してください。</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>アスペクト比</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>自動</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>バッチリスト</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>편집자</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>업로더</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>열람자</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos 타임랩스 아카이브, 업로드, 작업 및 렌더링 서버입니다.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server가 Program Files에 있지 않으므로({0}) 서비스로 실행할 수 없습니다. 모든 사용자용으로 설치한 다음 그 위치에서 서비스를 등록하십시오.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>관리자가 아닌 사용자도 {0} 위치를 변경할 수 있으므로 그곳에서는 Chronos Server를 서비스로 실행할 수 없습니다. 모든 사용자용으로 다시 설치하고 서비스를 다시 등록하십시오.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>화면 비율</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>자동</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>일괄 처리 목록</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Redaktorius</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Įkėlėjas</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Žiūrovas</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos time-lapse archyvo, įkėlimų, užduočių ir atvaizdavimo serveris.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos serveris nėra aplanke Program Files ({0}), todėl negali veikti kaip tarnyba; įdiekite jį visiems naudotojams ir užregistruokite tarnybą iš ten.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Naudotojai, kurie nėra administratoriai, gali keisti {0}, todėl Chronos serveris iš ten negali veikti kaip tarnyba; iš naujo įdiekite jį visiems naudotojams ir vėl užregistruokite tarnybą.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Kraštinių santykis</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Paketo sąrašas</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Redaktors</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Augšupielādētājs</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Skatītājs</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos timelapse arhīva, augšupielāžu, darbu un renderēšanas serveris.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server neatrodas mapē Program Files ({0}), tāpēc to nevar palaist kā pakalpojumu; instalējiet to visiem lietotājiem un reģistrējiet pakalpojumu no turienes.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Lietotāji, kas nav administratori, var mainīt {0}, tāpēc no turienes Chronos Server nevar darboties kā pakalpojums; pārinstalējiet to visiem lietotājiem un vēlreiz reģistrējiet pakalpojumu.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Malu attiecība</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Paketes saraksts</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Penyunting</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Pemuat naik</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Penonton</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Pelayan Chronos untuk arkib time-lapse, muat naik, tugas dan render.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server tiada dalam Program Files ({0}), jadi ia tidak boleh berjalan sebagai perkhidmatan; pasangnya untuk semua pengguna dan daftarkan perkhidmatan dari situ.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Pengguna yang bukan pentadbir boleh mengubah {0}, jadi Chronos Server tidak boleh berjalan sebagai perkhidmatan dari situ; pasang semula untuk semua pengguna dan daftarkan perkhidmatan sekali lagi.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Aspek</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Senarai kelompok</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Redaktør</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Opplaster</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Leser</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos-server for timelapse-arkiv, opplastinger, jobber og rendering.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server ligger ikke i Program Files ({0}), så den kan ikke kjøre som en tjeneste; installer den for alle brukere og registrer tjenesten derfra.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Brukere som ikke er administratorer, kan endre {0}, så Chronos Server kan ikke kjøre som en tjeneste derfra; installer den på nytt for alle brukere og registrer tjenesten på nytt.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Sideforhold</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Satsliste</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Bewerker</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Uploader</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Kijker</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos-server voor time-lapse-archief, uploads, taken en renderen.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server staat niet in Program Files ({0}) en kan dus niet als service worden uitgevoerd; installeer het voor alle gebruikers en registreer de service vanaf daar.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Gebruikers die geen beheerder zijn, kunnen {0} wijzigen, dus Chronos Server kan daar niet als service worden uitgevoerd; installeer het opnieuw voor alle gebruikers en registreer de service opnieuw.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Beeldverhouding</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Batchlijst</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Edytor</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Przesyłający</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Przeglądający</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Serwer Chronos: archiwum timelapsów, przesyłanie, zadania i renderowanie.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server nie znajduje się w folderze Program Files ({0}), więc nie może działać jako usługa; zainstaluj go dla wszystkich użytkowników i zarejestruj usługę z tamtej lokalizacji.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Użytkownicy niebędący administratorami mogą modyfikować {0}, więc Chronos Server nie może działać stamtąd jako usługa; zainstaluj go ponownie dla wszystkich użytkowników i ponownie zarejestruj usługę.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Proporcje</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Lista wsadowa</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Editor</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Uploader</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Visualizador</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Servidor Chronos de acervo de time-lapses, envios, tarefas e renderização.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>O Chronos Server não está em Arquivos de Programas ({0}), então não pode ser executado como serviço; instale-o para todos os usuários e registre o serviço a partir de lá.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Usuários que não são administradores podem alterar {0}, então o Chronos Server não pode ser executado como serviço a partir dali; reinstale-o para todos os usuários e registre o serviço novamente.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Proporção</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Lista do lote</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Editor</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Uploader</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Visualizador</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Servidor Chronos de arquivo de time-lapses, carregamentos, tarefas e renderização.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>O Chronos Server não está em Program Files ({0}), pelo que não pode ser executado como serviço; instale-o para todos os utilizadores e registe o serviço a partir daí.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Utilizadores que não são administradores podem alterar {0}, pelo que o Chronos Server não pode ser executado como serviço a partir daí; reinstale-o para todos os utilizadores e registe novamente o serviço.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Proporção</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Lista do lote</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Editor</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Contribuitor</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Vizualizator</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Server Chronos pentru arhiva de time-lapse, încărcări, lucrări și randare.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server nu se află în Program Files ({0}), deci nu poate rula ca serviciu; instalați-l pentru toți utilizatorii și înregistrați serviciul de acolo.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Utilizatorii care nu sunt administratori pot modifica {0}, deci Chronos Server nu poate rula ca serviciu de acolo; reinstalați-l pentru toți utilizatorii și înregistrați din nou serviciul.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Raport de aspect</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Listă lot</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Редактор</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Загрузчик</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Читатель</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Сервер Chronos для архива таймлапсов, загрузок, заданий и рендеринга.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server находится не в Program Files ({0}), поэтому не может работать как служба; установите его для всех пользователей и зарегистрируйте службу оттуда.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Пользователи без прав администратора могут изменять {0}, поэтому Chronos Server не может работать оттуда как служба; переустановите его для всех пользователей и зарегистрируйте службу заново.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Соотношение сторон</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>авто</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Список пакета</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Editor</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Odosielateľ</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Čitateľ</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Server Chronos pre archív časozberných videí, nahrávanie, úlohy a renderovanie.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server nie je v priečinku Program Files ({0}), preto nemôže bežať ako služba; nainštalujte ho pre všetkých používateľov a službu zaregistrujte odtiaľ.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Používatelia, ktorí nie sú správcami, môžu meniť {0}, preto Chronos Server odtiaľ nemôže bežať ako služba; preinštalujte ho pre všetkých používateľov a znova zaregistrujte službu.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Pomer strán</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Zoznam dávky</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Urednik</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Nalagalec</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Gledalec</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Strežnik Chronos za arhiv posnetkov s časovnim zamikom, nalaganja, opravila in upodabljanje.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server ni v mapi Program Files ({0}), zato se ne more izvajati kot storitev; namestite ga za vse uporabnike in storitev registrirajte od tam.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Uporabniki, ki niso skrbniki, lahko spreminjajo {0}, zato se Chronos Server od tam ne more izvajati kot storitev; znova ga namestite za vse uporabnike in znova registrirajte storitev.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Razmerje stranic</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>samodejno</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Seznam paketa</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Redaktör</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Uppladdare</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Läsare</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos-server för timelapse-arkiv, uppladdningar, jobb och rendering.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server finns inte i Program Files ({0}), så den kan inte köras som en tjänst; installera den för alla användare och registrera tjänsten därifrån.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Användare som inte är administratörer kan ändra {0}, så Chronos Server kan inte köras som en tjänst därifrån; installera om den för alla användare och registrera tjänsten igen.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Bildförhållande</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>auto</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Batchlista</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>ผู้แก้ไข</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>ผู้อัปโหลด</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>ผู้ชม</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>เซิร์ฟเวอร์ของ Chronos สำหรับคลังภาพไทม์แลปส์ การอัปโหลด งาน และการเรนเดอร์</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server ไม่ได้อยู่ใน Program Files ({0}) จึงทำงานเป็นบริการไม่ได้ โปรดติดตั้งสำหรับผู้ใช้ทั้งหมดและลงทะเบียนบริการจากตำแหน่งนั้น</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>ผู้ใช้ที่ไม่ใช่ผู้ดูแลระบบสามารถเปลี่ยน {0} ได้ Chronos Server จึงทำงานเป็นบริการจากตำแหน่งนั้นไม่ได้ โปรดติดตั้งใหม่สำหรับผู้ใช้ทั้งหมดและลงทะเบียนบริการอีกครั้ง</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>อัตราส่วนภาพ</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>อัตโนมัติ</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>รายการเรนเดอร์เป็นชุด</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Düzenleyici</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Yükleyici</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Görüntüleyici</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos time-lapse arşivi, yükleme, görev ve işleme sunucusu.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server, Program Files ({0}) içinde değil, bu yüzden hizmet olarak çalışamaz; tüm kullanıcılar için kurun ve hizmeti oradan kaydedin.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Yönetici olmayan kullanıcılar şu konumu değiştirebiliyor: {0}. Bu yüzden Chronos Server oradan hizmet olarak çalışamaz; tüm kullanıcılar için yeniden kurun ve hizmeti yeniden kaydedin.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>En boy oranı</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>otomatik</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Toplu iş listesi</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Редактор</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Вивантажувач</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Глядач</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Сервер Chronos для архіву таймлапсів, вивантажень, завдань і рендерингу.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server розташовано не в Program Files ({0}), тому він не може працювати як служба; інсталюйте його для всіх користувачів і зареєструйте службу звідти.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Користувачі без прав адміністратора можуть змінювати {0}, тому Chronos Server не може працювати звідти як служба; перевстановіть його для всіх користувачів і зареєструйте службу знову.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Співвідношення сторін</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>авто</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Список пакета</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>Biên tập viên</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>Người tải lên</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>Người xem</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Máy chủ Chronos cho kho lưu trữ time-lapse, tải lên, tác vụ và kết xuất.</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server không nằm trong Program Files ({0}), nên không thể chạy dưới dạng dịch vụ; hãy cài đặt cho mọi người dùng và đăng ký dịch vụ từ đó.</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>Người dùng không phải quản trị viên có thể thay đổi {0}, nên Chronos Server không thể chạy dưới dạng dịch vụ từ đó; hãy cài đặt lại cho mọi người dùng và đăng ký lại dịch vụ.</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>Tỷ lệ khung hình</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>tự động</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>Danh sách lô</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>编辑者</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>上传者</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>查看者</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos 延时摄影档案库、上传、任务和渲染服务器。</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos 服务器不在 Program Files 中({0}),因此无法作为服务运行;请为所有用户安装,并从那里注册服务。</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>非管理员用户也可以更改 {0},因此 Chronos 服务器无法从该位置作为服务运行;请为所有用户重新安装,并重新注册服务。</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>宽高比</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>自动</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>批量列表</value></data>
-3
View File
@@ -152,9 +152,6 @@
<data name="Server.Role.Editor" xml:space="preserve"><value>編輯者</value></data>
<data name="Server.Role.Uploader" xml:space="preserve"><value>上傳者</value></data>
<data name="Server.Role.Viewer" xml:space="preserve"><value>檢視者</value></data>
<data name="Server.Service.Description" xml:space="preserve"><value>Chronos 縮時攝影典藏庫、上傳、工作與算圖伺服器。</value></data>
<data name="Server.Service.NotProgramFiles" xml:space="preserve"><value>Chronos Server 不在 Program Files 中({0}),因此無法以服務方式執行;請為所有使用者安裝,並從該處註冊服務。</value></data>
<data name="Server.Service.Writable" xml:space="preserve"><value>非系統管理員的使用者可以變更 {0},因此 Chronos Server 無法從該處以服務方式執行;請為所有使用者重新安裝,並重新註冊服務。</value></data>
<data name="Server.Setting.Aspect" xml:space="preserve"><value>長寬比</value></data>
<data name="Server.Setting.Auto" xml:space="preserve"><value>自動</value></data>
<data name="Server.Setting.Batch" xml:space="preserve"><value>批次清單</value></data>
+5 -5
View File
@@ -151,7 +151,7 @@ public sealed class SampleData
await db.Sequences.SetTagsAsync(sequences[9].Sequence.Id, ["holy grail"]);
_scanSchedule = (await db.Schedules.GetBySystemKeyAsync(DesktopScheduleHost.ArchiveScan))?.Id;
var jobs = Jobs(sequences.Select(s => s.Sequence).ToList(), archive.Id).ToList();
var jobs = Jobs(sequences.Select(s => s.Sequence).ToList(), archive.Id).Select(SampleJobDetails.Apply).ToList();
foreach (var job in jobs) await db.Jobs.EnqueueAsync(job);
await FillSchedulesAsync(db, jobs);
await FillServerAsync(db, sequences.Select(s => s.Sequence).ToList());
@@ -272,10 +272,10 @@ public sealed class SampleData
var originals = $$"""{"server":"{{ServerAddress}}","mode":"Originals"}""";
var comet = await LocalAsync("Comet");
var fog = await LocalAsync("Fog lifting");
await db.Jobs.EnqueueAsync(Transfer(JobKind.UploadCommit, comet.Id, comet.DisplayTitle, upload, JobState.Running, 462, 1_005));
await db.Jobs.EnqueueAsync(Transfer(JobKind.UploadCommit, fog.Id, fog.DisplayTitle, upload, JobState.Queued, 0, 0));
await db.Jobs.EnqueueAsync(Transfer(JobKind.Download, _sunrise, "Sunrise over Superga", originals, JobState.Queued, 1_210, 2_880));
await db.Jobs.EnqueueAsync(Transfer(JobKind.Download, _lakeComo, "Lake Como storm", originals, JobState.Paused, 300, 1_450));
await db.Jobs.EnqueueAsync(SampleJobDetails.Apply(Transfer(JobKind.UploadCommit, comet.Id, comet.DisplayTitle, upload, JobState.Running, 462, 1_005)));
await db.Jobs.EnqueueAsync(SampleJobDetails.Apply(Transfer(JobKind.UploadCommit, fog.Id, fog.DisplayTitle, upload, JobState.Queued, 0, 0)));
await db.Jobs.EnqueueAsync(SampleJobDetails.Apply(Transfer(JobKind.Download, _sunrise, "Sunrise over Superga", originals, JobState.Queued, 1_210, 2_880)));
await db.Jobs.EnqueueAsync(SampleJobDetails.Apply(Transfer(JobKind.Download, _lakeComo, "Lake Como storm", originals, JobState.Paused, 300, 1_450)));
}
/// <summary>
@@ -499,7 +499,7 @@ internal sealed class WorkspaceCopyJobHandler(ChronosDatabase db, ArchiveService
var store = new WorkspaceStore(root);
var project = store.Find(parameters.ProjectId) ?? throw new InvalidOperationException(Loc.L("Errors.Workspace.NotCheckedOut"));
if (project.ReadBundle().Workspace is not { Home: { Kind: BundleHome.ServerKind } home } || home.SequenceId != sequenceId
|| !string.Equals(home.Server, server, StringComparison.OrdinalIgnoreCase))
|| !(options?.IsSameServer(home.Server, server) ?? string.Equals(home.Server, server, StringComparison.OrdinalIgnoreCase)))
throw new InvalidOperationException(Loc.L("Errors.Workspace.OtherHome"));
try
{
@@ -59,7 +59,7 @@ internal sealed class WorkspaceSendJobHandler(ChronosDatabase db, ArchiveService
var home = workspace.Home;
if (home.SequenceId != sequenceId || (server is null
? !home.IsArchive
: home.Kind != BundleHome.ServerKind || !string.Equals(home.Server, server, StringComparison.OrdinalIgnoreCase)))
: home.Kind != BundleHome.ServerKind || !options.IsSameServer(home.Server, server)))
throw new InvalidOperationException(Loc.L("Errors.Workspace.OtherHome"));
var entries = await ToSendAsync(project, parameters.RenderIds, ct).ConfigureAwait(false);
@@ -233,6 +233,32 @@ public sealed class ServerWorkspaceTests(TestContext context)
Assert.Null(a.Store.Find(main.Id)!.ReadMedia());
}
[Test]
public async Task ACopyQueuedUnderTheAddressRunsOnAProjectReKeyedToTheServersId()
{
await using var server = await TestServer.StartAsync(context, services: ArchiveModule.Register);
var (_, _, token) = await server.UserAsync("alberto", "editor");
var sid = await SequenceAsync(server, token, 2);
var id = Guid.CreateVersion7();
var idKey = ServerIdentity.IdKey(id);
ServerIdentity? identity = null;
await using var a = await WorkspaceClient.StartAsync(context, server, token, "PC-A", sameServer: (x, y) => identity!.Same(x, y));
identity = ServerIdentity.None.With(id, a.Server);
// The project's home names the server by its id (re-keyed at sign-in, owner review 5); the job still names the address.
var home = new ServerProjectHome(a.Client, sid, "Test server", server: idKey);
var main = (await home.ListAsync(context.Cancellation)).Single();
var project = await a.Sync.CheckoutAsync(home, main.Id, cancellationToken: context.Cancellation);
Assert.Equal(idKey, project.ReadBundle().Workspace!.Home.Server);
var job = await a.EnqueueAsync(WorkspaceJobs.CopyFromServer(sid, Title, a.Server, a.Store.Root, main.Id));
await a.WaitAsync(job.Id, JobState.Done);
Assert.Equal(2, Assert.NotNull(project.ReadMedia()).Frames.Count);
// Another server is still another home.
var other = await a.EnqueueAsync(WorkspaceJobs.CopyFromServer(sid, Title, "https://elsewhere:8443", a.Store.Root, main.Id));
Assert.Equal(Loc.L("Errors.Workspace.OtherHome"), (await a.WaitAsync(other.Id, JobState.Failed)).Error);
}
[Test]
public async Task TheOriginalsAreDownloadedCheckedAndKeptBesideTheProxies()
{
@@ -560,7 +586,7 @@ public sealed class ServerWorkspaceTests(TestContext context)
public bool Connected { get; set; } = true;
public static async Task<WorkspaceClient> StartAsync(TestContext context, TestServer server, string token, string name, HttpMessageHandler? handler = null,
Func<bool>? hold = null)
Func<bool>? hold = null, Func<string?, string?, bool>? sameServer = null)
{
var db = await ChronosDatabase.OpenAsync(DatabaseOptions.Sqlite(Path.Combine(context.CreateTempDirectory(name + "-db"), "chronos.db")), context.Cancellation);
var archives = new ArchiveService(db, new ArchiveServiceOptions { Owner = name });
@@ -568,7 +594,8 @@ public sealed class ServerWorkspaceTests(TestContext context)
var archive = await archives.CreateAsync(context.CreateTempDirectory(name + "-archive"), "Local", cancellationToken: context.Cancellation);
var client = new ChronosClient(server.HttpBase, new CertificatePinning([]), name, handler) { Token = token };
WorkspaceClient? created = null;
var options = hold is null ? WorkspaceJobOptions.For(archives) : WorkspaceJobOptions.For(archives) with { HoldTransfers = hold };
var options = WorkspaceJobOptions.For(archives) with { SameServer = sameServer };
if (hold is not null) options = options with { HoldTransfers = hold };
var engine = new JobEngine(db, WorkspaceJobs.CreateHandlers(db, archives, new Connector(client, () => created?.Connected ?? true), options),
new JobEngineOptions { Workers = 1, WorkerId = name, PollInterval = TimeSpan.FromMilliseconds(50), CheckpointInterval = TimeSpan.FromMilliseconds(50) });
await engine.StartAsync(context.Cancellation);