refactor!: rename Titano to Chronos and move CI and releases to Gitea
CI / Build and test (pull_request) Failing after 2m3s
CI / PostgreSQL 16 integration (pull_request) Skipped
CI / PostgreSQL 17 integration (pull_request) Skipped
CI / Docker image (pull_request) Skipped
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 4s
CI / Build and test (pull_request) Failing after 2m3s
CI / PostgreSQL 16 integration (pull_request) Skipped
CI / PostgreSQL 17 integration (pull_request) Skipped
CI / Docker image (pull_request) Skipped
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 4s
The owner renamed the product and moved the repository to the self-hosted Gitea (https://gitea.encke-hake.ts.net/BalboSoft/Chronos) for more control, and asked for Actions and a first automatic release with the server package and the Windows exe (docs/requests/2026-10-23-chronos-gitea.md). - Chronos everywhere: a byte-exact rename of contents and paths, then a per-language review of the forms the old name's ending had dictated. - Gitea instead of GitHub: the update check, licence, issue and support links read ChronosReleasesUrl; the update check takes the highest stable version, offers a pre-release build its final release and reports a repository it cannot see as a failed check. EULA, security policy and Gitea issue forms live at the repository root. - Gitea Actions for the Linux act_runner (.gitea/workflows): CI, release, nightly image and performance gates in the .NET SDK container with git checkout. The release cross-compiles the Windows programs, checks their icon, version and DPI manifest, packs installers and zips, publishes the Gitea release and pushes the server image (REGISTRY_TOKEN). Windows-only tests run in an opt-in job on a Windows runner (WINDOWS_RUNNER). - New Chronos.Tools commands: zip, gitea-release, postgres-ci (replaces the docker-exec script, which Gitea's service containers do not allow) and pe-check. BREAKING CHANGE: programs, settings, data folders, file types, environment variables and the Docker image use the new name; nothing is migrated from Titano, which never had a release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c99842cc86
commit
5f27a86406
1799 files changed
+11728
-10668
No files matched your search
+73
-63
@@ -1,4 +1,4 @@
|
||||
# Titano — Architecture and code conventions
|
||||
# Chronos — Architecture and code conventions
|
||||
|
||||
Companion to `docs/BRIEF.md` (scope, behaviour) and `docs/ui/DESIGN.md` (looks). This file says *where code goes*,
|
||||
*how data moves* and *how it is written*. Decisions behind the shapes described here are in `docs/DECISIONS.md`.
|
||||
@@ -7,25 +7,25 @@ Companion to `docs/BRIEF.md` (scope, behaviour) and `docs/ui/DESIGN.md` (looks).
|
||||
|
||||
| Project | TFM | Purpose |
|
||||
|---|---|---|
|
||||
| `src/Titano.Core` | net10.0 | Engine shared by every program: metadata, codecs, imaging, analysis, advisor, motion, render, video containers and managed encoders, archive format, naming, import planning, packaging, localization runtime, diagnostics, brand mark |
|
||||
| `src/Titano.Core.Windows` | net10.0-windows | WIC decoders and codec inventory, Media Foundation encoders, DXGI adapters, removable devices, DPAPI, shell launcher, window chrome, power (P/Invoke/COM only) |
|
||||
| `src/Titano.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/Titano.Protocol` | net10.0 | API v1 DTOs, source-generated JSON context, typed `TitanoClient` with certificate pinning and bandwidth limiting |
|
||||
| `src/Titano.Server` | net10.0 (Web SDK) | ASP.NET Core minimal API, auth, uploads, sync, jobs, render nodes, events, embedded admin panel, Windows service host |
|
||||
| `src/Titano.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/Titano.App` | WPF exe `Titano.exe` | Desktop client |
|
||||
| `src/Titano.Uploader` | WPF exe | Uploader (tray, watch folders, resumable queue) |
|
||||
| `src/Titano.Setup` | WPF exe | In-house installer/uninstaller (TPK1 payload) |
|
||||
| `src/Titano.Tools` | net10.0 exe | CLI: `make-icon`, `i18n` (check, export, missing, import), `xaml-lint`, `package-guard`, `changelog`, `pack-installer`, `selftest`, `diagnose`, `fixtures`, `screenshots` (diff, accept) |
|
||||
| `tests/Titano.Testing` | net10.0 | In-house test framework (`[Test]`, `[Theory]`+`[Case]`, `[Category]`, `[RequiresEnvironment]`, `[WindowsOnly]`, `[Serial]`, `Assert`, `TestContext`, JUnit) |
|
||||
| `tests/Titano.*.Tests` | exe | One test program per area; `dotnet run --project tests/X -- --junit out.xml` |
|
||||
| `src/Chronos.Core` | net10.0 | Engine shared by every program: metadata, codecs, imaging, analysis, advisor, motion, render, video containers and managed encoders, archive format, naming, import planning, packaging, localization runtime, diagnostics, brand mark |
|
||||
| `src/Chronos.Core.Windows` | net10.0-windows | WIC decoders and codec inventory, Media Foundation encoders, DXGI adapters, removable devices, 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 |
|
||||
| `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.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) |
|
||||
| `src/Chronos.Setup` | WPF exe | In-house installer/uninstaller (TPK1 payload) |
|
||||
| `src/Chronos.Tools` | net10.0 exe | CLI: `make-icon`, `i18n` (check, export, missing, import), `xaml-lint`, `package-guard`, `changelog`, `pack-installer`, `selftest`, `diagnose`, `fixtures`, `screenshots` (diff, accept), `zip`, `gitea-release`, `postgres-ci`, `pe-check` |
|
||||
| `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`.
|
||||
`Core`, `Data`, `Protocol` and `Server` never reference Windows-only code (Linux CI builds and tests them).
|
||||
|
||||
## 2. Module map
|
||||
|
||||
### 2.1 Titano.Core namespaces
|
||||
### 2.1 Chronos.Core namespaces
|
||||
|
||||
| Folder / namespace | Content |
|
||||
|---|---|
|
||||
@@ -35,8 +35,8 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|
||||
| `Analysis` (+ `Deep`) | Luminance statistics, deflicker, regions, holy grail, white balance, colour temperature, light analysis, streaming deep analysis with checkpoints |
|
||||
| `Advice` | `Advisor`: recommendations with localisable reasons, apply/optimise, sequence presets |
|
||||
| `Motion` | FFT, phase correlation, pyramids, optical flow, motion blur, stabiliser, virtual camera, interpolation, stacking |
|
||||
| `Math` (namespace `Titano.Core.Mathematics`) | Splines, LOWESS, statistics, solar position, 3×3 colour matrices |
|
||||
| `Project` | `ProjectSettings` (Auto/manual values), export presets, `ProjectBundle` (the `.titano` project file: sequence reference and settings) |
|
||||
| `Math` (namespace `Chronos.Core.Mathematics`) | Splines, LOWESS, statistics, solar position, 3×3 colour matrices |
|
||||
| `Project` | `ProjectSettings` (Auto/manual values), export presets, `ProjectBundle` (the `.chronos` project file: sequence reference and settings) |
|
||||
| `Render` | Render plan (timing modes), preparation pass, geometry, `RenderPipeline`, self-test suite |
|
||||
| `Export` | Preset resolution, encoder selection with fallbacks, output naming |
|
||||
| `Video` (+ `Mp4`, `Avi`, `Bitstream`, `Yuv`, `Managed`) | `IVideoEncoderProvider`, MP4 muxer and inspector, AVI-MJPEG, NV12/P010, managed encoders (MJPEG-AVI, GIF, APNG, image sequences) |
|
||||
@@ -48,39 +48,39 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|
||||
| `Diagnostics` | `Log`, file sink, 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 |
|
||||
|
||||
### 2.2 Titano.Data
|
||||
### 2.2 Chronos.Data
|
||||
|
||||
| Folder | Content |
|
||||
|---|---|
|
||||
| `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` | `TitanoDatabase` facade: archives, sequences, frames, tags, renders, jobs, cards, users, tokens, uploads, render nodes, settings, audit; `DatabaseBackups` (daily `VACUUM INTO` copies of an SQLite index kept ×3, restore staged for the next start and carried out before the index opens, so it also recovers one that no longer opens) |
|
||||
| `Repositories` | `ChronosDatabase` facade: archives, sequences, frames, tags, renders, jobs, cards, users, tokens, uploads, render nodes, settings, audit; `DatabaseBackups` (daily `VACUUM INTO` copies of an SQLite index kept ×3, 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), `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) |
|
||||
| `Archiving` | `ArchiveService` (create/adopt/open, archive settings written to `archive.json` then the index), `ArchiveIndexer` (scan, rebuild), `ArchiveIngest` (uploads and imports), `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`, `MassRenamer`, `SequenceTrash` (delete into the archive's hidden trash with a dry run, restore; the folder moves back when the index step fails), job handlers |
|
||||
| `Processing` | `ProcessingService`, `SequenceAnalyser`, `DeepReports` (a saved deep report while it still describes the frames), `SequenceRender`, `ProjectStore`, `ProjectBundles` (a `.titano` file for a sequence, and the sequence a file names), `RenderNodeClient`, job handlers |
|
||||
| `Sync` | `SyncService` (sync table of one server: compare, link by content, settle conflicts, enqueue transfers), `SyncRules` (status, settings merge and differences, no I/O), `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), `SyncAgent` (background comparison, server events, backoff, offline proxies), `ProxyCache` and `RemoteSequence` (server sequences opened with proxies), `ISyncRemote` (the server calls; `TitanoSyncRemote` over `TitanoClient`) |
|
||||
| `Processing` | `ProcessingService`, `SequenceAnalyser`, `DeepReports` (a saved deep report while it still describes the frames), `SequenceRender`, `ProjectStore`, `ProjectBundles` (a `.chronos` file for a sequence, and the sequence a file names), `RenderNodeClient`, job handlers |
|
||||
| `Sync` | `SyncService` (sync table of one server: compare, link by content, settle conflicts, enqueue transfers), `SyncRules` (status, settings merge and differences, no I/O), `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), `SyncAgent` (background comparison, server events, backoff, offline proxies), `ProxyCache` and `RemoteSequence` (server sequences opened with proxies), `ISyncRemote` (the server calls; `ChronosSyncRemote` over `ChronosClient`) |
|
||||
|
||||
### 2.3 Titano.App areas
|
||||
### 2.3 Chronos.App areas
|
||||
|
||||
| Folder | Content |
|
||||
|---|---|
|
||||
| `Shell` | `MainWindow` (rail and its shortcuts, taskbar progress), `ShellViewModel` (rail, sections, first run), `OsNotifications` (toasts as Windows notifications while the window is minimised or in the background), dialogs, `ErrorText` (the sentence of an error toast), `ScreenCapture` (`--capture` scenes), `SectionTemplates.xaml` (view model → view) |
|
||||
| `Sections` | One `XxxView.xaml` + `XxxViewModel` per screen: Welcome, Library, Sequence (the Edit section: the editor, and `SequencePickerView` choosing the sequence in place), Import, Archive, Jobs, Server, Settings, About |
|
||||
| `Library` | Filter, facets, pager, timeline, saved views, quick and mass actions, remote cards and thumbnails, thumbnail cache, list export |
|
||||
| `Editor` | `EditorSession` (project, undo/redo, saving, merges), `ISequenceSource` (`LocalSequenceSource`, `RemoteSequenceSource`), 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), `PreviewRenderer`, `ExportPlanner`, `ExportSync`, `SavedCopies`, `SequenceJobs`, `ProjectFiles` (save and open `.titano` project files) |
|
||||
| `Editor` | `EditorSession` (project, undo/redo, saving, merges), `ISequenceSource` (`LocalSequenceSource`, `RemoteSequenceSource`), 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), `PreviewRenderer`, `ExportPlanner`, `ExportSync`, `SavedCopies`, `SequenceJobs`, `ProjectFiles` (save and open `.chronos` project files) |
|
||||
| `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, mass rename and move, delete and trash dialogs (`SequenceDeletion`, `DeletePlans`), `ArchiveFailures` |
|
||||
| `Server` | `ServerSession`, `ConnectFlow` (trust on first use), `SyncHost` (sync engine, agent, metered hold, editor connections, Export Sync), sync table, `RemoteSequenceApi` |
|
||||
| `Jobs`, `Settings`, `About` | Job list and buffering, `JobNotices` (which job endings raise a toast; `JobEndings` lets a batch speak once); settings rows, encoder and format inventories, `ProcessingTuning` (Settings › Rendering and Analysis applied to each job: parallelism, memory budget, quality), `InterfacePriority`, language catalog, naming preview; update check and download |
|
||||
| `Infrastructure` | `AppServices` (composition root), `AppSettings`, `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 Titano 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 |
|
||||
| `Infrastructure` | `AppServices` (composition root), `AppSettings`, `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` |
|
||||
|
||||
### 2.4 Titano.Ui and Titano.Server
|
||||
### 2.4 Chronos.Ui and Chronos.Server
|
||||
|
||||
| Folder | Content |
|
||||
|---|---|
|
||||
| `Ui/Themes`, `Ui/Theming` | DESIGN tokens (light, dark), typography, control styles, `ThemeManager` |
|
||||
| `Ui/Controls` | `TitanoWindow` (chrome, language direction), `NavRail`, `JobBar`, `ToastHost`, `Field` (placeholder, icon, error), `Chip`, `AutoSlider`, `StatusGlyph`, `EmptyState`, `Icon`, `Bidi` (right-to-left rules), `Motion` (animations off for screenshots) |
|
||||
| `Ui/Controls` | `ChronosWindow` (chrome, language direction), `NavRail`, `JobBar`, `ToastHost`, `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/Visuals` | `DrawingElement` (hover readout, item keyboard and activation) and its charts (`BarChart`, `SeriesChart`, `StackedBar`, `HeatmapStrip`, `TimelineBands`), `Filmstrip`, `PreviewViewport`, `CurveEditor`, `SequenceCard`, `VirtualizingWrapPanel`, `SegmentedControl`, `SplitButton` |
|
||||
| `Server/Api`, `Server/Events` | Endpoint groups (`XxxEndpoints.Map`), API errors, the WebSocket `EventHub` |
|
||||
@@ -92,14 +92,14 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|
||||
|
||||
| Host | Composition root | What it runs |
|
||||
|---|---|---|
|
||||
| Titano (desktop) | `App/Infrastructure/AppServices` | SQLite index in `%LOCALAPPDATA%\Titano` (or `.\data` when portable, unless the copy is in a OneDrive folder); `ArchiveService` with WIC first, then managed decoders; `ProcessingService` with Media Foundation, then managed encoders; one `JobEngine` with the handlers of both; thumbnails; `ServerSession`; `SyncHost` while signed in (sync engine and agent, upload and download handlers, metered hold, editors of server sequences); 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; daily index backups and the restore staged in Settings › Advanced (`DatabaseBackups`) |
|
||||
| Titano Server | `Server/Hosting/ServerHost.Build` | Options from `server.json` + `TITANO_*`; 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`; `EventHub` (WebSocket); embedded admin panel; LAN discovery beacon; Windows service host; daily backups of an SQLite index (`DatabaseBackupService`) |
|
||||
| Titano Uploader | `Uploader/App.xaml.cs` | `TitanoClient`, persisted queue, watch folders; no database |
|
||||
| Titano 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 (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; `ProcessingService` with Media Foundation, then managed encoders; one `JobEngine` with the handlers of both; thumbnails; `ServerSession`; `SyncHost` while signed in (sync engine and agent, upload and download handlers, metered hold, editors of server sequences); 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; daily index backups and 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`; `EventHub` (WebSocket); embedded admin panel; LAN discovery beacon; Windows service host; daily backups of an SQLite index (`DatabaseBackupService`) |
|
||||
| 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 |
|
||||
|
||||
### 2.6 Job kinds and their handlers
|
||||
|
||||
| `JobKind` | Handler (Titano.Data) | Desktop | Server |
|
||||
| `JobKind` | Handler (Chronos.Data) | Desktop | Server |
|
||||
|---|---|---|---|
|
||||
| `Scan`, `Rebuild` | `Archiving/Jobs/ScanJobHandler` (via `ArchiveService.CreateJobHandlers`) | yes | yes |
|
||||
| `Verify` | `Archiving/Jobs/VerifyJobHandler` | yes | yes |
|
||||
@@ -155,14 +155,14 @@ run as server jobs whose progress comes from the events.
|
||||
| An image format or decoder | `IImageDecoderProvider` (managed in `Core/Imaging/Decoders` or `Codecs`, WIC in `Core.Windows`: a RAW only through the Raw Image Extension, checked per file); chained by `DecoderFactory` |
|
||||
| A video encoder | `IVideoEncoderProvider` (`Core/Video/Managed`, `Core.Windows/MediaFoundation`); list it in the host's `ProcessingOptions.Encoders` |
|
||||
| A background operation | a `JobKind`, an `IJobHandler` (in `Data/Archiving/Jobs` or `Data/Processing/Jobs`) returned by the service's `CreateJobHandlers`; the job engine, Jobs screen, admin and API pick it up |
|
||||
| A server feature | a static `XxxEndpoints.Map(api)` in `Server/Api` with `.Requires(Permissions…)`, called from `ServerHost.ConfigurePipeline`; DTOs in `Titano.Protocol` with the JSON context |
|
||||
| A server feature | a static `XxxEndpoints.Map(api)` in `Server/Api` with `.Requires(Permissions…)`, called from `ServerHost.ConfigurePipeline`; DTOs in `Chronos.Protocol` with the JSON context |
|
||||
| A server storage backend | `IArchiveIngest`, `IFrameAssetLocator` through the `ServerHost.Build` registration callback |
|
||||
| A schema change | `Data/Migrations/{sqlite,postgres}/NNNN_topic.sql` (never edit an applied one) |
|
||||
| An advisor rule | `Core/Advice` with a localised reason key in `Advisor` |
|
||||
| A UI string | `i18n/en/<Area>.resx` + `i18n/it/<Area>.it.resx` (other languages via `i18n missing`/`import`) |
|
||||
| An admin page | ES module in `Server/Admin/web/pages`, strings in the `Admin` area |
|
||||
| A CLI command | `ICommand` in `Tools/Commands`, listed in `Tools/Program.cs` |
|
||||
| A desktop screen | `Sections/XxxView.xaml` + `XxxViewModel`, its `DataTemplate` in `Shell/SectionTemplates.xaml`, the property and rail entry in `ShellViewModel`, a scene in `Shell/ScreenCapture` with sample data, a smoke test in `Titano.App.Tests/Windows` |
|
||||
| A desktop screen | `Sections/XxxView.xaml` + `XxxViewModel`, its `DataTemplate` in `Shell/SectionTemplates.xaml`, the property and rail entry in `ShellViewModel`, a scene in `Shell/ScreenCapture` with sample data, a smoke test in `Chronos.App.Tests/Windows` |
|
||||
|
||||
## 5. Conventions
|
||||
|
||||
@@ -170,7 +170,7 @@ run as server jobs whose progress comes from the events.
|
||||
except narrowly around interop with a reason.
|
||||
- No third-party packages, ever. If the BCL lacks it (CRC-32, Adler, JPEG, PNG decode…), write it.
|
||||
- Never name a namespace `Archive` (it would shadow the entity): the archive code lives in `Archiving`. Inside
|
||||
Titano.Core never write an unqualified `Math.`: use `System.Math` or `double.Max`.
|
||||
Chronos.Core never write an unqualified `Math.`: use `System.Math` or `double.Max`.
|
||||
- Parsers never throw on malformed input: they return partial results plus warnings. Every offset is bounds-checked
|
||||
against the stream length; recursion and loops are capped.
|
||||
- Never load a whole RAW to read metadata: windowed reads through `Stream` + `Seek`.
|
||||
@@ -180,7 +180,7 @@ run as server jobs whose progress comes from the events.
|
||||
- Every long operation takes a `CancellationToken` and reports progress through `IProgress<T>` or the `JobContext`.
|
||||
- Libraries use `ConfigureAwait(false)`. No `async void` except WPF event handlers. Heavy work and I/O never run on
|
||||
the UI thread.
|
||||
- Logging through `Titano.Core.Diagnostics.Log` in Core and Data; `ILogger` on the server. Anything that leaves the
|
||||
- Logging through `Chronos.Core.Diagnostics.Log` in Core and Data; `ILogger` on the server. Anything that leaves the
|
||||
machine (diagnostics bundles) passes through `SecretScrubber`.
|
||||
- Public types and non-obvious members get a one-line `///` summary. Comments explain *why*, not *what*.
|
||||
- Disk writes that must survive crashes use `AtomicFile` (temp → fsync → rename); originals are never modified.
|
||||
@@ -195,7 +195,7 @@ run as server jobs whose progress comes from the events.
|
||||
- Every string comes from the catalog (`Loc.L`, `{l:Loc}`); labels ≤ 3 words, explanations only in tooltips. Every
|
||||
actionable control has a tooltip, and an icon-only one a two-word accessible name: the screen smoke tests check
|
||||
both on every screen.
|
||||
- Windows derive from `TitanoWindow`, which takes the UI language's direction at creation and on every switch;
|
||||
- Windows derive from `ChronosWindow`, which takes the UI language's direction at creation and on every switch;
|
||||
screens never set `FlowDirection` for the language. Photos, charts, numbers, paths and templates are left-to-right
|
||||
islands on the smallest element holding them; directional icons mirror by themselves (`IconData.IsDirectional`,
|
||||
overridden per subtree with `Bidi.IsDirectional`); left-to-right fragments inside a right-to-left sentence go
|
||||
@@ -222,33 +222,36 @@ run as server jobs whose progress comes from the events.
|
||||
|
||||
## 6. Tests
|
||||
|
||||
- Framework: `Titano.Testing`. Test classes are `public sealed`; constructor may take `TestContext` (temp
|
||||
directories, cancellation, log). `[WindowsOnly]` for OS-specific tests, `[RequiresEnvironment("TITANO_TEST_PG")]`
|
||||
- Framework: `Chronos.Testing`. Test classes are `public sealed`; constructor may take `TestContext` (temp
|
||||
directories, cancellation, log). `[WindowsOnly]` for OS-specific tests, `[RequiresEnvironment("CHRONOS_TEST_PG")]`
|
||||
for PostgreSQL integration tests.
|
||||
- Classes run in parallel. A test that changes or observes process-wide state (the UI language, unobserved task
|
||||
exceptions, the managed heap) belongs in a `[Serial]` class; the App and Core test programs fail a test outside one
|
||||
that switches the language away from English, after switching it back (`TestContext.Current`).
|
||||
- Put tests under `tests/Titano.<Area>.Tests/<Folder>/<Thing>Tests.cs`, mirroring the source folder.
|
||||
- `Titano.App.Tests` targets net10.0-windows and runs on Windows CI only: keep logic in plain classes.
|
||||
- Put tests under `tests/Chronos.<Area>.Tests/<Folder>/<Thing>Tests.cs`, mirroring the source folder.
|
||||
- `Chronos.App.Tests` targets net10.0-windows and runs on Windows only (the CI job `windows` when a Windows runner is
|
||||
registered, otherwise on a Windows PC): keep logic in plain classes.
|
||||
- Fixtures are synthetic and generated in code wherever possible; tiny binary fixtures may go in `tests/fixtures/`
|
||||
(< 50 KB each). CC0 RAW samples are fetched by `Titano.Tools fixtures` into `tests/fixtures/external/` (not
|
||||
committed); tests depending on them skip when absent and CI shows a warning per missing sample.
|
||||
(< 50 KB each). CC0 RAW samples are fetched by `Chronos.Tools fixtures` into `tests/fixtures/external/` (not
|
||||
committed); tests depending on them skip when absent and the CI log shows a warning per missing sample.
|
||||
- Fuzz tests: truncate and corrupt valid inputs at many offsets; assert no exception escapes.
|
||||
- Performance gates (`tests/Titano.Data.Tests/Perf`, `[Category("perf")]`, run only with `TITANO_PERF=1`): the
|
||||
- Performance gates (`tests/Chronos.Data.Tests/Perf`, `[Category("perf")]`, run only with `CHRONOS_PERF=1`): the
|
||||
500,000-photo library (Library open < 1 s on a new connection pool, filters < 200 ms; the OS cache is warm from
|
||||
building it) and the 100,000-frame rebuild from sidecars (400 sequences of 250 real photos, every column compared,
|
||||
< 120 s), each on SQLite and PostgreSQL. `.github/workflows/perf.yml` runs them weekly against PostgreSQL 17.
|
||||
- `Titano.Tools.Tests` covers the tools whose output CI relies on (fixtures annotations and exit codes, the screenshot
|
||||
diff) and the test runner's outcomes.
|
||||
- Visual regression: CI compares the `--capture` screenshots with `tests/visual/baselines` (`Titano.Tools screenshots
|
||||
diff`; its README says how baselines are added). Once any baseline is committed, a screen without one fails too;
|
||||
before that the step warns that it compared nothing. The capture draws the same pixels on any day: the sample's
|
||||
clock is fixed, formats are English and nothing animates.
|
||||
- Media Foundation output plays back (`Titano.Core.Windows.Tests`): MediaPlayer opens it where Windows Media Player
|
||||
< 120 s), each on SQLite and PostgreSQL. `.gitea/workflows/perf.yml` runs them weekly against PostgreSQL 17.
|
||||
- `Chronos.Tools.Tests` covers the tools whose output CI relies on (fixtures warning lines and exit codes, the
|
||||
screenshot diff, the PostgreSQL preparation, `pe-check`, `zip`, the Gitea release upload) and the test runner's
|
||||
outcomes.
|
||||
- Visual regression: the CI job `windows` (or a run on a Windows PC) compares the `--capture` screenshots with
|
||||
`tests/visual/baselines` (`Chronos.Tools screenshots diff`; its README says how baselines are added). Once any
|
||||
baseline is committed, a screen without one fails too; before that the step warns that it compared nothing. The
|
||||
capture draws the same pixels on any day: the sample's clock is fixed, formats are English and nothing animates.
|
||||
- Media Foundation output plays back (`Chronos.Core.Windows.Tests`): MediaPlayer opens it where Windows Media Player
|
||||
is installed (skipped, with the reason, where it is not) and a source reader decodes its first frame everywhere.
|
||||
- PostgreSQL: CI prepares the service containers with `.github/scripts/postgres-ci-setup.sh` (MD5, cleartext and
|
||||
trust roles, TLS), so every authentication method and TLS mode of BRIEF §6.3 runs; `TITANO_TEST_PG_TLS=1` makes a
|
||||
server without TLS fail the TLS tests.
|
||||
- PostgreSQL: CI prepares the service containers with `Chronos.Tools postgres-ci` (MD5, cleartext and trust roles,
|
||||
TLS; all through SQL as the superuser, because Gitea Actions gives no id of the service container to exec into),
|
||||
so every authentication method and TLS mode of BRIEF §6.3 runs; `CHRONOS_TEST_PG_TLS=1` makes a server without TLS
|
||||
fail the TLS tests.
|
||||
|
||||
## 7. Localization
|
||||
|
||||
@@ -266,17 +269,24 @@ run as server jobs whose progress comes from the events.
|
||||
## 8. Build, checks and CI
|
||||
|
||||
```
|
||||
dotnet build Titano.slnx -c Release
|
||||
dotnet run --project tests/Titano.Core.Tests -c Release -- --junit out/core.xml
|
||||
dotnet run --project src/Titano.Tools -- package-guard
|
||||
dotnet run --project src/Titano.Tools -- i18n check
|
||||
dotnet run --project src/Titano.Tools -- xaml-lint
|
||||
dotnet format whitespace Titano.slnx --verify-no-changes
|
||||
dotnet build Chronos.slnx -c Release
|
||||
dotnet run --project tests/Chronos.Core.Tests -c Release -- --junit out/core.xml
|
||||
dotnet run --project src/Chronos.Tools -- package-guard
|
||||
dotnet run --project src/Chronos.Tools -- i18n check
|
||||
dotnet run --project src/Chronos.Tools -- xaml-lint
|
||||
dotnet format whitespace Chronos.slnx --verify-no-changes
|
||||
```
|
||||
|
||||
| Workflow | Trigger | Does |
|
||||
|---|---|---|
|
||||
| `ci.yml` | push to `main`, pull requests | Windows + Linux build and tests, guards, i18n, XAML lint, format, fixtures (warnings when missing), screenshots and their pixel diff, installer test (install, run, upgrade, uninstall), PostgreSQL 16/17 (every authentication method, TLS), Docker smoke test |
|
||||
| `release.yml` | tag `v*` (or manual re-publish) | Tests, self-contained publish, optional signing, installers, portable and server zips, SHA256SUMS, release notes, multi-arch GHCR image, public releases repository update and GitHub release |
|
||||
| `docker.yml` | nightly | `ghcr.io/<owner>/titano-server:nightly` |
|
||||
| `perf.yml` | weekly, manual | Performance gates (SQLite, PostgreSQL 17) with timings in the job summary |
|
||||
| `ci.yml` | push to `main`, pull requests, manual | Linux build and tests, guards, i18n, XAML lint, format, fixtures (warnings when missing), the Windows programs cross-compiled for win-x64, packed and checked (`pe-check`), PostgreSQL 16/17 (every authentication method, TLS), Docker smoke test, YAML check of the workflows, issue forms and compose file; with a Windows runner (`WINDOWS_RUNNER`): Windows tests, screenshots and their pixel diff, installer test (install, run, upgrade, uninstall) |
|
||||
| `release.yml` | tag `v*` (or manual re-publish) | Tests, self-contained win-x64 publish cross-compiled on Linux, `pe-check`, optional signing (osslsigncode), installers, portable and server zips, SHA256SUMS, release notes, Gitea release (`gitea-release`), then the linux/amd64 image in the Gitea container registry (`:latest` only for the newest stable release); a separate releases repository is updated only when `RELEASES_REPO` names one |
|
||||
| `docker.yml` | nightly, manual | `gitea.encke-hake.ts.net/balbosoft/chronos-server:nightly` from `main` |
|
||||
| `perf.yml` | weekly, manual | Performance gates (SQLite, PostgreSQL 17) with timings at the end of the log |
|
||||
|
||||
The workflows live in `.gitea/workflows` (scripts in `.gitea/scripts`) and run on Gitea Actions: an act_runner in
|
||||
Docker mode on the Linux server that hosts Gitea (label `ubuntu-latest`, one job at a time). The .NET jobs run in the
|
||||
`mcr.microsoft.com/dotnet/sdk:10.0` container and check out with plain `git` (the image has no Node.js, so no
|
||||
JavaScript actions); no artifacts or caches are used, and builds use `BUILD_CPUS` cores. Gitea shows no job summary and
|
||||
no annotations: `::warning`/`::error` lines appear in the log only. Pushing images needs the repository secret
|
||||
`REGISTRY_TOKEN` (the workflow's own token is refused by the organisation's registry).
|
||||
+230
-143
@@ -1,12 +1,12 @@
|
||||
# Titano — Build Brief for Claude Code
|
||||
# Chronos — Build Brief for Claude Code
|
||||
|
||||
> This document is the complete specification and standing instruction set for building the
|
||||
> Titano time-lapse ecosystem from scratch. It is written to be read by Claude Code at the
|
||||
> Chronos time-lapse ecosystem from scratch. It is written to be read by Claude Code at the
|
||||
> start of every session (via `CLAUDE.md`, see Appendix A) and to be the single source of
|
||||
> truth for scope, architecture, constraints and delivery order.
|
||||
>
|
||||
> Working name: **Titano**. Three shipped programs — **Titano** (Windows desktop client),
|
||||
> **Titano Server** (Linux/Docker and Windows), **Titano Uploader** (Windows) — sharing one
|
||||
> Working name: **Chronos**. Three shipped programs — **Chronos** (Windows desktop client),
|
||||
> **Chronos Server** (Linux/Docker and Windows), **Chronos Uploader** (Windows) — sharing one
|
||||
> engine. Target audience: photographers, astro/landscape shooters, construction and
|
||||
> weather-cam operators, hobbyists worldwide.
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
### 0.1 Kickoff message
|
||||
|
||||
Paste this as the first message in Claude Code, from an empty repository that contains only
|
||||
this file at `docs/BRIEF.md` and the prototype dump at `docs/reference/titano-prototype.md`:
|
||||
this file at `docs/BRIEF.md` and the prototype dump at `docs/reference/chronos-prototype.md`:
|
||||
|
||||
```
|
||||
Read docs/BRIEF.md completely before doing anything. It is the full specification for this
|
||||
@@ -37,14 +37,14 @@ irreversible; otherwise decide, record it in docs/DECISIONS.md, and continue.
|
||||
`Microsoft.AspNetCore.App`, `Microsoft.WindowsDesktop.App`, the Windows SDK targeting
|
||||
pack), or an operating-system API reached by P/Invoke or COM interop, is implemented
|
||||
in-house. CI fails the build if a `PackageReference` appears (§19.2). The prototype in
|
||||
`docs/reference/titano-prototype.md` proves this is workable: it decodes images with WIC,
|
||||
`docs/reference/chronos-prototype.md` proves this is workable: it decodes images with WIC,
|
||||
encodes video with Media Foundation, parses EXIF/TIFF/XMP with its own parsers, and
|
||||
writes its own MP4 container.
|
||||
2. **No external processes.** No FFmpeg, no ExifTool, no ImageMagick, no PowerShell
|
||||
scripts at runtime. The only OS executables/dialogs the product may invoke are listed in
|
||||
§8.6 (format-volume dialog, shell "open with", browser launch for links).
|
||||
3. **Cross-platform core, Windows-only presentation.** `Titano.Core`, `Titano.Data`,
|
||||
`Titano.Protocol` and `Titano.Server` target `net10.0` and must build and pass tests on
|
||||
3. **Cross-platform core, Windows-only presentation.** `Chronos.Core`, `Chronos.Data`,
|
||||
`Chronos.Protocol` and `Chronos.Server` target `net10.0` and must build and pass tests on
|
||||
Linux. Windows-only code lives in `*.Windows` projects or the desktop apps.
|
||||
4. **English everywhere in the codebase**: identifiers, comments, commit messages, docs.
|
||||
The prototype is written in Italian; port the algorithms, not the language.
|
||||
@@ -62,14 +62,15 @@ irreversible; otherwise decide, record it in docs/DECISIONS.md, and continue.
|
||||
8. **User data is sacred.** Never delete, move or format anything without (a) a verified
|
||||
hash match of every copied file and (b) an explicit user action. Every destructive
|
||||
operation is dry-run-able and shows its plan first.
|
||||
9. **Definition of Done for every phase:** builds green on `windows-latest` and
|
||||
`ubuntu-latest`; all tests green; no new warnings; `docs/DECISIONS.md` and
|
||||
`docs/CHANGELOG.md` updated; a short "how to try it" note in the phase report;
|
||||
localization completeness check passes for `en` and `it`.
|
||||
9. **Definition of Done for every phase:** CI green on Gitea Actions (§19.1: the Linux
|
||||
jobs; the `windows` job once a Windows runner is registered, until then the Windows-only
|
||||
tests run on a Windows PC; amended 2026-10-23, R3); all tests green; no new warnings;
|
||||
`docs/DECISIONS.md` and `docs/CHANGELOG.md` updated; a short "how to try it" note in the
|
||||
phase report; localization completeness check passes for `en` and `it`.
|
||||
10. **Commit style:** Conventional Commits (`feat(core): …`, `fix(server): …`), small
|
||||
commits, one concern each. Never commit generated binaries, fixtures downloaded by
|
||||
scripts, or secrets.
|
||||
11. **Reference prototype:** `docs/reference/titano-prototype.md` is a Repomix dump of the
|
||||
11. **Reference prototype:** `docs/reference/chronos-prototype.md` is a Repomix dump of the
|
||||
previous single-program prototype (C#/.NET 10, WinForms, zero packages). Its engine
|
||||
(metadata parsing, deflicker, holy-grail transitions, optical flow, motion blur,
|
||||
stabilization, virtual camera, time remap, stacking, Media Foundation encoding, MP4
|
||||
@@ -81,7 +82,7 @@ irreversible; otherwise decide, record it in docs/DECISIONS.md, and continue.
|
||||
|
||||
## 1. Product vision
|
||||
|
||||
Titano turns folders of photos (RAW, JPEG, HEIC…) into finished time-lapse videos and keeps
|
||||
Chronos turns folders of photos (RAW, JPEG, HEIC…) into finished time-lapse videos and keeps
|
||||
a lifetime archive of shoots organised, verified and searchable — on one PC or on a shared
|
||||
server.
|
||||
|
||||
@@ -94,7 +95,7 @@ server.
|
||||
Foundation) to purpose-built presets, from 720p previews to 8K 10-bit archives.
|
||||
- **Archive** hundreds of thousands of photos across years and cameras, on local or network
|
||||
drives, with an index that can always be rebuilt from the files themselves.
|
||||
- **Share** through Titano Server: central archive, users with logins, uploads from the
|
||||
- **Share** through Chronos Server: central archive, users with logins, uploads from the
|
||||
tiny Uploader, sync of projects, server-side jobs, render delegation to GPU-equipped
|
||||
clients, and a web admin panel — deployable as a Docker container (Unraid template
|
||||
included) or on Windows.
|
||||
@@ -169,9 +170,9 @@ through the in-house wire-protocol client (§6.3).
|
||||
Microsoft "Raw Image Extension" gives full decode of everything else.
|
||||
- **Video encoding** on Linux has no OS encoder API; the server produces pure-managed
|
||||
outputs (MJPEG-AVI, image sequences, GIF, APNG) itself and delegates MP4/H.264/HEVC/AV1
|
||||
jobs to **render nodes** — Titano clients that volunteer their GPU (§14.7). An in-house
|
||||
jobs to **render nodes** — Chronos clients that volunteer their GPU (§14.7). An in-house
|
||||
intra-only H.264 encoder is a P2 universal fallback (§11.6).
|
||||
- **Testing** uses an in-house runner (`Titano.Testing`, §20.1), not xUnit/NUnit.
|
||||
- **Testing** uses an in-house runner (`Chronos.Testing`, §20.1), not xUnit/NUnit.
|
||||
- **HEIC/HEIF** cannot be decoded in-house (HEVC intra decoder is out of scope): Windows
|
||||
clients decode via WIC (HEIF + HEVC extensions); the server stores originals and relies on
|
||||
proxies produced by a Windows client or render node.
|
||||
@@ -181,36 +182,36 @@ through the in-house wire-protocol client (§6.3).
|
||||
## 3. Repository layout
|
||||
|
||||
```
|
||||
titano/ (private GitHub repo)
|
||||
chronos/ (Gitea repository BalboSoft/Chronos; amended 2026-10-23, R2)
|
||||
├── CLAUDE.md operating rules (Appendix A)
|
||||
├── Directory.Build.props version, LangVersion, nullable, warnings-as-errors, analyzers
|
||||
├── Directory.Build.targets zero-package guard, resource generation hooks
|
||||
├── Titano.slnx
|
||||
├── Chronos.slnx
|
||||
├── global.json pins .NET 10 SDK
|
||||
├── src/
|
||||
│ ├── Titano.Core/ net10.0 — engine: Metadata, Imaging, Codecs, Analysis, Motion, Video (container/muxers), Archive model, Naming, Localization runtime
|
||||
│ ├── Titano.Core.Windows/ net10.0-windows — WIC decoder, Media Foundation encoder, DXGI, device APIs, winsqlite3 binding
|
||||
│ ├── Titano.Data/ net10.0 — IDatabase abstraction, SQL dialects, migrations, repositories, Postgres wire client (Titano.Data.Postgres), SQLite driver surface (implemented by Core.Windows binding)
|
||||
│ ├── Titano.Protocol/ net10.0 — API DTOs, JSON contexts (source-generated), chunked upload protocol, sync manifests, WebSocket event schema, version negotiation
|
||||
│ ├── Titano.Server/ net10.0 — ASP.NET Core minimal API, auth, job engine, storage service, admin web UI (embedded static files), Docker entrypoint
|
||||
│ ├── Titano.App/ net10.0-windows — WPF desktop client
|
||||
│ ├── Titano.Uploader/ net10.0-windows — WPF uploader (tray-capable)
|
||||
│ ├── Titano.Setup/ net10.0-windows — in-house installer/uninstaller (self-extracting, Add/Remove Programs, shortcuts, file associations)
|
||||
│ └── Titano.Tools/ net10.0 — CLI: selftest, diagnose, make-icon, i18n export/check, fixtures fetch, changelog
|
||||
│ ├── Chronos.Core/ net10.0 — engine: Metadata, Imaging, Codecs, Analysis, Motion, Video (container/muxers), Archive model, Naming, Localization runtime
|
||||
│ ├── Chronos.Core.Windows/ net10.0-windows — WIC decoder, Media Foundation encoder, DXGI, device APIs, winsqlite3 binding
|
||||
│ ├── Chronos.Data/ net10.0 — IDatabase abstraction, SQL dialects, migrations, repositories, Postgres wire client (Chronos.Data.Postgres), SQLite driver surface (implemented by Core.Windows binding)
|
||||
│ ├── Chronos.Protocol/ net10.0 — API DTOs, JSON contexts (source-generated), chunked upload protocol, sync manifests, WebSocket event schema, version negotiation
|
||||
│ ├── Chronos.Server/ net10.0 — ASP.NET Core minimal API, auth, job engine, storage service, admin web UI (embedded static files), Docker entrypoint
|
||||
│ ├── Chronos.App/ net10.0-windows — WPF desktop client
|
||||
│ ├── Chronos.Uploader/ net10.0-windows — WPF uploader (tray-capable)
|
||||
│ ├── Chronos.Setup/ net10.0-windows — in-house installer/uninstaller (self-extracting, Add/Remove Programs, shortcuts, file associations)
|
||||
│ └── Chronos.Tools/ net10.0 — CLI: selftest, diagnose, make-icon, i18n export/check, fixtures fetch, changelog
|
||||
├── tests/
|
||||
│ ├── Titano.Testing/ in-house test framework + runner (attributes, asserts, fixtures, JUnit XML)
|
||||
│ ├── Titano.Core.Tests/
|
||||
│ ├── Titano.Data.Tests/ includes PostgreSQL integration tests (skipped without TITANO_TEST_PG)
|
||||
│ ├── Titano.Server.Tests/ in-process Kestrel on a random port
|
||||
│ ├── Titano.App.Tests/ view-model tests + XAML lint (tooltip/resource rules) + screenshot smoke (`--capture`)
|
||||
│ └── fixtures/ tiny checked-in samples; larger CC0 RAW samples fetched by `Titano.Tools fixtures`
|
||||
│ ├── Chronos.Testing/ in-house test framework + runner (attributes, asserts, fixtures, JUnit XML)
|
||||
│ ├── Chronos.Core.Tests/
|
||||
│ ├── Chronos.Data.Tests/ includes PostgreSQL integration tests (skipped without CHRONOS_TEST_PG)
|
||||
│ ├── Chronos.Server.Tests/ in-process Kestrel on a random port
|
||||
│ ├── Chronos.App.Tests/ view-model tests + XAML lint (tooltip/resource rules) + screenshot smoke (`--capture`)
|
||||
│ └── fixtures/ tiny checked-in samples; larger CC0 RAW samples fetched by `Chronos.Tools fixtures`
|
||||
├── branding/ icon sources (SVG), generated ICO/PNG sets
|
||||
├── i18n/ .resx sources (en) + translations, glossary, machine-translation notes
|
||||
├── deploy/
|
||||
│ ├── docker/Dockerfile, docker-compose.yml, entrypoint
|
||||
│ └── unraid/titano.xml
|
||||
├── .github/workflows/ ci.yml, release.yml, docker.yml
|
||||
└── docs/ BRIEF.md (this), DECISIONS.md, CHANGELOG.md, ARCHITECTURE.md (generated per phase), reference/titano-prototype.md
|
||||
│ └── unraid/chronos.xml
|
||||
├── .gitea/workflows/ ci.yml, release.yml, docker.yml, perf.yml (amended 2026-10-23, R2)
|
||||
└── docs/ BRIEF.md (this), DECISIONS.md, CHANGELOG.md, ARCHITECTURE.md (generated per phase), reference/chronos-prototype.md
|
||||
```
|
||||
|
||||
Project references: `App` → `Core`, `Core.Windows`, `Data`, `Protocol`. `Server` → `Core`,
|
||||
@@ -225,7 +226,7 @@ Project references: `App` → `Core`, `Core.Windows`, `Data`, `Protocol`. `Serve
|
||||
|
||||
```
|
||||
┌────────────────────────────────────────────────────────────────┐
|
||||
│ Titano (WPF client) │
|
||||
│ Chronos (WPF client) │
|
||||
│ Library · Edit · Import · Archive manager · Jobs │
|
||||
│ Local mode: SQLite + local/network archive │
|
||||
│ Server mode: REST/WS client, proxies cache, render node │
|
||||
@@ -233,7 +234,7 @@ Project references: `App` → `Core`, `Core.Windows`, `Data`, `Protocol`. `Serve
|
||||
│ HTTPS REST + WebSocket │ Memory cards (USB/SD)
|
||||
▼ ▼
|
||||
┌───────────────────────────────────┐ ┌──────────────────────────┐
|
||||
│ Titano Server │ │ Titano Uploader (WPF) │
|
||||
│ Chronos Server │ │ Chronos Uploader (WPF) │
|
||||
│ Kestrel · API v1 · Auth · Jobs │◄───────────│ queue · watch folders │
|
||||
│ Storage service · Admin web panel │ HTTPS │ resumable chunk upload │
|
||||
│ Pure-managed encoders │ └──────────────────────────┘
|
||||
@@ -246,7 +247,7 @@ Project references: `App` → `Core`, `Core.Windows`, `Data`, `Protocol`. `Serve
|
||||
|
||||
### 4.2 Shared engine
|
||||
|
||||
`Titano.Core` is the same assembly on client and server: metadata parsing, image codecs,
|
||||
`Chronos.Core` is the same assembly on client and server: metadata parsing, image codecs,
|
||||
analysis advisor, render pipeline, container writers. Only the *decoder/encoder providers*
|
||||
differ per platform, behind two interfaces:
|
||||
|
||||
@@ -329,7 +330,7 @@ Paging everywhere (keyset pagination on `(first_capture, id)`).
|
||||
|
||||
## 6. Data layer
|
||||
|
||||
### 6.1 `Titano.Data` abstraction
|
||||
### 6.1 `Chronos.Data` abstraction
|
||||
|
||||
```csharp
|
||||
public interface IDatabase : IAsyncDisposable {
|
||||
@@ -345,30 +346,30 @@ public interface IDbSession : IAsyncDisposable {
|
||||
```
|
||||
|
||||
Hand-written SQL in repositories (`SequenceRepository`, `FrameRepository`, …); no ORM.
|
||||
Migrations: numbered `.sql` files per dialect in `Titano.Data/Migrations/{sqlite,postgres}/`,
|
||||
Migrations: numbered `.sql` files per dialect in `Chronos.Data/Migrations/{sqlite,postgres}/`,
|
||||
applied at startup inside a transaction, recorded in `schema_migrations`. Dialect
|
||||
differences (types, `RETURNING`, upserts) are confined to SQL files and a small `SqlDialect`
|
||||
helper.
|
||||
|
||||
### 6.2 SQLite (client, and Windows standalone server)
|
||||
|
||||
- Binding: `Titano.Core.Windows/Sqlite/WinSqlite3.cs` P/Invoke to `winsqlite3.dll`
|
||||
- Binding: `Chronos.Core.Windows/Sqlite/WinSqlite3.cs` P/Invoke to `winsqlite3.dll`
|
||||
(`sqlite3_open_v2`, `prepare_v2`, `step`, `reset`, `finalize`, `bind_*`, `column_*`,
|
||||
`exec`, `errmsg`, `last_insert_rowid`, `changes`, `busy_timeout`, `libversion`,
|
||||
`extended_result_codes`). UTF-8 marshalling by hand. Check `sqlite3_libversion() ≥ 3.31`
|
||||
at startup; probe `PRAGMA compile_options` and never depend on FTS/JSON extensions.
|
||||
- Pragmas: `journal_mode=WAL`, `synchronous=NORMAL`, `foreign_keys=ON`,
|
||||
`temp_store=MEMORY`, `cache_size=-65536`, `mmap_size=268435456`.
|
||||
- Location: `%LOCALAPPDATA%\Titano\titano.db` (never Documents/OneDrive-synced folders —
|
||||
- Location: `%LOCALAPPDATA%\Chronos\chronos.db` (never Documents/OneDrive-synced folders —
|
||||
SQLite in a synced folder corrupts). Portable mode: `portable.txt` next to the exe puts
|
||||
everything under `.\data\`.
|
||||
- Backups: `VACUUM INTO` nightly copy kept ×3; restore from Settings › Advanced.
|
||||
|
||||
### 6.3 PostgreSQL client (`Titano.Data.Postgres`) — in-house wire protocol v3
|
||||
### 6.3 PostgreSQL client (`Chronos.Data.Postgres`) — in-house wire protocol v3
|
||||
|
||||
- TCP + optional TLS via `SslStream` after `SSLRequest`; `sslmode` = disable | prefer |
|
||||
require | verify-full.
|
||||
- Startup (`user`, `database`, `application_name=titano-server`, `client_encoding=UTF8`,
|
||||
- Startup (`user`, `database`, `application_name=chronos-server`, `client_encoding=UTF8`,
|
||||
`TimeZone=UTC`); authentication: SCRAM-SHA-256 (`Rfc2898DeriveBytes.Pbkdf2`, HMAC-SHA256,
|
||||
channel binding not required), MD5, cleartext, trust.
|
||||
- Simple query, extended query (Parse/Bind/Describe/Execute/Sync) with parameters in text
|
||||
@@ -389,7 +390,7 @@ The archive is the source of truth; the database is an index that can be rebuilt
|
||||
|
||||
```
|
||||
<ArchiveRoot>/
|
||||
├── .titano/
|
||||
├── .chronos/
|
||||
│ ├── archive.json { id, name, schemaVersion, created, layoutTemplates, proxyPolicy }
|
||||
│ ├── index-snapshot.bin optional accelerator for rebuild (all sidecars concatenated + hash); ignored if stale
|
||||
│ └── locks/ lease files for concurrent writers (server + client on same share)
|
||||
@@ -398,7 +399,7 @@ The archive is the source of truth; the database is an index that can be rebuilt
|
||||
│ ├── originals/ IMG_0001.CR2 … names = expanded FileTemplate
|
||||
│ ├── proxies/ 0001.jpg … (JPEG, long edge per policy; optional, regenerable)
|
||||
│ ├── exports/ 2026-09-28 Harbour sunset - 4K HEVC.mp4 …
|
||||
│ └── .titano/
|
||||
│ └── .chronos/
|
||||
│ ├── sequence.json sidecar manifest (below)
|
||||
│ ├── analysis.json full deep-analysis report
|
||||
│ ├── project.json render settings (the "project")
|
||||
@@ -480,7 +481,7 @@ dims, delta), `WhiteLevel`, `AsShotNeutral`/`AsShotWhiteXY`, `ColorMatrix1/2` +
|
||||
`WarpRectilinear`, `FixVignetteRadial`; unknown opcodes ignored with a warning),
|
||||
`BaselineExposure`. Output: linear Rec.709/sRGB primaries float planes.
|
||||
|
||||
### 8.3 Managed codecs (all in `Titano.Core/Codecs`, pure C#, SIMD where it pays)
|
||||
### 8.3 Managed codecs (all in `Chronos.Core/Codecs`, pure C#, SIMD where it pays)
|
||||
|
||||
- `JpegDecoder` (baseline, progressive, restart intervals, 4:4:4/4:2:2/4:2:0/4:1:1/gray,
|
||||
12-bit optional, ICC ignored), `JpegEncoder` (baseline, quality 1–100, subsampling
|
||||
@@ -519,7 +520,7 @@ size and budget, never by sequence length; the self-tests assert this.
|
||||
|
||||
---
|
||||
|
||||
## 9. Metadata model and parsers (`Titano.Core/Metadata`)
|
||||
## 9. Metadata model and parsers (`Chronos.Core/Metadata`)
|
||||
|
||||
Port and extend the prototype's binary parsers: container detection by signature; JPEG
|
||||
segment scan (APP1 Exif, APP1 XMP + extended XMP, APP2 MPF); TIFF/IFD walker with on-demand
|
||||
@@ -666,7 +667,7 @@ player smoke test on Windows CI.
|
||||
|
||||
---
|
||||
|
||||
## 12. Titano desktop client — UI specification
|
||||
## 12. Chronos desktop client — UI specification
|
||||
|
||||
### 12.1 Shell
|
||||
|
||||
@@ -813,7 +814,7 @@ player smoke test on Windows CI.
|
||||
### 12.5 Archive manager
|
||||
|
||||
```
|
||||
│ [Archive: D:\TitanoArchive ▾] [Scan] [Rebuild index] [Verify] [Duplicates] [Orphans] [Adopt folder…] [Maintenance ▾] │
|
||||
│ [Archive: D:\ChronosArchive ▾] [Scan] [Rebuild index] [Verify] [Duplicates] [Orphans] [Adopt folder…] [Maintenance ▾] │
|
||||
├──────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
||||
│ 618,204 photos · 412 sequences · 9.4 TB · 14 cameras · 2019–2026 │
|
||||
│ ▆▇█▅▂▁▃▆ photos per month (heatmap) ██████░░ storage by year ▉▉▉▍ by camera ▉▉▎ by format │
|
||||
@@ -896,12 +897,12 @@ Version, build, licence/EULA link, third-party notice (none), diagnostics bundle
|
||||
|
||||
---
|
||||
|
||||
## 14. Titano Server
|
||||
## 14. Chronos Server
|
||||
|
||||
### 14.1 Stack
|
||||
|
||||
ASP.NET Core minimal API on Kestrel (`Microsoft.AspNetCore.App` shared framework, no
|
||||
packages), `System.Text.Json` source-generated contexts from `Titano.Protocol`, WebSockets
|
||||
packages), `System.Text.Json` source-generated contexts from `Chronos.Protocol`, WebSockets
|
||||
for events, in-house structured file logging (`Microsoft.Extensions.Logging` abstractions
|
||||
are part of the shared framework; the file provider is in-house), in-house rate limiting for
|
||||
login and uploads, health endpoint, graceful shutdown (jobs checkpoint).
|
||||
@@ -922,7 +923,7 @@ login and uploads, health endpoint, graceful shutdown (jobs checkpoint).
|
||||
- Limits: max upload size, chunk size (default 8 MiB), per-user quota, request timeouts,
|
||||
login rate limit (5/min/IP), audit log.
|
||||
|
||||
### 14.3 API v1 (JSON; errors as `{ code, message, details }`; `X-Titano-Api: 1`)
|
||||
### 14.3 API v1 (JSON; errors as `{ code, message, details }`; `X-Chronos-Api: 1`)
|
||||
|
||||
```
|
||||
POST /api/v1/auth/login {username,password,clientName} → {token,user,mustChangePassword}
|
||||
@@ -990,7 +991,7 @@ job's own follow-ups never interrupt it. (Amended 2026-10-16, R2.)
|
||||
|
||||
### 14.7 Render nodes
|
||||
|
||||
A Titano client with "Offer this PC as render node" registers its encoder capabilities
|
||||
A Chronos client with "Offer this PC as render node" registers its encoder capabilities
|
||||
and polls/claims render jobs matching them, downloads what it needs (proxies or originals
|
||||
per job settings), renders with its GPU, uploads the result as a render of the sequence.
|
||||
Node state shown in admin › Jobs; the server falls back to managed formats when no node is
|
||||
@@ -1000,7 +1001,7 @@ available and says so in the job log.
|
||||
|
||||
```
|
||||
┌─────────────┬────────────────────────────────────────────────────────────────────────────┐
|
||||
│ Titano │ Dashboard │
|
||||
│ Chronos │ Dashboard │
|
||||
│ ● Dashboard │ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
|
||||
│ Users │ │ 9.4 TB │ │ 412 seq │ │ 3 jobs │ │ 2 nodes │ │
|
||||
│ Archive │ │ of 16 TB │ │ 618k pho │ │ running │ │ online │ │
|
||||
@@ -1023,25 +1024,25 @@ links' tooltips then naming their page; on narrow screens it stays the top bar (
|
||||
### 14.9 Configuration and Docker
|
||||
|
||||
Environment variables (also readable from `/data/server.json`):
|
||||
`TITANO_ADMIN_USER`, `TITANO_ADMIN_PASSWORD` (used only when no admin exists; forced change
|
||||
at first login), `TITANO_ARCHIVE_PATH=/archive`, `TITANO_DATA_PATH=/data`,
|
||||
`TITANO_DB=postgres|sqlite` (Linux: postgres only), `TITANO_DB_HOST`, `TITANO_DB_PORT=5432`,
|
||||
`TITANO_DB_NAME`, `TITANO_DB_USER`, `TITANO_DB_PASSWORD`, `TITANO_DB_SSLMODE=prefer`,
|
||||
`TITANO_HTTP_PORT=8080`, `TITANO_HTTPS_PORT=8443`, `TITANO_TLS_MODE=auto|pem|proxy`,
|
||||
`TITANO_TLS_CERT`, `TITANO_TLS_KEY`, `TITANO_SERVER_NAME`, `TITANO_LANG=en`,
|
||||
`TITANO_PARALLELISM` (photos the running job processes at once; `TITANO_WORKERS`, its former
|
||||
name, still sets it), `TITANO_PRIORITY_QUEUE=false`, `TITANO_DISCOVERY=true` (LAN UDP beacon),
|
||||
`CHRONOS_ADMIN_USER`, `CHRONOS_ADMIN_PASSWORD` (used only when no admin exists; forced change
|
||||
at first login), `CHRONOS_ARCHIVE_PATH=/archive`, `CHRONOS_DATA_PATH=/data`,
|
||||
`CHRONOS_DB=postgres|sqlite` (Linux: postgres only), `CHRONOS_DB_HOST`, `CHRONOS_DB_PORT=5432`,
|
||||
`CHRONOS_DB_NAME`, `CHRONOS_DB_USER`, `CHRONOS_DB_PASSWORD`, `CHRONOS_DB_SSLMODE=prefer`,
|
||||
`CHRONOS_HTTP_PORT=8080`, `CHRONOS_HTTPS_PORT=8443`, `CHRONOS_TLS_MODE=auto|pem|proxy`,
|
||||
`CHRONOS_TLS_CERT`, `CHRONOS_TLS_KEY`, `CHRONOS_SERVER_NAME`, `CHRONOS_LANG=en`,
|
||||
`CHRONOS_PARALLELISM` (photos the running job processes at once; `CHRONOS_WORKERS`, its former
|
||||
name, still sets it), `CHRONOS_PRIORITY_QUEUE=false`, `CHRONOS_DISCOVERY=true` (LAN UDP beacon),
|
||||
`PUID`, `PGID`, `TZ`. (Amended 2026-10-16, R2.)
|
||||
|
||||
Dockerfile: multi-stage on `mcr.microsoft.com/dotnet/sdk:10.0` → `aspnet:10.0`, non-root
|
||||
user via `PUID/PGID` entrypoint, volumes `/archive` and `/data`, `HEALTHCHECK` on
|
||||
`/health`, `linux/amd64` + `linux/arm64`. `docker-compose.yml` with a PostgreSQL 17 service.
|
||||
Windows: `Titano.Server.exe` runs as console or Windows Service (`sc create`), SQLite or
|
||||
Windows: `Chronos.Server.exe` runs as console or Windows Service (`sc create`), SQLite or
|
||||
PostgreSQL.
|
||||
|
||||
---
|
||||
|
||||
## 15. Titano Uploader
|
||||
## 15. Chronos Uploader
|
||||
|
||||
Single small window (tray-capable), zero analysis: connect + sign in (token saved with
|
||||
DPAPI), drop zone (files/folders/cards), queue with per-file state, pause/resume, bandwidth
|
||||
@@ -1053,7 +1054,7 @@ new files after they stop growing), run at startup, minimise to tray, per-sessio
|
||||
for HEIC/RAW so the server can render without a node.
|
||||
|
||||
```
|
||||
│ Titano Uploader ☁ https://nas.local:8443 · alberto · ● Connected [⚙] │
|
||||
│ Chronos Uploader ☁ https://nas.local:8443 · alberto · ● Connected [⚙] │
|
||||
│ ┌────────────────────────────────────────────────────────────────────────────────┐ │
|
||||
│ │ Drop photos, folders or a card here │ │
|
||||
│ └────────────────────────────────────────────────────────────────────────────────┘ │
|
||||
@@ -1072,19 +1073,20 @@ for HEIC/RAW so the server can render without a node.
|
||||
`Import`, `Archive`, `Server`, `Settings`, `Tooltips`, `Errors`, `Advisor`, `Admin`).
|
||||
Keys are stable identifiers (`Library.Filter.Year`), never English sentences.
|
||||
- Runtime: `ResourceManager` + a `Loc` XAML markup extension and `L("key", args)` helper in
|
||||
`Titano.Core/Localization`; culture switch at runtime without restart (rebinding via a
|
||||
`Chronos.Core/Localization`; culture switch at runtime without restart (rebinding via a
|
||||
`LocalizationChanged` event); web admin receives `/api/v1/i18n/{culture}` generated from
|
||||
the same resx by `Titano.Tools i18n export`.
|
||||
the same resx by `Chronos.Tools i18n export`.
|
||||
- Plurals: an in-house minimal CLDR plural-rule table for the shipped languages
|
||||
(`one/few/many/other`), keys with suffixes (`Photos.Count.one`, `.other`).
|
||||
- Dates/numbers/units via `CultureInfo`; file sizes localised; RTL via `FlowDirection`
|
||||
for `ar`, `he`, `fa`, `ur` (mirrored rail and icons where directional).
|
||||
- Languages (Phase 8, all machine-translated by Claude Code with a glossary, marked as such
|
||||
in About and open to community review via the public releases repo): `en` (source), `it`,
|
||||
in About and open to community review via the releases repository): `en` (source), `it`,
|
||||
`de`, `fr`, `es`, `pt-BR`, `pt-PT`, `nl`, `pl`, `cs`, `sk`, `hu`, `ro`, `sv`, `da`, `nb`,
|
||||
`fi`, `ru`, `uk`, `tr`, `el`, `bg`, `hr`, `sl`, `lt`, `lv`, `et`, `ja`, `zh-Hans`,
|
||||
`zh-Hant`, `ko`, `ar`, `he`, `hi`, `id`, `ms`, `vi`, `th`. Add more if effort allows.
|
||||
- `Titano.Tools i18n check` fails CI when a key is missing in `en` or `it`, when a
|
||||
(Amended 2026-10-23, R2.)
|
||||
- `Chronos.Tools i18n check` fails CI when a key is missing in `en` or `it`, when a
|
||||
placeholder count differs between languages, or when a string exceeds the layout budget
|
||||
(tooltips ≤ 200 chars, labels ≤ 30 chars unless flagged).
|
||||
- UI is written to survive +40 % text expansion (German, Finnish): no fixed-width labels.
|
||||
@@ -1098,7 +1100,7 @@ for HEIC/RAW so the server can render without a node.
|
||||
reading as camera aperture, clock and sun path at once; single accent colour on a rounded
|
||||
square (dark) tile; no text. Works at 16 px (segments merge into a ring; the disc
|
||||
remains).
|
||||
- Generated programmatically (`Titano.Tools make-icon`): in-house PNG encoder + ICO
|
||||
- Generated programmatically (`Chronos.Tools make-icon`): in-house PNG encoder + ICO
|
||||
container (16/20/24/32/48/64/128/256), SVG source kept in `branding/`; variants: Server
|
||||
(mark + three horizontal bars badge), Uploader (mark + up-arrow badge). Also favicon
|
||||
for the admin panel and a 1024 px PNG for listings. Prototype `IconGenerator` shows
|
||||
@@ -1113,82 +1115,161 @@ 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
|
||||
support it.)
|
||||
- `Titano.Setup` (in-house, WPF, ~one screen): choose components (Titano, Uploader,
|
||||
Server for Windows), folder, shortcuts, file associations (`.titano` project bundles),
|
||||
installs to `%LOCALAPPDATA%\Programs\Titano` per user (no admin) or `Program Files`
|
||||
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),
|
||||
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.
|
||||
- Code signing hook in the release workflow (`signtool` from the Windows SDK) using
|
||||
secrets when present; unsigned builds are still produced.
|
||||
- Updates: on start (opt-out) the client calls the GitHub Releases API of the **public
|
||||
releases repository** (§19.4) and shows a one-line notice with "Download" (P1: download
|
||||
installer, verify SHA-256 from `SHA256SUMS`, run it).
|
||||
- Distribution: installers and `SHA256SUMS` on the public releases repo; Docker images on
|
||||
GHCR (public package); Unraid template in the public repo.
|
||||
- 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.
|
||||
- Updates: on start (opt-out) the client calls the Gitea releases API of the **releases
|
||||
repository** (§19.4), `<server>/api/v1/repos/<owner>/<name>/releases?draft=false&pre-release=false`,
|
||||
takes the highest version (a pre-release build is offered the final release of its own
|
||||
version; a 404, a repository the client cannot see, is a failed check, not "up to date"),
|
||||
and shows a one-line notice with "Download" (P1: download
|
||||
installer, verify SHA-256 from `SHA256SUMS`, run it). The repository is the build
|
||||
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
|
||||
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.)
|
||||
|
||||
---
|
||||
|
||||
## 19. CI/CD, Docker, Unraid
|
||||
|
||||
### 19.1 `ci.yml` (push, PR)
|
||||
### 19.1 `ci.yml` (push to `main`, pull requests, manual; amended 2026-10-23, R3)
|
||||
|
||||
Matrix `windows-latest` / `ubuntu-latest`: `dotnet --info`, restore (no packages → fast),
|
||||
build with warnings as errors, run `Titano.Testing` for all test projects (JUnit XML
|
||||
uploaded and annotated), `dotnet format --verify-no-changes`, `Titano.Tools i18n check`,
|
||||
XAML lint (App.Tests), zero-package guard, Docker build (no push) on ubuntu; PostgreSQL 16
|
||||
and 17 service containers for `Titano.Data.Tests`; CC0 RAW fixtures fetched by
|
||||
`Titano.Tools fixtures` and cached (`actions/cache`).
|
||||
Gitea Actions in `.gitea/workflows`. The runner is act_runner in Docker mode on the Linux
|
||||
server that also hosts Gitea, label `ubuntu-latest`, one job at a time. The .NET jobs run
|
||||
in the container `mcr.microsoft.com/dotnet/sdk:10.0` and check out with plain `git` (the
|
||||
image has no Node.js, so no JavaScript actions such as `actions/checkout`); no artifacts
|
||||
and no caches are used; builds use 4 cores (`BUILD_CPUS`). Gitea shows no job summary and
|
||||
no annotations: `::warning`/`::error` lines appear in the log only. Jobs:
|
||||
|
||||
- `build`: `dotnet --info`, build with warnings as errors, zero-package guard,
|
||||
`Chronos.Tools i18n check`, XAML lint, format check, CC0 RAW fixtures fetched by
|
||||
`Chronos.Tools fixtures` (a missing sample is a warning in the log and its tests skip),
|
||||
`Chronos.Testing` for the Core, Data (SQLite), Server and Tools tests (JUnit XML), and the
|
||||
Windows programs (App, Uploader, Setup) cross-compiled for win-x64, packed with
|
||||
`pack-installer` and checked with `Chronos.Tools pe-check`.
|
||||
- `postgres`: PostgreSQL 16 and 17 service containers (host name `postgres`) for
|
||||
`Chronos.Data.Tests` and `Chronos.Server.Tests`; `Chronos.Tools postgres-ci` prepares the
|
||||
MD5, cleartext and trust roles and TLS through SQL only, because Gitea gives no id of the
|
||||
service container.
|
||||
- `docker`: builds the image with the host's daemon (no push) and smoke-tests `/health`
|
||||
with PostgreSQL 17 on a network of the run.
|
||||
- `yaml`: in `ruby:3.3-alpine`, with the sources from the Gitea archive API; checks the
|
||||
workflows, the `.gitea/ISSUE_TEMPLATE` forms and the compose file.
|
||||
- `windows` (optional): runs only when the repository variable `WINDOWS_RUNNER` names the
|
||||
label of a Windows act_runner in host mode with the .NET SDK, Git for Windows (in
|
||||
`C:/Program Files/Git`, whose bash the job names by path) and PowerShell 7: the Core.Windows and App tests, the `--capture` screenshots and their diff,
|
||||
and the installer test. Without a Windows runner the Windows-only tests are run locally on
|
||||
a Windows PC.
|
||||
|
||||
`perf.yml` runs the performance gates weekly on SQLite and on PostgreSQL 17 in a service
|
||||
container; the timings are printed at the end of the log.
|
||||
|
||||
### 19.2 Zero-package guard
|
||||
|
||||
`Directory.Build.targets` target `AssertNoPackageReferences` fails the build if any
|
||||
`PackageReference` exists; CI also greps `**/*.csproj` and `**/*.props` and checks that
|
||||
`obj/project.assets.json` lists no packages. Only `actions/*` and `docker/*` GitHub
|
||||
Actions are used in workflows.
|
||||
`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*`)
|
||||
### 19.3 `release.yml` (tag `v*`, or manual re-publish of an existing tag; amended 2026-10-23, R3)
|
||||
|
||||
Version from the tag → `Directory.Build.props`; publish self-contained binaries; build
|
||||
`Titano-Setup-<ver>.exe`, `Titano-Uploader-Setup-<ver>.exe`, `Titano-Server-win-x64-<ver>.zip`;
|
||||
sign if secrets present; generate `SHA256SUMS` and the changelog (`Titano.Tools changelog`
|
||||
from Conventional Commits); build and push multi-arch Docker image to
|
||||
`ghcr.io/<org>/titano-server:<ver>` and `:latest`; create the GitHub Release **in the
|
||||
public releases repository** with `gh release create` (the `gh` CLI is preinstalled on
|
||||
runners) using a fine-grained PAT stored as `RELEASES_TOKEN`; copy `deploy/unraid/
|
||||
titano.xml` and EULA there.
|
||||
Job `release`, in the SDK container: the version from the tag
|
||||
(`vMAJOR.MINOR.PATCH[-PRERELEASE]`) 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
|
||||
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
|
||||
(`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 job `image`, in the runner's default image with the docker
|
||||
CLI and the host's daemon: it builds `linux/amd64` only (arm64 would need QEMU on the host)
|
||||
and pushes `gitea.encke-hake.ts.net/balbosoft/chronos-server:<ver>`, plus `:latest` only
|
||||
for the newest stable release. Pushing needs the repository secret `REGISTRY_TOKEN`, an
|
||||
access token of a user who can write the owner's packages (scope "package: read and
|
||||
write"): the workflow's own token (user `gitea-actions`) is refused by the organisation's
|
||||
registry. Pre-releases (tags with a `-`) get no `:latest`, and the in-app update check
|
||||
ignores them.
|
||||
|
||||
### 19.4 Public releases repository
|
||||
Variables, all optional: `PUBLIC_URL` (default `https://gitea.encke-hake.ts.net`),
|
||||
`RELEASES_REPO` (§19.4), `REGISTRY` (default the host of `PUBLIC_URL`), `REGISTRY_USER`
|
||||
(default the user who pushed the tag), `WINDOWS_RUNNER` (§19.1). Secrets:
|
||||
`REGISTRY_TOKEN` (needed for images), `RELEASES_TOKEN` (only with `RELEASES_REPO`),
|
||||
`SIGN_PFX_BASE64` + `SIGN_PASSWORD` (optional signing).
|
||||
|
||||
Because release assets of a private repository are not publicly downloadable, a second,
|
||||
public repository (`titano-releases`) holds only: README (what it is, screenshots,
|
||||
requirements), EULA/LICENSE, release assets, `SHA256SUMS`, Unraid template, `i18n/`
|
||||
translations for community review, and issues. The private repo publishes into it; nothing
|
||||
is developed there. The GHCR package is set to public visibility.
|
||||
### 19.4 Releases repository (amended 2026-10-23, R2)
|
||||
|
||||
By default releases are published in `BalboSoft/Chronos` itself: on the owner's own Gitea
|
||||
the owner decides who sees the organisation, its releases and its packages, and one
|
||||
repository needs no second token and no copy step. A separate public repository stays
|
||||
optional, for when the sources must stay hidden while the releases are public: with the
|
||||
repository variable `RELEASES_REPO` (owner/name of another repository on the same Gitea)
|
||||
and the secret `RELEASES_TOKEN`, the release goes there, and for the newest stable release
|
||||
`release.yml` copies into it `deploy/releases-repo/README.md` (what it is, screenshots,
|
||||
requirements), `EULA.md`, `SECURITY.md`, `.gitea/ISSUE_TEMPLATE`,
|
||||
`deploy/unraid/chronos.xml` and `branding/chronos-server.svg` (as `unraid/`), the compose
|
||||
file and `.env.example` (as `docker/`), `i18n/` translations for community review and
|
||||
`SHA256SUMS`, rewriting the links to that repository and its image; nothing is developed
|
||||
there. `EULA.md` and `SECURITY.md` live at the repository root, the issue forms in
|
||||
`.gitea/ISSUE_TEMPLATE` (Gitea issue-form YAML: name, about, title, labels, body).
|
||||
|
||||
Today the `BalboSoft` organisation is not visible to anonymous visitors, so the update
|
||||
check, release downloads and image pulls work for other people only once the owner makes
|
||||
the organisation (and its packages) public, or publishes to a public `RELEASES_REPO` (the
|
||||
image stays in the organisation's registry either way); while it is private,
|
||||
`docker login gitea.encke-hake.ts.net` is needed before pulling. Gitea has no private
|
||||
vulnerability reporting: security problems are reported privately to the maintainers (the
|
||||
contact on the owner's Gitea profile, or an e-mail to them), never in a public issue.
|
||||
|
||||
### 19.5 `docker.yml`
|
||||
|
||||
Nightly build of `main` to `ghcr.io/<org>/titano-server:nightly`; `deploy/docker/
|
||||
docker-compose.yml` for users (server + PostgreSQL + volumes).
|
||||
Nightly build of `main` (02:17 daily) to
|
||||
`gitea.encke-hake.ts.net/balbosoft/chronos-server:nightly` in the Gitea container registry,
|
||||
with the host's daemon and the `REGISTRY_TOKEN` secret as in §19.3 (amended 2026-10-23, R3);
|
||||
`deploy/docker/docker-compose.yml` for users (server + PostgreSQL + volumes), downloaded
|
||||
from `https://gitea.encke-hake.ts.net/BalboSoft/Chronos/raw/branch/main/deploy/docker/docker-compose.yml`
|
||||
together with `.../deploy/docker/.env.example`.
|
||||
|
||||
### 19.6 Unraid template (`deploy/unraid/titano.xml`)
|
||||
### 19.6 Unraid template (`deploy/unraid/chronos.xml`)
|
||||
|
||||
Community Applications XML: repository `ghcr.io/<org>/titano-server:latest`, WebUI
|
||||
`http://[IP]:[PORT:8080]/admin`, ports 8080/8443, paths `/archive` → `/mnt/user/Timelapse`,
|
||||
`/data` → `/mnt/user/appdata/titano`, variables from §14.9 (admin user/password, DB
|
||||
host/port/name/user/password, TLS mode, PUID/PGID, TZ), icon URL from the public repo,
|
||||
support/project links, description ≤ 2 sentences. Document (in the public README) how to
|
||||
add the template repository URL in Unraid and to pair with the official PostgreSQL
|
||||
template.
|
||||
Community Applications XML: repository `gitea.encke-hake.ts.net/balbosoft/chronos-server:latest`,
|
||||
WebUI `http://[IP]:[PORT:8080]/admin`, ports 8080/8443, paths `/archive` →
|
||||
`/mnt/user/Timelapse`, `/data` → `/mnt/user/appdata/chronos`, variables from §14.9 (admin
|
||||
user/password, DB host/port/name/user/password, TLS mode, PUID/PGID, TZ), description ≤ 2
|
||||
sentences. Registry and Project `https://gitea.encke-hake.ts.net/BalboSoft/Chronos`,
|
||||
Support `https://gitea.encke-hake.ts.net/BalboSoft/Chronos/issues`, TemplateURL
|
||||
`https://gitea.encke-hake.ts.net/BalboSoft/Chronos/raw/branch/main/deploy/unraid/chronos.xml`,
|
||||
Icon `https://gitea.encke-hake.ts.net/BalboSoft/Chronos/raw/branch/main/branding/chronos-server.svg`;
|
||||
`release.yml` rewrites these exact prefixes for a separate releases repository (§19.4), so
|
||||
they stay verbatim. (Amended 2026-10-23, R2.) Document (in the README) how to install the
|
||||
template as a user template (Unraid's template repositories read GitHub and GitLab
|
||||
addresses, not Gitea's) and to pair it with the official PostgreSQL template.
|
||||
|
||||
---
|
||||
|
||||
## 20. Testing and quality
|
||||
|
||||
### 20.1 `Titano.Testing` (in-house)
|
||||
### 20.1 `Chronos.Testing` (in-house)
|
||||
|
||||
Attributes `[Test]`, `[Theory]` + `[Case(...)]`, `[Skip(reason)]`, `[Timeout(ms)]`,
|
||||
`[Category]`; assertions with expressive messages (`Assert.Equal`, `Approximately`,
|
||||
@@ -1211,16 +1292,16 @@ out.xml --filter core`.
|
||||
in-house MP4 inspector + `MediaPlayer` playback check; `--capture` screenshots of every
|
||||
screen for visual regression (pixel-diff tolerance) and for the phase report.
|
||||
- Fixtures: tiny synthetic files checked in; CC0 RAW samples (one per major format, from a
|
||||
public CC0 sample set) fetched by `Titano.Tools fixtures` into `tests/fixtures/external`
|
||||
(git-ignored, CI-cached).
|
||||
public CC0 sample set) fetched by `Chronos.Tools fixtures` into `tests/fixtures/external`
|
||||
(git-ignored; CI fetches them on every run, without a cache; amended 2026-10-23, R3).
|
||||
|
||||
### 20.3 Static rules
|
||||
|
||||
Warnings as errors; nullable enabled; `dotnet format`; XAML lint: every `Button`,
|
||||
`ToggleButton`, `Slider`, `ComboBox`, `CheckBox`, `MenuItem` has a `ToolTip`; no literal
|
||||
`Content="…"`/`Text="…"` outside resources; no `PackageReference`; no Windows APIs in
|
||||
`Titano.Core`/`Titano.Data`/`Titano.Protocol`/`Titano.Server` (checked by building them on
|
||||
Linux); public API of `Titano.Protocol` versioned.
|
||||
`Chronos.Core`/`Chronos.Data`/`Chronos.Protocol`/`Chronos.Server` (checked by building them on
|
||||
Linux); public API of `Chronos.Protocol` versioned.
|
||||
|
||||
### 20.4 Quality gates carried over from the prototype (regression thresholds)
|
||||
|
||||
@@ -1238,20 +1319,22 @@ unobserved exceptions, spill file removed.
|
||||
|
||||
- In-house ad delivery, no SDK, no tracking by default: the client fetches a signed
|
||||
campaign manifest (JSON: id, image URL, link, weight, languages, countries, start/end,
|
||||
minimum version) from `https://<org>.github.io/titano-releases/ads/manifest.json`
|
||||
(or a URL set by the human), caches creatives, renders them natively in one slot — the
|
||||
Export section while a render runs (prototype rationale: the only moment an ad takes
|
||||
nothing from anyone) — and optionally a small footer slot in Library. Clicks open the
|
||||
browser. Manifest signature: ECDSA P-256 with an embedded public key.
|
||||
minimum version) from `ads/manifest.json`, a raw file of the releases repository on Gitea
|
||||
(by default `https://gitea.encke-hake.ts.net/BalboSoft/Chronos/raw/branch/main/ads/manifest.json`),
|
||||
or from a URL set by the human (amended 2026-10-23, R2), caches creatives, renders them
|
||||
natively in one slot — the Export section while a render runs (prototype rationale: the
|
||||
only moment an ad takes nothing from anyone) — and optionally a small footer slot in
|
||||
Library. Clicks open the browser. Manifest signature: ECDSA P-256 with an embedded public
|
||||
key.
|
||||
- Consent: first-run one-line choice for anonymous impression counting (off by default);
|
||||
when on, a daily aggregated ping (version, language, country from OS locale, counts) —
|
||||
no identifiers. Privacy policy link in About and EULA.
|
||||
- Ad-free: "Titano Pro" licence key (ECDSA-signed, offline validation, tied to a display
|
||||
- Ad-free: "Chronos Pro" licence key (ECDSA-signed, offline validation, tied to a display
|
||||
name and edition, no phone-home) entered in Settings › Licence; a server licence makes
|
||||
all its connected clients ad-free (team scenario). Fallback content when the manifest
|
||||
is empty: internal tips about the program.
|
||||
- Everything above is a toggle in Settings for the human's own builds; the feature ships
|
||||
disabled by default until the human flips a build property `TitanoAdsEnabled=true`.
|
||||
disabled by default until the human flips a build property `ChronosAdsEnabled=true`.
|
||||
|
||||
---
|
||||
|
||||
@@ -1262,7 +1345,7 @@ split into sub-phases; order inside a phase is Claude Code's choice.
|
||||
|
||||
### Phase 0 — Bootstrap (repo, rules, shells)
|
||||
Solution, `Directory.Build.*`, `global.json`, `CLAUDE.md`, `DECISIONS.md`, `CHANGELOG.md`;
|
||||
`Titano.Testing`; zero-package guard; `ci.yml`; i18n infrastructure with `en` + `it`;
|
||||
`Chronos.Testing`; zero-package guard; `ci.yml`; i18n infrastructure with `en` + `it`;
|
||||
WPF shell (rail, theme, job bar, status strip, settings skeleton, tooltip lint); server
|
||||
skeleton (Kestrel, `/health`, `/server/info`, login page, admin shell); Dockerfile builds;
|
||||
branding mark + ICO generator.
|
||||
@@ -1272,7 +1355,7 @@ branding mark + ICO generator.
|
||||
Parsers (§9), managed codecs (§8.3), WIC provider, decode tiers, thumbnails/proxies,
|
||||
`ImageBuffer`/`FrameWindow` port, fixtures tool, fuzz tests, DNG full pipeline.
|
||||
*Gate:* every fixture decodes at the expected tier on Windows and Linux; PSNR/round-trip
|
||||
tests green; `Titano.Tools diagnose <folder>` reports per-file tier and metadata.
|
||||
tests green; `Chronos.Tools diagnose <folder>` reports per-file tier and metadata.
|
||||
|
||||
### Phase 2 — Data layer and archive
|
||||
SQLite binding, PostgreSQL wire client, migrations, repositories, archive layout, sidecars,
|
||||
@@ -1311,8 +1394,9 @@ client server mode, Uploader app, LAN discovery.
|
||||
via server; crash-restart resumes jobs; audit log complete.
|
||||
|
||||
### Phase 8 — Worldwide release readiness
|
||||
All languages (§16), RTL pass, installer, `release.yml`, public releases repo bootstrap
|
||||
(README, EULA draft, template), Unraid template, update check, diagnostics bundle,
|
||||
All languages (§16), RTL pass, installer, `release.yml`, releases repository content
|
||||
(README, EULA draft, template; a separate public repository optional since 2026-10-23, R2),
|
||||
Unraid template, update check, diagnostics bundle,
|
||||
accessibility pass, performance pass, docs.
|
||||
*Gate:* tagged pre-release published end-to-end from CI; install/uninstall/upgrade tested;
|
||||
Unraid template validated.
|
||||
@@ -1324,8 +1408,8 @@ Unraid template validated.
|
||||
|
||||
## 23. Assumptions and open decisions (for the human; do not block on these)
|
||||
|
||||
1. Product name **Titano** kept from the prototype — rename before Phase 0 if desired
|
||||
(repo-wide rename later is costly).
|
||||
1. Product name **Chronos**, given by the owner on 2026-10-23 in place of the name kept
|
||||
from the prototype (amended 2026-10-23, R1); settled.
|
||||
2. Linux server MP4 output relies on render nodes (and P2 intra-only encoder). If an
|
||||
FFmpeg subprocess were ever allowed as an *optional, opt-in* backend, it would be a
|
||||
single `IVideoEncoderProvider`; not planned unless the human approves.
|
||||
@@ -1351,28 +1435,31 @@ questions asked and the answers; DECISIONS rows give the reasons.
|
||||
| Date | Request | Sections | What changed |
|
||||
|---|---|---|---|
|
||||
| 2026-10-16 | Owner review 1, R4 | §8.1, §8.2 | DNG decodes through the managed decoder (WIC only through the Raw Image Extension, never DNG); a GoPro DNG is GPR only when VC-5; analyses and previews take an adequate embedded preview by choice, renders decode natively. |
|
||||
| 2026-10-16 | Owner review 1, R2 | §12.8, §14.6, §14.8, §14.9 | Jobs run one at a time; the parallelism is photos the running job processes at once; an optional priority queue by job kind pauses lower jobs and resumes them by itself; `TITANO_PARALLELISM` (former `TITANO_WORKERS`) and `TITANO_PRIORITY_QUEUE`. |
|
||||
| 2026-10-16 | Owner review 1, R2 | §12.8, §14.6, §14.8, §14.9 | Jobs run one at a time; the parallelism is photos the running job processes at once; an optional priority queue by job kind pauses lower jobs and resumes them by itself; `CHRONOS_PARALLELISM` (former `CHRONOS_WORKERS`) and `CHRONOS_PRIORITY_QUEUE`. |
|
||||
| 2026-10-16 | Owner review 1, R1 | §12.1, §14.8 | The rail is 200 px and collapses to 48 px of icons with ≡ or Ctrl+B, their tooltips naming the sections, saved at once; the admin panel's sidebar is 256 px and collapses the same way, kept in the browser. |
|
||||
| 2026-10-16 | Owner review 1, R7 | §4.1, §10.2, §12.1, §12.3 | The Sequence section is now Edit: one sequence at a time, chosen in a picker inside the section (Change sequence, Ctrl+O); the editor's tabs are the steps of a guided, freely navigable path that starts with a new Analysis step, each step showing where it stands, with Previous and Next. |
|
||||
| 2026-10-23 | Chronos on Gitea, R1 | whole brief, §23 | The product and its programs are named Chronos (Chronos, Chronos Server, Chronos Uploader) everywhere: projects and namespaces, files, settings, `CHRONOS_*` variables, `%LOCALAPPDATA%\Chronos`, `.chronos` project bundles and folders, the image `chronos-server`; the product name is no longer an open decision. |
|
||||
| 2026-10-23 | Chronos on Gitea, R2 | §3, §16, §18, §19.4, §19.6, §21, §22 | The repository is `BalboSoft/Chronos` on the self-hosted Gitea (`https://gitea.encke-hake.ts.net`): the update check reads the Gitea releases API of `ChronosReleasesUrl`; licence, issue and support links, the Unraid template and the ads manifest point to that repository; images go to the Gitea container registry; releases are published in the repository itself, a separate public releases repository is optional (`RELEASES_REPO`); `EULA.md` and `SECURITY.md` at the root, issue forms in `.gitea/ISSUE_TEMPLATE`. |
|
||||
| 2026-10-23 | Chronos on Gitea, R3 | §0.2, §18, §19.1, §19.2, §19.3, §19.5, §20.2, Appendix A | Gitea Actions on a Linux act_runner in Docker mode: CI jobs build, postgres, docker and yaml, plus a windows job once a Windows runner is registered; shell steps only, no artifacts, caches, job summaries or annotations; the release cross-compiles the Windows programs on Linux, checks them with `pe-check`, signs them with `osslsigncode` when secrets exist, publishes them with `gitea-release` and pushes a `linux/amd64` image with `REGISTRY_TOKEN`; Definition of Done is green on Gitea Actions, the Windows-only tests on a Windows runner or a Windows PC. |
|
||||
|
||||
## Appendix A — `CLAUDE.md` content (create verbatim in Phase 0, keep updated)
|
||||
|
||||
```markdown
|
||||
# Titano — working rules
|
||||
# Chronos — working rules
|
||||
Read docs/BRIEF.md when in doubt; it wins over these notes.
|
||||
- Zero <PackageReference>. Anything not in the .NET BCL / Microsoft shared frameworks / OS APIs is written here.
|
||||
- No external processes at runtime (no ffmpeg, exiftool, powershell). Only OS dialogs listed in BRIEF §8.6.
|
||||
- Titano.Core / Data / Protocol / Server target net10.0 and build on Linux; Windows-only code lives in *.Windows or the desktop apps.
|
||||
- Chronos.Core / Data / Protocol / Server target net10.0 and build on Linux; Windows-only code lives in *.Windows or the desktop apps.
|
||||
- English identifiers, comments, commits (Conventional Commits). Prototype in docs/reference is Italian: port algorithms, not language.
|
||||
- Every UI string is a resource (en source, it translation). Labels ≤ 3 words; explanations only in tooltips; every actionable control has a tooltip; no helper paragraphs.
|
||||
- Destructive operations: dry-run plan first, hash verification, explicit user action.
|
||||
- When the brief is silent: choose the simplest safe option, log it in docs/DECISIONS.md, continue. Ask only at phase gates or before irreversible choices.
|
||||
- Definition of Done per phase: green on windows-latest + ubuntu-latest, tests green, no new warnings, DECISIONS + CHANGELOG updated, i18n check green, phase report with "how to try it".
|
||||
- Build: dotnet build -c Release; tests: dotnet run --project tests/<X> -- --junit out.xml; tools: dotnet run --project src/Titano.Tools -- <command>.
|
||||
- Definition of Done per phase: CI green on Gitea Actions (the Linux jobs; the windows job once a Windows runner is registered, until then the Windows-only tests run on a Windows PC), tests green, no new warnings, DECISIONS + CHANGELOG updated, i18n check green, phase report with "how to try it".
|
||||
- Build: dotnet build -c Release; tests: dotnet run --project tests/<X> -- --junit out.xml; tools: dotnet run --project src/Chronos.Tools -- <command>.
|
||||
- Current phase and next steps: see docs/STATUS.md (update at every gate).
|
||||
```
|
||||
|
||||
## Appendix B — Prototype module map (grep targets in `docs/reference/titano-prototype.md`)
|
||||
## Appendix B — Prototype module map (grep targets in `docs/reference/chronos-prototype.md`)
|
||||
|
||||
| Prototype (Italian) | New home | Notes |
|
||||
|---|---|---|
|
||||
@@ -1386,7 +1473,7 @@ Read docs/BRIEF.md when in doubt; it wins over these notes.
|
||||
| `Pipeline/MediaImporter, PathTemplate` | `Core/Import`, `Core/Naming` | tokens translated to English |
|
||||
| `Video/MediaFoundationInterop, VideoEncoderSession, Nv12Converter, CodecLimits` | `Core.Windows/MediaFoundation` | add P010, AV1, capability enumeration |
|
||||
| `Video/Mp4Muxer, BoxWriter, AnnexBParser, ExportPresets, ExportSettings` | `Core/Video`, `Core/Export` | add `av1C`, new presets |
|
||||
| `Diagnostics/SelfTest, SyntheticSequence, SequenceDiagnostics, Mp4Inspector, Mp4Playback, AdvancedModuleTests, ExifWriter, IconGenerator, CrashGuard` | `tests/*`, `Titano.Tools`, `Core/Diagnostics` | 63 checks → tests |
|
||||
| `Diagnostics/SelfTest, SyntheticSequence, SequenceDiagnostics, Mp4Inspector, Mp4Playback, AdvancedModuleTests, ExifWriter, IconGenerator, CrashGuard` | `tests/*`, `Chronos.Tools`, `Core/Diagnostics` | 63 checks → tests |
|
||||
| `UI/*` (WinForms) | not ported | reuse only the interaction ideas (rail, preview tools, Auto indicator, presets) |
|
||||
| `UI/SponsorPanel` | Phase 9 only | |
|
||||
|
||||
|
||||
+70
-55
@@ -1,25 +1,29 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes. Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow SemVer;
|
||||
commits follow Conventional Commits (release notes are generated from them by `Titano.Tools changelog`).
|
||||
commits follow Conventional Commits (release notes are generated from them by `Chronos.Tools changelog`).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.1.0-rc.1] — 2026-10-23
|
||||
|
||||
First pre-release, built and published by Gitea Actions.
|
||||
|
||||
### Added
|
||||
|
||||
#### Foundation
|
||||
- Solution and build rules: warnings as errors, nullable, .NET 10 SDK pin, zero-package guard (build target and
|
||||
`Titano.Tools package-guard`).
|
||||
- `Titano.Testing`: in-house test framework and runner (theories, categories, timeouts, environment and Windows
|
||||
gates, serial classes, parallel runs, JUnit XML, GitHub annotations).
|
||||
`Chronos.Tools package-guard`).
|
||||
- `Chronos.Testing`: in-house test framework and runner (theories, categories, timeouts, environment and Windows
|
||||
gates, serial classes, parallel runs, JUnit XML, workflow annotations).
|
||||
- Localization runtime (`Loc`, CLDR plural rules with few/many forms, runtime culture switch, RTL), `en` + `it`
|
||||
catalogs, machine translations with per-language glossaries, `i18n check/export/missing/import`.
|
||||
- Brand mark geometry, SDF rasteriser, PNG encoder, ICO writer and `make-icon` (icons generated at build time).
|
||||
- VS Code debug configurations for the Windows programs (`.vscode/launch.json`, `tasks.json`): Titano, the Uploader,
|
||||
the server on SQLite with its data in `out/debug/server`, the screenshot captures, `Titano.Tools` and the test
|
||||
- VS Code debug configurations for the Windows programs (`.vscode/launch.json`, `tasks.json`): Chronos, the Uploader,
|
||||
the server on SQLite with its data in `out/debug/server`, the screenshot captures, `Chronos.Tools` and the test
|
||||
programs, each built in Debug first.
|
||||
|
||||
#### Engine (Titano.Core)
|
||||
#### Engine (Chronos.Core)
|
||||
- Metadata: signature sniffing, TIFF/Exif/GPS/XMP/MakerNotes, JPEG segments, ISO-BMFF (HEIF, CR3), RAF, PNG,
|
||||
WebP and RIFF parsers with fuzz-tested partial results; `MetadataBuilder` fallback chains; `ExifWriter`.
|
||||
- Codecs: JPEG (baseline, progressive, lossless; libjpeg-exact integer IDCT), PNG, TIFF, linear DNG writer, GIF and
|
||||
@@ -32,7 +36,7 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
- Motion: FFT and phase correlation, pyramidal Lucas–Kanade flow, motion blur, nine-patch stabiliser, virtual
|
||||
camera, frame interpolation, stacking and star trails.
|
||||
- Render and export: render plan (constant, adaptive, interpolated, remapped timing), preparation pass, geometry,
|
||||
pipeline, self-test suite (`Titano.Tools selftest`); preset resolution, encoder selection with hardware preference
|
||||
pipeline, self-test suite (`Chronos.Tools selftest`); preset resolution, encoder selection with hardware preference
|
||||
and fallbacks, output naming.
|
||||
- Video: streaming MP4 muxer (H.264/HEVC/AV1) with inspector, AVI-MJPEG with OpenDML indexes, NV12/P010
|
||||
conversion, level tables, managed encoder provider (MJPEG-AVI, image sequences, GIF, APNG).
|
||||
@@ -41,25 +45,25 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
- Diagnostics: `SecretScrubber` and `DiagnosticsArchive` for diagnostics bundles that never carry passwords,
|
||||
tokens, keys or photos.
|
||||
|
||||
#### Data (Titano.Data)
|
||||
#### Data (Chronos.Data)
|
||||
- SQLite binding (winsqlite3 / libsqlite3) and in-house PostgreSQL wire protocol v3 client (pool, prepared
|
||||
statements, COPY, LISTEN, cancellation).
|
||||
- Migrations, repositories and the `TitanoDatabase` facade; one persistent job engine with checkpoints,
|
||||
- Migrations, repositories and the `ChronosDatabase` facade; one persistent job engine with checkpoints,
|
||||
pause/resume, priorities and crash recovery for client and server.
|
||||
- Archive engine: create/adopt/open, incremental and full scans, rebuild from sidecars, ingest of uploads and card
|
||||
imports, verify, thumbnails and proxies, maintenance, mass rename, job handlers.
|
||||
- Analysis and render engine: light/deep analysis and render job handlers, render node client.
|
||||
|
||||
#### Programs
|
||||
- Titano desktop: shell with rail, job bar and toasts; Welcome, Library (virtualised grid and list, filters, sort,
|
||||
- Chronos desktop: shell with rail, job bar and toasts; Welcome, Library (virtualised grid and list, filters, sort,
|
||||
hover scrubbing), Jobs, Server (trust-on-first-use sign-in, DPAPI token), Settings (general, archive, rendering
|
||||
with encoder inventory and self-test, storage, server, updates, advanced) and About; `--capture` screenshots.
|
||||
- Update check against the public releases repository and **Download**: the setup (the portable zip for a portable
|
||||
copy) is fetched into `%TEMP%\Titano\updates`, verified against the release's `SHA256SUMS` and shown in Explorer;
|
||||
- Update check against the releases repository on Gitea and **Download**: the setup (the portable zip for a portable
|
||||
copy) is fetched into `%TEMP%\Chronos\updates`, verified against the release's `SHA256SUMS` and shown in Explorer;
|
||||
an interrupted download resumes, *Cancel* stops it, and a transfer that stalls for 60 s fails.
|
||||
- Diagnostics bundle (Settings › Advanced, About): environment, codec and encoder inventory, scrubbed settings,
|
||||
recent failed jobs and logs.
|
||||
- Titano Server: configuration from `server.json` and `TITANO_*`, TLS (auto, PEM, proxy), API v1 (auth, users,
|
||||
- Chronos Server: configuration from `server.json` and `CHRONOS_*`, TLS (auto, PEM, proxy), API v1 (auth, users,
|
||||
sequences, frames, uploads, sync, jobs, render nodes, events over WebSocket, archive), admin panel (dashboard,
|
||||
users, archive, jobs, settings, logs, about), audit log, LAN discovery, Windows service.
|
||||
- Server diagnostics: `GET /api/v1/server/diagnostics` (ManageArchive, audited) and a *Diagnostics* button in admin ›
|
||||
@@ -68,9 +72,9 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
several actions, password change, typed confirmations, right-to-left layout; an administrator cannot reset their
|
||||
own password from Users (409). `DELETE /api/v1/sequences/{id}` moves the sequence to the archive's trash and
|
||||
answers 409 or 503 with a reason when it cannot.
|
||||
- Titano Uploader: tray program with resumable persisted queue, session grouping, watch folders, bandwidth limit,
|
||||
- Chronos Uploader: tray program with resumable persisted queue, session grouping, watch folders, bandwidth limit,
|
||||
verified-only source deletion.
|
||||
- Titano Setup: one-screen installer, per-user or all-users, components, shortcuts, file types, upgrade in place,
|
||||
- Chronos Setup: one-screen installer, per-user or all-users, components, shortcuts, file types, upgrade in place,
|
||||
silent mode, uninstaller that keeps user data unless asked.
|
||||
|
||||
#### Desktop workflows
|
||||
@@ -95,7 +99,7 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
|
||||
#### Localization and accessibility
|
||||
- 38 cultures: `en`, `it` and 36 machine translations with per-language glossaries and an independent review.
|
||||
- Right-to-left: windows mirror from startup and on every language switch (`TitanoWindow`), directional icons
|
||||
- Right-to-left: windows mirror from startup and on every language switch (`ChronosWindow`), directional icons
|
||||
mirror with them, photos, charts, numbers, paths and templates stay left-to-right islands, category charts lay
|
||||
out from the reading side.
|
||||
- Accessibility: automation peers for sliders, filmstrip, curve editor, preview, charts, split buttons and the job
|
||||
@@ -104,15 +108,20 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
icon-only toggles.
|
||||
|
||||
#### Distribution and CI
|
||||
- Docker image (multi-arch, PUID/PGID, health check), compose file with PostgreSQL 17, Unraid template.
|
||||
- CI: Windows + Linux build and tests, PostgreSQL 16/17, Docker smoke test, screenshots branch, i18n, XAML lint,
|
||||
format and package guards.
|
||||
- Release workflow: tests, self-contained publish, optional Authenticode signing, installers, portable and server
|
||||
zips, `SHA256SUMS`, release notes from Conventional Commits, multi-arch GHCR image, and the public releases
|
||||
repository (README, EULA draft, SECURITY policy, issue forms, Unraid template, compose file, screenshots, `i18n/`).
|
||||
- Docker image (PUID/PGID, health check), compose file with PostgreSQL 17, Unraid template.
|
||||
- CI on Gitea Actions (`.gitea/workflows/ci.yml`): Linux build and tests, the Windows programs cross-compiled and
|
||||
checked (`pe-check`), PostgreSQL 16/17, Docker smoke test, i18n, XAML lint, format, package and YAML guards; the
|
||||
Windows tests, screenshots and installer test on a Windows runner once `WINDOWS_RUNNER` is set.
|
||||
- Release workflow: tests, self-contained publish cross-compiled on Linux, optional Authenticode signing
|
||||
(osslsigncode), installers, portable and server zips, `SHA256SUMS`, release notes from Conventional Commits, the
|
||||
Gitea release (`Chronos.Tools gitea-release`), the server image in the Gitea container registry, and optionally a
|
||||
separate releases repository (README, EULA draft, SECURITY policy, issue forms, Unraid template, compose file,
|
||||
`i18n/`).
|
||||
- `Chronos.Tools` commands for the Linux runner: `zip`, `gitea-release`, `postgres-ci` (the wire tests' roles and TLS
|
||||
through SQL) and `pe-check`.
|
||||
- Performance gates (`perf.yml`, weekly): 500,000-photo library and 100,000-frame rebuild from sidecars (every
|
||||
column compared), each on SQLite and PostgreSQL 17.
|
||||
- `Titano.Tools.Tests`: the fixtures command's warning annotations and exit codes.
|
||||
- `Chronos.Tools.Tests`: the fixtures command's warning annotations and exit codes.
|
||||
|
||||
#### Verification against the brief (2026-10-12)
|
||||
- Settings › Import, Analysis and Formats pages (defaults of new cards, deep-analysis width, thresholds and auto-run,
|
||||
@@ -124,11 +133,11 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
- An archive's templates, proxy size and thumbnail size live in its archive.json. Settings › Archive and PUT
|
||||
/api/v1/archive/settings rewrite it atomically under a lease, and new desktop archives start from Settings ›
|
||||
Archive.
|
||||
- CI: pixel diff of the `--capture` screenshots against `tests/visual/baselines` (`Titano.Tools screenshots diff` and
|
||||
- CI: pixel diff of the `--capture` screenshots against `tests/visual/baselines` (`Chronos.Tools screenshots diff` and
|
||||
`accept`; 8/255 per channel, at most 0.05 % of a screen; a screen without a baseline fails once any is committed);
|
||||
captures are reproducible (fixed sample clock, English formats, no animation).
|
||||
- CI: installer test on a clean `windows-latest` runner (silent install, run, upgrade in place, Uploader-only install,
|
||||
uninstall, exit codes).
|
||||
- CI: installer test (silent install, run, upgrade in place, Uploader-only install, uninstall, exit codes), now the
|
||||
last step of the `windows` job on a Windows runner.
|
||||
- CI: the PostgreSQL 16/17 jobs run the MD5, cleartext, trust and TLS (require, verify-full) tests; a server without
|
||||
TLS fails them.
|
||||
- Windows tests: Media Foundation output opened by MediaPlayer (H.264, and HEVC Main10 where hardware allows) and its
|
||||
@@ -158,9 +167,9 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
the Panasonic time-lapse hint. Sequences shot by the camera's own intervalometer get adaptive timing across their
|
||||
pauses.
|
||||
- The SQLite compile options appear in the log and in the diagnostics bundle.
|
||||
- `.titano` project files. *Save project file* on the Export tab writes the sequence's reference and settings. Opening
|
||||
one (a double-click, or `Titano.exe <file>`) opens the sequence with those settings as one undoable step, with
|
||||
one-sentence toasts when the file cannot be read or its sequence is not in the library. One Titano runs per data
|
||||
- `.chronos` project files. *Save project file* on the Export tab writes the sequence's reference and settings. Opening
|
||||
one (a double-click, or `Chronos.exe <file>`) opens the sequence with those settings as one undoable step, with
|
||||
one-sentence toasts when the file cannot be read or its sequence is not in the library. One Chronos runs per data
|
||||
folder, and a later launch hands its file to the running one or, while that one is closing, waits for it and starts
|
||||
with the file.
|
||||
- Server: `PATCH /api/v1/sequences/{id}` takes `expectedFramesVersion` and answers 409 `frames_conflict` when the
|
||||
@@ -168,20 +177,26 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
returns frames, frames version and settings of one frames version.
|
||||
|
||||
### Changed
|
||||
- Chronos on Gitea (2026-10-23, `docs/requests/2026-10-23-chronos-gitea.md`): the product is renamed from Titano to
|
||||
Chronos everywhere (programs, namespaces, `CHRONOS_*` variables, `%LOCALAPPDATA%\Chronos`, `.chronos` files, the
|
||||
image `chronos-server`, every translation with its grammar); the repository, update check, licence, issue and
|
||||
support links, container registry and workflows move from GitHub to the self-hosted Gitea
|
||||
(`https://gitea.encke-hake.ts.net/BalboSoft/Chronos`); releases are published in that repository, with `EULA.md`
|
||||
and `SECURITY.md` at its root and the issue forms in `.gitea/ISSUE_TEMPLATE`.
|
||||
- Owner review 1 (2026-10-16, R2, `docs/requests/2026-10-15-owner-review-1.md`):
|
||||
- jobs run one at a time, on the desktop and on the server. Settings › Rendering › Parallelism (server:
|
||||
`TITANO_PARALLELISM`, admin panel › Settings › Jobs) is now how many photos the running job processes at once:
|
||||
`CHRONOS_PARALLELISM`, admin panel › Settings › Jobs) is now how many photos the running job processes at once:
|
||||
thumbnail and proxy passes draw that many photos together, decode tiers are probed that many at a time, the deep
|
||||
analysis measures that many frames and a render decodes that many ahead (fewer wherever large originals are
|
||||
developed whole, within the memory budget); the server's renders get a frame window sized to the host (a quarter
|
||||
of the memory available) instead of 1 GiB; the running job has the whole memory budget;
|
||||
- a new job waits its turn, and pausing the running job lets the next one start. An optional priority queue
|
||||
(Settings › Rendering, admin panel › Settings › Jobs, `TITANO_PRIORITY_QUEUE`) gives each job kind a level; by
|
||||
(Settings › Rendering, admin panel › Settings › Jobs, `CHRONOS_PRIORITY_QUEUE`) gives each job kind a level; by
|
||||
default renders, imports and downloads are high and verifies and proxies low. A queued job of a higher level pauses
|
||||
the running one without asking, and that one resumes by itself afterwards from its checkpoint;
|
||||
- the Jobs screen shows "8 photos at once", and a Priority queue chip while the queue is on; the admin dashboard
|
||||
shows the parallelism;
|
||||
- `Titano.Tools i18n prune` removes from the translations the keys English no longer has.
|
||||
- `Chronos.Tools i18n prune` removes from the translations the keys English no longer has.
|
||||
- Owner review 1 (2026-10-16, R1): the rail is 200 px wide, so section names fit in every language, and collapses to
|
||||
icons with ≡ or Ctrl+B; collapsed, an icon's tooltip names its section. The choice is saved at once and survives
|
||||
Settings › *Reset all…* and *Import…*. The admin panel's sidebar is 256 px and collapses to icons the same way (≡ or
|
||||
@@ -206,8 +221,8 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
its analysis waits or runs, else on Frames, whose list is now the frame warnings.
|
||||
|
||||
### Deprecated
|
||||
- `TITANO_WORKERS` and the `Workers` key of `server.json` set the parallelism (photos the running job processes at
|
||||
once, 1 to 64); the server logs a warning at start when the variable is set. Use `TITANO_PARALLELISM`.
|
||||
- `CHRONOS_WORKERS` and the `Workers` key of `server.json` set the parallelism (photos the running job processes at
|
||||
once, 1 to 64); the server logs a warning at start when the variable is set. Use `CHRONOS_PARALLELISM`.
|
||||
|
||||
### Fixed
|
||||
- Owner review 1 (2026-10-16, `docs/requests/2026-10-15-owner-review-1.md`):
|
||||
@@ -234,7 +249,7 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
- taking a sequence's lease could fail with "Access to the path is denied" when the previous holder had just released
|
||||
it while another process was reading it (Windows keeps the file pending deletion meanwhile): the lease is now taken
|
||||
once the reader lets go (found while testing phase 2).
|
||||
- Opening the repository in VS Code with C# Dev Kit before the first build listed MSB3073 for Titano, the Uploader
|
||||
- Opening the repository in VS Code with C# Dev Kit before the first build listed MSB3073 for Chronos, the Uploader
|
||||
and Setup: design-time builds no longer generate the program icons, and log WPF's MC1000 about projects not built
|
||||
yet as a message.
|
||||
- Server: downloading the current log while it was being written aborted the response (Content-Length mismatch); it
|
||||
@@ -280,14 +295,14 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
- Server (Windows): `--install-service` registered a LocalSystem service from any folder. It now refuses outside a
|
||||
Program Files folder that only administrators can change.
|
||||
- Server: in TLS mode proxy, any client could set `X-Forwarded-For` to escape the sign-in rate limit and forge its
|
||||
audit address. Now only the proxies in `TITANO_TRUSTED_PROXIES` (default: loopback) may. The admin panel shows *Not
|
||||
audit address. Now only the proxies in `CHRONOS_TRUSTED_PROXIES` (default: loopback) may. The admin panel shows *Not
|
||||
via proxy*, and a refused sign-in names the setting.
|
||||
- Docker: a fresh, root-owned archive folder made the container crash-loop. An empty or root-owned archive root is now
|
||||
given to PUID:PGID. Any other archive, or `.titano` folder, that this user cannot write stops the container with a
|
||||
one-line error. `TITANO_DATA_PATH` is honoured, and Kestrel no longer warns about overridden addresses at every
|
||||
given to PUID:PGID. Any other archive, or `.chronos` folder, that this user cannot write stops the container with a
|
||||
one-line error. `CHRONOS_DATA_PATH` is honoured, and Kestrel no longer warns about overridden addresses at every
|
||||
start.
|
||||
- Docker and Unraid: remapped host ports broke the admin panel's HTTPS redirect; `TITANO_PUBLIC_HTTPS_PORT` and
|
||||
`TITANO_PUBLIC_HTTP_PORT` fix it, and the LAN beacon uses them too. The Unraid template's default database host
|
||||
- Docker and Unraid: remapped host ports broke the admin panel's HTTPS redirect; `CHRONOS_PUBLIC_HTTPS_PORT` and
|
||||
`CHRONOS_PUBLIC_HTTP_PORT` fix it, and the LAN beacon uses them too. The Unraid template's default database host
|
||||
could not resolve on the bridge network. `--help` now lists every variable, the TZ description is accurate, and the
|
||||
README explains host networking for LAN discovery (with PostgreSQL on loopback).
|
||||
- Tests: four tests switched the UI language outside a serial class and could break English assertions running beside
|
||||
@@ -313,11 +328,11 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
the editor's player and runners before the index and the engine close. Cancelling or closing the sign-in dialog no
|
||||
longer leaves a half-signed-in session or crashes on a late answer.
|
||||
- The usage counts consent, which promised a daily count that nothing sends, is offered only in builds with
|
||||
`TitanoAdsEnabled=true` (BRIEF §21).
|
||||
`ChronosAdsEnabled=true` (BRIEF §21).
|
||||
- Error toasts say why an action failed in the app's language instead of showing .NET or OS text: a job posted to the
|
||||
server from the Library (including a server whose certificate changed since sign-in, which used to fail silently),
|
||||
the card check and delete after an import, and a failed editor save. The editor's own reasons (frames changed on the
|
||||
server, settings changed elsewhere at the same time, sequence gone, project unreadable or from a newer Titano,
|
||||
server, settings changed elsewhere at the same time, sequence gone, project unreadable or from a newer Chronos,
|
||||
account without edit rights) are no longer reported as 'The server does not answer'.
|
||||
- Texts that count now agree with the number: advisor findings and reasons, the rendering cores and the upload-all
|
||||
tooltip have singular and plural forms ('1 frame is black'), a single exposure change has its own finding, and
|
||||
@@ -361,17 +376,17 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
- A failure while probing the SQLite compile options can no longer stop the index from opening.
|
||||
- The PostgreSQL server writes decode tiers in batches instead of one statement per frame. The 0003 migration headers
|
||||
name the right mirror file.
|
||||
- Upgrading or uninstalling while the Titano Server service ran failed, and uninstalling left the LocalSystem service
|
||||
- Upgrading or uninstalling while the Chronos Server service ran failed, and uninstalling left the LocalSystem service
|
||||
registered. Services of the installed programs are now stopped once the programs have closed, started again after
|
||||
the upgrade (or when it fails) and deleted on uninstall. Only services, sign-in entries and shortcuts that start a
|
||||
program setup installed are changed, so installing into a shared folder never touches other programs'.
|
||||
- The Server component installs only for all users in a folder inside Program Files, where standard users cannot
|
||||
replace the program its service starts.
|
||||
- Uninstalling left the Uploader's and the client's sign-in entries behind. 'Remove my data' deleted the whole data
|
||||
folder, also another installed Titano product's index or upload queue, and now removes only the data of programs no
|
||||
folder, also another installed Chronos product's index or upload queue, and now removes only the data of programs no
|
||||
other installed product uses. Uninstalling one product deleted the other's Uploader shortcuts; they now move to the
|
||||
copy that stays.
|
||||
- The `.titano` file type name is written in setup's language.
|
||||
- The `.chronos` file type name is written in setup's language.
|
||||
- Titled notes with no listed changes now say 'Maintenance release.'.
|
||||
- Server: HEIF frames whose proxies had arrived stayed preview-only, capped at the size of their Exif thumbnail (often
|
||||
160 × 120); the advisor then chose the 720p preview preset and the Library showed the preview-only chip. A frame
|
||||
@@ -432,7 +447,7 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
and the admin panel kept the old values until a restart, and saving the admin panel's archive form wrote the old
|
||||
templates back. The index now follows the file whenever Settings › Archive opens and at every rescan, on the desktop
|
||||
and on the server, and the admin form reads the file when it opens. A poll no longer puts back values an
|
||||
administrator had just saved, and an archive.json written by a newer Titano is no longer registered.
|
||||
administrator had just saved, and an archive.json written by a newer Chronos is no longer registered.
|
||||
- Settings › Archive saved 320 as this PC's thumbnail size whenever the open archive was offline. With an empty
|
||||
archive folder it edited the first archive of the index. It silently dropped an edit made while a newly chosen
|
||||
archive was still opening, and an edit made just before a second folder change went to the archive of the later
|
||||
@@ -440,7 +455,7 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
- Start with Windows (client and Uploader) stayed ticked after Task Manager disabled the entry, and ticking it again
|
||||
could not turn the entry back on. The Uploader now also reads it again when its settings open.
|
||||
- A portable copy unpacked in a OneDrive folder, including a Desktop or Documents folder backed up by OneDrive, kept
|
||||
its SQLite index there. It now keeps its data in %LOCALAPPDATA%\Titano, says so at start and names the data it kept
|
||||
its SQLite index there. It now keeps its data in %LOCALAPPDATA%\Chronos, says so at start and names the data it kept
|
||||
beside it before, which it leaves untouched. A per-user data folder that OneDrive synchronises is now reported with
|
||||
a warning.
|
||||
- Import: a photo that could not be copied, a card file the plan could not read, and every photo a stopped import
|
||||
@@ -459,9 +474,9 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
notification or its row, shows all of them selected in the Library instead of opening only the first in the editor.
|
||||
A job over a whole archive opens the Library without freezing it.
|
||||
- Server (Windows): a service that refused its data folder or `server.json` stopped with error 1064 and gave no reason
|
||||
anywhere. Start and stop failures now go to the Application event log (source `TitanoServer`) with the entry to
|
||||
anywhere. Start and stop failures now go to the Application event log (source `ChronosServer`) with the entry to
|
||||
check. The README gives the full steps to fix a data folder created by a console run.
|
||||
- Docker and Unraid: the `TITANO_TRUSTED_PROXIES` guidance suggested trusting a whole Docker network (Unraid:
|
||||
- Docker and Unraid: the `CHRONOS_TRUSTED_PROXIES` guidance suggested trusting a whole Docker network (Unraid:
|
||||
`172.17.0.0/16`), whose gateway carries relayed IPv6 and host connections. It now names the proxy container's own
|
||||
fixed address and warns against subnets, the gateway and the default bridge.
|
||||
- Setup: an upgrade that renamed the client or the Uploader deleted its sign-in entry, which silently turned *Start
|
||||
@@ -523,7 +538,7 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
- Import: a failed archive import showed the job's raw system or database text as its line. It now shows the archive's
|
||||
own sentence or 'The import stopped before the end.', with the text in the tooltip.
|
||||
- Portable copy: a SharePoint or Teams library synced with OneDrive's Sync button was not recognised as synchronised,
|
||||
so a portable copy unpacked there kept its index inside it. Its data now goes to %LOCALAPPDATA%\Titano.
|
||||
so a portable copy unpacked there kept its index inside it. Its data now goes to %LOCALAPPDATA%\Chronos.
|
||||
- Docs: the Windows README's recovery of a data folder created by an unelevated console run keeps the folder private.
|
||||
It no longer resets the permissions, which let every user read the TLS key and the temporary admin password, and it
|
||||
removes the account the service names, also when a standard user ran the console.
|
||||
@@ -531,14 +546,14 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
import, a scan) recorded its advice, warnings and analysed status for the old frames. Its Auto frame rate and
|
||||
warning count overwrote a newer light analysis, and the new photos were never analysed. It now records nothing in
|
||||
that case, unless a light analysis is already queued to replace what it records. It says so in the job log and
|
||||
queues a light analysis of the photos as they are. When another Titano sharing the archive changed the photos and
|
||||
this PC has not indexed them yet, the analysis no longer writes its old results over that Titano's in the shared
|
||||
queues a light analysis of the photos as they are. When another Chronos sharing the archive changed the photos and
|
||||
this PC has not indexed them yet, the analysis no longer writes its old results over that Chronos's in the shared
|
||||
project and sidecar. The next scan indexes the photos.
|
||||
- Sync: with Keep proxies offline, a proxy download made while the server was still drawing newly uploaded photos
|
||||
cached thumbnails or nothing for them, and marked the cache up to date. The editor then kept those thumbnails or
|
||||
blank frames until the frames changed again. The cache now stays stale until every photo, missing or damaged ones
|
||||
aside, has its proxy. It is downloaded again once the server's sequence changes.
|
||||
- Sync: a title, tags, rating or notes taken from the server could hide photos that another Titano sharing this PC's
|
||||
- Sync: a title, tags, rating or notes taken from the server could hide photos that another Chronos sharing this PC's
|
||||
archive had just added to the sequence. Scans then skipped the folder until it changed again. The next scan now
|
||||
indexes them.
|
||||
- Server (PostgreSQL): an analysis, image pass or render could record decode tiers or light statistics while a scan or
|
||||
@@ -569,7 +584,7 @@ commits follow Conventional Commits (release notes are generated from them by `T
|
||||
report endpoint then answered 404, and the next light analysis dropped the deep status. The report is now saved
|
||||
under the sequence's lock, and never over a more current one. A pass that leaves the saved report in place records
|
||||
that report's summary and warnings, not its own.
|
||||
- Scans of an archive shared by two Titano indexes (a desktop and its server): one index could write a sidecar at the
|
||||
- Scans of an archive shared by two Chronos indexes (a desktop and its server): one index could write a sidecar at the
|
||||
frames version the other held for other frames. The other index then took the frames as unchanged. When the versions
|
||||
match, a scan now also compares the frames themselves and writes changed ones one version past its row.
|
||||
- Orphans fix and scans: a photo that could not be read yet (held open by another program, no read permission, a
|
||||
|
||||
+75
-66
@@ -4,24 +4,24 @@ One line per decision: date · decision · alternative · reason.
|
||||
|
||||
| Date | Decision | Alternative | Reason |
|
||||
|---|---|---|---|
|
||||
| 2026-10-02 | The prototype dump `docs/reference/titano-prototype.md` was not supplied; algorithms are implemented from the brief's descriptions and the cited literature, with the §20.4 thresholds as acceptance tests. | Wait for the dump | Not available in the repository or uploads; the brief fully specifies behaviour and gates. |
|
||||
| 2026-10-02 | Custom WPF theme dictionaries (`Titano.Ui/Themes`) implementing DESIGN.md tokens instead of `Application.ThemeMode` Fluent. | Fluent theme + overrides | DESIGN.md fixes exact colours/sizes; Fluent is still flagged experimental (WPF0001) and would need restyling of most controls anyway (§2.1 permits in-house dictionaries). |
|
||||
| 2026-10-02 | Added shared WPF library `src/Titano.Ui` (theme, icons, controls, `Loc` markup extension) used by App, Uploader and Setup. | Duplicate resources per app | One visual system for three programs. |
|
||||
| 2026-10-02 | Added `tests/Titano.Core.Windows.Tests` for WIC / Media Foundation / DXGI tests. | Put them in App.Tests | Keeps engine interop tests independent of the WPF app. |
|
||||
| 2026-10-02 | The prototype dump `docs/reference/chronos-prototype.md` was not supplied; algorithms are implemented from the brief's descriptions and the cited literature, with the §20.4 thresholds as acceptance tests. | Wait for the dump | Not available in the repository or uploads; the brief fully specifies behaviour and gates. |
|
||||
| 2026-10-02 | Custom WPF theme dictionaries (`Chronos.Ui/Themes`) implementing DESIGN.md tokens instead of `Application.ThemeMode` Fluent. | Fluent theme + overrides | DESIGN.md fixes exact colours/sizes; Fluent is still flagged experimental (WPF0001) and would need restyling of most controls anyway (§2.1 permits in-house dictionaries). |
|
||||
| 2026-10-02 | Added shared WPF library `src/Chronos.Ui` (theme, icons, controls, `Loc` markup extension) used by App, Uploader and Setup. | Duplicate resources per app | One visual system for three programs. |
|
||||
| 2026-10-02 | Added `tests/Chronos.Core.Windows.Tests` for WIC / Media Foundation / DXGI tests. | Put them in App.Tests | Keeps engine interop tests independent of the WPF app. |
|
||||
| 2026-10-02 | Localization areas extended with `Common`, `Jobs`, `Uploader`, `Setup`. | Fold into `Shell` | Smaller, owned files; same key scheme. |
|
||||
| 2026-10-02 | Resources live in `i18n/<culture>/<Area>[.<culture>].resx`, embedded into `Titano.Core` (satellite assemblies), base name `Titano.Core.i18n.<Area>`. Keys marked `<comment>invariant</comment>` need no translation. | Raw XML loader | Uses `ResourceManager` as the brief requires; satellites bundle into single-file publishes. |
|
||||
| 2026-10-02 | Program icons (ICO) are generated at build time into `artifacts/icons` by `Titano.Tools make-icon`, invoked from `Directory.Build.targets`. | Commit generated ICO files | Brief forbids committing generated binaries and raster sources. |
|
||||
| 2026-10-02 | In-house CRC-32 (`Titano.Core.Hashing.Crc32`). | System.IO.Hashing | That assembly is a NuGet package, not part of the shared framework. |
|
||||
| 2026-10-02 | Resources live in `i18n/<culture>/<Area>[.<culture>].resx`, embedded into `Chronos.Core` (satellite assemblies), base name `Chronos.Core.i18n.<Area>`. Keys marked `<comment>invariant</comment>` need no translation. | Raw XML loader | Uses `ResourceManager` as the brief requires; satellites bundle into single-file publishes. |
|
||||
| 2026-10-02 | Program icons (ICO) are generated at build time into `artifacts/icons` by `Chronos.Tools make-icon`, invoked from `Directory.Build.targets`. | Commit generated ICO files | Brief forbids committing generated binaries and raster sources. |
|
||||
| 2026-10-02 | In-house CRC-32 (`Chronos.Core.Hashing.Crc32`). | System.IO.Hashing | That assembly is a NuGet package, not part of the shared framework. |
|
||||
| 2026-10-02 | Windows projects target `net10.0-windows` (platform version 7.0) without a Windows SDK projection TFM; Windows 10 APIs are reached by P/Invoke/COM. | `net10.0-windows10.0.19041.0` | Avoids the CsWinRT projection; toasts use the in-window toast host plus tray balloon. |
|
||||
| 2026-10-02 | Test projects use an explicit `TestMain` entry point. | Top-level statements | Avoids the `Program` type clash with the server's top-level program. |
|
||||
| 2026-10-02 | SQLite P/Invoke binding lives in `Titano.Data` with a library resolver (winsqlite3 on Windows, system libsqlite3 elsewhere for tests/dev); the Linux server still refuses SQLite at configuration time. | Binding in Core.Windows only | Lets repository tests run on Linux CI against both dialects. |
|
||||
| 2026-10-02 | SQLite P/Invoke binding lives in `Chronos.Data` with a library resolver (winsqlite3 on Windows, system libsqlite3 elsewhere for tests/dev); the Linux server still refuses SQLite at configuration time. | Binding in Core.Windows only | Lets repository tests run on Linux CI against both dialects. |
|
||||
| 2026-10-02 | Client preferences needed before the database opens (language, theme, window placement) are stored in `settings.json` next to the database. | Settings table only | Language and theme must apply before the first window appears. |
|
||||
| 2026-10-02 | Server Windows-service hosting will use an in-house advapi32 P/Invoke host. | Microsoft.Extensions.Hosting.WindowsServices | That assembly is a NuGet package, not part of the shared framework. |
|
||||
| 2026-10-02 | Admin panel files are embedded resources served by an in-house middleware with ETags and SPA fallback. | ManifestEmbeddedFileProvider | Its manifest generator ships in a NuGet package. |
|
||||
| 2026-10-02 | Container health check runs `Titano.Server --healthcheck` (in-process HTTP probe). | curl/wget in the image | Keeps the runtime image free of extra tools. |
|
||||
| 2026-10-02 | Container health check runs `Chronos.Server --healthcheck` (in-process HTTP probe). | curl/wget in the image | Keeps the runtime image free of extra tools. |
|
||||
| 2026-10-02 | Container drops privileges with `setpriv` to PUID:PGID; `/data` is chowned, `/archive` only checked for write access. | Recursive chown of the archive | The archive may hold terabytes on NAS shares. |
|
||||
| 2026-10-02 | Release workflow publishes to `RELEASES_REPO` (default `<owner>/titano-releases`) when the `RELEASES_TOKEN` secret exists, otherwise to this repository. | Fail without the token | First releases work before the public repository is set up. |
|
||||
| 2026-10-02 | Release notes are generated by `Titano.Tools changelog` from `git log` piped on stdin. | Tool spawning git | Keeps the tool free of external process calls. |
|
||||
| 2026-10-02 | Release workflow publishes to `RELEASES_REPO` (default `<owner>/chronos-releases`) when the `RELEASES_TOKEN` secret exists, otherwise to this repository. | Fail without the token | First releases work before the public repository is set up. |
|
||||
| 2026-10-02 | Release notes are generated by `Chronos.Tools changelog` from `git log` piped on stdin. | Tool spawning git | Keeps the tool free of external process calls. |
|
||||
| 2026-10-02 | CI `dotnet format` gate checks whitespace formatting. | Full style/analyzer verification | Analyzer rules already fail the build (warnings as errors); style preferences stay suggestions. |
|
||||
| 2026-10-02 | Test runner exits 0 for a project with no tests and 2 when a filter matches nothing. | Always 2 | Empty projects during bootstrap are not failures; mistyped filters are. |
|
||||
| 2026-10-02 | COM via `[ComImport]` + explicit `ReleaseComObject`; flat APIs via `LibraryImport`. | `[GeneratedComInterface]` | Deterministic release keeps files unlocked; the apps are not trimmed. |
|
||||
@@ -30,7 +30,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-02 | Volume watcher uses a hidden top-level tool window plus 3 s polling. | Message-only window | Message-only windows do not receive broadcast WM_DEVICECHANGE. |
|
||||
| 2026-10-02 | Camera RAW is "native" via WIC only when the Raw Image Extension package is installed. | Decoder CLSID alone | The in-box RAW codec shares the CLSID but only reads embedded previews. |
|
||||
| 2026-10-02 | HEVC/AV1 decoder presence is detected with `MFTEnumEx`. | Store package names | Also covers OEM and hardware decoders. |
|
||||
| 2026-10-02 | Math code lives in `src/Titano.Core/Math` with namespace `Titano.Core.Mathematics`. | `Titano.Core.Math` | That namespace would shadow `System.Math` in every `Titano.Core.*` file. |
|
||||
| 2026-10-02 | Math code lives in `src/Chronos.Core/Math` with namespace `Chronos.Core.Mathematics`. | `Chronos.Core.Math` | That namespace would shadow `System.Math` in every `Chronos.Core.*` file. |
|
||||
| 2026-10-02 | CCT = McCamy refined to the nearest Planckian point (Krystek, CIE 1960 uv), valid for \|Duv\| ≤ 0.02. | Plain McCamy | McCamy alone misses the 100 K gate above ~9000 K. |
|
||||
| 2026-10-02 | Deflicker keeps (1 − strength)·ρ·S of a frame's deviation (ρ own Tukey weight, S window surviving fraction). | Blend by S only | S alone barely isolates outliers. |
|
||||
| 2026-10-02 | LOWESS uses the k nearest valid samples with bandwidth = farthest distance + one spacing. | Fixed half-width | Constant sample count at sequence edges. |
|
||||
@@ -61,7 +61,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-02 | Resampler keeps negative/overshoot values in linear light. | Clamp to 0–1 | Ringing stays within each kernel's exact bound; clamping happens at encode. |
|
||||
| 2026-10-02 | Codec fixtures (each < 12 KB) are generated by `tests/fixtures/codecs/make-fixtures.sh` with libjpeg-turbo/libtiff dev tools and committed. | Fetch at test time | Reference outputs must be stable; the tools are not build or runtime dependencies. |
|
||||
| 2026-10-02 | Installer payload "TPK1": deduplicated, deflate-ratio-bounded entries after the setup stub; footer aligned to 8 bytes and found before an Authenticode table so signing works before and after packing. | Spec fields only | Every offset is bounds-checked; signtool can append without breaking the payload. |
|
||||
| 2026-10-02 | Setup runs `asInvoker` and relaunches itself elevated (`runas`) only for all-users installs; the unelevated parent starts Titano afterwards. | requireAdministrator | Titano never runs elevated. |
|
||||
| 2026-10-02 | Setup runs `asInvoker` and relaunches itself elevated (`runas`) only for all-users installs; the unelevated parent starts Chronos afterwards. | requireAdministrator | Chronos never runs elevated. |
|
||||
| 2026-10-02 | Uninstaller self-removal via a %TEMP% copy started with `/CLEANUP`; running programs are only asked to close (never killed; silent mode exits 5). | MoveFileEx alone / kill | Per-user installs have no admin rights; user data safety. |
|
||||
| 2026-10-02 | Setup has its own `Program.Main` (silent and cleanup modes run without WPF) and is published with single-file compression (70 MB stub). | App.xaml-generated Main | Reliable exit codes; smaller installers. |
|
||||
| 2026-10-02 | SQLite: one in-process async write lock with `BEGIN IMMEDIATE`, shared-cache in-memory mode for tests, fixed-width ISO-8601 UTC text with microseconds and lower-case UUID text. | busy_timeout alone / epochs | Writers queue instead of failing; text order equals time order on both dialects. |
|
||||
@@ -69,7 +69,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-02 | Migrations: all pending ones in one transaction under `pg_advisory_xact_lock`. | One transaction per migration | Atomic and safe when several servers start together. |
|
||||
| 2026-10-02 | Case-insensitive search/sort via lower-cased `search_text`/`title_key` columns (and `COLLATE "C"` on PG). | ILIKE / NOCASE | Identical results on both dialects. |
|
||||
| 2026-10-02 | Job claim: `UPDATE … WHERE id = (SELECT … FOR UPDATE SKIP LOCKED) RETURNING` on PG; immediate transaction on SQLite. | Advisory locks | Exclusive under concurrency, as specified. |
|
||||
| 2026-10-02 | One `JobEngine` in Titano.Data runs every long operation for both the client and the server: handlers per `JobKind`, progress persisted at most every 5 s, a failed persist (job no longer running) stops the handler, a shutdown leaves jobs running so the next start requeues them from their checkpoint. | Per-feature background loops | One queue, one cancel/pause/resume path and one crash-recovery rule everywhere. |
|
||||
| 2026-10-02 | One `JobEngine` in Chronos.Data runs every long operation for both the client and the server: handlers per `JobKind`, progress persisted at most every 5 s, a failed persist (job no longer running) stops the handler, a shutdown leaves jobs running so the next start requeues them from their checkpoint. | Per-feature background loops | One queue, one cancel/pause/resume path and one crash-recovery rule everywhere. |
|
||||
| 2026-10-02 | Job throughput is a moving average over windows of at least 2 s. | Average since start | ETA follows speed changes (cache warm-up, network) without jitter. |
|
||||
| 2026-10-02 | Visual controls (card grid, filmstrip, charts, preview, curve editor) keep their layout and math in WPF-free classes; colours are theme brush keys re-resolved on theme switch; filmstrip, preview and time-axis charts never mirror in RTL (category charts lay out from the reading side since 2026-10-06, inside an element that stays left to right). | Math inside controls / brush properties | Testable on Linux; view models hold no brushes; time axes and images must not flip. |
|
||||
| 2026-10-02 | `VirtualizingWrapPanel` does its own keyboard navigation and recycling; the focused container is kept alive. | ListBox navigation | Direct targets, wrapping across rows; focus survives scrolling. |
|
||||
@@ -87,7 +87,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-02 | Shake and motion thresholds are judged in output pixels (stabilise above 0.3 px RMS). | Source pixels | That is what the viewer sees. |
|
||||
| 2026-10-02 | Automatic output stops at 4K UHD; no automatic stacking advice. | 8K / temporal-median denoise | 8K stays a manual choice; a median erases moving stars and stillness cannot be verified reliably. |
|
||||
| 2026-10-02 | Apply records a missing-data reason only where no advice exists; Optimise returns modules to Auto and only adds to the user's hero, exclusions, offset or output cap; a preset's own choices are stored as manual values, content-derived values stay Auto. | Overwrite | Manual values stay in force; re-analysis does not undo a chosen preset. |
|
||||
| 2026-10-02 | Advisor namespace is `Titano.Core.Advice` (class `Advisor`). | `Titano.Core.Advisor` | A class named like its namespace needed an alias in every `Titano.Core.*` caller. |
|
||||
| 2026-10-02 | Advisor namespace is `Chronos.Core.Advice` (class `Advisor`). | `Chronos.Core.Advisor` | A class named like its namespace needed an alias in every `Chronos.Core.*` caller. |
|
||||
| 2026-10-02 | CI also force-pushes each same-repository PR run's screenshots as one commit to the `ci-screenshots` branch (separate job, only it has `contents: write`). | Artifact only | Artifacts need an authenticated download; a branch can be fetched with plain git for visual review. The branch never merges and holds a single commit. |
|
||||
| 2026-10-02 | Export fps is the encoded grid; `Timing.FrameRate` is the playback rate (source frames per video second, default = export fps). Durations are quantised to output periods on rounded 90 kHz boundaries; whole frames are sampled at the period centre. | One fps / free durations | Presets keep their meaning, Interpolated can synthesise slow motion, AVI and image sequences stay exact. |
|
||||
| 2026-10-02 | Adaptive timing is proportional up to 3× the median interval; longer gaps show for 3 + log2(r/3) frames (max 5); pauses ≥ 20× median and ≥ 120 s become a 0.2 s cut. Interpolated fills gaps of up to 3 missing/excluded frames. | Fixed clamps | Bursts stay faithful and long gaps cannot stall the video. |
|
||||
@@ -112,15 +112,15 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-02 | Desktop: the archive engine uses WIC first, then managed decoders; the last archive is reopened at start (relinking a moved one, finishing interrupted renames) and incrementally rescanned every 10 minutes; Welcome and Library create/adopt through the archive engine and queue a full scan; failures become a toast. | File-system watchers / no periodic scan | BRIEF §7: polling by mtime/size plus manual rescan. |
|
||||
| 2026-10-02 | Desktop thumbnails: widths rounded up to 64 px, LRU of 2000 items, at most cores/2 (2–6) decodes, "no image" cached but failures not, a decode is cancelled when its card scrolls away; job list updates batched to ~10 Hz keeping the latest per job. | Fixed size per card / update per event | Fewer decodes, bounded memory, a free UI thread during fast renders. |
|
||||
| 2026-10-02 | Server sign-in in the client: an unknown certificate fingerprint is confirmed before any password is sent, a changed certificate never receives the saved token, the token is stored only DPAPI-encrypted. | Trust on login | BRIEF §14.2. |
|
||||
| 2026-10-02 | The client update check reads the latest non-draft, non-prerelease GitHub release of `TitanoReleasesRepo` and only opens its page; Clear cache deletes only folders carrying a `.titano-cache` marker, after confirmation; `--capture` runs on a temporary data folder with fake server, encoders and update check. | Download updates / clear any folder / real data | No external processes; never delete user data; CI never touches user data. |
|
||||
| 2026-10-02 | The server registers the archive engine in `ArchiveModule` (ingest, asset locator, job handlers through `IJobHandlerProvider`) and opens its archive through `ArchiveService.AdoptAsync`; `ServerHost.Build` keeps the registration callback so tests can substitute fakes, and still refuses to start without ingest and locator. | Hard-wired registrations / DB row only | Tests stay isolated; the archive always has `.titano/archive.json`, so scans and ingest work from the first start. |
|
||||
| 2026-10-02 | The client update check reads the latest non-draft, non-prerelease GitHub release of `ChronosReleasesRepo` and only opens its page; Clear cache deletes only folders carrying a `.chronos-cache` marker, after confirmation; `--capture` runs on a temporary data folder with fake server, encoders and update check. | Download updates / clear any folder / real data | No external processes; never delete user data; CI never touches user data. |
|
||||
| 2026-10-02 | The server registers the archive engine in `ArchiveModule` (ingest, asset locator, job handlers through `IJobHandlerProvider`) and opens its archive through `ArchiveService.AdoptAsync`; `ServerHost.Build` keeps the registration callback so tests can substitute fakes, and still refuses to start without ingest and locator. | Hard-wired registrations / DB row only | Tests stay isolated; the archive always has `.chronos/archive.json`, so scans and ingest work from the first start. |
|
||||
| 2026-10-02 | Admin cookies are `Secure`: cookie sign-in over plain HTTP only from loopback, `/admin` over HTTP from other hosts redirects to HTTPS; CSRF token derived from the session token's hash, cookie WebSocket upgrades must be same-origin. | Drop `Secure` / random double-submit cookie | BRIEF §14.2; a planted cookie pair cannot forge the token. |
|
||||
| 2026-10-02 | Sign-in rate limit and lockout live in memory and apply to unknown names too; the generated first admin password goes to an owner-only file deleted once an admin sets a password; minimum password length 10; admin-created users must change their password; resets give a temporary password. | DB columns / log the password / email links | No user enumeration; secrets never logged; no mail infrastructure. |
|
||||
| 2026-10-02 | API errors are localised through `Accept-Language` (fallback `TITANO_LANG`); ETags on sequences, manifests and originals (SHA-256) with `If-Match` doubling as the expected settings version. | English only / version in body only | Every user-visible string is a resource; standard HTTP caching and concurrency. |
|
||||
| 2026-10-02 | Deleting a sequence moves its folder to `<archive>/.titano/trash/<id>` (with dry run); upload completion is synchronous and idempotent, survives client disconnect, and a failed ingest returns the upload to receiving (503). | Erase files / async commit job | User data rule 8 and undo; clients need the frame id at once and retries stay safe. |
|
||||
| 2026-10-02 | API errors are localised through `Accept-Language` (fallback `CHRONOS_LANG`); ETags on sequences, manifests and originals (SHA-256) with `If-Match` doubling as the expected settings version. | English only / version in body only | Every user-visible string is a resource; standard HTTP caching and concurrency. |
|
||||
| 2026-10-02 | Deleting a sequence moves its folder to `<archive>/.chronos/trash/<id>` (with dry run); upload completion is synchronous and idempotent, survives client disconnect, and a failed ingest returns the upload to receiving (503). | Erase files / async commit job | User data rule 8 and undo; clients need the frame id at once and retries stay safe. |
|
||||
| 2026-10-02 | Quota = used + pending uploads + new size, checked at start and at commit (render outputs not counted); the duplicate short-circuit matches a hash anywhere, preferring the target sequence; at most 8 concurrent chunk uploads per user (429), bodies capped at 1 MiB except chunks. | Committed bytes only / per-sequence only / request-rate limiter | Parallel uploads cannot slip past the quota; the brief's wording; simplest effective limit. |
|
||||
| 2026-10-02 | Render jobs never run on the server engine: render nodes claim them by codec and resolution, report failures, and a job fails after losing its node 5 times. | Managed rendering on the server | No server render handler yet. |
|
||||
| 2026-10-02 | Server settings page writes only edited keys to `server.json`; environment-fixed settings are locked; restart-only keys are flagged. Windows service: LocalSystem, automatic start, name `TitanoServer`. Admin panel: strict CSP (SVG charts, no inline styles); light and dark themes (2026-10-06, toggle in the header). | Rewrite the whole file / theme toggle | Secrets never written; DESIGN.md wins over the mockup toggle. |
|
||||
| 2026-10-02 | Server settings page writes only edited keys to `server.json`; environment-fixed settings are locked; restart-only keys are flagged. Windows service: LocalSystem, automatic start, name `ChronosServer`. Admin panel: strict CSP (SVG charts, no inline styles); light and dark themes (2026-10-06, toggle in the header). | Rewrite the whole file / theme toggle | Secrets never written; DESIGN.md wins over the mockup toggle. |
|
||||
| 2026-10-02 | Migrations are numbered without gaps (0001 initial, 0002 archive index, 0003 server uploads). | Keep 0005 | Parallel workstreams picked numbers to avoid collisions; renumbered at merge. |
|
||||
| 2026-10-02 | `xaml-lint` checks keyed value resources against the property type (GridLength for column/row sizes, Thickness, CornerRadius, Double). | Rely on Windows smoke tests | A Double used as a column width compiles and only fails when the template loads on Windows; the lint now fails on Linux too. |
|
||||
| 2026-10-02 | Languages with more plural forms add `key.few` / `key.many` beside the English `key.one` / `key.other`; `i18n check` accepts them, compares their placeholders with English `other` and lets any plural form omit the count. | One English-shaped key set for every language | "Rendered once" style forms cannot cover Russian 21 or Arabic 3–10 otherwise. |
|
||||
@@ -133,16 +133,16 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-03 | `POST /jobs` splits a batch into one job per preset; a render node fails a batch job instead of rendering only the main preset; a node registering again requeues jobs its previous run abandoned. Proxies have no hash: fetched whole on retry; originals are resumed and SHA-256 verified. | Nodes render batches | One output per job keeps progress, retries and uploads simple. |
|
||||
| 2026-10-03 | A render on the server ignores the client's export folder and always writes to the sequence's `exports/`. | Honour the folder | The server never writes outside its archive. |
|
||||
| 2026-10-03 | Sync state lives in a client-side `sync_links` table (one row per server sequence, linked to its local copy); server-only sequences appear on the Server screen and, since 2026-10-06, in the Library as remote cards. | Columns on `sequences` | One local copy per server; server-only rows need a home. The server-connected Library mode stays with the Library. |
|
||||
| 2026-10-03 | Uploads create the server sequence by sending the first original under the session key `titano-sync:<localId>`; every original is re-hashed before sending and a mismatch fails the job. | `POST /sequences` | The server cannot store uploads into an empty sequence created that way; originals are sacred. |
|
||||
| 2026-10-03 | Sync conflicts: any field changed differently on both sides is a conflict settled against the versions shown (Keep mine / Take server confirm the differing settings; Save both takes the server's and keeps this PC's settings as `.titano/project.this-pc-<time>.json`). A later change refuses the choice and compares again. | Tag union and newest-wins merge | §14.5 asks for last-writer-wins with an explicit prompt; a union brings removed tags back. |
|
||||
| 2026-10-03 | Uploads create the server sequence by sending the first original under the session key `chronos-sync:<localId>`; every original is re-hashed before sending and a mismatch fails the job. | `POST /sequences` | The server cannot store uploads into an empty sequence created that way; originals are sacred. |
|
||||
| 2026-10-03 | Sync conflicts: any field changed differently on both sides is a conflict settled against the versions shown (Keep mine / Take server confirm the differing settings; Save both takes the server's and keeps this PC's settings as `.chronos/project.this-pc-<time>.json`). A later change refuses the choice and compares again. | Tag union and newest-wins merge | §14.5 asks for last-writer-wins with an explicit prompt; a union brings removed tags back. |
|
||||
| 2026-10-03 | Sync timing: full comparison every 2 min, server events batched for 1 s, failures back off from 5 s to 5 min. "Keep proxies offline" refreshes stale caches only for sequences this PC opened with proxies, after a free-space check. "Sync projects automatically" defaults to on. | Every server sequence / polling only | Bounded disk use; the brief says "synced sequences"; the mockup shows the option on. |
|
||||
| 2026-10-03 | Renders keep their id on both sides and are offered for transfer only once the originals agree; render downloads are size-checked (the server keeps no render hash). Uploads on metered networks pause through the OS network cost API when the option is on. | Hash renders | No server field exists; uploads are hash-verified by the server. |
|
||||
| 2026-10-03 | Not built: "Free local space" (deletes originals; needs an archive-engine offload state), the footer user count (admin-only data) and "changed by" in the conflict detail (no API field). | Build them in the sync layer | Data-destroying or privacy/API choices for the owner (§0.2.7). |
|
||||
| 2026-10-03 | Update Download fetches the package for this copy (setup, or the portable zip for a portable copy), verifies it against the release's SHA256SUMS and shows it in Explorer; the user runs it. Files go to `%TEMP%\Titano\updates\<tag>`, `.part` resumed with Range, 60 s idle timeout, Cancel; without the package or SHA256SUMS, Download opens the release page. | Start the installer as §18 says | §8.6 allows only open-URL, explore-folder and SHFormatDrive; the stricter rule wins. |
|
||||
| 2026-10-03 | Update Download fetches the package for this copy (setup, or the portable zip for a portable copy), verifies it against the release's SHA256SUMS and shows it in Explorer; the user runs it. Files go to `%TEMP%\Chronos\updates\<tag>`, `.part` resumed with Range, 60 s idle timeout, Cancel; without the package or SHA256SUMS, Download opens the release page. | Start the installer as §18 says | §8.6 allows only open-URL, explore-folder and SHFormatDrive; the stricter rule wins. |
|
||||
| 2026-10-03 | Diagnostics bundles (desktop and `GET /api/v1/server/diagnostics`, ManageArchive, audited): environment, codecs and encoders, scrubbed settings or configuration, recent failed jobs (50/100), newest 14 logs (last 4 MB each); never photos. Secret-named JSON values are removed; in text a secret runs to `;` or end of line. | Remove whole lines / omit settings | Err towards removing too much while keeping bundles useful. |
|
||||
| 2026-10-03 | Public releases repo content, GitHub Latest and GHCR `:latest` follow the newest stable release; the image is pushed after the Windows tests and `:latest` moves after the GitHub release exists; public content is updated last. Stable notes start at the previous stable tag. | Tag `:latest` in the docker job | No downgrade for compose/Unraid users and nothing public before a release exists. |
|
||||
| 2026-10-03 | Perf gates (opt-in, weekly `perf.yml`): Library open through a new connection pool with warm OS cache; filters as the median of 5 runs; rebuild at one fifth of §1.1 (400 × 250 real photos, 120 s budget) on SQLite and PostgreSQL. No perf migration was needed. | Drop OS caches / full 500k files | Portable on CI runners while still catching plan and index regressions. |
|
||||
| 2026-10-03 | `fixtures --allow-missing` prints a warning annotation per missing sample and exits 0; without it, 1. `Titano.Tools.Tests` covers tool behaviour CI relies on. | continue-on-error | CI shows the gap instead of a silent pass. |
|
||||
| 2026-10-03 | `fixtures --allow-missing` prints a warning annotation per missing sample and exits 0; without it, 1. `Chronos.Tools.Tests` covers tool behaviour CI relies on. | continue-on-error | CI shows the gap instead of a silent pass. |
|
||||
| 2026-10-03 | Editor: the corrected-frame preview is built in the App layer (RenderPreparation corrections, then geometry, exposure and the knee), measured at 128 px; the preparation is split into a measuring pass and re-solves so slider steps never re-decode; analysis decodes are kept as Half within 1/16 of available memory (64–512 MB). | A Core single-frame entry point | Preview speed without touching the render engine. |
|
||||
| 2026-10-03 | Editor autosave 400 ms after the last change with a three-way JSON merge (the editor wins on members both sides changed); a failed save stays pending and retries from 2 s doubling to 60 s; closing with an unsaved failure asks through a destructive modal. Undo takes adopted outside changes; a drag, click or key press is one step. | A Save button / dropping the change | Data safety; §12.1 allows modals for destructive actions. |
|
||||
| 2026-10-03 | Editor 1:1 and wheel zoom render at the source's long edge, Fit at the view's size; labelled preview tools (icon + text) with full screen, play and the crop view icon-only; the shot-data pill moves above the tools when they do not fit at 1200 px. | Render only the visible region | Decoders decode whole frames; simplest correct option. |
|
||||
@@ -153,7 +153,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-03 | Format gate: every photo on the card must be verified by the job's own import records; non-photo files are listed in the typed confirmation, not blocking; the card is re-listed right before SHFormatDrive, behind a typed confirmation of the card name; a card that leaves needs a new check. | Count only DCIM photos / block on any file | Sony and Canon cards always carry camera files; §8.6 and DESIGN §4. |
|
||||
| 2026-10-03 | Archive manager: Overview (tree, tiles, charts, mass operations on the tree selection narrowed by a Camera/Status/Tag filter) and Maintenance (health with one fix per line, recent runs, duplicates, orphans); duplicates/orphans searches and retag run in-screen, cancellable and logged; rename apply is journaled and completed at the next open; Maintenance adds a database backup. No Merge/split yet (Delete… and Trash… exist since 2026-10-06, through the engine's trash). | Engine jobs for every action / Archive.html's single page | No result store for read-only reports; deleting or moving frames needs engine operations (the trash lives in the server). |
|
||||
| 2026-10-06 | Radio buttons that bind TwoWay are grouped by their shared panel, never by GroupName (kept only for chips in item templates, which bind OneWay). | GroupName on every group | WPF shares a GroupName across every window not yet connected to the screen, so the installer capture (one window per stage, each with its own view model) cross-wired Just me / All users into an endless loop; the same applies to views built in tests and captures. |
|
||||
| 2026-10-06 | Reading direction is set by TitanoWindow (constructor plus Loc.CultureChanged while shown, applied through the Dispatcher). UiLanguage keeps only a Window.Loaded class handler for plain windows such as FullScreenPreview. The Uploader's WindowDirection and Setup's own code are removed. | Keep three mechanisms (UiLanguage loop plus class handler, Uploader WindowDirection, SetupWindow code) | One place covers the client, Uploader and Setup windows created before or after a language switch. The class handler is still needed for the one non-TitanoWindow window. |
|
||||
| 2026-10-06 | Reading direction is set by ChronosWindow (constructor plus Loc.CultureChanged while shown, applied through the Dispatcher). UiLanguage keeps only a Window.Loaded class handler for plain windows such as FullScreenPreview. The Uploader's WindowDirection and Setup's own code are removed. | Keep three mechanisms (UiLanguage loop plus class handler, Uploader WindowDirection, SetupWindow code) | One place covers the client, Uploader and Setup windows created before or after a language switch. The class handler is still needed for the one non-ChronosWindow window. |
|
||||
| 2026-10-06 | Toasts are announced with a UIA notification event on the host: errors use ImportantAll (assertive), other notices use All (polite). | LiveSetting on each toast container plus LiveRegionChanged | A toast is a new element, not a text that changes, and the host's peer is always in the UIA tree, whereas an item container's peer may not be. |
|
||||
| 2026-10-06 | The job bar's live region announces ShellViewModel.JobAnnouncement (job name when it starts, the idle line when the queue empties). JobBar gets a StatusBar peer so the region has a peer. | Announce the job bar text | The bar text changes every second (counter, speed, time left), which is too noisy for a screen reader. This matches the integration rule 'announce states, not progress ticks'. |
|
||||
| 2026-10-06 | The render job label arrow is chosen at creation by Loc.IsRightToLeft (Jobs.Target.Render / Jobs.Target.RenderRtl, both invariant). | A translatable '{0} → {1}' key that RTL translators change to '←'; or storing title and preset separately | This is the same pattern Import.Session.Time/TimeRtl already uses, it is right in RTL without waiting for translations, and it needs no schema or wire change. The label was already in the creation language through the preset name. |
|
||||
@@ -192,7 +192,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-06 | A remote card's Render and Analyse are posted to the server (POST /api/v1/jobs render or deep-analyse) with the sequence's own project. The tooltip names no preset. | Download the server manifest for each card to name the preset in the tooltip. | Rendering happens where the originals are (BRIEF §14.6–14.7), and a manifest download per tooltip is costly. |
|
||||
| 2026-10-06 | Delete runs in an in-window dialog shared by the Library and the Archive manager: a dry run with progress, a typed confirmation, a move into the trash with progress, Cancel between whole sequences, and an Undo toast. It is not a Jobs-screen job. Restore runs per entry from Maintenance › Trash… or from the toast. | An ArchiveJobs delete job with checkpoints on the Jobs screen. | The typed confirmation must sit between the dry run and the move, and Undo needs the result at once. It matches the rename dialog, and each sequence moves atomically. |
|
||||
| 2026-10-06 | The typed confirmation for Delete is the number of sequences that move (Latin digits). | Typing a word such as DELETE or the sequence title. | It is language neutral and shows the user read the count (DESIGN §4 typed confirmation). |
|
||||
| 2026-10-06 | Trash layout: <archive>/.titano/trash/<id>[-stamp] plus a <name>.json record (index row and renders). Restore re-indexes from the sidecar with the same ids, into the old folder or 'folder (n)'. A folder without its sidecar is adopted under the same id with the record's title, tags, rating and notes; a missing hero frame is dropped. | A trash in the database only, or erasing the files. | BRIEF §0.2 rule 8: nothing is erased, and sidecars stay authoritative. |
|
||||
| 2026-10-06 | Trash layout: <archive>/.chronos/trash/<id>[-stamp] plus a <name>.json record (index row and renders). Restore re-indexes from the sidecar with the same ids, into the old folder or 'folder (n)'. A folder without its sidecar is adopted under the same id with the record's title, tags, rating and notes; a missing hero frame is dropped. | A trash in the database only, or erasing the files. | BRIEF §0.2 rule 8: nothing is erased, and sidecars stay authoritative. |
|
||||
| 2026-10-06 | Delete is refused per sequence for an offline archive, the archive root, folders holding other sequences, busy sequences, a foreign sidecar or a missing folder. Busy covers running or paused jobs on the sequence, plus archive-wide Scan, Rebuild, Import, Maintenance and Verify-all on its archive. Sequences with no folder and no frames lose only their rows. | Block only on jobs that name the sequence. | Archive-wide jobs name the archive, not the sequences, and an import's target folders are known only to its plan. |
|
||||
| 2026-10-06 | Server DELETE maps refusals to codes: 503 archive_offline, 409 sequence_busy (busy, stale plan or lease), 409 archive_root / contains_sequences / sidecar_mismatch / folder_missing / folder_in_use, 404 when the sequence vanished. | A single 409 sequence_busy for every refusal. | Clients show the right sentence, and an offline archive is a retryable service state. |
|
||||
| 2026-10-06 | Move works on the sequences of one archive at a time, as a new folder layout through MassRenamer with a dry run. | Cross-archive move (copy, verify, then trash the source). | The task names the engine's existing move and rename facilities, and there is no engine operation for a cross-archive move. |
|
||||
@@ -210,7 +210,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-06 | Tables are ARIA tables whose rows are CSS subgrids; fitColumns() measures the table and hides secondary columns level by level until the rows fit | The mockup's fixed tracks (… 210px) or fixed container-query breakpoints | Fixed widths cannot hold +40% translations (German row actions are about 330 px) or the side-panel state; measuring works for every language and width |
|
||||
| 2026-10-06 | Self reset is blocked twice: the UI shows Change password on the caller's own row and the server answers 409 'self' | Hide the button in the UI only | A reset revokes every token, the caller's included, so any client could lock the last admin out; the existing 'self' code and message already guard delete and demote |
|
||||
| 2026-10-06 | The sign-in log uses one audit query with a comma-separated action filter (AuditRepository.ListByActionsAsync) | Two client-side queries merged by time | A single cursor keeps 'Load more' paging correct |
|
||||
| 2026-10-06 | plural() uses Intl.PluralRules folded to Titano.Core's categories (two→few; zero→many in Latvian, else other) | Port the C# PluralRules table to JavaScript | Same results as the desktop for the shipped languages with far less duplicated code |
|
||||
| 2026-10-06 | plural() uses Intl.PluralRules folded to Chronos.Core's categories (two→few; zero→many in Latvian, else other) | Port the C# PluralRules table to JavaScript | Same results as the desktop for the shipped languages with far less duplicated code |
|
||||
| 2026-10-06 | Settings and archive validation messages are built in the panel from the field label (Admin.Common.Invalid), with a specific message for missing PEM files | Per-setting localized messages from the server (Server area resx) | The server's details already name the field; this keeps the change inside the panel and gives one sentence plus one action |
|
||||
| 2026-10-06 | The settings Save button moved into the sticky page header, like New user on the Users page | Offset the toast stack above page actions | Toasts can never cover it, and it stays reachable while editing a long form |
|
||||
| 2026-10-06 | Old single-form count keys stay in the catalogs unused, and new .one/.other keys were added | Rename or rewrite the existing keys | The rules forbid renaming or deleting keys; other cultures keep working until the integrator removes them |
|
||||
@@ -243,7 +243,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-11 | `LocalizedViewModel.OnLanguageChanged` is the hook for texts kept in objects: the editor makes its tabs' charts, Auto chips, markers and info line again; Jobs refreshes rows, chips and the job bar; Archive reads again; Import rebuilds its session table and device list | Re-create every section after a language switch, or ask for a restart | BRIEF §16 switches language without restart; a running job's bar line and an open editor's legend otherwise stayed in the old language until their next change. |
|
||||
| 2026-10-11 | Desktop sizes use the `Common.Size.*` formats, like the Setup and the Uploader | Hard-coded B, KB, MB, GB, TB, PB | Several languages write the units in their own script or words (КБ, bayt, كيلوبايت); every UI string is a resource. |
|
||||
| 2026-10-11 | CI artifact uploads continue on error with short retention (test results 7 days, Windows programs 3); screenshots reach the screenshots job through the Actions cache | Keep failing jobs on a full artifact storage, or push the screenshots from the build job | A full storage quota failed jobs whose checks had passed; the cache has its own limit, and the build job keeps its read-only token. |
|
||||
| 2026-10-12 | A restore staged in Settings › Advanced runs on the files before the index opens. The staged copy must pass `PRAGMA quick_check` (before migration), then open and migrate in a scratch copy. The index it replaces is kept as a `VACUUM INTO` copy among the daily ones, or, when it cannot be read, copied whole with its WAL as `titano-replaced-<stamp>.db` outside the rotation. The staged file is renamed over the index, which consumes it. | Swap the open index after a fresh backup; move a broken index into the rotation; delete the staged file after the swap | A restore exists for an index that no longer opens. A broken copy in the rotation would push a good daily copy out. A separate delete that fails would apply the same copy again at the next start. |
|
||||
| 2026-10-12 | A restore staged in Settings › Advanced runs on the files before the index opens. The staged copy must pass `PRAGMA quick_check` (before migration), then open and migrate in a scratch copy. The index it replaces is kept as a `VACUUM INTO` copy among the daily ones, or, when it cannot be read, copied whole with its WAL as `chronos-replaced-<stamp>.db` outside the rotation. The staged file is renamed over the index, which consumes it. | Swap the open index after a fresh backup; move a broken index into the rotation; delete the staged file after the swap | A restore exists for an index that no longer opens. A broken copy in the rotation would push a good daily copy out. A separate delete that fails would apply the same copy again at the next start. |
|
||||
| 2026-10-12 | Settings › Rendering › Parallelism Auto is the job engine's default, half the logical cores (BRIEF §14.6), with each job's own decode and analysis thread counts. A value the user sets is the number of workers and also caps those threads. The memory budget is this PC's total: each job's frame window gets budget ÷ workers. | Auto = cores minus four (mockup tooltip) driving the workers and capping every job | Cores minus four left a 4-core laptop with one worker, so one render blocked scans, thumbnails and sync. The brief fixes the default (behaviour: brief wins). Dividing the budget keeps concurrent renders within it. |
|
||||
| 2026-10-12 | Reset all and Import settings change only this PC's settings. The open archive's archive.json changes only through its own Archive rows, and Archive › Reset section first asks, naming the archive. | Push this PC's values into the open archive after a reset or an import | archive.json is shared with the server and other PCs: resetting one PC must not replace an admin's naming or proxy policy for everyone. |
|
||||
| 2026-10-12 | Settings › Archive edits only the archive registered at this PC's archive folder. When the folder changes, an archive already there is registered (as at start) and gets an incremental scan. With none there, the rows edit the defaults of new archives. | Fall back to the first archive of the index | Edits otherwise landed in another archive's archive.json. |
|
||||
@@ -251,25 +251,25 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-12 | When an archive's settings are edited, a blank or overlong name in its archive.json becomes the folder's name (the root for a drive root) or is shortened to 100 characters, as at creation. A name the edit sets is still checked as given. | Refuse every edit until the archive is renamed | Desktop archives created at a drive root before names were checked carry an empty name, which failed every Settings › Archive edit. |
|
||||
| 2026-10-12 | PUT /api/v1/archive/settings answers 409 archive_busy while another process holds the settings lease, and 409 archive_manifest for a damaged, newer-format or foreign archive.json. | 409 sequence_busy and an unmapped 500 | The admin reads what is wrong; the old message spoke of a sequence. |
|
||||
| 2026-10-12 | Archive › Maintenance › Restore database… opens Settings › Advanced, where the restore lives. | A second restore flow on the Archive screen | BRIEF §12.5 lists restore under Maintenance and §6.2 under Settings › Advanced: one flow reached from both places. |
|
||||
| 2026-10-12 | Background priority raises the interface thread to AboveNormal while Titano is the active app, instead of lowering the jobs. | Lower the job threads' priority | Jobs run on shared pool threads whose priority cannot be set per job. |
|
||||
| 2026-10-12 | Background priority raises the interface thread to AboveNormal while Chronos is the active app, instead of lowering the jobs. | Lower the job threads' priority | Jobs run on shared pool threads whose priority cannot be set per job. |
|
||||
| 2026-10-12 | The quality profile maps to the render preparation long edge (Best 1024, Balanced 512, Fast 256), the read-ahead (8 for Best, else 4) and the optical-flow quality of projects that set none. | Change the spill policy per profile | Best 'doubles sampling' and Fast is for previews, as the tooltips say; spilling stays governed by the memory budget. |
|
||||
| 2026-10-12 | Index backups: a `VACUUM INTO` copy at start when the newest is a day old, then checked hourly, the newest three kept, on the desktop and on a server using SQLite. PostgreSQL servers use PostgreSQL's own tools. | A fixed nightly time | A desktop is rarely running at night, so a fixed time would rarely fire; the brief's 'nightly ×3' is met as 'daily ×3'. |
|
||||
| 2026-10-12 | Maintenance vacuums the SQLite index only when at least 10 % of it is free pages; the dry run reports the reclaimable size. | Vacuum on every run | Rewriting a large index for a few pages holds every writer for nothing. |
|
||||
| 2026-10-12 | Settings › Formats Install opens the Microsoft Store page of the missing extension (ms-windows-store:), falling back to its web page. | Download or bundle codecs | No external processes except OS dialogs (BRIEF §8.6); the Store is the OS route for HEIF/HEVC/RAW extensions. |
|
||||
| 2026-10-12 | Settings › Archive rows show and edit the open archive's archive.json and also seed the archives this PC creates later. The rescan interval is a PC setting. | Keep separate 'defaults for new archives' rows | One set of rows matches Settings.html; the archive is the source of truth (BRIEF §7). |
|
||||
| 2026-10-12 | (Partly superseded by the deployment guidance row below: a proxy is listed by its own fixed address, never a Docker subnet or gateway; Docker's port publishing relays IPv6 clients and the host's own connections from the gateway.) TLS mode proxy honours `X-Forwarded-For/Proto/Host` only from `TITANO_TRUSTED_PROXIES` (new variable, also in `server.json`: IP addresses or CIDR networks), by default loopback only. The admin panel shows a *Not via proxy* chip (Dashboard, Settings) when a page did not come through a trusted proxy over HTTPS, and a cookie sign-in refused for that reason answers `proxy_untrusted`, naming the variable. | Trust every peer (as before), or default to loopback plus the RFC 1918 and ULA networks | BRIEF §14.2 keys the 5/min sign-in limit and the audit address on the client IP. Home-network clients reach the HTTP port directly from private addresses (Docker's port publishing keeps them), so trusting private networks let exactly them choose their own address. A proxy in another container is listed by its own fixed address. |
|
||||
| 2026-10-12 | `TITANO_PUBLIC_HTTP_PORT` and `TITANO_PUBLIC_HTTPS_PORT` (optional, 1–65535) name the host ports a container's ports are published on. The admin panel's HTTP→HTTPS redirect and the LAN beacon use them, otherwise the bound ports. LAN discovery from a container needs host networking (documented, with PostgreSQL then published on loopback). | Drop the redirect, or always advertise the bound ports | The Unraid template lets users remap ports (8443 is often taken), and the redirect and beacon otherwise named the container's internal port. |
|
||||
| 2026-10-12 | Windows data folder: a protected DACL (SYSTEM, Administrators, the server's account; nothing inherited), re-applied at start. The folder and everything in it must be owned by those accounts and contain no symbolic link or junction, checked before the ACL is touched; otherwise the server refuses to start and names the entry. `server.json` is read only after its owner is checked on the open handle. Secrets (`initial-admin-password.txt`, `tls/server.pfx`) are deleted and created anew with an explicit private DACL; elsewhere they get mode 0600. On Windows this replaces the 'owner-only file' wording of the 2026-10-02 sign-in row. | Reset foreign owners to Administrators, or keep %ProgramData%'s inherited ACL | A folder or file another user created keeps its owner's WRITE_DAC whatever the DACL says, and its contents (`server.json`, `titano.db`, `server.pfx`) are theirs, so resetting the owner would launder them. A link would carry the ACL rewrite and the server's writes elsewhere. |
|
||||
| 2026-10-12 | (Partly superseded by the deployment guidance row below: a proxy is listed by its own fixed address, never a Docker subnet or gateway; Docker's port publishing relays IPv6 clients and the host's own connections from the gateway.) TLS mode proxy honours `X-Forwarded-For/Proto/Host` only from `CHRONOS_TRUSTED_PROXIES` (new variable, also in `server.json`: IP addresses or CIDR networks), by default loopback only. The admin panel shows a *Not via proxy* chip (Dashboard, Settings) when a page did not come through a trusted proxy over HTTPS, and a cookie sign-in refused for that reason answers `proxy_untrusted`, naming the variable. | Trust every peer (as before), or default to loopback plus the RFC 1918 and ULA networks | BRIEF §14.2 keys the 5/min sign-in limit and the audit address on the client IP. Home-network clients reach the HTTP port directly from private addresses (Docker's port publishing keeps them), so trusting private networks let exactly them choose their own address. A proxy in another container is listed by its own fixed address. |
|
||||
| 2026-10-12 | `CHRONOS_PUBLIC_HTTP_PORT` and `CHRONOS_PUBLIC_HTTPS_PORT` (optional, 1–65535) name the host ports a container's ports are published on. The admin panel's HTTP→HTTPS redirect and the LAN beacon use them, otherwise the bound ports. LAN discovery from a container needs host networking (documented, with PostgreSQL then published on loopback). | Drop the redirect, or always advertise the bound ports | The Unraid template lets users remap ports (8443 is often taken), and the redirect and beacon otherwise named the container's internal port. |
|
||||
| 2026-10-12 | Windows data folder: a protected DACL (SYSTEM, Administrators, the server's account; nothing inherited), re-applied at start. The folder and everything in it must be owned by those accounts and contain no symbolic link or junction, checked before the ACL is touched; otherwise the server refuses to start and names the entry. `server.json` is read only after its owner is checked on the open handle. Secrets (`initial-admin-password.txt`, `tls/server.pfx`) are deleted and created anew with an explicit private DACL; elsewhere they get mode 0600. On Windows this replaces the 'owner-only file' wording of the 2026-10-02 sign-in row. | Reset foreign owners to Administrators, or keep %ProgramData%'s inherited ACL | A folder or file another user created keeps its owner's WRITE_DAC whatever the DACL says, and its contents (`server.json`, `chronos.db`, `server.pfx`) are theirs, so resetting the owner would launder them. A link would carry the ACL rewrite and the server's writes elsewhere. |
|
||||
| 2026-10-12 | `--install-service` registers the LocalSystem service only from a program folder (and, under `dotnet`, a host folder) inside `%ProgramFiles%` or `%ProgramFiles(x86)%`, where no ACL entry gives change rights to an account other than SYSTEM, Administrators, TrustedInstaller or the registering administrator. Otherwise it exits 1 with a localized reason. | Register from anywhere, or only warn | A SYSTEM service runs whatever sits at its image path. A per-user install or a zip unpacked elsewhere would hand SYSTEM to any program of that user (CWE-732). |
|
||||
| 2026-10-12 | Windows archive: a folder the server creates (default `C:\TitanoArchive`) gets a protected DACL: SYSTEM, Administrators and the server's account change it, Users read it. A `.titano` folder the server creates is private. An existing archive that other accounts can change (owner or ACL) is left as it is and logged as a warning at every start. | Inherit `C:\`'s ACL (Authenticated Users: modify), or rewrite existing archives' ACLs | Whoever can write where the SYSTEM service stages and moves uploads can put a junction in place of a folder and redirect those writes (CWE-59). An existing archive's ACL is its owner's choice: adopted archives often belong to a desktop user. |
|
||||
| 2026-10-12 | Container entrypoint: an archive root that PUID:PGID cannot write is given to them (that folder only, `chown` without `-R`) when it is empty or owned by root, as Docker creates a missing bind source. Any other unwritable root, and any existing `.titano` folder or subfolder they cannot write, stops the container with a one-line error and is never chowned. The data folder is `${TITANO_DATA_PATH:-/data}`. This amends the 2026-10-02 row '/archive only checked for write access'. | Recursive chown, or a warning followed by a crash loop | A fresh install never became healthy. The archive may hold terabytes, so its contents are never chowned. |
|
||||
| 2026-10-12 | Screenshot diff (`Titano.Tools screenshots diff`): a pixel differs when one RGBA channel moves by more than 8 of 255; a screen fails when more than 0.05 % of its pixels differ, when its size changed, when it cannot be read, or when its baseline has no screenshot; differing pixels are drawn magenta over the faded baseline in `<screen>-diff.png` | Exact pixel equality; a perceptual metric (SSIM) | Anti-aliased edges move a few levels between runs; 0.05 % (about 650 pixels of 1440×900) absorbs the measured latency and last-sync time while a moved control, a new colour or a missing picture exceed it; a per-pixel rule is easy to explain and to check by eye in the diff image. |
|
||||
| 2026-10-12 | Windows archive: a folder the server creates (default `C:\ChronosArchive`) gets a protected DACL: SYSTEM, Administrators and the server's account change it, Users read it. A `.chronos` folder the server creates is private. An existing archive that other accounts can change (owner or ACL) is left as it is and logged as a warning at every start. | Inherit `C:\`'s ACL (Authenticated Users: modify), or rewrite existing archives' ACLs | Whoever can write where the SYSTEM service stages and moves uploads can put a junction in place of a folder and redirect those writes (CWE-59). An existing archive's ACL is its owner's choice: adopted archives often belong to a desktop user. |
|
||||
| 2026-10-12 | Container entrypoint: an archive root that PUID:PGID cannot write is given to them (that folder only, `chown` without `-R`) when it is empty or owned by root, as Docker creates a missing bind source. Any other unwritable root, and any existing `.chronos` folder or subfolder they cannot write, stops the container with a one-line error and is never chowned. The data folder is `${CHRONOS_DATA_PATH:-/data}`. This amends the 2026-10-02 row '/archive only checked for write access'. | Recursive chown, or a warning followed by a crash loop | A fresh install never became healthy. The archive may hold terabytes, so its contents are never chowned. |
|
||||
| 2026-10-12 | Screenshot diff (`Chronos.Tools screenshots diff`): a pixel differs when one RGBA channel moves by more than 8 of 255; a screen fails when more than 0.05 % of its pixels differ, when its size changed, when it cannot be read, or when its baseline has no screenshot; differing pixels are drawn magenta over the faded baseline in `<screen>-diff.png` | Exact pixel equality; a perceptual metric (SSIM) | Anti-aliased edges move a few levels between runs; 0.05 % (about 650 pixels of 1440×900) absorbs the measured latency and last-sync time while a moved control, a new colour or a missing picture exceed it; a per-pixel rule is easy to explain and to check by eye in the diff image. |
|
||||
| 2026-10-12 | A screenshot without a baseline fails as soon as `tests/visual/baselines` holds any PNG; before the first baselines the step passes with a warning and a bold job-summary line saying it compared nothing | Always only warn; always fail; a `--require-baselines` switch in ci.yml | Warn-only left every screen, and any screen added later, ungated for good; failing before any baseline exists would keep CI red until a Windows run produced them; a rule that arms itself needs no switch to remember. |
|
||||
| 2026-10-12 | Baselines are accepted only from CI's `ci-screenshots` branch (`screenshots accept`), never from a local capture; the first set is accepted from the first green `windows-latest` run whose code captures at `SampleData.Now`, after the review-fix branches merge, so this change commits none | Commit the current `ci-screenshots` pictures now; capture locally | Fonts, scaling and time zone differ per machine and Linux cannot run the WPF capture; the current `ci-screenshots` commit (of 261ab46) predates the fixed clock, so its times and dates ("12:18 AM", sequences dated from the capture day) would fail every such screen, and parallel branches still change screens. |
|
||||
| 2026-10-12 | `--capture` runs on a fixed clock (`SampleData.Now`, 2026-10-02 10:18 UTC; `AppClock.Today` frozen for screens laid out around today), English formats and `Motion` off (indeterminate bars stand still) | Mask the changing regions per screen in the diff | The same code then draws the same pixels on any day, so the diff needs no masks; only a measured latency and the last sync time remain, a few dozen pixels. |
|
||||
| 2026-10-12 | Media Foundation playback (BRIEF §20.2) is checked by separate tests: MediaPlayer opens the software H.264 output (and the hardware HEVC Main10 output where an encoder and an HEVC decoder exist), skipped with the reason where Windows Media Player is missing or WPF reports it unusable; a Media Foundation source reader decodes the first frame to the encoded picture on every Windows with Media Foundation | One test that logs and passes without Windows Media Player; playback only in the manual release test | Windows Server runners may lack wmp.dll; a skip shows that the MediaPlayer layer did not run, and the source reader still proves the file decodes. |
|
||||
| 2026-10-12 | CI `installer` job on a clean `windows-latest`: packs 1.0.0 and 1.0.1 installers from the published programs and checks silent install, run, the Add/Remove Programs entry, shortcuts and the .titano file type, upgrade in place (a file only in 1.0.0 must go, user data kept), the Uploader-only installer, uninstall and the documented exit codes (`.github/scripts/installer-test.ps1`) | Leave it to the manual release test | BRIEF §18 behaviour can only be proven by running the real installers; a clean runner is the closest thing to a user's PC. |
|
||||
| 2026-10-12 | The CI PostgreSQL 16/17 service containers are prepared by `.github/scripts/postgres-ci-setup.sh` (MD5, cleartext and trust roles with pg_hba lines ahead of SCRAM, TLS with a self-signed certificate for localhost and 127.0.0.1); `TITANO_TEST_PG_TLS=1` turns a server refusing TLS into a failure | A custom image; leave those tests skipping | BRIEF §6.3 requires every authentication method and TLS mode against the service containers; the official image starts with SCRAM only and TLS off, and the skips looked green. |
|
||||
| 2026-10-12 | CI `installer` job on a clean `windows-latest`: packs 1.0.0 and 1.0.1 installers from the published programs and checks silent install, run, the Add/Remove Programs entry, shortcuts and the .chronos file type, upgrade in place (a file only in 1.0.0 must go, user data kept), the Uploader-only installer, uninstall and the documented exit codes (`.github/scripts/installer-test.ps1`) | Leave it to the manual release test | BRIEF §18 behaviour can only be proven by running the real installers; a clean runner is the closest thing to a user's PC. |
|
||||
| 2026-10-12 | The CI PostgreSQL 16/17 service containers are prepared by `.github/scripts/postgres-ci-setup.sh` (MD5, cleartext and trust roles with pg_hba lines ahead of SCRAM, TLS with a self-signed certificate for localhost and 127.0.0.1); `CHRONOS_TEST_PG_TLS=1` turns a server refusing TLS into a failure | A custom image; leave those tests skipping | BRIEF §6.3 requires every authentication method and TLS mode against the service containers; the official image starts with SCRAM only and TLS off, and the skips looked green. |
|
||||
| 2026-10-12 | Tests that change or observe process-wide state (the UI language, unobserved task exceptions) live in `[Serial]` classes; the App and Core test programs switch back to English and then fail a non-serial test that left English (`TestContext.Current`, an AsyncLocal) | Pass the culture into the code under test; only document the rule | The code under test reads `Loc` like the app does; the guard catches the next such test at the switch, without leaving the classes beside it in the other language. |
|
||||
| 2026-10-12 | A host takes a frame's pixels from its proxy whenever its decoders cannot read the original (`ArchiveImages.NeedsProxy`: no decoder, or only a HEIF's embedded previews). Renders and analyses pick the proxy themselves, and thumbnails of such frames are rebuilt from it. | A "use proxies" choice left to the user | BRIEF §2.3, §8.1 and §8.5: the server keeps HEIF originals and relies on proxies made by a Windows client or render node. |
|
||||
| 2026-10-12 | The server asks for proxies (`ManifestFrame.WantsProxy`, made as `SequenceManifest.Proxies` / `ClaimedJob.Proxies` say) of every format its managed decoders cannot read: HEIF, AVIF, and also WebP, which §8.1 lists as metadata only on the server. It takes them with `PUT /api/v1/frames/{id}/proxy` (Edit or RenderNode right): a JPEG of at most 64 MiB that decodes, with the frame's Exif capture time and the policy's size. A refusal of one proxy answers 422 (`invalid_proxy`, `proxy_mismatch`, `proxy_too_small`, `proxy_not_wanted`, the last one also for frames the server decodes itself or that are missing or damaged); 409 `proxies_disabled` concerns all proxies. | Proxies for HEIF only; a Proxies job a node claims; 409 for proxy_not_wanted | One rule for every host. A WebP proxy costs a client nothing and gives the server pixels it otherwise lacks. Clients stop a pass on 409 and go on after a 422. |
|
||||
@@ -280,18 +280,18 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-12 | The server queues an incremental archive scan at start and every 10 minutes at background priority, except while a scan or rebuild of that archive is queued, running or paused. | Rescans only when an administrator asks | BRIEF §7: polling by mtime and size, the desktop's rhythm. |
|
||||
| 2026-10-12 | Mass rename carries the sequences nested in a folder that moves (`RenameStep.Carried`, listed in the dry run). Selected inner sequences move out first, and a target inside a sequence folder or another target is refused (`NestedRenameException`). A moving step holds the sequence leases, then the thumbnail leases, of itself and of the sequences it carries, by id, until their sidecars and index rows follow; they are journaled together. | Refuse to rename folders that hold sequences; lock only the moving sequence | The index must follow the files (§7), one sequence is never nested in another, and no ingest, editor save or thumbnail pass writes in a folder while it moves. |
|
||||
| 2026-10-12 | Sync applies the server's payload to a local sequence in one step under the sequence lease, and only while the local settings version is still the one compared. If an edit was saved in the meantime, nothing is written and the change is settled as a conflict, never overwritten. | Apply after the fact; last writer wins | BRIEF §14.5: neither side's edit is lost unseen. |
|
||||
| 2026-10-12 | Monetization is a build switch: `TitanoAdsEnabled` (Directory.Build.props, default false) is stamped into the assembly metadata and read by `ProductFeatures.AdsEnabled`; without it the usage counts consent is not shown at first run or in Settings, and the Settings search does not find it | Remove the consent until Phase 9, or a conditional-compilation constant | BRIEF §21 ships monetization disabled until the human sets `TitanoAdsEnabled=true`; assembly metadata needs no `#if`, and the setting stays ready for when it is enabled. |
|
||||
| 2026-10-12 | Monetization is a build switch: `ChronosAdsEnabled` (Directory.Build.props, default false) is stamped into the assembly metadata and read by `ProductFeatures.AdsEnabled`; without it the usage counts consent is not shown at first run or in Settings, and the Settings search does not find it | Remove the consent until Phase 9, or a conditional-compilation constant | BRIEF §21 ships monetization disabled until the human sets `ChronosAdsEnabled=true`; assembly metadata needs no `#if`, and the setting stays ready for when it is enabled. |
|
||||
| 2026-10-12 | Job endings that raise a toast: finished renders, deep analyses, verifies, rebuilds, maintenance, uploads, moves and adoptions, and every failure except upkeep (scan, thumbnails, proxies, light analysis). Background-priority jobs, cancelled jobs, finished imports (the Import screen says them) and finished downloads (Library card, Server row) stay silent | Toast every job ending | The scan every 10 minutes and the work queued behind an import would bury the endings the user asked for (BRIEF §12.1 "toasts … for job completion"). |
|
||||
| 2026-10-12 | Finished jobs of one kind wait until no non-background job of that kind is queued or running; then one toast says how many ("12 jobs finished", action Jobs). Paused jobs do not hold the batch. Failures are said at the end of the update that brought them, several in one toast | One toast per job; also wait for paused jobs | Server › Upload all queues one upload per sequence, which made 100 toasts and 100 Windows notifications; uploads paused on a metered network would hold the batch's toast indefinitely. |
|
||||
| 2026-10-12 | A click on a Windows notification restores the window. It runs the toast's action only when the toast opts in (`Toast.RunsFromNotification`: card detected → Import, interrupted import → Resume, job finished → Open, navigation to Import or Jobs) and it is the only notification shown since the tray icon appeared | Run every toast's action; track which balloon was clicked | People click a notification to bring the window back, so a Cancel, Undo or Retry there would act before they read why; NIN_BALLOONUSERCLICK does not say which of several notifications was clicked. |
|
||||
| 2026-10-12 | Toasts also become Windows notifications while no Titano window is active, not only while the window is minimised or hidden; Settings › General › Notifications turns them off | Only when minimised, as BRIEF §12.1 words it | A window behind another program is as unseen as a minimised one; card prompts (§12.4) and job endings would expire unseen after 8 s. |
|
||||
| 2026-10-12 | Settings › General › Startup writes the HKCU Run value `Titano` = `"<exe>" --minimized`. The window starts minimised, and its first restore brings back the saved maximised state. The value counts as on only when it starts this executable; it is rewritten only when an update renamed the program in this copy's folder, and only the copy it starts removes it. Portable copies hide the row and write nothing to the registry | Scheduled task; one value per copy; rewrite the value at every start | The Run key is what Task Manager's Startup tab shows and turns off (as for the Uploader). One value cannot serve two copies, and a copy that merely starts must not take it over. Portable mode keeps everything under `.\data` (BRIEF §6.2). |
|
||||
| 2026-10-12 | (Superseded by the sign-in entry cleanup row below: a value is removed only when it starts a program the install log lists.) The uninstaller removes the client's and the Uploader's HKCU Run values when their command starts a program in the folder it removes (`StartupCommand` in Titano.Core is shared by the programs and Setup) | Leave them; remove them whatever they start | Windows would otherwise keep a sign-in entry that points at a deleted exe; another copy's entry is not this uninstaller's to remove. |
|
||||
| 2026-10-12 | Toasts also become Windows notifications while no Chronos window is active, not only while the window is minimised or hidden; Settings › General › Notifications turns them off | Only when minimised, as BRIEF §12.1 words it | A window behind another program is as unseen as a minimised one; card prompts (§12.4) and job endings would expire unseen after 8 s. |
|
||||
| 2026-10-12 | Settings › General › Startup writes the HKCU Run value `Chronos` = `"<exe>" --minimized`. The window starts minimised, and its first restore brings back the saved maximised state. The value counts as on only when it starts this executable; it is rewritten only when an update renamed the program in this copy's folder, and only the copy it starts removes it. Portable copies hide the row and write nothing to the registry | Scheduled task; one value per copy; rewrite the value at every start | The Run key is what Task Manager's Startup tab shows and turns off (as for the Uploader). One value cannot serve two copies, and a copy that merely starts must not take it over. Portable mode keeps everything under `.\data` (BRIEF §6.2). |
|
||||
| 2026-10-12 | (Superseded by the sign-in entry cleanup row below: a value is removed only when it starts a program the install log lists.) The uninstaller removes the client's and the Uploader's HKCU Run values when their command starts a program in the folder it removes (`StartupCommand` in Chronos.Core is shared by the programs and Setup) | Leave them; remove them whatever they start | Windows would otherwise keep a sign-in entry that points at a deleted exe; another copy's entry is not this uninstaller's to remove. |
|
||||
| 2026-10-12 | The editor's 1:1 view moves from Ctrl+1 to Ctrl+Shift+1 (tooltip key `Tooltips.Editor.Preview.OneToOne`). Ctrl+1…6 (number row and keypad) and Ctrl+, open the rail's sections and do nothing behind the first-run dialog | Change the rail's shortcuts instead | The rail tooltips already listed Ctrl+1…6 (BRIEF §12.1 "standard shortcuts, listed in tooltips"); section shortcuts must work everywhere, the 1:1 view only inside the editor. |
|
||||
| 2026-10-12 | Rail badges: Jobs counts running or paused jobs plus failures not yet seen on the Jobs screen (which also turn the idle taskbar button red). Server counts sync conflicts. Library counts the sequences of this PC flagged with warnings (the Warnings filter), recounted after analyses. Archive counts the index health lines that need attention, set when the Archive screen reads its figures | Badge running jobs only; read the archive figures at start for the Archive badge | BRIEF §12.1 asks for "badge counts (warnings, running jobs)", and DESIGN §4 defines the badge as the count of things needing attention. The Archive figures are a heavy read that the screen already does when it opens. |
|
||||
| 2026-10-12 | The taskbar button uses WPF's `Window.TaskbarItemInfo`, bound to the shell: the job bar's progress, an indeterminate bar while the total is unknown, and red while a failure waits unseen | `Titano.Core.Windows/Shell/TaskbarProgress` | WPF already wraps ITaskbarList3 for its windows, and a binding needs no window-handle plumbing. |
|
||||
| 2026-10-12 | The taskbar button uses WPF's `Window.TaskbarItemInfo`, bound to the shell: the job bar's progress, an indeterminate bar while the total is unknown, and red while a failure waits unseen | `Chronos.Core.Windows/Shell/TaskbarProgress` | WPF already wraps ITaskbarList3 for its windows, and a binding needs no window-handle plumbing. |
|
||||
| 2026-10-12 | Toasts and failure lines in WS-F say why an action failed with a catalog sentence chosen by cause: `ErrorText.ForServer` for requests to the signed-in server (the server's own localized message, else untrusted certificate, else not answering, else 'Something went wrong.'), `ImportFailures.Check/Erase` for card checks and deletes, `ArchiveFailures.Cause` for local saves. `ex.Message` stays in the log only. | Show `ex.Message` as the toast's second line | BRIEF §0.2 rules 5–6: framework and OS messages are technical English under a translated title. |
|
||||
| 2026-10-12 | The editor's own save and open failures are a typed `EditorException` (an `IOException`; `ProxiesOutdatedException` derives from it) whose message is already the catalog sentence, and the save toast shows it before any mapping by exception type. A project from a newer Titano reads as `Editor.Error.Project`. | Map every save failure by type (`ErrorText.ForServer` / `ArchiveFailures.Cause`) | Frames changed on the server, a 409 after the last retry, a gone sequence or a read-only account are I/O or invalid-operation failures by type, so mapping by type said 'The server does not answer' or 'Something went wrong' instead of what happened. |
|
||||
| 2026-10-12 | The editor's own save and open failures are a typed `EditorException` (an `IOException`; `ProxiesOutdatedException` derives from it) whose message is already the catalog sentence, and the save toast shows it before any mapping by exception type. A project from a newer Chronos reads as `Editor.Error.Project`. | Map every save failure by type (`ErrorText.ForServer` / `ArchiveFailures.Cause`) | Frames changed on the server, a 409 after the last retry, a gone sequence or a read-only account are I/O or invalid-operation failures by type, so mapping by type said 'The server does not answer' or 'Something went wrong' instead of what happened. |
|
||||
| 2026-10-12 | Keys whose count travels as data (analysis findings, advisor reasons) are plural stems whose count is their first argument, resolved by `Loc.Text`; a fractional or non-numeric count takes `other`. A text with two or more counts is written as labels ('Frames: 300, warnings: 2', 'Copied: 40 · failed: 2'). | A count index stored with each finding, or plural forms for every count of a multi-count text | One rule keeps stored deep reports and project reasons valid. Labels agree with no number in any language, and a cross product of plural forms is unworkable for translators. |
|
||||
| 2026-10-12 | `i18n check` fails on an English text that puts a number before a counted noun without plural forms (CountedNoun), and on a tally of two or more counts followed by participles or adjectives (CountedTally). A single '{0} failed' or '{0} missing' is not flagged. | Flag every placeholder followed by a participle | Before a single participle the placeholder is as often a name ('Import of {0} failed', a job kind in '{0} queued') or a size ('{0} missing') as a count, so CI would fail on correct texts. |
|
||||
| 2026-10-12 | Where the English reads correctly with a bare count and a mockup fixes that English (Uploader progress line), or where the key belongs to another area that needs no rewording in English (admin dashboard upload total), only the Italian takes the label form. | Reword the English as labels too and drop the other translations | Mockup wins for looks; the defect is only in languages whose participles agree with the number. |
|
||||
@@ -300,7 +300,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-12 | Offering and completing a render upload (`POST /sequences/{id}/renders`, `/renders/{uploadId}/complete`) needs the Edit permission | Upload or Edit, as for frame uploads | A render output counts against no quota and changes what the sequence shows to everyone. Clients already offer Send exports only with Upload plus Edit, so no flow breaks. |
|
||||
| 2026-10-12 | A client that imports a card into the server reports it through `POST /api/v1/uploads/cards` (Upload permission). The server republishes each report as `cardEvent`, naming the account and client. A server without the endpoint (404) gets no further reports | Server-side detection from upload session keys | The server sees single uploads, not the card, the plan's size or when the import ends. §14.3 names the event but not its source. |
|
||||
| 2026-10-12 | Project frame positions (exclusions, hero, camera keyframes) stay positions in `project.json`. When the index takes a sidecar in which frames were only inserted, they move with their frames, inside the index transaction and under the sequence lease, without a new settings version. `project.json` follows unless it was written since. Any other frame change leaves them as they are | Store exclusions and the hero by frame id; bump `settings_version` on a move | Keeps the project format and old projects. Each copy (server, synced PC) moves its own positions when it receives the same frames, whereas a version bump would make sync push a move the other copy then makes again. The lease makes a local editor's save read the moved positions and merge onto them, and remote editors already go read-only when frames change. |
|
||||
| 2026-10-12 | A damaged or wrong-size original replaced by a verified re-upload is kept beside it as `<name>.damaged-<UTC time>` and is never deleted by Titano | Delete it after the repair, or move it to the trash | BRIEF §0.2 rule 8 forbids automatic deletion. Scans ignore the name, and the user decides. |
|
||||
| 2026-10-12 | A damaged or wrong-size original replaced by a verified re-upload is kept beside it as `<name>.damaged-<UTC time>` and is never deleted by Chronos | Delete it after the repair, or move it to the trash | BRIEF §0.2 rule 8 forbids automatic deletion. Scans ignore the name, and the user decides. |
|
||||
| 2026-10-12 | The Uploader deletes a source only after its own verified upload, not when the server answers that it already holds the content, so such watch-folder files stay | Also delete on "already on the server" | That answer comes without the server re-reading the bytes. BRIEF §15 deletes after a verified upload only. |
|
||||
| 2026-10-12 | An upload whose target sequence (the requested one, or the one its session key names) already holds its content is free: a repair adds no used bytes, and the quota checks at start and completion skip it | Charge every committed upload | The archive does not grow. `used_bytes` is never recomputed, so charged repairs drifted it upward and could refuse the repair itself. |
|
||||
| 2026-10-12 | The upload shortcut and the recovery of a crashed commit accept only an intact copy (no missing or corrupt flag, file present with its size), the target sequence's own copy first. A target that holds the content only in damaged copies always gets the bytes | Any copy in the archive | A client may delete its file on "already exists", and another sequence's copy cannot repair the target's frame. |
|
||||
@@ -316,16 +316,16 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-12 | The MakerNote intervalometer hint is read from Panasonic `TimerRecording` only and kept as `FrameFlags.Intervalometer`; when most frames carry it, gaps are deliberate pauses and the advisor picks adaptive timing | Parse Fujifilm and Olympus drive-mode tags; a nullable sidecar field and index column | Nikon keeps the state in its encrypted ShotInfo, and Canon, Sony, Fujifilm and Olympus document no interval-shooting tag (their drive modes list single, continuous and bracketing); a flag bit travels through sidecar, index, sync and protocol without a migration. Frames indexed earlier gain it only when they are adopted again. |
|
||||
| 2026-10-12 | The RAW size (Canon sRAW/mRAW, Nikon RAW M/S) is read into `FrameMetadata` but not stored per frame | A sidecar and index field | Nothing in the brief consumes it beyond parsing; the decode tier already reflects sRAW (the CR2 developer refuses it, so such frames fall to the preview tier with that reason). |
|
||||
| 2026-10-12 | The MakerNote exposure mode (Canon, Olympus, Fujifilm, Panasonic, Sony) fills `ExposureProgram` only when Exif has none | Prefer the vendor value | Exif is the standard field most cameras write; the vendor value covers bodies that leave it out. |
|
||||
| 2026-10-12 | `PRAGMA compile_options` is probed once per process, logged and written to the diagnostics bundle; any failure gives an empty list | Fail opening the index; probe on every open | BRIEF §6.2 makes it informational: Titano uses no optional SQLite feature (FTS, JSON). |
|
||||
| 2026-10-12 | `PRAGMA compile_options` is probed once per process, logged and written to the diagnostics bundle; any failure gives an empty list | Fail opening the index; probe on every open | BRIEF §6.2 makes it informational: Chronos uses no optional SQLite feature (FTS, JSON). |
|
||||
| 2026-10-12 | Frames both analyses find undecodable are one finding over the union of both lists, at the higher severity | Keep the light finding and drop the deep one | The deep pass also lists missing and corrupt frames and those beyond this host's decoders, which are never flagged; dropping its finding hid them and miscounted. |
|
||||
| 2026-10-12 | A `.titano` project file is versioned UTF-8 JSON (`titano-project`, formatVersion 1) that names the archive (id, name, path) and the sequence (id, folder, title, frame count) and carries the project.json settings. Opening it finds the sequence by id, otherwise by the same folder in the same archive, and applies the settings as one undo step. | A self-contained bundle (zip with frames or proxies), or a bare copy of project.json | Frames live in the archive and the index already knows them. A small reference plus settings is what BRIEF §18's file association needs, survives an index rebuild (folder fallback) and never duplicates photos. |
|
||||
| 2026-10-12 | One Titano per data folder: a named mutex keyed by the data folder's hash. A later launch hands its arguments over a current-user named pipe. The running one listens from the moment it holds the mutex and queues messages until its window exists. It stops listening when its window closes but keeps the mutex until its services have stopped. A launch that gets no answer waits up to 30 s for it to exit and starts in its place. An elevated instance's mutex counts as 'running'. | Several instances on one data folder, one instance per user, or exiting when the hand-over fails | Two processes would share one SQLite index and job engine. Portable copies have their own data folder. Without the queue and the wait, a file double-clicked during start-up or just after closing was silently dropped. |
|
||||
| 2026-10-12 | A `.chronos` project file is versioned UTF-8 JSON (`chronos-project`, formatVersion 1) that names the archive (id, name, path) and the sequence (id, folder, title, frame count) and carries the project.json settings. Opening it finds the sequence by id, otherwise by the same folder in the same archive, and applies the settings as one undo step. | A self-contained bundle (zip with frames or proxies), or a bare copy of project.json | Frames live in the archive and the index already knows them. A small reference plus settings is what BRIEF §18's file association needs, survives an index rebuild (folder fallback) and never duplicates photos. |
|
||||
| 2026-10-12 | One Chronos per data folder: a named mutex keyed by the data folder's hash. A later launch hands its arguments over a current-user named pipe. The running one listens from the moment it holds the mutex and queues messages until its window exists. It stops listening when its window closes but keeps the mutex until its services have stopped. A launch that gets no answer waits up to 30 s for it to exit and starts in its place. An elevated instance's mutex counts as 'running'. | Several instances on one data folder, one instance per user, or exiting when the hand-over fails | Two processes would share one SQLite index and job engine. Portable copies have their own data folder. Without the queue and the wait, a file double-clicked during start-up or just after closing was silently dropped. |
|
||||
| 2026-10-12 | The Server component installs only for all users in a folder inside Program Files or Program Files (x86), not Program Files itself. Upgrading an installation elsewhere (per-user, or all-users in another folder) cannot add it, and a Server it carried is dropped with its service. | A protected DACL set by setup on a custom folder, or only a warning | A LocalSystem service must not start a program a standard user can replace (CWE-732). Program Files' inherited permissions already guarantee that, while rewriting ACLs on arbitrary drives (FAT, network shares, folders with other files) is unreliable. |
|
||||
| 2026-10-12 | Setup changes only services, sign-in entries and shortcuts that start a program its install log or payload lists, with full paths compared ignoring case. The services are stopped, started, pruned or deleted through the Service Control Manager. An unelevated setup runs `/SERVICES=… /NAMES=… /DIR=…` in an elevated copy that reads each named service again and refuses one that no longer starts such a program. | Everything under the install folder; sc.exe; trusting the caller's list | The folder may be shared (D:\Apps, /DIR="C:\Program Files"). No external processes may run. An elevated step must not act on what an unelevated caller merely names. |
|
||||
| 2026-10-12 | Setup asks programs to close before touching any service. On install it stops the running services, then installs, then prunes services whose program is gone and starts exactly the ones it stopped, whatever their start type. On uninstall it deletes the services only once the programs have closed, just before the files go. Any failure after a stop starts those services again. | Stop or delete services first; start every automatic service after an upgrade | A program refusing to close left the Server stopped, or its service already deleted, and a failed upgrade left it down until reboot. An administrator's deliberately stopped service, or a running demand-start one, keeps its state. |
|
||||
| 2026-10-12 | User data ownership in %LOCALAPPDATA%\Titano: entries starting with `uploader` (also inside `logs`) are the Uploader's, everything else the desktop app's. 'Remove my data' offers only the data of the uninstalled product's components that no other registered Titano product (same Publisher) has. A product whose folder or log cannot be read now counts as using all of it. | Delete the whole folder; hide the option whenever another product is registered | The products share the folder. An offline drive or damaged log must not make a still-installed product's index or upload queue look orphaned. A stale entry only hides the option, which is the safe direction. |
|
||||
| 2026-10-12 | A shortcut that starts an existing program elsewhere is not created or retargeted, but it is logged. When the product it starts is uninstalled (or an upgrade drops it), the shortcut is pointed at the same program of another installation of the same scope whose log lists it, and only deleted when there is none. | Each product overwrites and deletes the shared 'Titano Uploader' shortcuts; distinct names per product | Both products ship the Uploader under the same shortcut name. The program that stays installed keeps its Start menu and desktop shortcuts, and neither uninstall touches the other's. |
|
||||
| 2026-10-12 | Sign-in entry cleanup: SetupRegistry.DeleteStartupEntries removes the client's ('Titano') and the Uploader's ('Titano Uploader') Run values, named by Core/IO/StartupCommand, only when they start a program the install log lists. This happens on uninstall, and on an upgrade that drops the program's component; an upgrade that renames the program moves the entry instead (see the sign-in entry move row below). | Every Run value under the folder (first version); the folder-scoped variant of fix/shell-notify | Nothing outside Titano's own value names and installed programs is touched, so a portable copy in a subfolder keeps its entry. |
|
||||
| 2026-10-12 | User data ownership in %LOCALAPPDATA%\Chronos: entries starting with `uploader` (also inside `logs`) are the Uploader's, everything else the desktop app's. 'Remove my data' offers only the data of the uninstalled product's components that no other registered Chronos product (same Publisher) has. A product whose folder or log cannot be read now counts as using all of it. | Delete the whole folder; hide the option whenever another product is registered | The products share the folder. An offline drive or damaged log must not make a still-installed product's index or upload queue look orphaned. A stale entry only hides the option, which is the safe direction. |
|
||||
| 2026-10-12 | A shortcut that starts an existing program elsewhere is not created or retargeted, but it is logged. When the product it starts is uninstalled (or an upgrade drops it), the shortcut is pointed at the same program of another installation of the same scope whose log lists it, and only deleted when there is none. | Each product overwrites and deletes the shared 'Chronos Uploader' shortcuts; distinct names per product | Both products ship the Uploader under the same shortcut name. The program that stays installed keeps its Start menu and desktop shortcuts, and neither uninstall touches the other's. |
|
||||
| 2026-10-12 | Sign-in entry cleanup: SetupRegistry.DeleteStartupEntries removes the client's ('Chronos') and the Uploader's ('Chronos Uploader') Run values, named by Core/IO/StartupCommand, only when they start a program the install log lists. This happens on uninstall, and on an upgrade that drops the program's component; an upgrade that renames the program moves the entry instead (see the sign-in entry move row below). | Every Run value under the folder (first version); the folder-scoped variant of fix/shell-notify | Nothing outside Chronos's own value names and installed programs is touched, so a portable copy in a subfolder keeps its entry. |
|
||||
| 2026-10-12 | 'Maintenance release.' is written whenever no section or breaking entry was written, also under a title. | Test the output length | release.yml always passes a title, so the old check never fired (BRIEF §19.3). |
|
||||
| 2026-10-12 | A frame read from its proxy (an original this host cannot decode) records no decode tier: thumbnails drawn from the proxy, and renders or analyses that read it, leave the original's tier and flags as they are. | Record the proxy's tier | The tier describes the original on this host (BRIEF §8.2); a proxy that decodes says nothing about it, and its Undecodable flag must stay so renders keep reading the proxy. |
|
||||
| 2026-10-12 | *Reset all* also turns *Start with Windows* off; importing a settings file leaves it alone. | Keep the sign-in entry on reset | The entry belongs to this copy and lives in the registry, not in the settings file; its default is off, and a settings file from another PC says nothing about this copy. |
|
||||
@@ -346,23 +346,23 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-12 | The chunk route carries a 64 MiB request body limit (the largest chunk size a server accepts), which routing applies before authentication answers. The service also keeps the limit at least at the upload's and the server's chunk size and never lowers it. | Raise the limit only in the handler; read and discard the body on every early answer; a middleware between routing and authentication | Kestrel drains a body left unread after the answer, and closes the connection when that body exceeds the limit. A chunk sent again after a lost answer, sent to an unknown or finished upload, or sent with a revoked session then never got its 200, 404, 409, 401 or 403, and the client retried until it failed. Endpoint metadata is the framework's own hook and runs before any answer. |
|
||||
| 2026-10-12 | `PUT /api/v1/archive/settings` answers 409 `archive_policy`, with `thumbnailPolicy` or `proxyPolicy` in details, when archive.json holds a thumbnail size or proxy quality out of range that the API cannot set. | 400 (the request is valid); 409 `archive_manifest` (the file parses); normalising the values on write | The admin must correct the file, not the form. A 400, or a details value equal to a form field, would mark the valid proxy-size field invalid in the admin panel. Silently rewriting a policy another tool set is unsafe. |
|
||||
| 2026-10-12 | Desktop archive polling runs for the whole session. Each tick rescans the archive the Import and Archive screens use: the one registered at this PC's archive folder, else the first of the index. A folder chosen later (first run, Settings, relink, imported settings) is rescanned from the next tick. The start folder is reopened (relink, interrupted renames) once its archive.json is there, unless the folder changed meanwhile; a damaged or newer one is not retried. | Restart the polling loop on every folder change; keep polling the archive opened at start | One loop cannot race the code that opens the new archive, and Rescan every always reaches a live timer. A first-run session or a drive unplugged at start no longer goes without rescans. |
|
||||
| 2026-10-12 | When another process sharing the archive (a server's admin panel, another PC) changes archive.json, this index catches up when Settings › Archive loads it, before each rescan (desktop and server) and when the server's admin panel opens its archive form. Name, templates and proxy size are registered again from the file without the settings lease. A file that cannot be read, was written by a newer Titano, or belongs to another archive leaves the row alone. The server serves the re-read archive only when the refresh registered a change, and never over an administrator's edit saved since it read the archive (compare-and-swap). | Read the templates from archive.json at every import and upload; refresh only at start | Imports, uploads and the admin panel use the index row, and the admin form saves every field: a stale row lasts only until the next refresh, and an edit made meanwhile registers its own row. |
|
||||
| 2026-10-12 | When another process sharing the archive (a server's admin panel, another PC) changes archive.json, this index catches up when Settings › Archive loads it, before each rescan (desktop and server) and when the server's admin panel opens its archive form. Name, templates and proxy size are registered again from the file without the settings lease. A file that cannot be read, was written by a newer Chronos, or belongs to another archive leaves the row alone. The server serves the re-read archive only when the refresh registered a change, and never over an administrator's edit saved since it read the archive (compare-and-swap). | Read the templates from archive.json at every import and upload; refresh only at start | Imports, uploads and the admin panel use the index row, and the admin form saves every field: a stale row lasts only until the next refresh, and an edit made meanwhile registers its own row. |
|
||||
| 2026-10-12 | While the open archive's archive.json cannot be read, Settings › Archive shows the index's templates and proxy size and keeps this PC's thumbnail size, which the index does not store. | Show and save the default thumbnail policy | The stand-in 320 replaced the user's default for new archives whenever the archive was offline. |
|
||||
| 2026-10-12 | An Archive row edited (or Reset section) while the archive at a just-chosen folder is opening waits for that open. The edit then goes to the archive registered at that folder, or stays this PC's default when the folder holds none. An edit made before a later folder change still goes to the folder it was made for, and the rows show the archive at the folder chosen last. | Disable the Archive rows while the folder opens | The edit is neither lost silently nor written into another archive's shared archive.json. Nothing is disabled under the user's typing, where a field losing focus would commit anyway. |
|
||||
| 2026-10-12 | Start with Windows (client and Uploader) shows as on only while Task Manager has not turned the entry off, i.e. its StartupApproved\Run value does not have an odd first byte. The client reads it again when Settings is shown, the Uploader when its settings panel opens. Ticking the box deletes that value, unticking deletes it with the Run value, and re-pointing the command after a rename keeps it. Setup removes the value together with the Run value when it removes the entry (see the Task Manager state row below). | Read only the Run value; write 0x02 instead of deleting the marker | Task Manager keeps the Run value when it disables an entry, so the box stayed ticked and could not turn the entry back on. With no marker, Windows runs the entry. |
|
||||
| 2026-10-12 | (Partly superseded by the SyncEngines mount point row below: sync roots also come from HKCU\Software\SyncEngines\Providers\OneDrive\*\MountPoint.) A portable copy whose .\data would lie in a folder OneDrive synchronises keeps its data in %LOCALAPPDATA%\Titano. Sync roots come from the OneDrive environment variables and HKCU\Software\Microsoft\OneDrive\Accounts, matched by whole path segments, ignoring case. The copy otherwise stays portable (portable-zip updates, no sign-in entry) and shows a toast at every start (Data kept outside OneDrive, with Open). It then shares the data folder and the single instance with an installed copy of the same user. The Uploader keeps .\data, since its files are JSON written atomically. Other sync tools are not detected. | Refuse to start; a separate per-copy folder under %LOCALAPPDATA%\Titano | BRIEF §6.2 forbids synchronised folders and names the per-user folder as the location. A copy that refused to start would leave the user with nothing. |
|
||||
| 2026-10-12 | The .\data a portable copy now in a OneDrive folder used before (a titano.db or settings.json in it) is left as it is: the log and a toast at every start (Earlier data unused, with Open) name it. Nothing is copied, moved or deleted. | Move or copy it into %LOCALAPPDATA%\Titano at start | Moving an index is a destructive operation (dry-run plan, hash verification, explicit user action), and the per-user folder may already hold an installed copy's index; the user decides which to keep. |
|
||||
| 2026-10-12 | When %LOCALAPPDATA%\Titano itself lies in a OneDrive sync root, the client starts all the same, logs a warning and shows an error toast at every start (Data inside OneDrive, with Open; its tooltip says to exclude the folder from syncing) instead of Data kept outside OneDrive. AppPaths.CreateDirectories, which refuses such a folder, stays unused by the client. | Refuse to start | BRIEF §6.2 names no safer place than the per-user folder; a client that does not start leaves the user nothing, while the warning lets them fix the sync setup. |
|
||||
| 2026-10-12 | (Partly superseded by the SyncEngines mount point row below: sync roots also come from HKCU\Software\SyncEngines\Providers\OneDrive\*\MountPoint.) A portable copy whose .\data would lie in a folder OneDrive synchronises keeps its data in %LOCALAPPDATA%\Chronos. Sync roots come from the OneDrive environment variables and HKCU\Software\Microsoft\OneDrive\Accounts, matched by whole path segments, ignoring case. The copy otherwise stays portable (portable-zip updates, no sign-in entry) and shows a toast at every start (Data kept outside OneDrive, with Open). It then shares the data folder and the single instance with an installed copy of the same user. The Uploader keeps .\data, since its files are JSON written atomically. Other sync tools are not detected. | Refuse to start; a separate per-copy folder under %LOCALAPPDATA%\Chronos | BRIEF §6.2 forbids synchronised folders and names the per-user folder as the location. A copy that refused to start would leave the user with nothing. |
|
||||
| 2026-10-12 | The .\data a portable copy now in a OneDrive folder used before (a chronos.db or settings.json in it) is left as it is: the log and a toast at every start (Earlier data unused, with Open) name it. Nothing is copied, moved or deleted. | Move or copy it into %LOCALAPPDATA%\Chronos at start | Moving an index is a destructive operation (dry-run plan, hash verification, explicit user action), and the per-user folder may already hold an installed copy's index; the user decides which to keep. |
|
||||
| 2026-10-12 | When %LOCALAPPDATA%\Chronos itself lies in a OneDrive sync root, the client starts all the same, logs a warning and shows an error toast at every start (Data inside OneDrive, with Open; its tooltip says to exclude the folder from syncing) instead of Data kept outside OneDrive. AppPaths.CreateDirectories, which refuses such a folder, stays unused by the client. | Refuse to start | BRIEF §6.2 names no safer place than the per-user folder; a client that does not start leaves the user nothing, while the warning lets them fix the sync setup. |
|
||||
| 2026-10-12 | A photo an import could not copy shows one catalog sentence beside it on the Import screen and in the import job's log (`ImportExecutor.FailureText`: the executor's own checks, a full destination, access denied, else 'The photo could not be read or copied.'). So does a card file the plan cannot read ('Cannot read {0}: {1}'). The photos a stopped folder or server import never reached show the stop's cause (`ImportFailures.Stop`: the server's own sentence, not answering, untrusted certificate, card gone, destination full or not writable), and a failed index check reads `Archive.Failed.Index`. The system's text goes to the application log only. | Keep `ex.Message` beside each photo, or move it into each line's tooltip | BRIEF §0.2 rules 5–6, as for toasts (2026-10-12): framework and OS messages are technical English under a translated screen, and each failure is already logged with its exception. |
|
||||
| 2026-10-12 | An error reply that is not the server's own JSON (a reverse proxy's 502/503/504 page while the server restarts, its 413, a bare 500) says what its status means: too large (413), too many attempts (429), the server does not answer (408 and gateway errors), unexpected server error (other 5xx), else 'Something went wrong.' Only a reply with a Titano error code shows its message. | Show the HTTP reason phrase; drop it in `TitanoClient` | The reason phrase is English protocol text (BRIEF §0.2 rules 5–6). Behind the documented NAS proxy it reached every unreached photo, and the client must keep it for the log. |
|
||||
| 2026-10-12 | An error reply that is not the server's own JSON (a reverse proxy's 502/503/504 page while the server restarts, its 413, a bare 500) says what its status means: too large (413), too many attempts (429), the server does not answer (408 and gateway errors), unexpected server error (other 5xx), else 'Something went wrong.' Only a reply with a Chronos error code shows its message. | Show the HTTP reason phrase; drop it in `ChronosClient` | The reason phrase is English protocol text (BRIEF §0.2 rules 5–6). Behind the documented NAS proxy it reached every unreached photo, and the client must keep it for the log. |
|
||||
| 2026-10-12 | Picking another archive, or the shown archive leaving the index, also clears the previous archive's tiles, charts, last scan, recent runs and rail badge, and its read state, until the new archive is read. Picking the first archive again before that read ends does not count it as read either | Keep them until the read ends and clear them only when it fails; a loading state drawn over the old figures | Probing an offline NAS takes seconds and a failed read never replaces anything, so the old figures stood under the new archive's name. An empty overview is the simplest honest state. |
|
||||
| 2026-10-12 | A finished render is announced once, by whoever claims it first (`JobsViewModel.ClaimRenderToast`). The Jobs screen yields while the open editor still follows the render (`EditorViewModel.FollowsRender`). That editor announces it with the output and Show in folder. Without them, it still announces it when the sequence cannot be read again or when it closed in between. A render no editor follows is announced by the Jobs screen | The Jobs screen stays silent whenever an editor has the sequence open; first come, first served | The editor only announced renders it saw running, and only after reading the sequence again, so a failed read or an unfollowed render got no completion toast, against the job-ending rule (2026-10-12). The order of the Jobs flush and the editor's callback is not fixed, so 'first' alone could lose the output file. |
|
||||
| 2026-10-12 | Open on a job that worked on several sequences (toast, Windows notification, Jobs row) shows the Library with every one of them selected under the mass actions bar. Search and filters are cleared when they hide one, and pages are read until each is listed. A job over more sequences than a Library page (200, e.g. Rebuild proxies over an archive) opens the Library as it is | Open the first in the editor; lead to the Jobs screen; a Library filter by job; select every target of any job | One editor holds one sequence. The selection is what the job was started from and its results show on the cards; it needs no new filter chip or strings. Looking up, paging through and selecting a whole archive would hold the UI thread for seconds. |
|
||||
| 2026-10-12 | (Partly superseded by the console-run data folder recovery row below: `takeown /A /R`, then `icacls /remove:g` of the account the console ran as, never `/reset`.) When the Windows service fails to start or stop, it writes the reason to the Application event log as source `TitanoServer` (advapi32 `ReportEventW`; event 1 start, event 2 stop) as well as to stderr. The reason comes first (the refused entry), then the exception. The source is not registered with a message file. The Windows README says where to look. It also says how to fix a data folder created by an unelevated console run: delete it (with SQLite, the database goes with it), or `takeown /A /R` and `icacls /reset /T` it from an administrator prompt, after which the server makes it private again. | Register the source at `--install-service` with .NET Framework's EventLogMessages.dll; `System.Diagnostics.EventLog`; a log file outside the data folder; re-own only the folder | A service has no console, and the data folder refusal comes before the log file exists (the log folder may itself be the refused entry), so the SCM recorded only error 1064. Event Viewer shows an unregistered source's text whole, after a 'description not found' line. Nothing is written to the registry, so setup's uninstall has nothing more to clean up, and nothing depends on a message DLL being present or extracted from the single-file build. The server checks the owner of every entry, and the TLS key and password file keep a protected DACL granting the console user, so the folder alone is not enough. |
|
||||
| 2026-10-12 | Deployment guidance (compose comments, releases README, Unraid template) lists the reverse proxy container's own fixed address in `TITANO_TRUSTED_PROXIES`: a fixed IP on a user-defined network shared with Titano, reached on that network rather than through a published port. It warns never to list a subnet, the network gateway or Docker's default bridge. For a proxy on the Docker host itself, Titano runs with `network_mode: host` and the proxy reaches it over loopback. This replaces 'its address or subnet' in the trusted-proxies row above. | Keep recommending the shared network's subnet; make the server refuse gateway addresses | Docker's userland proxy relays IPv6 clients and the host's own connections to published ports from the gateway. On Unraid's default bridge the subnet also covers every other container. Trusting a subnet would let any of them set X-Forwarded-For/Proto again. The server cannot tell a gateway from a proxy, so the guidance has to carry the rule. |
|
||||
| 2026-10-12 | (Partly superseded by the console-run data folder recovery row below: `takeown /A /R`, then `icacls /remove:g` of the account the console ran as, never `/reset`.) When the Windows service fails to start or stop, it writes the reason to the Application event log as source `ChronosServer` (advapi32 `ReportEventW`; event 1 start, event 2 stop) as well as to stderr. The reason comes first (the refused entry), then the exception. The source is not registered with a message file. The Windows README says where to look. It also says how to fix a data folder created by an unelevated console run: delete it (with SQLite, the database goes with it), or `takeown /A /R` and `icacls /reset /T` it from an administrator prompt, after which the server makes it private again. | Register the source at `--install-service` with .NET Framework's EventLogMessages.dll; `System.Diagnostics.EventLog`; a log file outside the data folder; re-own only the folder | A service has no console, and the data folder refusal comes before the log file exists (the log folder may itself be the refused entry), so the SCM recorded only error 1064. Event Viewer shows an unregistered source's text whole, after a 'description not found' line. Nothing is written to the registry, so setup's uninstall has nothing more to clean up, and nothing depends on a message DLL being present or extracted from the single-file build. The server checks the owner of every entry, and the TLS key and password file keep a protected DACL granting the console user, so the folder alone is not enough. |
|
||||
| 2026-10-12 | Deployment guidance (compose comments, releases README, Unraid template) lists the reverse proxy container's own fixed address in `CHRONOS_TRUSTED_PROXIES`: a fixed IP on a user-defined network shared with Chronos, reached on that network rather than through a published port. It warns never to list a subnet, the network gateway or Docker's default bridge. For a proxy on the Docker host itself, Chronos runs with `network_mode: host` and the proxy reaches it over loopback. This replaces 'its address or subnet' in the trusted-proxies row above. | Keep recommending the shared network's subnet; make the server refuse gateway addresses | Docker's userland proxy relays IPv6 clients and the host's own connections to published ports from the gateway. On Unraid's default bridge the subnet also covers every other container. Trusting a subnet would let any of them set X-Forwarded-For/Proto again. The server cannot tell a gateway from a proxy, so the guidance has to carry the rule. |
|
||||
| 2026-10-12 | Sign-in entry move: on an upgrade, setup moves the client's or the Uploader's sign-in entry that starts a program the upgrade removes. The entry then starts the program of the same component in the new payload (its shortcut target), with the same options and value name. The entry is removed only when that component is no longer installed. Uninstall removes the entries of the programs its log lists, as before. | Delete the entry and let the client follow it (impossible: nothing is left to follow); remove the client's follow and drop rename support | Setup runs while the programs are closed and knows both the removed and the new program. So the rename case of the Startup row ('rewritten only when an update renamed the program') survives the upgrade, and Task Manager's on/off state stays with the unchanged value name. The client's own follow remains for an entry setup did not move. |
|
||||
| 2026-10-12 | Setup removes a sign-in entry's Task Manager state (`StartupApproved\Run` value of the same name) together with the entry; an entry an upgrade moves to a renamed program keeps it. | Leave the value (Windows ignores it without a Run value) | Uninstall leaves nothing of the entry behind, and an entry the user turned off stays off after an upgrade that renames its program. |
|
||||
| 2026-10-12 | A scan reads a sidecar again under the sequence lease when it lists other frames than the index row, then moves the project's positions and indexes it. This happens when another process (a desktop sharing the archive, through its ArchiveIngest) added, removed or renumbered frames together with their sidecar entries. On a server (`ArchiveServiceOptions.ImagesAfterScan`) the scan clears AnalyzedLight, ThumbsBuilt and ProxiesBuilt in its own row only, so its follow-ups queue the light analysis and both image passes, whose marks set the flags in both places again. The shared sidecar keeps the writer's flags, and a desktop clears nothing. Photos the scan reconciles itself still clear the three flags in the sidecar. | Clear the flags in the sidecar on every host; clear them in ArchiveIngest at every insert; clear them in the row on every host | Row 'A server's scan queues…' covered only photos copied in by hand, which Reconcile finds. The frames another Titano writer listed answered 404 on /thumb and /proxy until a pass was forced by hand. Cleared in the shared sidecar, a desktop's poll after every server upload cleared flags the server's post-upload passes had just set, and the server then repeated the analysis and both passes. Cleared in a desktop's row, its Library would show no proxies until the sidecar next changed, and the light analysis would run again with the desktop's codecs. Clearing at every insert was rejected before (row 'The server's manifests…'). |
|
||||
| 2026-10-12 | A scan reads a sidecar again under the sequence lease when it lists other frames than the index row, then moves the project's positions and indexes it. This happens when another process (a desktop sharing the archive, through its ArchiveIngest) added, removed or renumbered frames together with their sidecar entries. On a server (`ArchiveServiceOptions.ImagesAfterScan`) the scan clears AnalyzedLight, ThumbsBuilt and ProxiesBuilt in its own row only, so its follow-ups queue the light analysis and both image passes, whose marks set the flags in both places again. The shared sidecar keeps the writer's flags, and a desktop clears nothing. Photos the scan reconciles itself still clear the three flags in the sidecar. | Clear the flags in the sidecar on every host; clear them in ArchiveIngest at every insert; clear them in the row on every host | Row 'A server's scan queues…' covered only photos copied in by hand, which Reconcile finds. The frames another Chronos writer listed answered 404 on /thumb and /proxy until a pass was forced by hand. Cleared in the shared sidecar, a desktop's poll after every server upload cleared flags the server's post-upload passes had just set, and the server then repeated the analysis and both passes. Cleared in a desktop's row, its Library would show no proxies until the sidecar next changed, and the light analysis would run again with the desktop's codecs. Clearing at every insert was rejected before (row 'The server's manifests…'). |
|
||||
| 2026-10-12 | Writers that change part of a sequence write the sidecar and the index under one sequence lease. The index is written from the sidecar read under that lease, and only in the columns the writer owns. These are decode tiers (`SequenceRepository.RecordTiersAsync`), image-pass flags (`UpdateStatusAsync`), the verify (`RecordVerifiedAsync`) and integrity and duplicate flags. Title, tags, rating and notes go through `EditAsync` at the settings version read under the lease; the edit is applied again on a conflict, and the sidecar is then written from the stored row. A mass rename uses `RelocateAsync`: the folder, and the title only for a step that retitles. | Read the row FOR UPDATE and upsert the whole row from the sidecar | A whole row written from a sidecar this index had not synced claimed another process's frame count and frames version while the frames table lagged. It also wrote back settings committed after the row was read: an analysis's Auto values, or a server PATCH, which takes no lease. Column writes cannot undo either. |
|
||||
| 2026-10-12 | Such a writer records the folder's scan stamps after its write only when, before that write, the index held the folder as it was (`ArchiveIndexer.InStepAsync`). That means the stamps stored for the folder are still the sidecar's and the photo folder's, and the row holds the sidecar's frames version. Otherwise the folder stays changed for the next incremental scan, which writes the whole row from the sidecar. A folder that a nested sequence moved out of during a mass rename is therefore read again by the next scan. | Compare only the frames versions; record the stamps unconditionally | Partial writers no longer carry the whole sidecar into the index. A desktop's retitle, rating, import or verify therefore reaches the server's index only through a scan, and stamps recorded by a later partial write hid it until the folder changed again. The stored stamps tell whether anything other than this index's own writes touched the folder. The frames version also catches a sidecar rewritten at the same size within the file system's time resolution. `SyncService.ApplyLocallyAsync` (sync workstream) still records stamps unconditionally after its metadata write. |
|
||||
| 2026-10-12 | An image pass sets ThumbsBuilt or ProxiesBuilt in two cases, and otherwise clears it. First, when it covered every frame it read and the sidecar under the lease still lists those photos: same id, index, file, size and capture time, and the same hash unless the pass read none. Second, when a pass of the same kind is already queued for the sequence. | Clear whenever the frames differ; compare only the frames version | Thumbnails and proxies are kept by frame index. A pass that read the frames before a scan's reconcile must not set the flag the scan cleared, or no pass is queued for the new photos. During an upload burst every pass is overtaken, and clearing then left a server unable to offer any thumbnail or proxy of the sequence until uploads paused. The queued pass draws the new frames, as between an upload and its pass (row 'The server's manifests…'). |
|
||||
@@ -376,9 +376,9 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-12 | (Superseded by the row below: a proxy cache counts as filled only when every frame is cached as a proxy.) With Keep proxies offline, a stale proxy cache of a server sequence without `ProxiesBuilt` is compared with the manifest's per-frame `HasProxy`. This happens once per change of the server's update time. A frame offered as a proxy that the cache holds only a thumbnail for (or a file of unknown kind, or nothing) queues the background proxy download. A comparison that queued a download counts only once that download is done: a failed or cancelled one is compared again after its backoff. This refines the proxy-cache kinds row. | Wait for `ProxiesBuilt`; read the manifest at every refresh; offer a manual re-download on ProxiesOnly rows | `ProxiesBuilt` waits for every frame, and a missing or damaged frame never gets a proxy, so the flag never came. A proxy that arrives leaves a new update time through the proxy pass it queues. One manifest read per change is enough, and a download that cannot improve the cache is not queued again. The server's sequence may never change after a failed download, so the failure itself must reopen the comparison. |
|
||||
| 2026-10-12 | `PUT /api/v1/frames/{id}/proxy` carries its 64 MiB request body limit (`ArchiveImages.MaxProxyBytes`) as endpoint metadata, as the chunk route does; the handler no longer raises it. | Raise the limit in the handler after the frame checks (as before) | Authentication's 401 and 403 and the handler's 404 and 422 answered with the proxy unread. For a proxy above 1 MiB, Kestrel then closed the connection, and clients retried a network error instead of stopping on 401/403 or skipping the frame on 404/422. |
|
||||
| 2026-10-12 | Settings › Archive never shows a read of the open archive's settings (index row and archive.json) that overlapped an Archive row edit being written (`ArchiveReadGate`). The read waits until no edit is being written and is made again, so a folder change or the reload when Settings is shown is done only once the rows show the archive's values. A read waits for every edit being written, whichever archive the edit is for. | Serialise reads and edits behind one lock; take the settings lease for reads; drop the overlapped read and leave the reload to the edit's end; key the gate by archive | A lease-free read on a share that is waking up can return archive.json from before the edit. Showing it would put the old value back on the row and in this PC's defaults while the archive keeps the edit. A lock would still apply a read begun before the edit over the value the user had just committed. Leaving the reload to the edit's end let a folder change finish while the rows still showed the archive before it. Waiting for edits to other archives costs at most one edit's write, and keeps the rule simple. |
|
||||
| 2026-10-12 | A sink whose staging folder is on this PC (`IImportSink.StagesOnThisPc`: the server import, which stages in the cache folder) names that folder when staging fails. A full disk reads 'The drive of this PC's cache folder is full.' (beside each photo and as the stop cause), and a refused write reads 'Titano may not write to this PC's cache folder.' | Keep 'The destination is full.' and 'Titano may not write to the destination.'; check this PC's free space in the server plan | The server answers for its own space and rights with its own sentences, so in a server import these failures always concern this PC. The plan's space check is the quota, and staging holds one batch at a time. |
|
||||
| 2026-10-12 | A sink whose staging folder is on this PC (`IImportSink.StagesOnThisPc`: the server import, which stages in the cache folder) names that folder when staging fails. A full disk reads 'The drive of this PC's cache folder is full.' (beside each photo and as the stop cause), and a refused write reads 'Chronos may not write to this PC's cache folder.' | Keep 'The destination is full.' and 'Chronos may not write to the destination.'; check this PC's free space in the server plan | The server answers for its own space and rights with its own sentences, so in a server import these failures always concern this PC. The plan's space check is the quota, and staging holds one batch at a time. |
|
||||
| 2026-10-12 | A failed archive import job shows on the Import screen the archive engine's own sentence when the job's error is one: offline, read-only, busy, newer format, card gone, or a photo it could not add. These are matched against the catalog in the language shown. Any other error shows 'The import stopped before the end.', and the job's text stays in the tooltip and the logs. | Show `job.Error`; map exceptions to sentences in the import job handler | The job engine keeps only the exception's message, which for SQLite, file moves and the framework is technical English. BRIEF §0.2 rules 5–6 and the 2026-10-12 per-photo row keep such text off a translated screen. A job that failed before a language switch reads as the catalog's sentence. |
|
||||
| 2026-10-12 | (Partly supersedes the README part of the service start-up row above.) The Windows README fixes a data folder created by an unelevated console run from a Command Prompt run as administrator: `takeown /A /R`, then `icacls /remove:g "PC\name" /T`. PC\name is the account the service's refusal names (`dir /q C:\ProgramData` shows it as the folder's owner until takeown); `%USERDOMAIN%\%USERNAME%` is that account only when the prompt runs as whoever ran the console. Ownership goes to Administrators, and that account's entries come off the folder, the TLS key and the password file. No other account gains access at any step. | `icacls /reset /T`; `/remove:g "%USERDOMAIN%\%USERNAME%"` from the prompt's account; delete the secrets and let the server make new ones; have the server re-apply its DACL to every protected child | A reset makes everything inherit %ProgramData%'s ACL: every local user could read titano.db, the TLS private key and the temporary admin password, and could plant files that stop the next start. A standard user may create the folder (Users may create folders in C:\ProgramData), and the administrator who repairs it then runs the prompt as another account, so the prompt's own name would remove nothing and leave the key and password readable by that user. Deleting initial-admin-password.txt loses the only copy of the temporary password of an administrator the console run already created. |
|
||||
| 2026-10-12 | (Partly supersedes the README part of the service start-up row above.) The Windows README fixes a data folder created by an unelevated console run from a Command Prompt run as administrator: `takeown /A /R`, then `icacls /remove:g "PC\name" /T`. PC\name is the account the service's refusal names (`dir /q C:\ProgramData` shows it as the folder's owner until takeown); `%USERDOMAIN%\%USERNAME%` is that account only when the prompt runs as whoever ran the console. Ownership goes to Administrators, and that account's entries come off the folder, the TLS key and the password file. No other account gains access at any step. | `icacls /reset /T`; `/remove:g "%USERDOMAIN%\%USERNAME%"` from the prompt's account; delete the secrets and let the server make new ones; have the server re-apply its DACL to every protected child | A reset makes everything inherit %ProgramData%'s ACL: every local user could read chronos.db, the TLS private key and the temporary admin password, and could plant files that stop the next start. A standard user may create the folder (Users may create folders in C:\ProgramData), and the administrator who repairs it then runs the prompt as another account, so the prompt's own name would remove nothing and leave the key and password readable by that user. Deleting initial-admin-password.txt loses the only copy of the temporary password of an administrator the console run already created. |
|
||||
| 2026-10-12 | (Partly supersedes the portable OneDrive row above.) Sync roots also come from `HKCU\Software\SyncEngines\Providers\OneDrive\*\MountPoint`, where OneDrive registers each folder it syncs, including SharePoint and Teams libraries synced with their Sync button. | Read `Accounts\*\Tenants` or `ScopeIdToMountPointPathCache` | Such libraries lie beside the account's UserFolder (`%USERPROFILE%\<tenant>\<site> - <library>`), not in it. The SyncEngines key is the documented location Office itself reads to find synced files (Microsoft Learn, cloud storage partner program); the other values are undocumented. |
|
||||
| 2026-10-12 | An analysis records nothing when the frames it read are no longer the sequence's. Under the sequence lock it reads the sidecar and the index row. If the sidecar's frames version differs from the row's, another process (a desktop sharing a server's archive, or that server) changed the frames and this index does not hold them yet. The job then logs `Advisor.Log.FramesChangedElsewhere` and queues nothing: that process analyses the frames it changed, and this host's next scan indexes them. A server's scan then queues their light analysis; a desktop's scan takes the statuses from the sidecar. If the row's version moved since the analysis read it and no light analysis is queued for the sequence, the job logs `Advisor.Log.FramesChanged` and queues a light analysis. If one is already queued, the pass records as before and the queued one replaces it. Recording nothing leaves the status, warning count, compact summary and Auto values as they were in the index, the sidecar and `project.json`. A deep pass keeps only `analysis.json` and its per-frame measurements, which describe the frames they name. Refines 2026-10-12 'A deep analysis checks its own report…'. | Never record once a version moved, even with a light analysis queued; recompute the light statistics from the frames as they are under the lock; compare only the row's version; queue a light analysis when only the sidecar moved; queue a deep analysis again | A pass that loaded its frames before an upload, an import or a scan's reconcile recorded AnalyzedLight, the old warning count and Auto values counted on the old frame count. It did so over the newer light analysis, and nothing analysed the new frames again, since scans list only sequences without AnalyzedLight. Comparing only the row missed frames another process listed in a shared sidecar before this host's scan. The pass then wrote Auto values and statuses for the old frames over that process's analysis in the shared files, and a desktop's scan clears nothing (row 'A scan reads a sidecar again…'), so nothing analysed them again. A light analysis queued here while only the sidecar moved would read the same index and be overtaken again until the scan. During an upload burst every pass is overtaken, so never recording would leave a sequence being shot without any analysis until uploads paused, as with image passes (row 'An image pass sets ThumbsBuilt…'). Recomputing would mean probing and reading the new frames under the lock. A deep pass can run for hours: the light analysis restores status and advice, and the user starts a deep pass again when wanted. |
|
||||
| 2026-10-12 | `SyncService.ApplyLocallyAsync` records the folder's scan stamps after writing the server's title, tags, rating or notes into the sidecar only when `ArchiveIndexer.InStepAsync` held before that write, like the other partial writers. Refines 2026-10-12 'Such a writer records the folder's scan stamps…', which left it recording them unconditionally. | Keep recording them unconditionally; write the whole row from the sidecar | Frames another process (a desktop sharing this archive) listed in the sidecar since this index last synced the folder stayed out of the index until the folder changed again, and the row's frames version stayed behind the sidecar's. An analysis now records nothing while the two differ (row 'An analysis records nothing…'), so the gap would also have kept the sequence from being analysed here. |
|
||||
@@ -391,12 +391,12 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-12 | A verify writes only `Missing` and `Corrupt`, merged into the frame's flags as the sidecar has them under the lease. The index sets and clears only those bits, with the new hash. A check is written only while the sidecar lists the frame with the file, size and hash that were checked, and the file still has the size and modification time it had before it was read. Otherwise the next verify checks it. | Write every flag computed from the frame read at the start (as before); merge the bits but write every verdict; hash the file again under the lease | A verify reads each sidecar once, possibly hours before it writes. Tiers, duplicates and repairs recorded meanwhile were reverted. A photo an upload repaired during the run was flagged missing, so the next copy moved the good file aside. Hashing again under the lease would hold uploads back for as long as the files take to read. One case remains: during the run, a good copy with the same size and modification time is put back over a same-size corrupt file, and it is still flagged corrupt. A card import keeps the camera file's time, so it can do this. The next verify clears the flag. |
|
||||
| 2026-10-12 | On PostgreSQL a sequence's tags are written in the order of their keys (`TagRepository.Key`), whatever order the caller listed them in. A tag set the sequence already carries (compared by key) is not written again (`SequenceRepository.ReplaceTagsAsync`). | Keep the caller's order; retry transactions PostgreSQL aborts with 40P01; lock every tag of the set in one statement | Each tag upsert locks its row until commit. A PATCH may list tags in any order, while ingest batches, scans and the trash wrote them sorted. Two writers of sequences sharing two tags could then take the rows in opposite orders, and PostgreSQL aborted one with a deadlock that nothing retries (row 'Every transaction that writes a sequence's frames…'). One order closes the cycle. Ingest batches and scans rewrote unchanged tags at every write; skipping them takes no tag lock at all. SQLite serialises writers and was not affected. |
|
||||
| 2026-10-12 | The Archive screen's orphans fix (`ArchiveService.ReconcileAsync`) clears AnalyzedLight, ThumbsBuilt and ProxiesBuilt in the sidecar and the row when photos were added, gone or back, as a scan's reconcile does. It then queues on the host's engine what a scan's follow-ups would. That is the light analysis, plus a background deep analysis when the host asks for one after scans (desktop: Settings › Analysis › After a scan). On a server (`ImagesAfterScan`) it is also the Thumbs pass and, unless proxies are disabled, the Proxies pass. A kind the engine does not run is left out. So is a kind for which a queued job already covers the sequence, whatever else that job targets. | Keep the flags; clear them and leave the queueing to the next scan; run the fix as a job; queue the light analysis only | The fix records the folder's stamps, so incremental scans skip the folder, and a full scan's reconcile finds nothing new; cleared flags alone would wait for the next change of the folder. With the flags kept, the light analysis was never redone: Auto values, warnings and preview-only tiers stayed those of the old frames, and the Analyse health line did not list the sequence. Without the deep analysis, the light analysis drops the deep status when the frame count changes, and nothing redid the deep analysis, while the same photos found by a scan got one. A queued job runs after the fix on the frames as they are; a scan's follow-ups target several sequences, so checking only single-target jobs would queue a second deep analysis of hours. Cleared in the sidecar, the flags also tell a server sharing the archive to draw the new frames after its next scan. |
|
||||
| 2026-10-12 | A deep analysis saves `analysis.json` under the sequence lock, after it has checked its frames (`SequenceAnalyser.SaveReport`). It replaces the saved report when the frames it measured are still the sequence's: no change found, and the sidecar at the frames version the pass read. Otherwise it replaces only a report that describes the frames as they are no better: none, unreadable, or of another frame count than the sidecar's. Its checkpoint is deleted only then. A pass that leaves the saved report in place and still records (a light analysis is queued) records that report, read as a light analysis reads it, not its own. Refines 2026-10-12 'An analysis records nothing…'. | Save before the check (as before); never save an overtaken pass's report; name the report by its frames version; record the pass's own report, or no report, when it did not save | A pass overtaken by an upload, or by another Titano sharing the archive, replaced the report that a later pass had made of the frames as they are. GET /report then answered 404, and the next light analysis cleared that pass's deep status. Keeping a report when no better one exists keeps what the refined row keeps. Recording the unsaved report put a summary, warning count and Auto values in the index that no file holds, and the queued light analysis keeps the stored summary. Recording none would drop the deep status of the report on disk until that light analysis ran. A versioned name would change the file that every reader and the server's report endpoint open. Deleting the checkpoint only after the save lets a pass stopped while waiting for the lock resume. |
|
||||
| 2026-10-12 | A deep analysis saves `analysis.json` under the sequence lock, after it has checked its frames (`SequenceAnalyser.SaveReport`). It replaces the saved report when the frames it measured are still the sequence's: no change found, and the sidecar at the frames version the pass read. Otherwise it replaces only a report that describes the frames as they are no better: none, unreadable, or of another frame count than the sidecar's. Its checkpoint is deleted only then. A pass that leaves the saved report in place and still records (a light analysis is queued) records that report, read as a light analysis reads it, not its own. Refines 2026-10-12 'An analysis records nothing…'. | Save before the check (as before); never save an overtaken pass's report; name the report by its frames version; record the pass's own report, or no report, when it did not save | A pass overtaken by an upload, or by another Chronos sharing the archive, replaced the report that a later pass had made of the frames as they are. GET /report then answered 404, and the next light analysis cleared that pass's deep status. Keeping a report when no better one exists keeps what the refined row keeps. Recording the unsaved report put a summary, warning count and Auto values in the index that no file holds, and the queued light analysis keeps the stored summary. Recording none would drop the deep status of the report on disk until that light analysis ran. A versioned name would change the file that every reader and the server's report endpoint open. Deleting the checkpoint only after the save lets a pass stopped while waiting for the lock resume. |
|
||||
| 2026-10-12 | Equal frames versions in a sidecar and an index row mean the same frames only when the row's frame ids and order are the sidecar's (`ArchiveIndexer.OtherFramesAsync`). Otherwise the scan treats it as any frames change: it reads the sidecar again under the lease, writes it one version past the row, moves the project's positions and, on a server, clears what covered the frames. Refines 2026-10-12 'The index's frames version never goes back.' | Compare versions only; make the bump unique (a counter kept in the sidecar, a timestamp) | Each index of a shared archive bumps a sidecar put back behind its own row to one past that row. That can be the version another index already holds for other frames, for example a desktop rebuilding a damaged sidecar while the server is one upload ahead. That index then kept its positions, statuses, sync diff and proxy cache, and accepted editors' saves made against frames that had changed. A counter in the sidecar goes back with the sidecar it is put back with. The frame list is read only when the versions match, and the scan writes every frame row in that case anyway. |
|
||||
| 2026-10-13 | `SequenceAdopter.Reconcile` returns null, and the sidecar is left as it was, when the photos it found could not be read and no frame's missing flag changed. | Index the photo without metadata; flag it | A photo held open by another program, without read permission or not downloaded yet is read at the next scan or fix. Treating its folder as changed rewrote the sidecar, cleared the covering flags and queued the analyses (with a deep analysis, hours) again at every orphans fix. |
|
||||
| 2026-10-13 | A deep pass counts as current only when its report describes the frames as this host reads them under the lock, proxies included (`SequenceAnalyser.Describes`), besides an unchanged frames version. Otherwise it replaces only a saved report that does not describe them either (`ReadReport` of the frames as they are). Refines 2026-10-12 'A deep analysis saves `analysis.json` under the sequence lock…'. | Compare frames versions only | A proxy arriving moves no frames version but makes an unreadable verdict on that frame's original stale. A pass that started before it overwrote the report a later pass made from the proxies, then dropped the deep status. |
|
||||
| 2026-10-15 | VS Code debugs the Windows programs with the C# extension's `coreclr` debugger (`.vscode/launch.json`): Titano, the Uploader, the server, the `--capture` runs of Titano, the Uploader and Setup, `Titano.Tools` and the test programs (these two ask for their arguments). Each launch configuration builds in Debug first (`.vscode/tasks.json`; *Tests* builds the solution) and starts the program's `.exe`. The server's session keeps its data and archive in `out/debug/server` (`TITANO_DATA_PATH`, `TITANO_ARCHIVE_PATH`) and its default ports; Titano and the Uploader use their usual data folder. The build tasks use no reused MSBuild nodes and keep MSB3026 a warning. | C# Dev Kit's `dotnet` launch type with `launchSettings.json`; start `dotnet <program>.dll`; the server's default folders; ports of its own for the server; a portable copy (`portable.txt`) for the desktop programs; reused MSBuild nodes; MSB3026 as an error | The `coreclr` debugger needs only the C# extension. Started as a `.dll`, the process is `dotnet.exe`, which the programs read as their own path (`Environment.ProcessPath`): Setup's payload and the stub of its capture's sample installer, the Run keys and tray icons. A console run creates `%ProgramData%\Titano Server` owned by the developer, which the service then refuses (the console-run data folder rows), and `C:\TitanoArchive` at the drive root. On the default ports the clients reach the debug server as they reach an installed one; the README says to stop the Docker stack or an installed server first. A portable copy would run other code than an installed one (data beside the program, the portable update download). MSB3026 reports a copy that a retry then completes (a file held for a moment by an antivirus or another build): as an error it stopped F5 although the build succeeded, while a copy that never succeeds still fails (MSB3027). Reused MSBuild nodes keep the drive letter's case of the build that started them, while VS Code passes it in lower case: restores mixed both cases, rewrote `project.assets.json` at every build and made C# Dev Kit reload the projects, so no F5 build was a no-op (7 to 14 s for Titano instead of about 5 s). |
|
||||
| 2026-10-15 | Design-time builds (`DesignTimeBuild=true`: C# Dev Kit, Visual Studio) skip the `TitanoGenerateIcons` target (`Directory.Build.targets`) and log WPF's MC1000 as a message (`Directory.Build.props`). Refines 2026-10-02 'Program icons (ICO) are generated at build time…'. | Build `Titano.Tools` from the design-time build; no warnings as errors in design-time builds; leave it | A design-time build builds no project references, so on a fresh clone `make-icon` ran a `Titano.Tools.dll` that did not exist yet: VS Code listed MSB3073 for Titano, the Uploader and Setup when the folder opened. A design-time build compiles nothing, so it needs no icon. Past that target, the markup compile of their XAML cannot load `Titano.Ui.dll` before the first build: MC1000, which the design-time build makes a warning and warnings as errors made an error again (21 of them). Without warnings as errors they would still be listed, as warnings. Real builds still fail on MC1000. |
|
||||
| 2026-10-15 | VS Code debugs the Windows programs with the C# extension's `coreclr` debugger (`.vscode/launch.json`): Chronos, the Uploader, the server, the `--capture` runs of Chronos, the Uploader and Setup, `Chronos.Tools` and the test programs (these two ask for their arguments). Each launch configuration builds in Debug first (`.vscode/tasks.json`; *Tests* builds the solution) and starts the program's `.exe`. The server's session keeps its data and archive in `out/debug/server` (`CHRONOS_DATA_PATH`, `CHRONOS_ARCHIVE_PATH`) and its default ports; Chronos and the Uploader use their usual data folder. The build tasks use no reused MSBuild nodes and keep MSB3026 a warning. | C# Dev Kit's `dotnet` launch type with `launchSettings.json`; start `dotnet <program>.dll`; the server's default folders; ports of its own for the server; a portable copy (`portable.txt`) for the desktop programs; reused MSBuild nodes; MSB3026 as an error | The `coreclr` debugger needs only the C# extension. Started as a `.dll`, the process is `dotnet.exe`, which the programs read as their own path (`Environment.ProcessPath`): Setup's payload and the stub of its capture's sample installer, the Run keys and tray icons. A console run creates `%ProgramData%\Chronos Server` owned by the developer, which the service then refuses (the console-run data folder rows), and `C:\ChronosArchive` at the drive root. On the default ports the clients reach the debug server as they reach an installed one; the README says to stop the Docker stack or an installed server first. A portable copy would run other code than an installed one (data beside the program, the portable update download). MSB3026 reports a copy that a retry then completes (a file held for a moment by an antivirus or another build): as an error it stopped F5 although the build succeeded, while a copy that never succeeds still fails (MSB3027). Reused MSBuild nodes keep the drive letter's case of the build that started them, while VS Code passes it in lower case: restores mixed both cases, rewrote `project.assets.json` at every build and made C# Dev Kit reload the projects, so no F5 build was a no-op (7 to 14 s for Chronos instead of about 5 s). |
|
||||
| 2026-10-15 | Design-time builds (`DesignTimeBuild=true`: C# Dev Kit, Visual Studio) skip the `ChronosGenerateIcons` target (`Directory.Build.targets`) and log WPF's MC1000 as a message (`Directory.Build.props`). Refines 2026-10-02 'Program icons (ICO) are generated at build time…'. | Build `Chronos.Tools` from the design-time build; no warnings as errors in design-time builds; leave it | A design-time build builds no project references, so on a fresh clone `make-icon` ran a `Chronos.Tools.dll` that did not exist yet: VS Code listed MSB3073 for Chronos, the Uploader and Setup when the folder opened. A design-time build compiles nothing, so it needs no icon. Past that target, the markup compile of their XAML cannot load `Chronos.Ui.dll` before the first build: MC1000, which the design-time build makes a warning and warnings as errors made an error again (21 of them). Without warnings as errors they would still be listed, as warnings. Real builds still fail on MC1000. |
|
||||
| 2026-10-16 | Job throughput: the first two-second window that saw progress seeds the moving average, and below 1e-6 items/s the rate reads unknown; a time left is null when it is not finite, negative or above 365 days, and every stored or reported time left goes through `JobEta`. Saving progress never throws (a failure is logged and the job goes on) and a progress subscriber never fails a job, so a job's final state is always written. Thumbnail and proxy jobs count frames across their targets. Refines 2026-10-02 'Job throughput is a moving average…'. (Owner review 1, R10.) | Clamp the time left only when it is stored; keep counting sequences | The owner's Proxies job over 17 sequences counted sequences while it checkpointed every 10 s inside one of 14,082 frames: each window without progress multiplied the rate by 0.7, the time left passed `TimeSpan`'s limit after 18 minutes and threw in `PublishProgress`, then again in `PersistAsync`, so the job stayed Running for 4 hours until the owner cancelled it. A node-supplied rate and the stored seconds had the same unbounded conversion. |
|
||||
| 2026-10-16 | The editor's background decodes (`LocalSequenceSource`, `RemoteSequenceSource`), `LatestRunner` and the render node's proxy task keep a superseded decode's `OperationCanceledException` inside their own delegate: the local source catches it in the pool delegate and throws it again after the await, so a cancellation is never reported as an unreadable frame. (Owner review 1, R4.) | `justMyCode: false` in launch.json; providers that return null on cancellation | The owner's "error in WicDecoderProvider.cs when I select some presets" was the cancellation of a preview decode a newer click replaced: it left a synchronous `Task.Run` delegate into the thread pool, where the debugger with Just My Code stops as "not handled by user code"; at runtime it was swallowed and nothing was logged. Throwing on cancellation stays the provider contract. |
|
||||
| 2026-10-16 | WIC decodes a camera RAW only when the decoder it chose is the Raw Image Extension (CLSID read per file), never a DNG, and never for a request that prefers the embedded preview. Refines 2026-10-02 'Camera RAW is "native" via WIC only when the Raw Image Extension package is installed.' (Owner review 1, R4.) | Trust `CodecInventory` per format; force the Raw Image Extension by CLSID for DNG | With the extension installed, WIC still picks Windows' in-box "DNG Decoder" for every DNG with a JPEG preview; it reads only that 8-bit preview, which the provider labelled native (a smaller preview was a silent downscale). The Raw Image Extension develops DNG to 8 bits and fails on Lightroom's lossy LinearRaw DNGs; the managed decoder develops all of the owner's files at 16 bits. |
|
||||
@@ -406,15 +406,24 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-16 | The priority queue gives each job kind a level (high, normal, low), off by default: claim order level → priority → age; a queued job of a higher level that the engine would claim makes the running job of the lowest level yield without asking (cancelled, its checkpoint and a log line saved, then `JobRepository.RequeueAsync` back to Queued unless the user paused or cancelled it meanwhile); it resumes by itself when nothing above it waits. Reviewed at every `Wake` (enqueue, resume, settings saved) and every poll (3 s). Jobs of the same level never interrupt each other, a job's own follow-ups never interrupt it, and only a full engine interrupts. Defaults: render, import and download high; verify and proxies low. | An ordered list of all kinds; asking before pausing | The owner: set priorities so that a render started during a scan pauses the scan without confirmation and the scan resumes afterwards. A total order would make every pair of kinds interrupt each other (each periodic scan would pause hours of deep analysis); follow-ups work on what their parent produces. |
|
||||
| 2026-10-16 | Thumbnail and proxy passes work on several photos at once through `OrderedWork`: up to the parallelism run on the thread pool (twice as many results wait) and their results come back in frame order on the pass's flow, so the pack writer, the counters and the checkpoints stay sequential and a checkpoint still means every frame before it is done; a parallelism of one runs inline. Decodes that develop originals whole run fewer at once for large originals (`DecodeBudget.PhotosAtOnce`): memory budget ÷ (largest frame × 32 bytes per pixel), 24 MP when no size is known, a size a damaged file claims saturating instead of overflowing. Proxy passes always count; thumbnail passes, deep analyses and every window of a render or its preparation count only the frames a decode at their size develops whole (`DecodeBudget.Developed`, `SequenceFrames.DevelopedPixels`): not a JPEG at least twice the size asked for (it decodes scaled down), not a frame read through its proxy or from a JPEG file, not a RAW's embedded preview of that size when previews are preferred (never in a render; another format's stored preview, such as a JPEG-compressed TIFF strip, may need the file's own tables and fall back to a full decode); a TIFF, a PNG or a developed RAW counts whole, so a render node's originals and a preparation over TIFFs are held back too. A frame window that develops originals gates every decode with that limit, read-ahead and demand loads alike (the window itself caps only its read-ahead). The server's frame window gets the host's memory budget (a quarter of the memory available, as the desktop's Auto) instead of the window's 1 GiB default. Tier probes run that many at a time (`Parallel.ForEachAsync`). | `Parallel.ForEach` with a lock around the pack; a byte semaphore per frame | Output identical to a pass of one photo at a time (tested byte for byte). The frames of a sequence share one size, so a limit per sequence is as good as a gate per frame. |
|
||||
| 2026-10-16 | Verify, import and scan stay sequential inside their job. | Hash, copy or read metadata in parallel | They are bound by one disk or one card reader, where parallel reads are slower; the verify log keeps its order. |
|
||||
| 2026-10-16 | Server: `TITANO_PARALLELISM` replaces `TITANO_WORKERS`, which still sets it (TITANO_PARALLELISM wins when both are set) and logs a warning at start; the `Workers` key of `server.json` still sets the parallelism and saving the setting removes it. `TITANO_PRIORITY_QUEUE` sets the queue on or off. The parallelism is 1 to 64 (the admin panel's range); a larger value from the environment or `server.json`, or the default on a machine with more than 128 threads, is brought down to 64, so a value the panel cannot change never blocks saving the others. Both apply at once (no restart), `server.json` keeps only the levels that differ from the defaults, and the admin panel lists the 14 kinds a server runs. `ServerSettingsDto` and `DashboardDto` replace `Workers` with `Parallelism` and add the priority queue. | Keep the name Workers; require a restart | The meaning changed (jobs at once → photos at once) and an older value keeps working. The admin panel ships with the server, so the DTO rename breaks no client. |
|
||||
| 2026-10-16 | `Titano.Tools i18n prune` removes orphan keys (not in English and not a plural form of an English plural key) from every translation, rewriting only the files that had some, as `import` writes them. | Hand edits; regex | A renamed or removed key otherwise stays an orphan in 36 languages, and resx files are never mass-edited with regular expressions. |
|
||||
| 2026-10-16 | Server: `CHRONOS_PARALLELISM` replaces `CHRONOS_WORKERS`, which still sets it (CHRONOS_PARALLELISM wins when both are set) and logs a warning at start; the `Workers` key of `server.json` still sets the parallelism and saving the setting removes it. `CHRONOS_PRIORITY_QUEUE` sets the queue on or off. The parallelism is 1 to 64 (the admin panel's range); a larger value from the environment or `server.json`, or the default on a machine with more than 128 threads, is brought down to 64, so a value the panel cannot change never blocks saving the others. Both apply at once (no restart), `server.json` keeps only the levels that differ from the defaults, and the admin panel lists the 14 kinds a server runs. `ServerSettingsDto` and `DashboardDto` replace `Workers` with `Parallelism` and add the priority queue. | Keep the name Workers; require a restart | The meaning changed (jobs at once → photos at once) and an older value keeps working. The admin panel ships with the server, so the DTO rename breaks no client. |
|
||||
| 2026-10-16 | `Chronos.Tools i18n prune` removes orphan keys (not in English and not a plural form of an English plural key) from every translation, rewriting only the files that had some, as `import` writes them. | Hand edits; regex | A renamed or removed key otherwise stays an orphan in 36 languages, and resx files are never mass-edited with regular expressions. |
|
||||
| 2026-10-16 | Desktop: the Jobs toolbar shows "8 photos at once" (Settings › Rendering › Parallelism) and a Priority queue chip while the queue is on, instead of "Workers n / m"; Settings › Rendering lists the 16 job kinds with a level dropdown only while the queue is on; the Jobs list orders the queue with the engine's `JobPriorityQueue.ClaimsBefore`. The Jobs, Settings and Admin mockups follow in phase 6 with the rest of the review. | Keep the workers readout | One job runs at a time, so a count of busy workers says nothing. |
|
||||
| 2026-10-16 | `AtomicFile` tries the rename over the target again for some 1 s (15 attempts, 10 ms × n) while another handle holds it: a sharing or lock violation, or Windows' "access denied" for an open file that is neither read-only nor a folder (those, like a missing file, fail at once). Sidecars, ingest journals, index snapshots and `project.json` are read whole and at once with `AtomicFile.ReadAllBytes`/`ReadAllText` (sharing read and delete, never a writer in place; above 2 GB an `IOException`, as `File.ReadAllBytes`). Windows refuses `MoveFileEx` over an open file even when the reader shares deletion. | Rename with POSIX semantics (`SetFileInformationByHandle`, Windows interop in Core); take the sequence lease for every sidecar read | Readers hold these files for milliseconds; a lease per read would queue thumbnail passes behind uploads, and Core stays free of Windows interop. Found when the faster passes of phase 2 made an upload's commit fail in the server tests. |
|
||||
| 2026-10-16 | `LeaseFile.TryCreate` treats "access denied" on creating a lease as the name of a lease just released while a reader still holds it (pending deletion on Windows, since readers share deletion) and tries again for some 130 ms (8 attempts, 1 ms doubling), as it already did for the create-or-check race. | Return "held" at once; stop sharing deletion in readers | Returning "held" makes the caller wait its whole poll back-off for a name free milliseconds later, and readers must never block a release or a takeover. A real permission problem still fails after the short retry. Found when the phase 2 test runs hit it in `MassRenameTests` under load. |
|
||||
| 2026-10-16 | The rail is 200 px (`Width.Rail`, was 128 growing to 200 with the language's longest name) and collapses to the 48 px icons (`Width.RailCollapsed`) with ≡ or Ctrl+B, a window key binding gated like Ctrl+1…6 (not behind the first-run dialog; a held key toggles once). A collapsed icon's tooltip is "Name · description" (`Tooltips.Nav.Collapsed`, invariant) so the section is named without its label, while screen readers keep the name and, as help text, the description alone. The state is written the moment it changes, through `AppServices.SavePreferences` (the settings file and nothing else: no render node restart, no engine wake), and Settings reset and import keep it, as they keep the window. The admin panel's sidebar is 256 px (was 220) and collapses to 56 px of icons with its own ≡ or Ctrl+B (matched on the physical B key when that key types no letter a–z, as in Cyrillic, Greek, Hebrew or Arabic layouts; Latin layouts keep their own Ctrl shortcuts), the choice kept in the browser (`localStorage` `titano.admin.sidebar`, like the theme; a browser that refuses storage keeps it for the page), the tables fitting their columns again after each toggle and the links' names kept for screen readers; at 900 px and below it stays the top bar, which shows icons only already, and Ctrl+B stays the browser's. Beside the wider rail at the 1200 px minimum, in every shipped language: the Jobs table's Kind, Where and State became star columns (minimums 90, 80, 116; at most 140, 140, 170, so on wide windows Target takes the rest, as in Jobs.html) and Target and Progress give way first (84, 104), so the row actions fit; a cut kind, place or header shows whole in its tooltip, and the state's tooltip starts with the state, as the sync table's does (the explanations after it were reworded not to repeat it, and "waiting for a worker" became "waits for its turn"); the trusted certificates row's server column and the cache folder's path give way first; the editor's preview tools wrap to a second line (6 px apart) instead of losing Play and Full screen, the crop-result tool always beside Crop mask and disabled while the mask is off (with its reason), so turning the mask on never moves the tools; the editor header gives the server job and its Cancel their own column, the title and the summary giving way first; the Archive tree keeps a year's label and lets its figures trim; the Import session rows, Show plan and the result line fit; the frame table's Time column holds every language's widest time and its header names trim with the name in the tooltip, header and rows sharing the actions column. Cells that can be cut repeat their text in their tooltip (Library list, Jobs, sync state, Settings encoder table and adapter, priority queue rows; `EmptyToNullConverter` so an empty cell shows none). Tests check, in all 38 languages at 1200 px: the Jobs row buttons, Settings' Clear and Forget, the Archive years, the Import rows and result, the frame table's times, the editor's tools and a server job's Cancel. (Owner review 1, R1.) | A width that follows the language; save the rail state at exit; keep the admin sidebar state per user on the server | The owner fixed 200 and 256 px so names fit in every language without a jumping rail; a crash or a forced shutdown no longer loses the choice; the server keeps no presentation state per user and the theme already lives in the browser. Found by the phase's review rounds: buttons and labels cut at 1200 px in some languages (Jobs row actions, Forget, Clear, the preview's Play, a remote job's Cancel, Merge, a year in the Archive tree), Ctrl+B behind the first-run dialog, and admin tables that kept their old fit. |
|
||||
| 2026-10-16 | The rail is 200 px (`Width.Rail`, was 128 growing to 200 with the language's longest name) and collapses to the 48 px icons (`Width.RailCollapsed`) with ≡ or Ctrl+B, a window key binding gated like Ctrl+1…6 (not behind the first-run dialog; a held key toggles once). A collapsed icon's tooltip is "Name · description" (`Tooltips.Nav.Collapsed`, invariant) so the section is named without its label, while screen readers keep the name and, as help text, the description alone. The state is written the moment it changes, through `AppServices.SavePreferences` (the settings file and nothing else: no render node restart, no engine wake), and Settings reset and import keep it, as they keep the window. The admin panel's sidebar is 256 px (was 220) and collapses to 56 px of icons with its own ≡ or Ctrl+B (matched on the physical B key when that key types no letter a–z, as in Cyrillic, Greek, Hebrew or Arabic layouts; Latin layouts keep their own Ctrl shortcuts), the choice kept in the browser (`localStorage` `chronos.admin.sidebar`, like the theme; a browser that refuses storage keeps it for the page), the tables fitting their columns again after each toggle and the links' names kept for screen readers; at 900 px and below it stays the top bar, which shows icons only already, and Ctrl+B stays the browser's. Beside the wider rail at the 1200 px minimum, in every shipped language: the Jobs table's Kind, Where and State became star columns (minimums 90, 80, 116; at most 140, 140, 170, so on wide windows Target takes the rest, as in Jobs.html) and Target and Progress give way first (84, 104), so the row actions fit; a cut kind, place or header shows whole in its tooltip, and the state's tooltip starts with the state, as the sync table's does (the explanations after it were reworded not to repeat it, and "waiting for a worker" became "waits for its turn"); the trusted certificates row's server column and the cache folder's path give way first; the editor's preview tools wrap to a second line (6 px apart) instead of losing Play and Full screen, the crop-result tool always beside Crop mask and disabled while the mask is off (with its reason), so turning the mask on never moves the tools; the editor header gives the server job and its Cancel their own column, the title and the summary giving way first; the Archive tree keeps a year's label and lets its figures trim; the Import session rows, Show plan and the result line fit; the frame table's Time column holds every language's widest time and its header names trim with the name in the tooltip, header and rows sharing the actions column. Cells that can be cut repeat their text in their tooltip (Library list, Jobs, sync state, Settings encoder table and adapter, priority queue rows; `EmptyToNullConverter` so an empty cell shows none). Tests check, in all 38 languages at 1200 px: the Jobs row buttons, Settings' Clear and Forget, the Archive years, the Import rows and result, the frame table's times, the editor's tools and a server job's Cancel. (Owner review 1, R1.) | A width that follows the language; save the rail state at exit; keep the admin sidebar state per user on the server | The owner fixed 200 and 256 px so names fit in every language without a jumping rail; a crash or a forced shutdown no longer loses the choice; the server keeps no presentation state per user and the theme already lives in the browser. Found by the phase's review rounds: buttons and labels cut at 1200 px in some languages (Jobs row actions, Forget, Clear, the preview's Play, a remote job's Cancel, Merge, a year in the Archive tree), Ctrl+B behind the first-run dialog, and admin tables that kept their old fit. |
|
||||
| 2026-10-16 | The App test program shuts the shared WPF dispatcher down in order (`WpfApplication.Shutdown`: `InvokeShutdown`, then a join of up to 10 s) after the runner finishes, instead of letting the process end under its background thread. (Owner review 1, R1.) | Leave the background STA thread to die with the process | The binding engine's cleanup then ran against a half-torn-down engine and crashed the exit (code 127) after every test had passed; the tests that walk 38 languages made it likely. |
|
||||
| 2026-10-16 | The Sequence section is renamed Edit ("Modifica"): `SectionKey.Edit`, `Shell.Nav.Edit` and `Tooltips.Nav.Edit`; the classes keep their names (`SequenceView`, `SequenceViewModel`, `ShellViewModel.Sequence`, `Icon.Sequence`) and so do the editor's resource keys (`Editor.*`). Screenshots are `edit-*` (`edit-picker`, `edit-<step>`, `edit-change`, `edit-busy`). (Owner review 1, R7.) | Rename the classes and keys too | The owner's word is the section's name; renaming twenty files and two hundred keys would change nothing the user sees and would bury the real change in churn. |
|
||||
| 2026-10-16 | The editor's tabs become the steps of a guided path, freely navigable (the owner's choice): a step bar of equal cells under the header (the tab strip under the filmstrip is gone), a new first step **Analysis** (every finding with the step that deals with it, five measurements, the other steps with their states, Analyse), Previous · n / m · Next under the step's column (both buttons measured whole, the counter giving way), Alt+1…8, Ctrl+PgUp/PgDn (read on the way down the tree, since the filmstrip and the curve editors take Page Up/Down whatever the modifiers) and ←/→ in the bar. Each step shows a status by its own glyph (to do, ✓ done, ▲ attention, ◐ running, ○ waiting) worked out by `EditPath.Of` from the content, the advice, the project, the active analysis and render (`SequenceJobs.Active`), the render's blocker and whether a render has the current settings; no status ever blocks a step. The step's tooltip is "name · what it is for · state · Alt+n" (the name first, because a long name ends in an ellipsis in its cell: about 82 px at the 1200 px minimum, which every English and Italian name fits). After a step change the keyboard goes to the new step's cell when it was in the bar, on a control of the replaced step or on Previous turning itself off, and the preview takes it back if it falls to the window; Space on the step shown plays; Ctrl+click or Ctrl+Space never leaves the bar without a current step. The editor opens on the step last shown for that sequence in this run (a deep analysis that ended meanwhile resets its visited marks), else on Analysis while there is no current deep analysis or one waits, runs or is paused (`EditPath.Start`, applied again once the jobs are read unless the user chose a step), else on Frames. Last step's Next is "Next sequence". (Owner review 1, R7.) | Steps that unlock in order; a wizard with its own window; a ninth "Result" step | The owner asked for a path from the deep analysis to completion that stays freely navigable; locking steps would get in the way of photographers who know what they want; the result belongs to phase 5's export and videos library. |
|
||||
| 2026-10-16 | Step rules: Analysis is running while a deep analysis is active; needs attention when the index says AnalyzedDeep but the saved analysis describes another number of frames ("Frames changed") or cannot be read now ("Analysis unavailable": archive offline, file moved or damaged, a server that sends none; `SequenceContent.DeepOfOtherFrames` tells them apart); done with its warning count; else to do. Frames waits for the analysis, then needs attention while frames the analysis flags as black, white, duplicate or unreadable are neither excluded nor skipped by the render anyway. Exposure, Motion, Camera and Time wait while an Auto setting of the section needs the deep analysis and there is none, need attention while an Auto setting that applies lacks other data (timestamps, exposure data, source size: the tooltip is the advisor's reason), which taking the value over by hand settles; a setting whose switch is off (`EditorSettings.Applies`, the same rule as the rows' n/a) is never asked for, and a value the analysis could not measure (no usable region mask) stays at the engine's fallback. Otherwise Auto, or Edited once an Auto setting or a value set by hand differs (crop, offsets, camera moves, fit to a duration, exposure offset). Stack is optional. Export is running with its render, needs attention when the export cannot render or no render, of any age, was made from settings with the project's `EditPath.Signature` (which leaves out hero, frames to place, batch, folder, output name and server copy); the renders count as current when the newest keeps no settings (a server's, or one fetched from it) or none's settings can be read. Findings go to steps through `EditPath.FindingSteps` (all 29 keys, tested by reflection; frames of another size or orientation go to Frames, which excludes them); Frames lists its own under "Frame warnings". | A finding count per step; any missing data as "waiting" | Counts would turn Frames ▲ for timing findings it cannot fix; analysis cannot supply timestamps or exposure data, so those need the user, not a wait; a setting shown n/a cannot be taken over, so asking for it would leave a ▲ nobody can clear. |
|
||||
| 2026-10-16 | The sequence is chosen inside Edit: without an open sequence, or after Change sequence (the title's ▾, Ctrl+O, Next on the last step), a picker covers the editor in place (not a popup): this PC's sequences and the server's sequences the Library knows, newest first, searched after 250 ms (Enter and ↓ in the search box wait for the list to match what was typed), read page by page (more pages are read until the open sequence, else the one edited last, is listed, then it is selected and scrolled into view); Enter or a double-click opens, Esc clears the search then goes back. The open editor stays laid out behind it (hidden, not collapsed, so its preview is not rendered again) and keeps saving each change a moment after it is made (2026-10-03 autosave). Choosing another sequence reads it first; only once it has loaded is the open one's pending change written at once and the editor closed. When the next one cannot open now (its proxies are on their way, or it fails), the open one stays open and is again the sequence asked for (`ShellViewModel.KeepSequence`), so coming back to Edit neither asks again nor retries; Cancel also stops a server sequence chosen meanwhile from opening over it when its proxies arrive. A failed write is either kept (Keep editing) or discarded on the user's word. Asking for the open sequence again (Library, Jobs, a project file) ends a choice of another; coming back to Edit leaves it on screen (`ShellViewModel.SequenceRequests`). Deleting the sequence asked for clears the request. The section remembers each sequence's step and visited steps for the run, and `AppSettings.LastEditedSequence` (saved with `SavePreferences`) is selected first in the picker. (Owner review 1, R7.) | A popup or a separate window; close the editor when the picker opens; close it before the next sequence is read | Captures render the window's visual tree and off-screen test windows make popups fragile; keeping the editor open makes Cancel instant, and closing it only once the next sequence has loaded means a sequence that cannot open never costs the open one (nor its undo history). |
|
||||
| 2026-10-17 | A double-click on a row is read on the row (`MouseDoubleClick` on its `ListBoxItem`, left button only, not over one of its own buttons) in Edit's picker and in the Library's list and grid, instead of a gesture on the list: a `ListBoxItem` marks every left mouse-down handled to select, so the list's gesture only ever fired on its empty area. While the user is asked whether to discard a change that could not be written, no retry runs (`ProjectSaver.HoldAsync`, `EditorSession.HoldPendingAsync`); Discard drops it unwritten (`DiscardPending`), Keep editing lets the retries go on (`KeepPending`). (Owner review 1, R7 review.) | A double-click binding on the row template; retry during the question and drop only what is still pending | A template binding misses the row's padding; a retry that succeeds while the question is open would write the change the user is about to drop. |
|
||||
| 2026-10-23 | The product is Chronos: a byte-exact rename of every tracked file's contents and path (`Titano`, `titano`, `TITANO` → `Chronos`, `chronos`, `CHRONOS`; 10,394 replacements in 1,744 files, 1,159 moved), so identifiers, namespaces, projects, `CHRONOS_*` variables, `%LOCALAPPDATA%\Chronos`, `.chronos` files and sidecar folders, the error code `CHRONOS001` and the image name change together. No migration of old data folders or settings. Translations were then reviewed per language for forms the old name's final vowel had dictated (Finnish and Estonian cases, Hungarian, Turkish suffixes, Scandinavian genitives, Slavic and Baltic cases): 80 strings changed. Two golden values that contained the old name were recomputed (PostgreSQL MD5 response of `chronos_md5`, verified independently; the payload-tampering test's target). (Chronos on Gitea, R1.) | Keep `Titano` in identifiers and paths; migrate `%LOCALAPPDATA%\Titano` and `.titano` files | No release has shipped, so nobody has data under the old names; one name everywhere is what the owner asked for. |
|
||||
| 2026-10-23 | The repository is `BalboSoft/Chronos` on the owner's Gitea (`https://gitea.encke-hake.ts.net`). Builds embed its web address as `ChronosReleasesUrl` (replacing `ChronosReleasesRepo`, an `owner/name` on GitHub): the update check reads `<server>/api/v1/repos/<owner>/<name>/releases?draft=false&pre-release=false` (a path prefix in front of the owner is kept), the licence opens `<repository>/src/branch/main/EULA.md`, issues `<repository>/issues`, and Add/Remove Programs shows the repository. (R2.) | Two properties (server and repository); keep the GitHub API shape | One address is what the owner sees in the browser; Gitea's release JSON has the fields the update check reads (`tag_name`, `html_url`, `draft`, `prerelease`, `assets[].browser_download_url`). |
|
||||
| 2026-10-23 | Releases are published in the repository that runs the workflow; the separate public releases repository of BRIEF §19.4 becomes optional (`RELEASES_REPO` and `RELEASES_TOKEN`). `EULA.md` and `SECURITY.md` move to the repository root and the issue forms to `.gitea/ISSUE_TEMPLATE` (Gitea's `about` key instead of GitHub's `description`), so they are live where the releases are; `deploy/releases-repo/` keeps only the README of a separate repository, to which release.yml copies the rest. Security reports go privately to the maintainers: Gitea has no private vulnerability reporting. (R2.) | Create `BalboSoft/chronos-releases` | §19.4 split the repositories because a private GitHub repository cannot serve release files; on a self-hosted Gitea the owner decides visibility of the one repository. |
|
||||
| 2026-10-23 | Gitea Actions workflows in `.gitea/workflows` run on act_runner in Docker mode: the .NET jobs use the `mcr.microsoft.com/dotnet/sdk:10.0` container and check out with git (the image has no Node.js for JavaScript actions), use no artifacts or caches, and build with 4 cores (`BUILD_CPUS`) because the runner shares its host with Gitea, which stalled during the first unthrottled ReadyToRun build. Jobs that need docker use the runner's own image and the host's daemon. (R3.) | `actions/checkout` and `actions/setup-dotnet` in the runner image | Downloading the SDK on every job costs minutes and network; the SDK image stays on the host after its first pull. |
|
||||
| 2026-10-23 | The release cross-compiles the Windows programs on Linux (`EnableWindowsTargeting`, win-x64 runtime packs, ReadyToRun through the Linux crossgen). `Chronos.Tools pe-check` fails the release (and CI) when a published program is not a GUI program or lacks its icon, version information or PerMonitorV2 manifest, which the SDK copies into the apphost. Optional Authenticode signing uses osslsigncode (signtool needs Windows); the payload format already tolerates the appended certificate table. (R3.) | Require a Windows runner for releases | The owner's only runner is Linux; the resource check measured on the runner showed icon, version and manifest present, and the check keeps it that way. |
|
||||
| 2026-10-23 | New `Chronos.Tools` commands for the Linux runner: `zip` (the SDK image has no zip program), `gitea-release` (creates a draft for a new tag, uploads every file replacing same-named ones, publishes, then checks that every file is listed at its size; token from an environment variable, never printed) and `postgres-ci` (MD5, cleartext and trust roles with their pg_hba lines and TLS with a self-signed certificate for the service host name, all through SQL as the superuser: `pg_read_file`, `lo_export`, `ALTER SYSTEM`). `.github/scripts/postgres-ci-setup.sh` is gone: Gitea gives no service container id to `docker exec` into. (R3.) | curl and jq scripts; install docker or psql into the job | The SDK image has neither jq nor psql nor docker; C# commands are tested like the rest and keep the zero-package rule. |
|
||||
| 2026-10-23 | The server image is built for linux/amd64 only and pushed to the Gitea container registry (`<host of PUBLIC_URL>/<owner>/chronos-server`) with the `REGISTRY_TOKEN` secret; `:latest` moves only to the highest stable version among the published releases, read back after publishing. The workflow's own token is refused by the organisation's registry (measured), so without the secret the image job fails with instructions while the release itself is already published. (R3.) | Multi-arch with QEMU; fail the whole release | Multi-arch needs QEMU's binfmt handlers installed on the owner's host, a change to the host outside the repository; the Windows programs should not wait on a registry credential. |
|
||||
| 2026-10-23 | The Windows-only CI (Core.Windows and App tests, screenshots and their diff, the installer test) is the `windows` job, run only when the repository variable `WINDOWS_RUNNER` names a Windows act_runner in host mode; until then those tests run on a Windows PC before a merge. The Definition of Done says so (CLAUDE.md, BRIEF Appendix A). (R3.) | Drop them; fail CI without a Windows runner | They are the only automatic proof of the installer and the screens; a job that waits for a runner that does not exist would hold every run. |
|
||||
| 2026-10-23 | Update check: the client reads the published stable releases and takes the highest version, because Gitea's `releases/latest` is the most recently created release (a re-published older tag or a backport would become it); a pre-release build (`0.1.0-rc.1`) is offered the final release of its own version, which it used to call "up to date" forever; a 404 is a failed check, because Gitea answers 404 for a repository the client may not see (the `BalboSoft` organisation is private today) and that used to read as "up to date". The release workflow picks `:latest` the same way. `gitea-release` checks every file's size before it publishes, and when it replaces the files of a release clients can already see it removes the old `SHA256SUMS` first and uploads the new one last. (R2, R3; independent review of this change.) | Trust `releases/latest`; leave the pre-release rule as it was | The first release is a pre-release: its testers must be told when 0.1.0 is out; a download checked against the checksums of another build would be refused. |
|
||||
+31
-23
@@ -1,10 +1,11 @@
|
||||
# Status
|
||||
|
||||
Phase plan: docs/BRIEF.md §22. Windows behaviour is verified on CI (`windows-latest`); everything else also on Linux.
|
||||
Phase plan: docs/BRIEF.md §22. CI runs on Gitea Actions (Linux runner, `.gitea/workflows`); Windows behaviour is verified
|
||||
by its `windows` job once a Windows runner is registered (`WINDOWS_RUNNER`), and on a Windows PC until then.
|
||||
|
||||
| Phase | State |
|
||||
|---|---|
|
||||
| 0 Bootstrap | Done: solution, rules, Titano.Testing, zero-package guard, i18n, WPF shell, server skeleton, Docker, icons, CI. |
|
||||
| 0 Bootstrap | Done: solution, rules, Chronos.Testing, zero-package guard, i18n, WPF shell, server skeleton, Docker, icons, CI. |
|
||||
| 1 Metadata and imaging | Done: metadata parsers, managed codecs, native RAW development (DNG, CR2, NEF, ARW, PEF, RAF), WIC provider and codec inventory, decode tiers, thumbnails and proxies, `diagnose`. Real-camera fixtures wait for verified raw.pixls.us URLs (CI warns per missing sample). |
|
||||
| 2 Data layer and archive | Done: SQLite binding, PostgreSQL wire client, migrations, repositories, job engine, archive layout, sidecars, scan, rebuild, verify, duplicates, orphans, adopt, mass rename. Gate measured: a 100,000-frame archive (400 sequences of 250 photos) rebuilds from sidecars into an index identical in every column in 1.8 s on SQLite and 4.7 s on PostgreSQL (budget 120 s). |
|
||||
| 3 Library and Archive manager | Done: Library (virtualised grid and list, timeline with year bands, filters, saved views, quick actions, mass bar, *Delete…* into the archive's trash with a dry run, typed confirmation and Undo, cards for server-only sequences), Archive manager (tree, health, statistics charts, maintenance with *Trash…* and restore, verify, duplicates, orphans, adopt, mass rename and move with dry runs), Jobs, Settings, Welcome, Server and About. Gate measured on 500,000 photos: Library open 259 ms on SQLite and 181 ms on PostgreSQL on a new connection pool (warm OS cache; budget 1 s); every filter, search, sort and next page ≤ 6.4 ms (budget 200 ms). |
|
||||
@@ -12,8 +13,9 @@ Phase plan: docs/BRIEF.md §22. Windows behaviour is verified on CI (`windows-la
|
||||
| 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. |
|
||||
| 8 Release readiness | Release pipeline end to end (installers, portable and server zips, SHA256SUMS, release notes, optional signing, multi-arch GHCR image, public releases repository content), 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). CI installs the packed installers silently on a clean `windows-latest` runner, runs the installed programs, upgrades in place and uninstalls (files, Add/Remove Programs, shortcuts, file type, user data kept, exit codes). Pending: a tagged pre-release published from CI, 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, `TITANO_PRIORITY_QUEUE`) pauses lower jobs and resumes them by themselves; `TITANO_PARALLELISM` replaces `TITANO_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. Next: phase 4, the visual crop locked to the output's proportions (R5) and mirroring, 90° rotations, straightening and colour filters (R6). |
|
||||
| 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. Next: phase 4, the visual crop locked to the output's proportions (R5) and mirroring, 90° rotations, straightening and colour filters (R6). |
|
||||
| 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`. First pre-release `v0.1.0-rc.1` tagged; its server image waits for the `REGISTRY_TOKEN` secret. |
|
||||
| 9 Monetization | Not started: requires explicit approval (§22). |
|
||||
|
||||
## Verification (2026-10-12)
|
||||
@@ -29,18 +31,19 @@ shared by two indexes), and a last check 2 more (an unreadable photo counted as
|
||||
proxies). All are fixed, each with tests (rows dated 2026-10-12 in DECISIONS and CHANGELOG), except that the
|
||||
screenshot diff (BRIEF §20.2 visual regression) gates nothing until its first baselines are committed (Next steps).
|
||||
The Docker image was built and run with PostgreSQL 17, a fresh archive folder and remapped ports; the client
|
||||
installers are installed, run, upgraded and removed on `windows-latest` by the `installer` CI job.
|
||||
installers were installed, run, upgraded and removed on GitHub's `windows-latest` by the `installer` CI job (since
|
||||
2026-10-23 the last step of the `windows` job, on a Windows runner).
|
||||
|
||||
## How to try it
|
||||
|
||||
```
|
||||
dotnet build Titano.slnx -c Release
|
||||
dotnet run --project src/Titano.Server # https://localhost:8443/admin (set TITANO_DATA_PATH/TITANO_ARCHIVE_PATH)
|
||||
src/Titano.App/bin/Release/net10.0-windows/Titano.exe # Windows
|
||||
src/Titano.Uploader/bin/Release/net10.0-windows/Titano.Uploader.exe # Windows
|
||||
dotnet build Chronos.slnx -c Release
|
||||
dotnet run --project src/Chronos.Server # 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
|
||||
TITANO_PERF=1 dotnet run --project tests/Titano.Data.Tests -c Release -- --filter category:perf --verbose # performance gates
|
||||
src/Titano.App/bin/Release/net10.0-windows/Titano.exe --capture out/screenshots # every screen with sample data, plus Arabic (RTL)
|
||||
CHRONOS_PERF=1 dotnet run --project tests/Chronos.Data.Tests -c Release -- --filter category:perf --verbose # performance gates
|
||||
src/Chronos.App/bin/Release/net10.0-windows/Chronos.exe --capture out/screenshots # every screen with sample data, plus Arabic (RTL)
|
||||
```
|
||||
|
||||
- Diagnostics: Settings › Advanced › Diagnostics › *Export bundle* (desktop) or admin panel › Logs › *Diagnostics* (server,
|
||||
@@ -54,9 +57,9 @@ src/Titano.App/bin/Release/net10.0-windows/Titano.exe --capture out/screenshots
|
||||
- Language: Settings › General › *Language* switches at once; Arabic and Hebrew mirror every window.
|
||||
- Settings: Import, Analysis and Formats pages; Archive rows edit the open archive's `archive.json`; Advanced ›
|
||||
*Restore* picks a daily backup, compares it with the index and restores it at the next start.
|
||||
- Project files: Export › *Save project file* writes a `.titano` file; opening it (double-click or `Titano.exe <file>`)
|
||||
opens the sequence with those settings in the running Titano.
|
||||
- Notifications: minimise Titano and insert a card or finish a job: a Windows notification appears; Ctrl+1…6 and
|
||||
- Project files: Export › *Save project file* writes a `.chronos` file; opening it (double-click or `Chronos.exe <file>`)
|
||||
opens the sequence with those settings in the running Chronos.
|
||||
- Notifications: minimise Chronos and insert a card or finish a job: a Windows notification appears; Ctrl+1…6 and
|
||||
Ctrl+, switch sections.
|
||||
- Edit: Ctrl+3 with no sequence open shows the picker (type to search, Enter opens); the title's ▾ or Ctrl+O chooses
|
||||
another sequence and Esc comes back. The step bar, *Previous*/*Next* (Ctrl+PgUp/PgDn) and Alt+1…8 move between
|
||||
@@ -64,12 +67,17 @@ src/Titano.App/bin/Release/net10.0-windows/Titano.exe --capture out/screenshots
|
||||
|
||||
## Next steps (Phase 8 gate)
|
||||
|
||||
1. Arm the screenshot diff: from the `ci-screenshots` commit of the first green `windows-latest` run at the current
|
||||
HEAD, run `dotnet run --project src/Titano.Tools -- screenshots accept <dir>` and commit the PNGs to
|
||||
`tests/visual/baselines` (its README says how). From then on a visual change, or a screen without a baseline,
|
||||
fails CI.
|
||||
2. Create the public repository (`<owner>/titano-releases`), add the `RELEASES_TOKEN` secret, push a `v0.x.y-rc.1`
|
||||
tag and check the release, the public repository content and the GHCR image (set it public once).
|
||||
3. On Windows: install, upgrade over the previous version, uninstall (with and without user data), silent mode.
|
||||
4. Unraid: add the template repository, install with the official PostgreSQL template, reach the WebUI.
|
||||
5. Native-speaker review of the machine translations where users report wording (`i18n export` per language).
|
||||
1. Server image: create an access token with *package: read and write*, save it as the repository secret
|
||||
`REGISTRY_TOKEN`, then re-run the *Server image* job of the `v0.1.0-rc.1` release run (Actions › Release).
|
||||
2. Visibility: make the `BalboSoft` organisation (and its packages) public, or publish to a public `RELEASES_REPO`, so
|
||||
that people without an account can download releases, get update notices and pull the image.
|
||||
3. Windows runner: register an act_runner in host mode on a Windows PC (.NET SDK, Git for Windows, PowerShell 7) and set
|
||||
the repository variable `WINDOWS_RUNNER` to its label. Then arm the screenshot diff: from the `ci-screenshots` commit
|
||||
of the first green `windows` job of a pull request, run `dotnet run --project src/Chronos.Tools -- screenshots accept
|
||||
<dir>` and commit the PNGs to `tests/visual/baselines` (its README says how). From then on a visual change, or a
|
||||
screen without a baseline, fails the `windows` job.
|
||||
4. On Windows: install the `v0.1.0-rc.1` setup, upgrade over the previous version, uninstall (with and without user
|
||||
data), silent mode.
|
||||
5. Unraid: install the template as a user template (README › Server image, Compose and Unraid) with the official
|
||||
PostgreSQL template, check that its icon (the SVG of `branding/`) shows, reach the WebUI.
|
||||
6. Native-speaker review of the machine translations where users report wording (`i18n export` per language).
|
||||
@@ -7,7 +7,7 @@
|
||||
> - cambia modo di eseguire le attività, ovvero DEVONO essere eseguita una volta e il parallelismo decide quante foto
|
||||
> elaborare nello stesso momento
|
||||
> - Rivedi il menu di esportazione, così occupa troppo e si capiscono bene i dettagli delle esportazioni
|
||||
> - C'è un errore quando seleziono alcuni preseti in @src/Titano.Core.Windows/Wic/WicDecoderProvider.cs
|
||||
> - C'è un errore quando seleziono alcuni preseti in @src/Chronos.Core.Windows/Wic/WicDecoderProvider.cs
|
||||
> - Dai la possibilità di aggiustare la maschera di ritaglio spostandola sull'immagine in modo da fare un ritaglio
|
||||
> visuale in base alle proporzioni scelte
|
||||
> - Aggiungi filtri semplici come specchio, capovolgimento, rotazione, ecc ecc
|
||||
@@ -47,7 +47,7 @@
|
||||
| Crop proportions vs the export preset's? | The chosen proportions win; the preset adapts its resolution (4K at 9:16 = 2160×3840). |
|
||||
| Which export options? | Advanced encoding (rate control, keyframes, B-frames, profile, standard resolutions); fades and hold last frame; reverse, boomerang and loop; single frame. |
|
||||
| Where are the videos' files? | One list; files stay in each sequence's `exports/` and can be copied (hash-verified) to a separate videos folder (Docker: a `/videos` volume). Delete = trash, never erased. |
|
||||
| How to decode the GoPro DNGs? | Full quality (Titano's native 16-bit decoding) for videos; the embedded preview for analysis and the editor preview. |
|
||||
| How to decode the GoPro DNGs? | Full quality (Chronos's native 16-bit decoding) for videos; the embedded preview for analysis and the editor preview. |
|
||||
| A long background job runs and the user starts another job? | By default the new job is queued; pausing the running job lets the next one start. Settings get a priority queue by job kind: when on, a job of a higher kind pauses the running one without asking, and the paused job resumes by itself afterwards. |
|
||||
| Rail width? | 200 px (web panel 256 px), collapse with ≡ or Ctrl+B, collapsed icons name their section in the tooltip. |
|
||||
| How is the sequence chosen in Edit? | A picker inside Edit (searchable single choice) plus "Change sequence" in the header; the other ways to open stay. |
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
# Chronos on Gitea (2026-10-23)
|
||||
|
||||
## Owner's text (verbatim, Italian)
|
||||
|
||||
> Ho cambiato il nome dell'applicazione da Titano a Chronos e la repository da Github a Gitea selfhosted per un
|
||||
> maggiore controllo. Cambia quindi ogni riferimento a Titano con "Chronos" e ogni riferimento a Github con Gitea. Crea
|
||||
> quindi Actions e la prima release automatica che crea sia il pacchetto server che l.exe Windows. Ci occuperemo poi
|
||||
> successivamente delle modifiche
|
||||
|
||||
## Interpretation
|
||||
|
||||
| Id | Request | Working interpretation |
|
||||
|---|---|---|
|
||||
| R1 | Titano → Chronos | Every identifier, file and folder name, namespace, setting, environment variable (`CHRONOS_*`), data folder (`%LOCALAPPDATA%\Chronos`), file type (`.chronos`), sidecar folder, Docker image, string and document. Translations keep the name in Latin script; where a language declined it (Finnish, Estonian, Hungarian, Turkish, Scandinavian genitives, Slavic and Baltic cases), the forms are those of "Chronos". |
|
||||
| R2 | GitHub → Gitea | The repository is `BalboSoft/Chronos` on `https://gitea.encke-hake.ts.net`. Workflows and scripts move to `.gitea/`; the update check, licence, issue and support links read the Gitea repository; images go to the Gitea container registry; issue forms follow Gitea's schema. GitHub stays only where something really is GitHub's (upstream links in `.gitignore`, GitHub token patterns the diagnostics scrub, the `GITHUB_*` variables Gitea Actions sets). |
|
||||
| R3 | Actions and the first release | Gitea Actions workflows for CI, release, nightly image and performance gates that run on the owner's runner (act_runner, Docker mode, Linux). A tag builds the Windows programs (installers, portable and server zips) and the server image and publishes them as a Gitea release and a Gitea package. |
|
||||
| — | "Ci occuperemo poi successivamente delle modifiche" | Functional changes come later: nothing else changes now. |
|
||||
|
||||
## What the runner allows (measured 2026-10-23 with a throw-away workflow on branch `ci-probe`)
|
||||
|
||||
- One runner, act_runner 0.6.1 in Docker mode, label `ubuntu-latest`, on the Linux host that also runs Gitea; one job at
|
||||
a time; the host's Docker socket is mounted into the job containers.
|
||||
- The .NET SDK image has git, curl, openssl and PowerShell but no Node.js: JavaScript actions cannot run in it, so jobs
|
||||
check out with git. `job.services.<id>.id` and `job.container.network` are empty: a step cannot `docker exec` into a
|
||||
service container. Service containers are reached by their name (`postgres`).
|
||||
- The Windows programs cross-compile on Linux with their icon, version information and PerMonitorV2 manifest (checked by
|
||||
reading the resources of the published executables); `pack-installer` runs on Linux.
|
||||
- The workflow's own token (user `gitea-actions`) cannot sign in to the organisation's container registry: images need
|
||||
the `REGISTRY_TOKEN` secret.
|
||||
- The `BalboSoft` organisation is not visible to anonymous visitors.
|
||||
|
||||
## Questions for the owner
|
||||
|
||||
Nothing blocked the work; these need the owner because they are the owner's settings or credentials:
|
||||
|
||||
1. Create an access token with *package: read and write* and save it as the repository secret `REGISTRY_TOKEN`, so the
|
||||
release and nightly workflows can push the server image (then re-run the release's *Server image* job).
|
||||
2. Make the organisation (and its packages) public if other people must download releases, receive update notices and
|
||||
pull the image; otherwise they need an account on the Gitea.
|
||||
3. Optional: register an act_runner on a Windows PC (host mode) and set the repository variable `WINDOWS_RUNNER` to its
|
||||
label, so CI also runs the Windows-only tests, the screenshots and the installer test.
|
||||
4. Optional: a code-signing certificate (`SIGN_PFX_BASE64`, `SIGN_PASSWORD`). The Linux release signs with osslsigncode,
|
||||
the counterpart of the Windows SDK's signtool, installed only when those secrets exist: veto it if build-time tools
|
||||
other than the SDK's are not wanted.
|
||||
|
||||
## Delivery
|
||||
|
||||
| Phase | State | Commit | BRIEF | DECISIONS |
|
||||
|---|---|---|---|---|
|
||||
| R1 rename, R2 Gitea references, R3 workflows and tools | Done | `refactor!: rename Titano to Chronos and move CI and releases to Gitea` | §0.2, §3, §16, §18, §19, §20.2, §21, §22, §23, §24, Appendix A | rows dated 2026-10-23 |
|
||||
| First release `v0.1.0-rc.1` | Tagged after the merge into `main`; the server image waits for `REGISTRY_TOKEN` | — | — | — |
|
||||
@@ -9,4 +9,4 @@ One file per request from the product owner, named `<date>-<slug>.md`. Each file
|
||||
|
||||
A request amends the BRIEF: the amended paragraphs say so, and BRIEF §24 lists every amendment with the request that
|
||||
made it. DECISIONS rows written for a request cite it (`R4`, `owner review 1`). Read the request file first to rebuild
|
||||
why a part of Titano is the way it is.
|
||||
why a part of Chronos is the way it is.
|
||||
+7
-7
@@ -1,4 +1,4 @@
|
||||
# Titano — Design reference for Claude Code
|
||||
# Chronos — Design reference for Claude Code
|
||||
|
||||
Companion to `docs/BRIEF.md` §12 (UI spec). Suggested repo placement:
|
||||
`docs/ui/DESIGN.md` (this file), `docs/ui/mockups/*.html` (open in any browser;
|
||||
@@ -6,7 +6,7 @@ each file is one screen at its natural size, links between screens work), `brand
|
||||
(icon sources). The mockups are the visual target; where a mockup and the brief disagree
|
||||
on behaviour, the brief wins; where they disagree on looks, the mockup wins.
|
||||
|
||||
## 1. Tokens → WPF resource dictionary (`Titano.App/Themes/Dark.xaml`, `Light.xaml`)
|
||||
## 1. Tokens → WPF resource dictionary (`Chronos.App/Themes/Dark.xaml`, `Light.xaml`)
|
||||
|
||||
| Key (SolidColorBrush) | Dark | Light | Use |
|
||||
|---|---|---|---|
|
||||
@@ -90,7 +90,7 @@ Label column left of controls: 116 px in panels, 180 px in Settings.
|
||||
## 5. Icons
|
||||
|
||||
16 px, 1.5 px strokes, round caps and joins, `currentColor`, drawn as `PathGeometry` /
|
||||
`DrawingImage` resources in `Titano.App/Icons/Icons.xaml` (source SVGs in `branding/ui-icons/`
|
||||
`DrawingImage` resources in `Chronos.App/Icons/Icons.xaml` (source SVGs in `branding/ui-icons/`
|
||||
if generated by a tool). No icon fonts, no emoji in shipped UI (the mockups use a few glyphs
|
||||
only as placeholders: replace ⟳ ▾ ✕ ■ ❚❚ ≡ with drawn icons). Directional icons mirror in RTL:
|
||||
`IconData.IsDirectional` marks the glyphs that point along the reading direction (back/forward, chevrons
|
||||
@@ -103,11 +103,11 @@ their island: labels on the reading side, bars growing away from it; time axes a
|
||||
|
||||
## 6. App icon (`branding/`)
|
||||
|
||||
`titano.svg` is the master: 256 plate radius 56 #1A1A1E, ring r 92, 12 ticks of 12° with 18°
|
||||
`chronos.svg` is the master: 256 plate radius 56 #1A1A1E, ring r 92, 12 ticks of 12° with 18°
|
||||
gaps, stroke 20 round caps, opacity 0.14 → 1.0 clockwise from 12 o'clock, sun disc at
|
||||
(152,104) r 30 #F5A524. Variants: `titano-server.svg` (rack badge), `titano-uploader.svg`
|
||||
(up-arrow badge), `titano-mono.svg` (white, no plate, for the tray). PNG renders at
|
||||
16/32/48/64/128/256 are reference output; `Titano.Tools make-icon` must regenerate ICO/PNG
|
||||
(152,104) r 30 #F5A524. Variants: `chronos-server.svg` (rack badge), `chronos-uploader.svg`
|
||||
(up-arrow badge), `chronos-mono.svg` (white, no plate, for the tray). PNG renders at
|
||||
16/32/48/64/128/256 are reference output; `Chronos.Tools make-icon` must regenerate ICO/PNG
|
||||
from the SVG geometry (no raster assets checked in as sources). Badges only at ≥ 48 px.
|
||||
|
||||
## 7. Screen-by-screen notes (mockup → brief section)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano Server — Admin dashboard</title>
|
||||
<title>Chronos Server — Admin dashboard</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -13,7 +13,7 @@ a{color:#0067c0}a:hover{color:#004c8c}
|
||||
<nav style="width: 256px; flex-shrink: 0; background: #ffffff; border-right: 1px solid #e5e5e5; display: flex; flex-direction: column; padding: 16px 12px; gap: 2px; box-sizing: border-box">
|
||||
<div style="display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px">
|
||||
<svg width="22" height="22" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#0067c0" stroke-width="2" stroke-dasharray="3 1.6"/><circle cx="8" cy="8" r="2.4" fill="#e08a1e"/></svg>
|
||||
<span style="display: flex; flex-direction: column"><span style="font-weight: 600; font-size: 14px">Titano Server</span><span style="font-size: 11px; color: #616161">Studio NAS · v1.3.0</span></span>
|
||||
<span style="display: flex; flex-direction: column"><span style="font-weight: 600; font-size: 14px">Chronos Server</span><span style="font-size: 11px; color: #616161">Studio NAS · v1.3.0</span></span>
|
||||
</div>
|
||||
<a href="Admin.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; background: #e8f1fa; color: #0067c0; text-decoration: none; font-weight: 600"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><rect x="1.5" y="1.5" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="9" y="1.5" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="1.5" y="9" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="9" y="9" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/></svg>Dashboard</a>
|
||||
<a href="Admin.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; color: #1a1a1a; text-decoration: none"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="5" r="3" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M2.5 14a5.5 5.5 0 0 1 11 0" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></svg>Users<span style="margin-left: auto; font-size: 11px; color: #616161">6</span></a>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano Server — Users</title>
|
||||
<title>Chronos Server — Users</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -13,7 +13,7 @@ a{color:#0067c0}a:hover{color:#004c8c}
|
||||
<nav style="width: 256px; flex-shrink: 0; background: #ffffff; border-right: 1px solid #e5e5e5; display: flex; flex-direction: column; padding: 16px 12px; gap: 2px; box-sizing: border-box">
|
||||
<div style="display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px">
|
||||
<svg width="22" height="22" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#0067c0" stroke-width="2" stroke-dasharray="3 1.6"/><circle cx="8" cy="8" r="2.4" fill="#e08a1e"/></svg>
|
||||
<span style="display: flex; flex-direction: column"><span style="font-weight: 600; font-size: 14px">Titano Server</span><span style="font-size: 11px; color: #616161">Studio NAS · v1.3.0</span></span>
|
||||
<span style="display: flex; flex-direction: column"><span style="font-weight: 600; font-size: 14px">Chronos Server</span><span style="font-size: 11px; color: #616161">Studio NAS · v1.3.0</span></span>
|
||||
</div>
|
||||
<a href="Admin.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; color: #1a1a1a; text-decoration: none"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><rect x="1.5" y="1.5" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="9" y="1.5" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="1.5" y="9" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="9" y="9" width="5.5" height="5.5" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/></svg>Dashboard</a>
|
||||
<a href="AdminUsers.html" style="display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 6px; background: #e8f1fa; color: #0067c0; text-decoration: none; font-weight: 600"><svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="5" r="3" fill="none" stroke="currentColor" stroke-width="1.5"/><path d="M2.5 14a5.5 5.5 0 0 1 11 0" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/></svg>Users<span style="margin-left: auto; font-size: 11px; color: #616161">6</span></a>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — Archive manager</title>
|
||||
<title>Chronos — Archive manager</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -12,7 +12,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="width: 1440px; height: 900px; box-sizing: border-box; display: flex; flex-direction: column; background: #1f1f23; color: #f2f3f5; font-size: 13px; overflow: hidden; border-radius: 8px">
|
||||
<div style="height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 10px; background: #1a1a1e; flex-shrink: 0">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#4cc2ff" stroke-width="2" stroke-dasharray="3 1.6" opacity="0.9"/><circle cx="8" cy="8" r="2.4" fill="#f5a524"/></svg>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Titano — Archive</span>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Chronos — Archive</span>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<span style="width: 46px; text-align: center; color: #a9aeb9">—</span><span style="width: 46px; text-align: center; color: #a9aeb9">▢</span><span style="width: 46px; text-align: center; color: #a9aeb9">✕</span>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
</div>
|
||||
<div style="display: flex; flex-direction: column; flex-grow: 1; min-height: 0; padding: 16px 20px; gap: 14px">
|
||||
<div style="display: flex; align-items: center; gap: 8px; flex-shrink: 0">
|
||||
<button title="Choose which archive root to manage; network roots are polled, not watched" style="height: 32px; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Archive: D:\TitanoArchive ▾</button>
|
||||
<button title="Choose which archive root to manage; network roots are polled, not watched" style="height: 32px; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Archive: D:\ChronosArchive ▾</button>
|
||||
<span style="width: 1px; height: 22px; background: #3e404a; margin: 0 4px"></span>
|
||||
<button title="Incremental scan: new, changed and removed files by modification time and size" style="height: 32px; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Scan</button>
|
||||
<button title="Rebuild the database from the sequence sidecars; falls back to a full metadata scan; never deletes originals" style="height: 32px; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Rebuild index</button>
|
||||
@@ -113,7 +113,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<span>2026-09-20</span><span style="color: #f2f3f5">Verify · 9.4 TB</span><span style="color: #35c48f">0 errors</span>
|
||||
<span>2026-09-01</span><span style="color: #f2f3f5">Vacuum · 231 → 214 MB</span><span style="color: #35c48f">done</span>
|
||||
<span>2026-08-14</span><span style="color: #f2f3f5">Rebuild index · 412 sidecars</span><span style="color: #35c48f">done</span>
|
||||
<span>2026-08-02</span><span style="color: #f2f3f5">Backup · D:\Backups\titano-2026-08-02.db</span><span style="color: #35c48f">done</span>
|
||||
<span>2026-08-02</span><span style="color: #f2f3f5">Backup · D:\Backups\chronos-2026-08-02.db</span><span style="color: #35c48f">done</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — UI kit</title>
|
||||
<title>Chronos — UI kit</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -169,7 +169,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="display: flex; gap: 8px">
|
||||
<button title="Copy a memory card into the archive" style="height: 30px; padding: 0 12px; border: 0; border-radius: 6px; background: #4cc2ff; color: #0b1b24; font: inherit; font-weight: 600; cursor: pointer">Import a card</button>
|
||||
<button title="Index photos you already have, in place" style="height: 30px; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Adopt a folder</button>
|
||||
<button title="Use a shared Titano Server archive" style="height: 30px; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Connect to a server</button>
|
||||
<button title="Use a shared Chronos Server archive" style="height: 30px; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Connect to a server</button>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width: 236px; display: flex; flex-direction: column; gap: 8px">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — Edit</title>
|
||||
<title>Chronos — Edit</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -12,7 +12,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="width: 1440px; height: 900px; box-sizing: border-box; display: flex; flex-direction: column; background: #1f1f23; color: #f2f3f5; font-size: 13px; overflow: hidden; border-radius: 8px">
|
||||
<div style="height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 10px; background: #1a1a1e; flex-shrink: 0">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#4cc2ff" stroke-width="2" stroke-dasharray="3 1.6" opacity="0.9"/><circle cx="8" cy="8" r="2.4" fill="#f5a524"/></svg>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Titano — Harbour sunset</span>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Chronos — Harbour sunset</span>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<span style="width: 46px; text-align: center; color: #a9aeb9">—</span><span style="width: 46px; text-align: center; color: #a9aeb9">▢</span><span style="width: 46px; text-align: center; color: #a9aeb9">✕</span>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — Edit · Export</title>
|
||||
<title>Chronos — Edit · Export</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -12,7 +12,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="width: 1440px; height: 900px; box-sizing: border-box; display: flex; flex-direction: column; background: #1f1f23; color: #f2f3f5; font-size: 13px; overflow: hidden; border-radius: 8px">
|
||||
<div style="height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 10px; background: #1a1a1e; flex-shrink: 0">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#4cc2ff" stroke-width="2" stroke-dasharray="3 1.6" opacity="0.9"/><circle cx="8" cy="8" r="2.4" fill="#f5a524"/></svg>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Titano — Harbour sunset</span>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Chronos — Harbour sunset</span>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<span style="width: 46px; text-align: center; color: #a9aeb9">—</span><span style="width: 46px; text-align: center; color: #a9aeb9">▢</span><span style="width: 46px; text-align: center; color: #a9aeb9">✕</span>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — Icon</title>
|
||||
<title>Chronos — Icon</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -10,7 +10,7 @@ body{margin:0;font-family:"Segoe UI Variable","Segoe UI",system-ui,sans-serif;ba
|
||||
a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
</style>
|
||||
<div style="width: 1440px; height: 600px; box-sizing: border-box; padding: 20px; background: #1f1f23; color: #f2f3f5; font-size: 13px; overflow: hidden; border-radius: 8px; display: flex">
|
||||
<svg viewBox="0 0 1400 560" style="width: 1400px; height: 560px" aria-label="Titano icon: construction, sizes, variants and wordmark">
|
||||
<svg viewBox="0 0 1400 560" style="width: 1400px; height: 560px" aria-label="Chronos icon: construction, sizes, variants and wordmark">
|
||||
<defs>
|
||||
<symbol id="plate" viewBox="0 0 256 256"><rect x="0" y="0" width="256" height="256" rx="56" fill="#1a1a1e"/></symbol>
|
||||
<symbol id="mark" viewBox="0 0 256 256">
|
||||
@@ -37,7 +37,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<text x="24" y="400">Opacity 0.14 → 1.0 clockwise from 12 o'clock: time accumulating, exposure ramping.</text>
|
||||
<text x="24" y="418">The sun sits off-centre, north-east, the way it does in every sunset shot.</text>
|
||||
<text x="24" y="436">Two colours only: accent #4CC2FF on plate #1A1A1E, sun #F5A524. No gradients, no text.</text>
|
||||
<text x="24" y="454">Generated by `Titano.Tools make-icon` into ICO (16–256), PNG, and the WPF DrawingImage.</text>
|
||||
<text x="24" y="454">Generated by `Chronos.Tools make-icon` into ICO (16–256), PNG, and the WPF DrawingImage.</text>
|
||||
</g>
|
||||
|
||||
<g font-size="11" fill="#a9aeb9" font-family="Segoe UI, system-ui, sans-serif"><text x="400" y="36">ON DARK</text></g>
|
||||
@@ -60,19 +60,19 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<use href="#plate" x="880" y="60" width="150" height="150"/><use href="#mark" x="880" y="60" width="150" height="150"/><use href="#badge-server" x="880" y="60" width="150" height="150"/>
|
||||
<use href="#plate" x="1056" y="60" width="150" height="150"/><use href="#mark" x="1056" y="60" width="150" height="150"/><use href="#badge-uploader" x="1056" y="60" width="150" height="150"/>
|
||||
<rect x="1232" y="60" width="150" height="150" rx="8" fill="#2f3038"/><use href="#mono" x="1232" y="60" width="150" height="150"/>
|
||||
<g font-size="11" fill="#7b818e" font-family="Segoe UI, system-ui, sans-serif" text-anchor="middle"><text x="955" y="228">Titano Server</text><text x="1131" y="228">Titano Uploader</text><text x="1307" y="228">Tray · monochrome · no plate</text></g>
|
||||
<g font-size="11" fill="#7b818e" font-family="Segoe UI, system-ui, sans-serif" text-anchor="middle"><text x="955" y="228">Chronos Server</text><text x="1131" y="228">Chronos Uploader</text><text x="1307" y="228">Tray · monochrome · no plate</text></g>
|
||||
|
||||
<g font-size="11" fill="#a9aeb9" font-family="Segoe UI, system-ui, sans-serif"><text x="880" y="270">WORDMARK · Segoe UI Variable Display Semibold, tracking −1 %, cap height aligned to the ring</text></g>
|
||||
<use href="#plate" x="880" y="290" width="72" height="72"/><use href="#mark" x="880" y="290" width="72" height="72"/>
|
||||
<text x="968" y="343" font-size="48" font-weight="600" fill="#f2f3f5" font-family="Segoe UI Variable Display, Segoe UI, system-ui, sans-serif" letter-spacing="-0.5">Titano</text>
|
||||
<text x="968" y="343" font-size="48" font-weight="600" fill="#f2f3f5" font-family="Segoe UI Variable Display, Segoe UI, system-ui, sans-serif" letter-spacing="-0.5">Chronos</text>
|
||||
<use href="#plate" x="880" y="386" width="40" height="40"/><use href="#mark" x="880" y="386" width="40" height="40"/><use href="#badge-server" x="880" y="386" width="40" height="40"/>
|
||||
<text x="932" y="415" font-size="24" font-weight="600" fill="#f2f3f5" font-family="Segoe UI Variable Display, Segoe UI, system-ui, sans-serif">Titano <tspan fill="#4cc2ff">Server</tspan></text>
|
||||
<text x="932" y="415" font-size="24" font-weight="600" fill="#f2f3f5" font-family="Segoe UI Variable Display, Segoe UI, system-ui, sans-serif">Chronos <tspan fill="#4cc2ff">Server</tspan></text>
|
||||
<use href="#plate" x="1100" y="386" width="40" height="40"/><use href="#mark" x="1100" y="386" width="40" height="40"/><use href="#badge-uploader" x="1100" y="386" width="40" height="40"/>
|
||||
<text x="1152" y="415" font-size="24" font-weight="600" fill="#f2f3f5" font-family="Segoe UI Variable Display, Segoe UI, system-ui, sans-serif">Titano <tspan fill="#f5a524">Uploader</tspan></text>
|
||||
<text x="1152" y="415" font-size="24" font-weight="600" fill="#f2f3f5" font-family="Segoe UI Variable Display, Segoe UI, system-ui, sans-serif">Chronos <tspan fill="#f5a524">Uploader</tspan></text>
|
||||
<g font-size="12" fill="#a9aeb9" font-family="Segoe UI, system-ui, sans-serif">
|
||||
<text x="880" y="466">Clear space around the mark: one tick length (40/256) on every side. Never rotate, recolour or add a drop shadow.</text>
|
||||
<text x="880" y="486">Badges only at 48 px and above; below that the Server and Uploader use the plain mark and their window title.</text>
|
||||
<text x="880" y="506">Installer, Store listing, GitHub social preview and the Unraid template icon all use the 256 px PNG.</text>
|
||||
<text x="880" y="506">Installer, Store listing and the Gitea repository avatar use the 256 px PNG; the Unraid template uses chronos-server.svg.</text>
|
||||
</g>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — Import</title>
|
||||
<title>Chronos — Import</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -12,7 +12,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="width: 1440px; height: 900px; box-sizing: border-box; display: flex; flex-direction: column; background: #1f1f23; color: #f2f3f5; font-size: 13px; overflow: hidden; border-radius: 8px">
|
||||
<div style="height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 10px; background: #1a1a1e; flex-shrink: 0">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#4cc2ff" stroke-width="2" stroke-dasharray="3 1.6" opacity="0.9"/><circle cx="8" cy="8" r="2.4" fill="#f5a524"/></svg>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Titano — Import</span>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Chronos — Import</span>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<span style="width: 46px; text-align: center; color: #a9aeb9">—</span><span style="width: 46px; text-align: center; color: #a9aeb9">▢</span><span style="width: 46px; text-align: center; color: #a9aeb9">✕</span>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — Jobs</title>
|
||||
<title>Chronos — Jobs</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -12,7 +12,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="width: 1440px; height: 900px; box-sizing: border-box; display: flex; flex-direction: column; background: #1f1f23; color: #f2f3f5; font-size: 13px; overflow: hidden; border-radius: 8px">
|
||||
<div style="height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 10px; background: #1a1a1e; flex-shrink: 0">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#4cc2ff" stroke-width="2" stroke-dasharray="3 1.6" opacity="0.9"/><circle cx="8" cy="8" r="2.4" fill="#f5a524"/></svg>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Titano — Jobs</span>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Chronos — Jobs</span>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<span style="width: 46px; text-align: center; color: #a9aeb9">—</span><span style="width: 46px; text-align: center; color: #a9aeb9">▢</span><span style="width: 46px; text-align: center; color: #a9aeb9">✕</span>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — Library</title>
|
||||
<title>Chronos — Library</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -12,7 +12,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="width: 1440px; height: 900px; box-sizing: border-box; display: flex; flex-direction: column; background: #1f1f23; color: #f2f3f5; font-size: 13px; overflow: hidden; border-radius: 8px">
|
||||
<div style="height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 10px; background: #1a1a1e; flex-shrink: 0">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#4cc2ff" stroke-width="2" stroke-dasharray="3 1.6" opacity="0.9"/><circle cx="8" cy="8" r="2.4" fill="#f5a524"/></svg>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Titano</span>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Chronos</span>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<span style="width: 46px; text-align: center; color: #a9aeb9">—</span><span style="width: 46px; text-align: center; color: #a9aeb9">▢</span><span style="width: 46px; text-align: center; color: #a9aeb9">✕</span>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — Server</title>
|
||||
<title>Chronos — Server</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -12,7 +12,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="width: 1440px; height: 900px; box-sizing: border-box; display: flex; flex-direction: column; background: #1f1f23; color: #f2f3f5; font-size: 13px; overflow: hidden; border-radius: 8px">
|
||||
<div style="height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 10px; background: #1a1a1e; flex-shrink: 0">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#4cc2ff" stroke-width="2" stroke-dasharray="3 1.6" opacity="0.9"/><circle cx="8" cy="8" r="2.4" fill="#f5a524"/></svg>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Titano — Server</span>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Chronos — Server</span>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<span style="width: 46px; text-align: center; color: #a9aeb9">—</span><span style="width: 46px; text-align: center; color: #a9aeb9">▢</span><span style="width: 46px; text-align: center; color: #a9aeb9">✕</span>
|
||||
</div>
|
||||
@@ -40,7 +40,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<section style="flex: 1.6; background: #26262c; border: 1px solid #3e404a; border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px">
|
||||
<div style="display: flex; align-items: center; gap: 10px">
|
||||
<label for="url" style="width: 60px; color: #a9aeb9">Server</label>
|
||||
<input id="url" type="url" value="https://nas.local:8443" title="Address of the Titano Server; LAN servers appear in the list when discovery is on" style="flex-grow: 1; height: 32px; box-sizing: border-box; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit">
|
||||
<input id="url" type="url" value="https://nas.local:8443" title="Address of the Chronos Server; LAN servers appear in the list when discovery is on" style="flex-grow: 1; height: 32px; box-sizing: border-box; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit">
|
||||
<button title="Servers found on this network" style="height: 32px; padding: 0 10px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">▾</button>
|
||||
<button title="Close the session and work with the local archive only" style="height: 32px; padding: 0 14px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">Disconnect</button>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — Settings</title>
|
||||
<title>Chronos — Settings</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -12,7 +12,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="width: 1440px; height: 900px; box-sizing: border-box; display: flex; flex-direction: column; background: #1f1f23; color: #f2f3f5; font-size: 13px; overflow: hidden; border-radius: 8px">
|
||||
<div style="height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 10px; background: #1a1a1e; flex-shrink: 0">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#4cc2ff" stroke-width="2" stroke-dasharray="3 1.6" opacity="0.9"/><circle cx="8" cy="8" r="2.4" fill="#f5a524"/></svg>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Titano — Settings</span>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Chronos — Settings</span>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<span style="width: 46px; text-align: center; color: #a9aeb9">—</span><span style="width: 46px; text-align: center; color: #a9aeb9">▢</span><span style="width: 46px; text-align: center; color: #a9aeb9">✕</span>
|
||||
</div>
|
||||
@@ -55,7 +55,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<label for="mem" style="color: #a9aeb9">Memory budget</label>
|
||||
<div style="display: flex; align-items: center; gap: 12px"><input id="mem" type="range" min="2" max="28" value="8" title="Frames stay in memory up to this budget, then spill to the cache folder" style="width: 320px; accent-color: #4cc2ff"><span>8 GB</span><span style="color: #7b818e">of 32 GB installed</span><button title="Auto: a quarter of installed memory" style="height: 24px; padding: 0 8px; border: 1px solid #4cc2ff; border-radius: 12px; background: transparent; color: #4cc2ff; font: inherit; font-size: 11px; cursor: pointer">Auto · 8</button></div>
|
||||
<span style="color: #a9aeb9">Cache folder</span>
|
||||
<div style="display: flex; align-items: center; gap: 10px"><input type="text" value="D:\TitanoCache" aria-label="Cache folder" title="Where frames spill and proxies are built; a fast SSD helps" style="width: 360px; height: 32px; box-sizing: border-box; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit"><button aria-label="Choose folder" title="Choose folder" style="width: 32px; height: 32px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">…</button><span style="color: #7b818e">1.4 GB used · SSD · 612 GB free</span><button title="Delete spilled frames and stale proxies" style="height: 28px; padding: 0 10px; border: 1px solid #3e404a; border-radius: 6px; background: transparent; color: #a9aeb9; font: inherit; font-size: 12px; cursor: pointer">Clear</button></div>
|
||||
<div style="display: flex; align-items: center; gap: 10px"><input type="text" value="D:\ChronosCache" aria-label="Cache folder" title="Where frames spill and proxies are built; a fast SSD helps" style="width: 360px; height: 32px; box-sizing: border-box; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit"><button aria-label="Choose folder" title="Choose folder" style="width: 32px; height: 32px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">…</button><span style="color: #7b818e">1.4 GB used · SSD · 612 GB free</span><button title="Delete spilled frames and stale proxies" style="height: 28px; padding: 0 10px; border: 1px solid #3e404a; border-radius: 6px; background: transparent; color: #a9aeb9; font: inherit; font-size: 12px; cursor: pointer">Clear</button></div>
|
||||
<span style="color: #a9aeb9">Parallelism</span>
|
||||
<div style="display: flex; align-items: center; gap: 12px"><input type="number" value="12" aria-label="Worker threads" title="Worker threads for decoding and processing" style="width: 64px; height: 32px; box-sizing: border-box; padding: 0 8px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit"><span style="color: #7b818e">of 16 logical cores</span><button title="Auto: cores minus 4 so the UI stays responsive" style="height: 24px; padding: 0 8px; border: 1px solid #4cc2ff; border-radius: 12px; background: transparent; color: #4cc2ff; font: inherit; font-size: 11px; cursor: pointer">Auto · 12</button><label style="display: flex; align-items: center; gap: 8px; margin-left: 12px"><input type="checkbox" checked title="Lower the process priority while the UI is in front" style="accent-color: #4cc2ff; margin: 0">Background priority while editing</label></div>
|
||||
<span style="color: #a9aeb9">Hardware encoding</span>
|
||||
@@ -69,8 +69,8 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="display: grid; grid-template-columns: 110px 1.4fr 90px 120px 130px 1fr; gap: 10px; padding: 0 14px; height: 36px; align-items: center; border-bottom: 1px solid #3e404a"><span>H.264</span><span>NVIDIA NVENC (hardware)</span><span style="color: #7b818e">—</span><span>4096×4096</span><span style="color: #35c48f">✓ 188 fps · ok</span><span style="color: #a9aeb9">1080p share · social · square · 720p</span></div>
|
||||
<div style="display: grid; grid-template-columns: 110px 1.4fr 90px 120px 130px 1fr; gap: 10px; padding: 0 14px; height: 36px; align-items: center; border-bottom: 1px solid #3e404a"><span>AV1</span><span>NVIDIA NVENC (hardware)</span><span style="color: #35c48f">10-bit</span><span>8192×8192</span><span style="color: #35c48f">✓ 96 fps · ok</span><span style="color: #a9aeb9">not in any preset · available in Custom</span></div>
|
||||
<div style="display: grid; grid-template-columns: 110px 1.4fr 90px 120px 130px 1fr; gap: 10px; padding: 0 14px; height: 36px; align-items: center; border-bottom: 1px solid #3e404a"><span>H.264</span><span>Microsoft (software)</span><span style="color: #7b818e">—</span><span>4096×2304</span><span style="color: #35c48f">✓ 21 fps · ok</span><span style="color: #a9aeb9">fallback for every H.264 preset</span></div>
|
||||
<div style="display: grid; grid-template-columns: 110px 1.4fr 90px 120px 130px 1fr; gap: 10px; padding: 0 14px; height: 36px; align-items: center; border-bottom: 1px solid #3e404a"><span>MJPEG · AVI</span><span>Titano (built in)</span><span style="color: #7b818e">—</span><span>no limit</span><span style="color: #35c48f">✓ 64 fps · ok</span><span style="color: #a9aeb9">lossless-ish intermediate</span></div>
|
||||
<div style="display: grid; grid-template-columns: 110px 1.4fr 90px 120px 130px 1fr; gap: 10px; padding: 0 14px; height: 36px; align-items: center"><span>GIF · APNG</span><span>Titano (built in)</span><span style="color: #7b818e">—</span><span>1080p</span><span style="color: #35c48f">✓ ok</span><span style="color: #a9aeb9">previews, social loops</span></div>
|
||||
<div style="display: grid; grid-template-columns: 110px 1.4fr 90px 120px 130px 1fr; gap: 10px; padding: 0 14px; height: 36px; align-items: center; border-bottom: 1px solid #3e404a"><span>MJPEG · AVI</span><span>Chronos (built in)</span><span style="color: #7b818e">—</span><span>no limit</span><span style="color: #35c48f">✓ 64 fps · ok</span><span style="color: #a9aeb9">lossless-ish intermediate</span></div>
|
||||
<div style="display: grid; grid-template-columns: 110px 1.4fr 90px 120px 130px 1fr; gap: 10px; padding: 0 14px; height: 36px; align-items: center"><span>GIF · APNG</span><span>Chronos (built in)</span><span style="color: #7b818e">—</span><span>1080p</span><span style="color: #35c48f">✓ ok</span><span style="color: #a9aeb9">previews, social loops</span></div>
|
||||
</div>
|
||||
<span style="font-size: 12px; color: #7b818e">Intel QSV and AMD AMF appear here on PCs that have them. HEVC and AV1 exist only as hardware encoders: without one, those presets fall back to H.264 and say so in the preset list.</span>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano Uploader</title>
|
||||
<title>Chronos Uploader</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -12,7 +12,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="width: 720px; height: 520px; box-sizing: border-box; display: flex; flex-direction: column; background: #1f1f23; color: #f2f3f5; font-size: 13px; overflow: hidden; border-radius: 8px">
|
||||
<div style="height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 10px; background: #1a1a1e; flex-shrink: 0">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#4cc2ff" stroke-width="2" stroke-dasharray="3 1.6" opacity="0.9"/><circle cx="8" cy="8" r="2.4" fill="#f5a524"/><path d="M11.5 15.5 14.5 12.5 11.5 9.5" fill="none" stroke="#f2f3f5" stroke-width="0"/></svg>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Titano Uploader</span>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Chronos Uploader</span>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<span style="width: 46px; text-align: center; color: #a9aeb9">—</span><span style="width: 46px; text-align: center; color: #a9aeb9">✕</span>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Titano — First run</title>
|
||||
<title>Chronos — First run</title>
|
||||
</head>
|
||||
<body>
|
||||
<style>
|
||||
@@ -12,7 +12,7 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div style="width: 1440px; height: 900px; box-sizing: border-box; position: relative; display: flex; flex-direction: column; background: #1f1f23; color: #f2f3f5; font-size: 13px; overflow: hidden; border-radius: 8px">
|
||||
<div style="height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 10px; background: #1a1a1e; flex-shrink: 0">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="#4cc2ff" stroke-width="2" stroke-dasharray="3 1.6" opacity="0.9"/><circle cx="8" cy="8" r="2.4" fill="#f5a524"/></svg>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Titano</span>
|
||||
<span style="font-size: 12px; color: #a9aeb9">Chronos</span>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<span style="width: 46px; text-align: center; color: #a9aeb9">—</span><span style="width: 46px; text-align: center; color: #a9aeb9">▢</span><span style="width: 46px; text-align: center; color: #a9aeb9">✕</span>
|
||||
</div>
|
||||
@@ -45,34 +45,34 @@ a{color:#4cc2ff}a:hover{color:#8ad8ff}
|
||||
<div role="dialog" aria-labelledby="wt" style="position: absolute; left: 400px; top: 148px; width: 640px; background: #26262c; border: 1px solid #3e404a; border-radius: 12px; padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 24px 80px rgba(0,0,0,0.6)">
|
||||
<div style="display: flex; align-items: center; gap: 16px">
|
||||
<svg width="56" height="56" viewBox="0 0 256 256" aria-hidden="true"><rect x="0" y="0" width="256" height="256" rx="56" fill="#1a1a1e"/><path d="M142.4 37.1 A92 92 0 0 1 161.0 42.1" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="0.14"/><path d="M185.9 56.5 A92 92 0 0 1 199.5 70.1" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="0.22"/><path d="M213.9 95.0 A92 92 0 0 1 218.9 113.6" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="0.3"/><path d="M218.9 142.4 A92 92 0 0 1 213.9 161.0" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="0.37"/><path d="M199.5 185.9 A92 92 0 0 1 185.9 199.5" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="0.45"/><path d="M161.0 213.9 A92 92 0 0 1 142.4 218.9" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="0.53"/><path d="M113.6 218.9 A92 92 0 0 1 95.0 213.9" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="0.61"/><path d="M70.1 199.5 A92 92 0 0 1 56.5 185.9" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="0.69"/><path d="M42.1 161.0 A92 92 0 0 1 37.1 142.4" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="0.77"/><path d="M37.1 113.6 A92 92 0 0 1 42.1 95.0" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="0.84"/><path d="M56.5 70.1 A92 92 0 0 1 70.1 56.5" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="0.92"/><path d="M95.0 42.1 A92 92 0 0 1 113.6 37.1" fill="none" stroke="#4cc2ff" stroke-width="20" stroke-linecap="round" opacity="1"/><circle cx="152" cy="104" r="30" fill="#f5a524"/></svg>
|
||||
<span style="display: flex; flex-direction: column; gap: 4px; flex-grow: 1"><span id="wt" style="font-size: 20px; font-weight: 600">Welcome to Titano</span><span style="color: #a9aeb9">Where should your time-lapses live?</span></span>
|
||||
<span style="display: flex; flex-direction: column; gap: 4px; flex-grow: 1"><span id="wt" style="font-size: 20px; font-weight: 600">Welcome to Chronos</span><span style="color: #a9aeb9">Where should your time-lapses live?</span></span>
|
||||
<button title="Interface language; can be changed later in Settings" style="height: 32px; padding: 0 12px; border: 1px solid #3e404a; border-radius: 6px; background: #2f3038; color: #f2f3f5; font: inherit; cursor: pointer">English ▾</button>
|
||||
</div>
|
||||
<div style="display: flex; flex-direction: column; gap: 10px">
|
||||
<button title="Creates the folder layout and the index here; you can move it later" style="display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 16px; border: 1px solid #4cc2ff; border-radius: 8px; background: #2f3038; color: #f2f3f5; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 0 0 2px rgba(76,194,255,0.25)">
|
||||
<svg width="24" height="24" viewBox="0 0 16 16" aria-hidden="true"><path d="M1.5 4.5a1 1 0 0 1 1-1H6l1.5 1.5h6a1 1 0 0 1 1 1v6.5a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1z" fill="none" stroke="#4cc2ff" stroke-width="1.5" stroke-linejoin="round"/></svg>
|
||||
<span style="display: flex; flex-direction: column; gap: 3px; flex-grow: 1"><span style="font-size: 14px; font-weight: 600">Create a local archive</span><span style="font-size: 12px; color: #a9aeb9">D:\TitanoArchive · 1.8 TB free</span></span>
|
||||
<span style="display: flex; flex-direction: column; gap: 3px; flex-grow: 1"><span style="font-size: 14px; font-weight: 600">Create a local archive</span><span style="font-size: 12px; color: #a9aeb9">D:\ChronosArchive · 1.8 TB free</span></span>
|
||||
<span style="color: #a9aeb9">Change…</span>
|
||||
</button>
|
||||
<button title="Index photos you already have, without moving them" style="display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 16px; border: 1px solid #3e404a; border-radius: 8px; background: #2f3038; color: #f2f3f5; font: inherit; text-align: left; cursor: pointer">
|
||||
<svg width="24" height="24" viewBox="0 0 16 16" aria-hidden="true"><path d="M2 4.5h12v9H2zM2 2h12v2.5H2zM6 8h4" fill="none" stroke="#a9aeb9" stroke-width="1.5" stroke-linejoin="round"/></svg>
|
||||
<span style="display: flex; flex-direction: column; gap: 3px; flex-grow: 1"><span style="font-size: 14px; font-weight: 600">Adopt an existing folder</span><span style="font-size: 12px; color: #a9aeb9">Scans a folder tree in place, or a previous Titano archive</span></span>
|
||||
<span style="display: flex; flex-direction: column; gap: 3px; flex-grow: 1"><span style="font-size: 14px; font-weight: 600">Adopt an existing folder</span><span style="font-size: 12px; color: #a9aeb9">Scans a folder tree in place, or a previous Chronos archive</span></span>
|
||||
</button>
|
||||
<button title="Sign in to a Titano Server on your network or on the internet" style="display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 16px; border: 1px solid #3e404a; border-radius: 8px; background: #2f3038; color: #f2f3f5; font: inherit; text-align: left; cursor: pointer">
|
||||
<button title="Sign in to a Chronos Server on your network or on the internet" style="display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 16px; border: 1px solid #3e404a; border-radius: 8px; background: #2f3038; color: #f2f3f5; font: inherit; text-align: left; cursor: pointer">
|
||||
<svg width="24" height="24" viewBox="0 0 16 16" aria-hidden="true"><path d="M4.5 12.5a3 3 0 0 1-.3-6 4 4 0 0 1 7.7-1 3.5 3.5 0 0 1 .3 7z" fill="none" stroke="#a9aeb9" stroke-width="1.5" stroke-linejoin="round"/></svg>
|
||||
<span style="display: flex; flex-direction: column; gap: 3px; flex-grow: 1"><span style="font-size: 14px; font-weight: 600">Connect to a server</span><span style="font-size: 12px; color: #a9aeb9">Studio NAS found on this network · https://nas.local:8443</span></span>
|
||||
<span style="width: 8px; height: 8px; border-radius: 4px; background: #35c48f" title="Discovered a moment ago"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div style="display: flex; align-items: center; gap: 12px">
|
||||
<label style="display: flex; align-items: center; gap: 8px; color: #a9aeb9"><input type="checkbox" title="Send a daily anonymous count of versions and languages in use; nothing else, off by default" style="accent-color: #4cc2ff; margin: 0">Help improve Titano with anonymous usage counts</label>
|
||||
<label style="display: flex; align-items: center; gap: 8px; color: #a9aeb9"><input type="checkbox" title="Send a daily anonymous count of versions and languages in use; nothing else, off by default" style="accent-color: #4cc2ff; margin: 0">Help improve Chronos with anonymous usage counts</label>
|
||||
<span style="flex-grow: 1"></span>
|
||||
<button title="Start with the highlighted choice · Enter" style="height: 36px; padding: 0 22px; border: 0; border-radius: 6px; background: #4cc2ff; color: #0b1b24; font: inherit; font-weight: 600; cursor: pointer">Continue</button>
|
||||
</div>
|
||||
</div>
|
||||
<div role="status" style="position: absolute; right: 20px; bottom: 44px; width: 420px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #2f3038; border: 1px solid #3e404a; border-left: 3px solid #4cc2ff; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.5)">
|
||||
<svg width="18" height="18" viewBox="0 0 16 16" aria-hidden="true"><path d="M4 1.5h6l2.5 2.5v10.5H4z" fill="none" stroke="#4cc2ff" stroke-width="1.5" stroke-linejoin="round"/><path d="M6.5 4v2M8.5 4v2M10.5 4v2" stroke="#4cc2ff" stroke-width="1.2"/></svg>
|
||||
<span style="display: flex; flex-direction: column; gap: 2px; flex-grow: 1"><span style="font-weight: 600">New card inserted · SD 128 GB</span><span style="font-size: 12px; color: #a9aeb9">Canon EOS R5 · 4,812 photos · not yet known to Titano</span></span>
|
||||
<span style="display: flex; flex-direction: column; gap: 2px; flex-grow: 1"><span style="font-weight: 600">New card inserted · SD 128 GB</span><span style="font-size: 12px; color: #a9aeb9">Canon EOS R5 · 4,812 photos · not yet known to Chronos</span></span>
|
||||
<button title="Open Import and give this card a name" style="height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: #4cc2ff; color: #0b1b24; font: inherit; font-weight: 600; cursor: pointer">Import</button>
|
||||
<button aria-label="Dismiss" title="Not now" style="width: 28px; height: 28px; border: 1px solid #3e404a; border-radius: 6px; background: transparent; color: #a9aeb9; font: inherit; cursor: pointer">✕</button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user