Commit Graph
224 Commits
Author SHA1 Message Date
Claude a14059d5a5 fix(app): figure tiles scale their value only to the tile's width
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:53:01 +00:00
Claude 0e79763e90 test(app): smoke tests check real button states, every new capture state and the kept tree selection
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:51:13 +00:00
Claude 2d6756a1e1 fix(app): the shell disposes the Import and Archive screens
They cancel planning, imports and searches and detach their job events.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:51:13 +00:00
Claude 385c7267f6 fix(app): retag stops on Cancel between sequences; menu tooltips show while disabled
Rename and retag log what they changed; the set filter has its own test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:51:13 +00:00
Claude 58ae096061 fix(app): archive tree selection, toolbar, filters and dialogs after review
- reloads and expanding never clear the tree selection; only jobs on this
  archive reload it, once they settle
- one-row toolbar with the view switch and last scan on their own row; figure
  tiles shrink instead of cutting at the minimum width
- set filter by camera, status and tag; duplicates and orphans searches can be
  cancelled; health fixes cover every matching sequence
- Right/Left/Enter open and close years; dialogs hold the keyboard and only
  close themselves; disabled commands say why
- adopt folder can copy into the layout (Import screen); database backup in
  Maintenance; Move dialog capture state

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:44:22 +00:00
Claude 29c82eba5c fix(app): import gates, partial results and plan editing after review
- a card that leaves needs a new check; formatting re-lists the card and refuses
  one that changed since its check; files that are not photos are named in the
  format confirmation
- an import never stays stuck in Running; Retry never resumes an older job
- server imports list refused files and keep what was uploaded when stopped
- the archive result matches each copy to its job's record and shows the job's
  own error per file
- refreshing devices keeps typed titles and choices; titles lock while copying
- three destination names, merge and split of sessions, camera profiles shared
  by the cards of a camera, photo counts and a new-card toast
- disabled controls say why; keyboard focus follows the nickname field and
  Show plan (Esc closes it); label column fits longer languages
- capture states for insertion, running, failed and a new card

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:44:22 +00:00
Claude 5aa5edab57 feat(data): list the files one import job recorded from a card
A read-only query so an import's verification result can match every planned
copy to the record its own job wrote.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:44:22 +00:00
Claude ebcdc4d885 fix(ui): async commands re-query on CommandManager requests; Ctrl+Enter passes through edit fields
AsyncRelayCommand raised CanExecuteChanged only around its own execution, so
buttons bound to it never re-evaluated after the view model's state changed
(CommandManager.InvalidateRequerySuggested reached RelayCommand only).
EditBehavior swallowed Ctrl+Enter, so a screen shortcut never fired while a
field had focus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-03 10:13:15 +00:00
Claude 2f33c33b3f fix(app): label the whole-archive proxy rebuild with the archive name
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:36:24 +00:00
Claude 758bcb162f feat(app): a card without saved settings imports with its camera's profile
BRIEF §13 camera profiles: the settings saved last by another card of the same
camera model; a card seen for the first time takes them once its first plan
names the camera. Remembered cards without settings start from the archive's
templates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:35:00 +00:00
Claude 55469ae086 fix(app): archive tooltips say why a command is disabled; the rename dialog stops planning when closed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:31:27 +00:00
Claude d4f7396ac2 fix(app): an import keeps its result and resume when its card leaves and returns
Re-listing the devices no longer re-plans the card of a running, failed or
finished import, so a removed card can resume its job after re-insertion and
the verification result stays after ejecting. The source list and profile
edits are locked while an import runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:30:13 +00:00
Claude cb41fb69ee test(app): sample card, server quota, current archive and sample report checks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:25:57 +00:00
Claude c6efccf4a9 test(app): smoke tests of every Import state and Archive view in both themes
The screen smoke host's SampleApp becomes internal so the Import and Archive
tests render the same scenes as --capture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:24:11 +00:00
Claude a0e814885c feat(app): Import and Archive manager screens with capture scenes and resources
Import (cards and folders): the card pool with remembered profiles and the
nickname field for new cards, the form (destination, scan, sessions, names
with live preview and tokens, duplicates, after-import choices), the plan
panel with editable session titles, Show plan, the archive import job or
the folder/server run with progress, the verification result and the
after-import actions (dry run, delete, format through the Windows dialog,
eject, open in Library), card-insertion toasts, automatic import into the
archive and resume after re-insertion. Deep analysis after import is queued
with ProcessingJobs at background priority.

