feat: owner review 2 phase 5b: the server as a project home (#17)
CI / Build and test (push) Successful in 9m58s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 6s
Release / Build, test and publish (push) Successful in 14m8s
CI / PostgreSQL 16 integration (push) Successful in 8m55s
CI / PostgreSQL 17 integration (push) Successful in 8m50s
CI / Docker image (push) Successful in 57s
Release / Server image (push) Successful in 1m22s

A Chronos Server keeps its sequences' projects, as a PC's archive does: Main and named projects with versions under /api/v1/sequences/{id}/projects, the projects capability and the projectChanged event. The desktop opens a server's sequences in the workspace (proxies downloaded, hash-checked, resumable) with Save version, Sync, conflicts, History, Restore and the project actions against the server. Renders can be of a project version. The admin panel lists a sequence's projects and versions. Strings in all 38 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #17.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-11-04 14:58:11 +01:00
1 parent 255e149087
commit 81c303f484
325 files changed
+11477 -516

No files matched your search

@@ -61,6 +61,26 @@ public sealed class AppEnvironmentTests(TestContext context)
Assert.Null(AppEnvironment.From(AppPaths.Resolve(app, local, [oneDrive])).EarlierPortableData);
}
[Test]
public void ACaptureShowsSamplePathsAndTakesWhatIsTypedBackToItsOwnFolder()
{
// Whatever the machine's temporary folder and user name, the screenshots show the same paths.
var data = Path.Combine(context.CreateTempDirectory("temp"), "chronos-capture-0123");
Assert.Equal(AppEnvironment.SampleDataDirectory, AppEnvironment.Shown(data, data));
Assert.Equal(Path.Combine(AppEnvironment.SampleDataDirectory, "cache"), AppEnvironment.Shown(Path.Combine(data, "cache"), data));
Assert.Equal(@"D:\ChronosArchive\2026\Harbour", AppEnvironment.Shown(Path.Combine(data, "archive", "2026", "Harbour"), data));
// A path elsewhere, or one that only starts with the same letters, is shown as it is; outside a capture every path is.
Assert.Equal(data + "-other", AppEnvironment.Shown(data + "-other", data));
Assert.Equal(@"E:\Photos", AppEnvironment.Shown(@"E:\Photos", data));
Assert.Equal(Path.Combine(data, "cache"), AppEnvironment.Shown(Path.Combine(data, "cache"), null));
// What is typed over a shown path goes to the capture's own folder, never to the sample user's.
Assert.Equal(Path.Combine(data, "cache", "big"), AppEnvironment.Actual(Path.Combine(AppEnvironment.SampleDataDirectory, "cache", "big"), data));
Assert.Equal(Path.Combine(data, "archive"), AppEnvironment.Actual(AppEnvironment.SampleArchiveDirectory, data));
Assert.Equal(@"E:\Cache", AppEnvironment.Actual(@"E:\Cache", data));
Assert.Equal(AppEnvironment.SampleDataDirectory, AppEnvironment.Actual(AppEnvironment.SampleDataDirectory, null));
}
[Test]
public void AUserFolderOneDriveSynchronisesIsReportedNotHidden()
{