Commit Graph
136 Commits
Author SHA1 Message Date
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 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 446daeae2b fix(data): name the archive namespace Archiving to avoid the Archive entity
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:45:12 +00:00
Claude ece7f1add0 feat(data): archive ingest contract shared by server uploads and card import
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:44:34 +00:00
Claude 3223c8af39 fix(testing): escape XML-invalid characters in JUnit reports
A theory case containing a control character crashed the JUnit writer
after every test had passed, failing the Data test step on all runners.

Also clears a stale rejected certificate fingerprint once a later
handshake is accepted or the fingerprint is trusted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:43:36 +00:00
Claude 95dbf53569 ci: capture uploader screenshots; docs: record job engine, visuals and uploader decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:41:41 +00:00
Claude 96bc2cafbe merge: Titano Uploader (queue, watch folders, tray, resumable uploads) 2026-10-02 10:40:07 +00:00
Claude ffa67da4eb merge: visual controls (virtualizing card grid, filmstrip, charts, preview viewport, curve editor) 2026-10-02 10:40:04 +00:00
Claude 11a38f745a feat(data): persistent job engine with checkpoints, pause/resume and crash recovery
JobEngine claims queued jobs atomically, persists progress at most every
checkpoint interval, stops a handler when its job is cancelled or paused
elsewhere and requeues jobs a crash left running.

Also installs the SQLite import resolver under a lock so a concurrent
first caller cannot reach a P/Invoke before the resolver is in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:40:01 +00:00
Claude 65fdaaf6e4 test(uploader): match transport calls by path in the engine test
Two workers hash in parallel, so the first call is not always the first
item.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:34:03 +00:00
Claude 93f8dca1db fix(uploader): sign-in default button, neutral watch status, typed MB/s limit
The hidden sign-in button is the default only while visible and sign-in
runs only when signed out; the password copy is cleared after success.
A watch folder shows a neutral dot until its first check. The MB/s field
parses its own text so invalid input reverts instead of showing a
framework validation message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:31:58 +00:00
Claude e6938d6cf3 docs: record installer and data-layer decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:31:57 +00:00
Claude ebe62b77ad refactor(uploader): drop members only tests used
Tests write serialized queue and watch-memory bytes directly; the app
persists through its coalescing writer. Single-instance hand-over no
longer returns an unused flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:31:47 +00:00
Claude eb1c674f4c merge: data layer (SQLite binding, PostgreSQL wire client, migrations, repositories)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:30:46 +00:00
Claude dc11ccf342 merge: in-house installer (TPK1 payload, pack-installer, Titano.Setup)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:30:38 +00:00
Claude 1b82b7ad62 fix(ui): apply the TitanoWindow style to window subclasses
Implicit styles match the exact element type, so MainWindow and other
subclasses rendered without the custom chrome template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:30:38 +00:00
Claude 2c4a0c1a47 fix(app): make --capture failures visible in CI
Mirror the log to stderr in capture mode, report how many screenshots
were written, exit non-zero when none were, and print the capture log
in the CI step with a warning annotation when no images are produced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:29:51 +00:00
Claude a12ec6b493 perf(ui-visuals): keep seeking and panning free of redundant work
The filmstrip moves one cached current-frame marker instead of building a
geometry per seek; panning the preview no longer re-applies the wipe clip
or re-sets an unchanged zoom.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:29:45 +00:00
Claude 75508395c3 fix(ui-visuals): guard preview layers during base construction
The base constructor sets an inherited property, which can enumerate visual
children before the surface's layer collection is assigned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:28:13 +00:00
Claude 192fc7dcb3 feat(uploader): uploader window, dialogs, tray icon and screenshot mode
Single 760x560 window after the Uploader mockup: header with server,
user, connection glyph and quota; first-run connect form with LAN
servers and a TOFU fingerprint dialog; drop zone with an IFileOpenDialog
browse menu (files or folder/card); target choice; queue line,
pause/stop and MB/s limit; progress and per-file states with retry;
watch-folder chips; options, with a destructive confirmation before
"Delete after upload"; in-window settings panel. Shell_NotifyIcon tray
icon (program icon, Show/Pause/Exit menu, balloon on completion), app
bootstrap with logging, language, theme, single instance hand-over, and
--capture rendering connect/queue/settings in dark and light from a
design-time sample provider.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:28:03 +00:00
Claude 2849b5062d fix(data): bound the SQLite write-lock wait
A transaction left open by mistake now fails other writers with a
transient SQLITE_BUSY after 60 s instead of hanging them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:52 +00:00
Claude 42d96c962d feat(uploader): server session with trust-on-first-use sign-in and LAN discovery
Checks the certificate before sending the password and returns an
unknown self-signed fingerprint for confirmation; restores the saved
token, reports quota, probes every 30 s while offline, signs out when
the token is rejected or the certificate changes, and maps transport
failures for the engine. UDP beacon listener for servers on the LAN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:36 +00:00
Claude ad5c3e0f37 feat(uploader): settings, DPAPI token, single instance and startup registration
uploader.json (server, user, DPAPI CurrentUser-protected token, trusted
fingerprints, options, watch folders) written atomically; command line
(paths, --tray, --capture); named mutex plus a current-user named pipe
that hands a second launch's paths to the running instance; HKCU Run
key for "Start with Windows"; coalescing background writer for state
files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:36 +00:00
Claude 71ce11a2e6 fix(setup): ask again before closing programs on every attempt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:29 +00:00
Claude 27f0d73f05 feat(uploader): watch folders with stable-file detection and processed-file memory
Polls each folder at its interval with FileSystemWatcher hints on local
disks (network shares are polled only); a photo is queued once its size
and write time are unchanged in two consecutive checks. Files the server
confirmed are remembered by path, size and write time in
uploader-watch.json together with each folder's last session.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:24 +00:00
Claude 2a74c12fd1 feat(uploader): upload engine with queue retries and verified-only source deletion
Two parallel files: hash, resumable upload through a transport, then
verified or already-on-server. Failed items retry after 30 s up to 3
times on top of the client's transient retries; an unreachable server
requeues without spending a retry. A new-sequence batch creates its
sequence once. "Delete after upload" removes only files the server
confirmed and that still match the hashed size and write time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:24 +00:00
Claude fb42423346 fix(data): close concurrency and cleanup gaps found in review
- SQLite restore holds every pool slot instead of the write lock first,
  removing a lock-order deadlock with sessions that begin to write.