Archive manager: archive picker, tree with availability, figure tiles and
charts, mass operations on the selected set, scan/rebuild (dialog)/verify/
duplicates/orphans/adopt/maintenance as jobs, and the maintenance view with
index health, recent runs and the duplicate and orphan reports with safe
fixes.

--capture renders import-<state> and archive-<view> from a simulated card
and sample reports; en and it resources for both screens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 22:20:10 +00:00
Claude f7affe7840 feat(app): import and archive manager logic (plans, card pool, card gate, server sink, tree, charts, reports)
Plain classes behind the Import and Archive screens: plan totals, session
rows and the Show plan listing; duplicate and title choices without a new
scan; folder and server destinations with the protocol client's chunked,
hash-verified uploads; the after-import gate that allows deleting or
formatting a card only after a verified archive import and a dry run; the
archive tree, chart aggregation, mass rename/retag and maintenance reports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 17:39:03 +00:00
Claude 7d95536096 merge: processing work in progress (analysis/render handlers, render node client) 2026-10-02 16:34:02 +00:00
Claude fee198f627 wip(processing): analysis and render job handlers, render node client (interrupted)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 16:33:27 +00:00
Alby96 77a546624c Merge pull request #1 from Alby96/claude/keen-knuth-uhxv8w
Titano: time-lapse ecosystem (client, server, uploader) — in progress
2026-10-02 16:29:52 +02:00
Claude 21aed70b8d fix(ui): show the rail badge count; keep job row actions inside the table
The rail badge bound an int through TemplateBinding, which does not
convert to text, so the pill was empty. The jobs table's fixed progress
column pushed the row actions past the right edge at 1200 px; progress
now shares the free width with the target column.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 13:50:05 +00:00
Claude 3cb94612c0 fix(server): service command line works in a single-file publish
Assembly.Location is empty in a single-file app (IL3000 failed the
Windows publish step); the entry assembly path now comes from the base
directory, which is where it lives when the server runs under dotnet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 13:35:28 +00:00
Claude f4e2f285a9 fix(server): Windows startup test asks for PostgreSQL; TITANO_LOG_LEVEL
The connection-string test built options with the platform default,
which is SQLite on Windows, so it parsed a file path as a PostgreSQL
connection string. The server gains a log level setting
(TITANO_LOG_LEVEL, also in compose and the Unraid template); the test
servers log warnings only, which cuts the suite's output from 511 to 80
lines so failures stay findable in CI logs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 13:20:03 +00:00
Claude 34505dfe79 fix(app): settings list column width is a GridLength; lint resource value types
The Settings screen sized its section column from a Double resource;
ColumnDefinition.Width needs a GridLength, so the template failed to
load on Windows. xaml-lint now compares keyed Double, GridLength,
Thickness and CornerRadius resources with the property they are used
for, so this fails on Linux too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 13:05:24 +00:00
Claude b6c6aa67ee fix(core): uploaders cannot open sequences; a sequence title is never empty
The uploader role carried Read, letting upload-only accounts browse
thumbnails and proxies although the users page promises they cannot
open sequences (listing targets needs only Upload). DisplayTitle falls
back to the folder name when there is no title, date or camera.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 13:03:03 +00:00
Claude ac9a150027 feat(server): run on the real archive engine
ArchiveModule registers the archive engine as the server's ingest, its
proxy/thumbnail locator and its job handlers (through the new
IJobHandlerProvider); Program.cs passes it to ServerHost.Build. The
server opens its archive through ArchiveService so archive.json always
exists. The server's path-safety helper is renamed ArchivePathGuard to
stop clashing with the archive layout's ArchivePaths, and the server
migration is renumbered 0003. An end-to-end test uploads a photo, finds
it in the layout and fetches the thumbnail built by the queued job.
CI's PostgreSQL jobs now run the server tests too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 13:00:38 +00:00
Claude 8f54bd8804 merge: full Titano Server (auth, users, uploads, sync, jobs, render nodes, events, admin panel, Windows service)
# Conflicts:
#	i18n/en/Server.resx
#	i18n/it/Server.it.resx
#	src/Titano.Data/Repositories/FrameRepository.cs
2026-10-02 12:54:14 +00:00
Claude dce475aaa7 docs: record desktop and job engine decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:49:15 +00:00
Claude 9fd7ac0d36 feat(app): connect the archive engine to the desktop client
The client builds the archive service on its index (WIC, then managed
decoders), registers its scan, rebuild, verify, import, thumbnail, proxy
and maintenance handlers, reopens the last archive at start and rescans
it every 10 minutes. Welcome and Library create or adopt archives
through it and queue a full scan; a failure shows a toast.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:49:15 +00:00
Claude 6ac27413a7 fix(jobs): claim only handled kinds and requeue numbered workers after a crash
An engine with no handlers (or a filter it could not serve) claimed every
job, so a host without a render handler would fail render-node work.
With several workers, jobs carry node ids such as pc#1, but crash
recovery only matched the bare node id and left them running forever.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:49:15 +00:00
Claude 4e9d7f2caa docs(deploy): TITANO_DB also takes a full connection string
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:46:47 +00:00
Claude bbbea4b838 fix(server): admin tables keep their columns aligned and fit beside the user panel
Fixed action columns, a separate class for table avatars, the archive tile
label, a wrapping fingerprint and footers only when there is a next page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:46:47 +00:00
Claude b4f61e29b9 merge: desktop library, jobs, settings, server, welcome and about screens 2026-10-02 12:42:39 +00:00
Claude 08810a92dd fix(archive): lease reads never block the holder and survive a renewal in progress
A renewal rewrites the lease in place. On Windows a concurrent read hit
a sharing violation and reported the lease as unreadable; anywhere, a
read could meet a torn record, and a reader without delete sharing could
stop the holder from releasing or a writer from breaking a stale lease.
Readers now share read, write and delete and retry briefly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:42:39 +00:00
Claude 26016f1621 feat(server): admin panel pages for dashboard, users, archive, jobs, settings and logs
Vanilla ES modules under a strict CSP (bars and charts are SVG, no inline
styles), cookie session with CSRF header, first sign-in password change,
live updates over the events WebSocket, language menu fed by
/api/v1/i18n. Every label and tooltip is an Admin.* resource (en, it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:41:42 +00:00
Claude 145ecf33d2 fix(server): refuse to start before touching the database when the archive module is missing
The services callback now runs before the server's registrations, so the
check needs no database and integrations can override the clock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:41:42 +00:00
Claude 8d4b00aceb test(app): screen smoke tests and thumbnail decoding on Windows
Every screen is rendered from the --capture sample data in an off-screen
main window in both themes; thumbnails are decoded from embedded previews
with orientation. The sign-in flow now stores the login token on every
IServerApi, and thumbnail pending loads include index lookups so capture
waits for them. A cancelled-load test no longer depends on scheduling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:40:57 +00:00
Claude 3ffc75f314 docs: record archive, import and RAW decoding decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:35:22 +00:00
Claude 5a325ece60 refactor(core): keep a single thumbs.pack format
The decode workstream added a second pack writer and proxy builder that
wrote TTPK files with a different layout to the same path as the
archive's ThumbPack. The archive implementation is the one wired into
ingest, maintenance and the thumbnail jobs; the unused duplicates are
removed. The LRU ThumbnailCache stays for the UI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:35:22 +00:00
Claude 9ee2d482b6 merge: RAW/DNG decoding, managed decoder provider, frame window and thumbnails
# Conflicts:
#	src/Titano.Tools/Program.cs
2026-10-02 12:32:14 +00:00
Claude e92568a7bb merge: archive layout, sidecars, scan/rebuild/verify, card import and ingest 2026-10-02 12:30:53 +00:00
Claude 1c19b00a00 feat(data): archive services, ingest and job handlers
ArchiveService facade over indexer (scan, adopt, rebuild), ArchiveIngest
(IArchiveIngest with per-sequence group commit, leases and a write-ahead
journal), verifier, maintenance (duplicates, orphans, cleanup), mass rename
with resumable journal, thumbnails/proxies and card import; job handlers for
scan, rebuild, verify, import, thumbs, proxies and maintenance with checkpoints.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:30:15 +00:00
Claude 33582a3617 feat(data): session keys, scan stamps and archive queries
Migration 0002 adds sequence_sessions and archive_folders. New repository
methods: folder scan state, session-key mapping, sequence locations and
relocation, frame sync from sidecars, duplicate and candidate lookups, folder
rebase, integrity updates and verifiable card import history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:30:15 +00:00
Claude 8cb9672520 feat(core): card import planning and verified copy engine
Card scanning (DCIM and flat), session splitting with test-shot merging and
user splits/merges, per-body import plans named by templates with archive
duplicate detection, hash-verified resumable copy with per-file errors, a
plain-folder destination and a verified card erase with dry run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:30:14 +00:00
Claude 55895e8474 feat(core): archive layout, sidecars, leases and thumbnail packs
archive.json and sequence.json with source-generated JSON, forward-compatible
reading (unknown fields kept, unknown enum names tolerated) and atomic writes;
lease files with expiry and stale takeover; thumbs.pack with index, crash-safe
append and random access; folder scanning, in-place adoption, reconcile,
verify, index snapshot, rename planning and thumbnail/proxy rendering.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:30:14 +00:00
Claude 80b91d0585 test(server): auth, uploads, ranges, sync, jobs, render nodes, events
Covers bootstrap admin, sign-in failure, lockout and rate limit, token
revocation and expiry, 401 versus 403, CSRF on cookie sessions, the error
shape and API header, chunked upload happy path, resume, hash
short-circuit, damaged chunk, quota, Range on originals, thumbnails and
exports, path traversal, settings_version conflicts, job state
transitions with a fake handler, render node claim, heartbeat timeout and
reassignment, output upload, WebSocket progress events, the discovery
beacon, the Windows service command line and status rules, and a
PostgreSQL run (TITANO_TEST_PG).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:28:47 +00:00
Claude 248439956f test(raw): lossy-JPEG and floating-point DNGs, calibration and list-3 maps
Covers compression 34892 with a linearisation table (42.8 dB), Deflate
with the floating-point predictor for CFA and LinearRaw data,
CameraCalibration1 with AnalogBalance in the colour transform, and a
value-mapping opcode in OpcodeList3 applied to unbalanced values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:28:41 +00:00
Claude ffbea7cb74 feat(app): library, jobs, settings, server, welcome and about screens
Local-mode composition root (SQLite index, one JobEngine fed by a single
handler registration list), keyset-paged library with thumbnail cache and
hover scrub, live job list with throttled updates and the shell job bar,
settings with live template validation and encoder self-test, server
connection with trust-on-first-use and DPAPI token, first-run welcome,
About with update check, and --capture screenshots with synthetic data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:26:58 +00:00
Claude fc8c2aa3f8 docs: record render pipeline and i18n decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:26:18 +00:00
Claude 87c70eef4e feat(i18n): export, render and encoder messages; check keys passed as data
Adds the Export catalog (en, it) for preset names, plan and render
warnings and encoder notices. i18n check now treats C# string literals
shaped Area.Group.Name with an existing area as used keys, which is how
these 53 keys had gone unnoticed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:26:18 +00:00
Claude f78a76513c fix(core): tell value-type Auto settings without advice from an advised default
Auto<T>.Resolve returned default instead of the fallback for value types
because AutoValue cannot be null there. Auto<T> now records HasAdvice;
the render pipeline's ProjectValues workaround and the advisor's
ReasonKey heuristic are removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 12:26:17 +00:00