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

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

No files matched your search

+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