- PostgreSQL sessions always return their connection on dispose, a
  rollback while disposing never masks the original exception, and a
  busy session keeps its transaction until it is discarded.
- The pool disposes a connection whose health check the caller cancels.
- Listener commands keep their lock until the server answers and never
  tear a write with the caller's token; closing and pending no longer race.
- Tag replacement locks the sequence and the tag row; unused-tag cleanup
  locks candidates and re-checks them with a fresh snapshot; render
  counts and stats refreshes lock the sequence row on PostgreSQL.
- Sequence upserts keep rendered_count, which renders maintain.
- AuthenticationOk after an unfinished SCRAM exchange is rejected.
- Oversized read buffers are released; failed backups leave no .tmp;
  a zero idle lifetime is rejected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:19 +00:00
Claude 62c7b0d956 feat(uploader): persisted upload queue, session grouping and queue texts
Per-file states (queued, hashing, uploading, verified, skipped, failed
with reason), batches with their target (auto sessions, sequence, new
sequence), uploader-queue.json persistence with interrupted transfers
resuming as queued, photo scanning of files/folders/card roots, BRIEF
§13 session keys (45 min gap, test shots merged), throughput meter and
culture-aware queue/progress lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:12 +00:00
Claude b0c5790adb test(ui-visuals): render every visual off screen and virtualize 500k items
Windows-only tests load the real theme on an STA dispatcher, render each
control in both themes, check the card fits the default grid slot, the
wrap panel keeps containers bounded over half a million items, preview
zoom modes and segment positions, and asynchronous filmstrip loading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:10 +00:00
Claude 04e3e3bdda feat(ui-visuals): add Visuals.xaml styles and merge them into the theme
Card list and container styles, SequenceCard, PreviewViewport,
SegmentedControl and SplitButton templates, focus visuals for the drawn
controls; Controls.xaml merges the dictionary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:10 +00:00
Claude f18c26ca09 feat(ui-visuals): add SegmentedControl and SplitButton
Segmented single-selection list with a shared border for the view switcher,
and a split button whose drop-down menu chooses the item its command uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:10 +00:00
Claude cf0c0a6c6a feat(ui-visuals): add CurveEditor for time remap and keyframes
Edits control points in place (add, drag with monotone X, delete, nudge)
and draws the curve from a supplied evaluator, with grid, diagonal and
playhead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:09 +00:00
Claude 44ac5d84c0 feat(ui-visuals): add PreviewViewport with wipe compare, zoom, pan and overlays
Images and overlays are retained visuals under one shared transform, so
panning only updates a matrix. Fit, 1:1 (raw device pixels) and wheel zoom
around the cursor; motion vectors, region boundary and crop mask overlays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:09 +00:00
Claude df4af1013a feat(ui-visuals): add series, bar, heatmap, stacked and timeline charts
SeriesChart decimates each line to two points per pixel column and adds a
legend row, nice-tick gridlines, dashed markers, a playhead, click-to-seek
and a hover readout. BarChart, HeatmapStrip, StackedBar and TimelineBands
cover the Archive statistics and the Library timeline bands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:09 +00:00
Claude 3ba68fef1d feat(ui-visuals): add Filmstrip with frame markers and thumbnail cache
Cells sampled across the sequence load asynchronously into an LRU cache;
exposure-step and keyframe markers sit above; click, drag, wheel and keys
seek CurrentIndex, whose cell is outlined in Accent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:09 +00:00
Claude 028aa977f4 fix(setup): let the elevated window's Launch start the program unelevated
The unelevated parent now always knows the program path, so Launch on the
success screen of an elevated all-users install works even when "Start when
done" was not ticked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:07 +00:00
Claude 5e7551c91d feat(i18n): uploader strings and tooltips (en, it)
Uploader area (labels, queue and progress lines with plurals, sign-in
errors, dialogs, tray) and Tooltips.Uploader.* keys in en and it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:27:03 +00:00
Claude 0ac73793c7 feat(ui-visuals): add SequenceCard with asynchronous hover scrubbing
Card control for the Library (16:9 thumbnail, badge, selection box, title,
secondary line, status glyphs) whose thumbnail scrubs through the sequence
from an IThumbnailSource, cancelling stale requests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:26:50 +00:00
Claude 0e2f9fd4f4 feat(ui-visuals): add VirtualizingWrapPanel for the Library grid
Fixed-size wrapped items with pixel scrolling (IScrollInfo), one cached row
per side, container recycling, O(1) index/offset mapping, scrolling padding,
reflow anchoring on resize and grid keyboard navigation with selection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:26:49 +00:00
Claude 2328c2b32e feat(ui-visuals): add retained-mode drawing base and chart data types
DrawingElement resolves theme brushes by key (re-resolved on theme swap via
a resource-reference probe), caches frozen pens per theme and DPI, lays out
text in the UI font and offers an overlay layer redrawn without touching the
static content. HoverReadout is a mouse-following tooltip for values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:26:49 +00:00
Claude ee1ba9a4ad test(packaging): cover malformed manifests with a valid hash
Invalid JSON, missing or null required fields, an unknown format version, an
unsafe product name and an empty component list are all reported as corrupt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:26:21 +00:00
Claude 6555549e0c fix(setup): use the SDK's single-file compression property
EnableCompressionInSingleFile is the switch the bundler reads; the published
setup stub shrinks from 157 MB to 70 MB, and with it every installer and the
uninstaller copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:25:21 +00:00
Claude d3d1c5db0d style: whitespace after codecs merge; record codec decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:17:37 +00:00
Claude c97b4fb82c feat(setup): add one-screen installer, uninstaller and silent mode
Titano.Setup reads the TPK1 payload from its own executable and installs per
user (%LOCALAPPDATA%\Programs) or for all users (Program Files, relaunched
elevated through ShellExecuteEx "runas"). Extraction is hash-verified into a
staging folder and committed with rollback; upgrades replace files in place,
remove obsolete ones and never touch %LOCALAPPDATA%\Titano.

