Commit Graph
8 Commits
Author SHA1 Message Date
Alby96 b8fa04dc28 Merge branch 'review2-p1-fix-import' into claude/owner-review-2-p1 2026-10-26 23:40:39 +01:00
Alby96andClaude Opus 5.5 a809416199 fix(import): keep a server rename on re-import and show multi-day sessions
A whole folder imported again to the server sent its folder name as the
sequence title on every run, undoing a rename made on the server. The
sink now sends a typed title as before, but the folder's default name
only to a sequence that has no title yet (it reads the sequence first).
The archive already applied a title only when it created the sequence.

A session that ends on another day, as a whole folder often does,
showed only its first date ("28/09/2026 · 18:02 → 18:05"), which read
as a few minutes on one day. Its plan row and Show plan heading now
show both dates, from two new invariant resources (with the
right-to-left arrow).

The Gap and Minimum boxes now show their tooltip while disabled, so the
reason Whole folder turns them off reaches them, not only the Sessions
check box. Doc comments that said a merge needs the same camera now
mention the whole-folder rule.

Tests: a server whole-folder import run twice keeps the server's rename
and still applies a typed title; multi-day time text in both reading
directions; and the Import view model's Group rules (folder only, cards
planned by sessions, switching drops splits, tooltips say why).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 23:33:16 +01:00
Alby96andClaude Opus 5.5 bb065c7836 fix(app): find Settings › About by its translation row only when it shows
The About entry of the Settings search always listed "Translation" among its
keywords, and its tooltip named the translation, but that row shows only
outside English. In English a search for "Translation" left About alone in the
list and selected a page without such a row. The page's search words are now
read at each search, so the keyword follows the language while Settings is
open, and the tooltip no longer names a row that may be hidden.

Also drop About from the doc comments of the update notice and the
diagnostics bundle: since owner review 2, R5 only Settings › Updates and
Settings › Advanced offer them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 23:18:03 +01:00
Alby96 a11fe8d27a Merge branch 'review2-p1-desktop-about' into claude/owner-review-2-p1 2026-10-26 22:50:48 +01:00
Alby96andClaude Opus 5.5 8886e075b9 feat(app)!: move About into Settings as its last page
The owner asked to fold the About section into Settings to save room in the
side rail (owner review 2, R5). The rail now docks Settings alone at the
bottom; About is the last Settings page with this copy's identity: version,
build, runtime, system, licence link, third-party notice and, outside English,
the machine-translation notice with its review link.

Nothing is offered twice inside Settings: the update check, its notice and the
releases link live on Updates, the data folder and the diagnostics bundle on
Advanced, so About's duplicate buttons and its own diagnostics code are gone.
AboutViewModel stays as a plain helper owned by the shell (Chronos.App.About),
which keeps every Shell.About binding and the update check on start.

SectionKey.About, AboutView and the rail strings are removed (orphans pruned
from every culture, which also re-sorts two Setup tooltip keys); the capture,
the smoke tests, DESIGN, ARCHITECTURE, the desktop mockups and the docs that
pointed at About follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 22:48:27 +01:00
Alby96andClaude Opus 5.5 445dfd41a3 feat(import): import a whole folder as one sequence per format
Owner review 2, R9: Import › Folder… gains a "Group" choice for picked
folders: Sessions (as before) or Whole folder. A whole folder, with its
subfolders when Subfolders is on, becomes one sequence per file format;
camera bodies and pauses are ignored, while RAW+JPEG of the same shots
stays two sequences so no frame is ever doubled. Only the user's splits
break it, and Merge joins a split part back.

The planner implements it (ImportOptions.Grouping, Core, Linux-tested):
the session key is "folder-" plus a hash of this PC's name, the full
path and the format, so an interrupted or repeated import continues the
same sequence; the default title is the folder's name. The plan shows
one row per format with the format and the number of cameras. Cards and
drives always import by sessions; the choice is not part of a card
profile and a folder starts on Sessions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 22:00:55 +01:00
Alby96andClaude Opus 5.5 f80fc148bf fix(app): build update links from the releases repository address (#7)
CI / Build and test (push) Canceled after 2m45s
CI / PostgreSQL 16 integration (push) Canceled after 0s
CI / PostgreSQL 17 integration (push) Canceled after 0s
CI / Docker image (push) Canceled after 0s
CI / YAML check (push) Canceled after 0s
CI / Windows tests and installer (push) Canceled after 0s
Gitea writes a release's html_url and browser_download_url with its ROOT_URL,
which on the owner's server is the plain-http LAN address
http://192.168.30.23:3000. The update check accepts only https links, so it
ignored v0.1.0-rc.1 entirely. The page and download links now come from
ChronosReleasesUrl, the address the build names for its users; only the
tags, file names and sizes are read from Gitea's answer.

The lease renewal test's timer periods follow TestTiming too: on the shared
CI host a 100 ms renewal timer came 700 ms late once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
2026-10-23 14:39:10 +02:00
Alby96andClaude Opus 5.5 f2b58522b9 refactor!: rename Titano to Chronos and move CI and releases to Gitea (#6)
CI / Build and test (push) Successful in 8m14s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 7s
Release / Build, test and publish (push) Successful in 13m19s
CI / PostgreSQL 16 integration (push) Successful in 4m49s
CI / PostgreSQL 17 integration (push) Successful in 5m28s
CI / Docker image (push) Successful in 53s
Release / Server image (push) Failing after 10s
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 and the system SQLite. 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; the
  throw-away server runs without durability) and pe-check.
- Timed tests take their budget from TestTiming (CHRONOS_TEST_TIME_FACTOR,
  3 on the shared runner; the weekly performance gates keep theirs).

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>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
2026-10-23 12:45:18 +02:00