feat(settings): make every Settings row real; archive settings, index backups and restore

Settings (UI-01, UI-02, UI-03, UI-09, RF-4):
- New Import, Analysis and Formats pages, in the order of Settings.html. Import holds
  the defaults of new cards (session rules, subfolders, verification, duplicates,
  after-import actions); Analysis the deep-analysis width cap, night and star-field
  thresholds and deep analysis after import or scan; Formats the decode tier of every
  format on this PC with a notice and Store install link per missing codec extension.
- Archive gains thumbnail size and rescan interval; its templates, proxy size and
  thumbnail size are the open archive's own (archive.json) and new archives' defaults.
- Rendering quality, parallelism and background priority now drive the jobs: quality
  maps to preparation size, read-ahead and default flow quality; parallelism sets the
  engine's workers live and caps per-job threads; background priority raises the UI
  thread while Titano is in front.
- Advanced gains Restore (daily backups, dry-run summary, destructive confirmation,
  staged for the next start) and Reset all.
- The naming preview's sample title is a catalog string.

Engine (ENG-03, ENG-04, ENG-06):
- ArchiveService.GetSettingsAsync/UpdateSettingsAsync rewrite archive.json atomically
  under a lease, then the index row; the server endpoint and the desktop use them, and
  the desktop creates archives with Settings › Archive. ThumbnailPolicy in archive.json
  sizes the thumbnails.
- DatabaseBackups: daily VACUUM INTO copies kept x3 on the desktop and on a server on
  SQLite (DatabaseBackupService), staged restore checked and preceded by a fresh copy.
- Maintenance vacuums the SQLite index when 10 % or more is free (dry run reports it).
- JobEngine.SetWorkers; ProcessingOptions.Tune applies host tuning per job.

Archive setup toasts say why in a localized sentence (RF-1).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-12 10:06:34 +00:00
1 parent c11c996bc6
commit 3e146c9f9f
91 files changed
+2864 -357

No files matched your search