- Components, scope, folder (IFileOpenDialog picker), desktop and Start menu
  shortcuts (IShellLinkW), start-after-install, language picker
- Add/Remove Programs entry, .titano file type, install log
- /uninstall [/S] removes only logged files, shortcuts and registry entries;
  user data only when "Remove my data" is ticked; the uninstaller deletes
  itself through a temporary helper copy
- Silent switches /S /DIR= /COMPONENTS= /ALLUSERS /NODESKTOP /NOSTARTMENU
  /LAUNCH /LANG= with documented exit codes; running programs are asked to
  close, never killed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:16:20 +00:00
Claude 1c09d8059a merge: managed codecs (JPEG baseline/progressive/lossless, PNG, TIFF, linear DNG, resampler)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:16:18 +00:00
Claude 5b5f38c91d feat(i18n): add Setup strings and tooltips
English and Italian labels, messages and Tooltips.Setup.* entries for the
installer window; error sentences carry the long-text budget.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:15:59 +00:00
Claude 6aacaff882 fix(codecs): size JPEG bit-writer buffers in 64-bit arithmetic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:14:41 +00:00
Claude 8d9b04c713 refactor(data): pin server output settings and guard busy connections
Pin bytea_output=hex and standard_conforming_strings=on in the startup
packet instead of tracking ParameterStatus values nobody read, so the
legacy bytea escape decoder goes away. A PostgreSQL connection now
refuses a new command while a row stream is still open, and the pool
discards such a connection. Drop unused SQLite declarations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:13:09 +00:00
Claude f2c0709ef2 refactor(codecs): pool luminance rows and gate timing on optimised builds
EncodeRow8/16 reuse one pooled scratch row for RGB-to-gray output
instead of allocating per row; drop unused JPEG marker constants; the
24 MP timing test skips itself when the JIT optimiser is disabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:12:49 +00:00
Claude 78dad093ab fix(codecs): read TIFF strips larger than the 64 MB per-read cap
Single-strip uncompressed files (Photoshop's default) exceed
TiffReader's bounded read; such strips are now read in pieces, the
uncompressed path skips a copy, and hostile strip/tile counts are
rejected up front.

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