+31 -6
View File
@@ -506,10 +506,11 @@
<data name="Tooltips.Server.Trust" xml:space="preserve"><value>Trust this certificate for this server and continue to sign in</value></data>
<data name="Tooltips.Server.UseFound" xml:space="preserve"><value>Use this address</value></data>
<data name="Tooltips.Settings.Adapter" xml:space="preserve"><value>Graphics adapter and Media Foundation encoders found</value></data>
<data name="Tooltips.Settings.AnalysisWidth" xml:space="preserve"><value>Largest long edge frames are decoded at for deep analysis (half the native size up to this); wider is slower and sees finer detail</value></data>
<data name="Tooltips.Settings.ArchiveFree" xml:space="preserve"><value>Free space on the archive drive</value></data>
<data name="Tooltips.Settings.ArchiveRoot" xml:space="preserve"><value>Root of the local archive; files are not moved · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Settings.Background" xml:space="preserve"><value>Lower the job priority while Titano is in front so the interface stays fluid</value></data>
<data name="Tooltips.Settings.Backup" xml:space="preserve"><value>Copy the index to the backups folder; the newest three are kept · a few seconds</value></data>
<data name="Tooltips.Settings.Backups" xml:space="preserve"><value>Daily copies of the index (the newest three are kept); choose the one to return to</value></data>
<data name="Tooltips.Settings.BrowseArchive" xml:space="preserve"><value>Choose the archive folder</value></data>
<data name="Tooltips.Settings.BrowseCache" xml:space="preserve"><value>Choose the cache folder; a fast SSD helps</value></data>
<data name="Tooltips.Settings.CacheFolder" xml:space="preserve"><value>Where frames spill and thumbnails are kept; a fast SSD helps · Enter applies, Esc reverts</value></data>
@@ -519,46 +520,70 @@
<data name="Tooltips.Settings.ClearCache" xml:space="preserve"><value>Delete the cache contents now</value></data>
<data name="Tooltips.Settings.ClearCacheAsk" xml:space="preserve"><value>Delete spilled frames and cached thumbnails; asks first</value></data>
<data name="Tooltips.Settings.DataFolder" xml:space="preserve"><value>Database, settings, logs and caches of this PC</value></data>
<data name="Tooltips.Settings.DeepAfterImport" xml:space="preserve"><value>New cards and folders queue a deep analysis of what they import, in the background; each card can change it</value></data>
<data name="Tooltips.Settings.DeepAfterScan" xml:space="preserve"><value>Sequences a scan finds (adopted folders, new sidecars) also get a deep analysis, in the background</value></data>
<data name="Tooltips.Settings.DefaultServer" xml:space="preserve"><value>Server Titano connects to at start; changing it signs out · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Settings.Diagnostics" xml:space="preserve"><value>Zip the logs, a system and codec report, settings and recent failed jobs into a folder you choose; passwords, tokens and photos are left out</value></data>
<data name="Tooltips.Settings.Export" xml:space="preserve"><value>Save every setting as JSON, without the session token</value></data>
<data name="Tooltips.Settings.FileTemplate" xml:space="preserve"><value>File name of each frame, for example {date}_{time}_{n:0000}; the extension is added · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Settings.FolderTemplate" xml:space="preserve"><value>Archive folders, for example {year}/{date} {camera}; a slash starts a subfolder · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Settings.Import" xml:space="preserve"><value>Load settings from a JSON file; the session and the window layout stay as they are</value></data>
<data name="Tooltips.Settings.Install" xml:space="preserve"><value>Open the Microsoft Store page of this free or paid extension; Re-detect after installing it</value></data>
<data name="Tooltips.Settings.InterfacePriority" xml:space="preserve"><value>While Titano is in front, its interface runs ahead of the jobs so it stays fluid during renders and analyses</value></data>
<data name="Tooltips.Settings.KeepCache" xml:space="preserve"><value>Keep the cache as it is</value></data>
<data name="Tooltips.Settings.KeepIndex" xml:space="preserve"><value>Keep the index as it is</value></data>
<data name="Tooltips.Settings.KeepSettings" xml:space="preserve"><value>Keep every setting as it is</value></data>
<data name="Tooltips.Settings.Language" xml:space="preserve"><value>Language of the interface · applies immediately</value></data>
<data name="Tooltips.Settings.LogsFolder" xml:space="preserve"><value>Daily log files, kept for 14 days</value></data>
<data name="Tooltips.Settings.Memory" xml:space="preserve"><value>Frames stay in memory up to this budget, then spill to the cache folder</value></data>
<data name="Tooltips.Settings.MemoryAuto" xml:space="preserve"><value>Auto: a quarter of installed memory</value></data>
<data name="Tooltips.Settings.MemoryReset" xml:space="preserve"><value>Back to Auto: a quarter of installed memory</value></data>
<data name="Tooltips.Settings.MissingCodec" xml:space="preserve"><value>Without this extension some formats are read only from their embedded preview, or not at all, on this PC</value></data>
<data name="Tooltips.Settings.Night" xml:space="preserve"><value>Frames whose mean brightness is at most this share of white count as night (star fields, night presets) · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>Open the data folder in Explorer</value></data>
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portable mode, logs, diagnostics, database backup</value></data>
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archive folder, naming templates, proxy size</value></data>
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>Portable mode, logs, diagnostics, database backup and restore, reset</value></data>
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>Analysis width, night and star thresholds, deep analysis</value></data>
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>Archive folder, naming templates, proxy and thumbnail size, rescans</value></data>
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>Which decoder handles each format on this PC, codec install links</value></data>
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>Language, theme, usage counts</value></data>
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>Session rules, verification, duplicates, after-import actions</value></data>
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>Quality profile, memory budget, parallelism, encoders</value></data>
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>Default server, render node, trusted certificates</value></data>
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>Cache folder, thumbnails in memory, cache limit</value></data>
<data name="Tooltips.Settings.Page.Updates" xml:space="preserve"><value>Update check on start</value></data>
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>Worker threads for decoding and processing · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>Auto: cores minus four so the interface stays responsive</value></data>
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>Back to Auto: cores minus four</value></data>
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>How often Titano rescans the archive for changes made elsewhere, such as by a server sharing it</value></data>
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>On when portable.txt sits next to Titano.exe: all data stays in its data folder</value></data>
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>Use a hardware encoder when one supports the preset; software otherwise</value></data>
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>First three names of a sample import with these templates</value></data>
<data name="Tooltips.Settings.PreviewsOnly" xml:space="preserve"><value>Hardware for previews, software for archive presets</value></data>
<data name="Tooltips.Settings.Proxies" xml:space="preserve"><value>Long edge of the JPEG proxies built for new sequences</value></data>
<data name="Tooltips.Settings.Quality" xml:space="preserve"><value>Balanced suits most work; Best doubles sampling and never spills; Fast is for previews</value></data>
<data name="Tooltips.Settings.ProxySize" xml:space="preserve"><value>Long edge of the JPEG proxies of this archive and of new ones; proxies built before keep their size until rebuilt</value></data>
<data name="Tooltips.Settings.QualityProfile" xml:space="preserve"><value>Balanced suits most work; Best measures at double resolution and reads further ahead; Fast measures at half resolution with draft motion</value></data>
<data name="Tooltips.Settings.Redetect" xml:space="preserve"><value>List the encoders again after a driver or codec install</value></data>
<data name="Tooltips.Settings.RedetectFormats" xml:space="preserve"><value>Look for codec extensions again after installing one; the next jobs use them</value></data>
<data name="Tooltips.Settings.ResetAll" xml:space="preserve"><value>Return every setting of this PC to its default; asks first</value></data>
<data name="Tooltips.Settings.ResetConfirm" xml:space="preserve"><value>Reset every setting now</value></data>
<data name="Tooltips.Settings.ResetSection" xml:space="preserve"><value>Return every control of this section to its default</value></data>
<data name="Tooltips.Settings.Restore" xml:space="preserve"><value>Compare the chosen backup with the index, then restore it at the next start; asks first</value></data>
<data name="Tooltips.Settings.RestoreCancel" xml:space="preserve"><value>Keep the current index at the next start</value></data>
<data name="Tooltips.Settings.RestoreConfirm" xml:space="preserve"><value>At the next start of Titano, back up the current index and then restore this backup</value></data>
<data name="Tooltips.Settings.RestorePending" xml:space="preserve"><value>The chosen backup replaces the index when Titano starts next</value></data>
<data name="Tooltips.Settings.Search" xml:space="preserve"><value>Find a setting by name</value></data>
<data name="Tooltips.Settings.SelfTest" xml:space="preserve"><value>Encode a short synthetic clip with every encoder and report pass or fail and speed · about a minute</value></data>
<data name="Tooltips.Settings.SelfTestResult" xml:space="preserve"><value>Speed on the synthetic 1280×720 test clip</value></data>
<data name="Tooltips.Settings.SoftwareOnly" xml:space="preserve"><value>Always the Microsoft software H.264 encoder; slower, identical everywhere</value></data>
<data name="Tooltips.Settings.Stars" xml:space="preserve"><value>Stars per megapixel from which a night frame counts as a star field · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Settings.ThemeDark" xml:space="preserve"><value>Dark interface (default)</value></data>
<data name="Tooltips.Settings.ThemeLight" xml:space="preserve"><value>Light interface</value></data>
<data name="Tooltips.Settings.ThemeSystem" xml:space="preserve"><value>Follow the Windows app mode</value></data>
<data name="Tooltips.Settings.ThumbnailMemory" xml:space="preserve"><value>Decoded thumbnails kept in memory; more scrolls faster and uses more RAM · Enter applies</value></data>
<data name="Tooltips.Settings.ThumbnailSize" xml:space="preserve"><value>Long edge of the thumbnails of this archive and of new ones; thumbnails built before keep their size until rebuilt</value></data>
<data name="Tooltips.Settings.Tier.EmbeddedPreview" xml:space="preserve"><value>Only the JPEG preview inside the file is read; the output is capped to its size</value></data>
<data name="Tooltips.Settings.Tier.Native" xml:space="preserve"><value>Every pixel is decoded</value></data>
<data name="Tooltips.Settings.Tier.Unavailable" xml:space="preserve"><value>No decoder on this PC reads its pixels; such frames are left out of renders</value></data>
<data name="Tooltips.Settings.UsageCounts" xml:space="preserve"><value>Send a daily anonymous count of versions and languages in use; nothing else, off by default</value></data>
<data name="Tooltips.Settings.Workers" xml:space="preserve"><value>Jobs and frames processed at once; fewer leave more room to other programs · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Setup.AllUsers" xml:space="preserve"><value>Install in Program Files for every account · asks for administrator approval</value></data>
<data name="Tooltips.Setup.Back" xml:space="preserve"><value>Return to the options without changing anything</value></data>
<data name="Tooltips.Setup.Browse" xml:space="preserve"><value>Choose the installation folder</value></data>