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

-6
View File
@@ -508,7 +508,6 @@
<data name="Tooltips.Settings.Adapter" xml:space="preserve"><value>検出されたグラフィックアダプターと Media Foundation エンコーダー</value></data>
<data name="Tooltips.Settings.ArchiveFree" xml:space="preserve"><value>アーカイブのドライブの空き容量</value></data>
<data name="Tooltips.Settings.ArchiveRoot" xml:space="preserve"><value>ローカルアーカイブのルートです。ファイルは移動されません · Enter で適用、Esc で元に戻す</value></data>
<data name="Tooltips.Settings.Background" xml:space="preserve"><value>Titano が前面にある間はジョブの優先度を下げ、インターフェイスの動作を滑らかに保ちます。</value></data>
<data name="Tooltips.Settings.Backup" xml:space="preserve"><value>インデックスを backups フォルダーにコピーします。最新の 3 つが保持されます · 数秒</value></data>
<data name="Tooltips.Settings.BrowseArchive" xml:space="preserve"><value>アーカイブフォルダーを選択します。</value></data>
<data name="Tooltips.Settings.BrowseCache" xml:space="preserve"><value>キャッシュフォルダーを選択します。高速な SSD がおすすめです。</value></data>
@@ -532,22 +531,17 @@
<data name="Tooltips.Settings.MemoryAuto" xml:space="preserve"><value>自動: 搭載メモリの 4 分の 1</value></data>
<data name="Tooltips.Settings.MemoryReset" xml:space="preserve"><value>自動に戻す: 搭載メモリの 4 分の 1</value></data>
<data name="Tooltips.Settings.OpenDataFolder" xml:space="preserve"><value>エクスプローラーでデータフォルダーを開きます。</value></data>
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>ポータブルモード、ログ、診断、データベースのバックアップ</value></data>
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>アーカイブフォルダー、名前のテンプレート、プロキシのサイズ</value></data>
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>言語、テーマ、利用状況の集計</value></data>
<data name="Tooltips.Settings.Page.Rendering" xml:space="preserve"><value>品質プロファイル、メモリ割り当て、並列処理、エンコーダー</value></data>
<data name="Tooltips.Settings.Page.Server" xml:space="preserve"><value>既定のサーバー、レンダリングノード、信頼済みの証明書</value></data>
<data name="Tooltips.Settings.Page.Storage" xml:space="preserve"><value>キャッシュフォルダー、メモリ内のサムネイル、キャッシュの上限</value></data>
<data name="Tooltips.Settings.Page.Updates" xml:space="preserve"><value>起動時のアップデート確認</value></data>
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>デコードと処理に使うワーカースレッドの数です · Enter で適用、Esc で元に戻す</value></data>
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>自動: インターフェイスの応答性を保つため、コア数から 4 を引いた値</value></data>
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>自動に戻す: コア数から 4 を引いた値</value></data>
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>Titano.exe と同じ場所に portable.txt があるとオンになります。すべてのデータはそのデータフォルダーに保存されます。</value></data>
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>プリセットに対応するハードウェアエンコーダーがあればそれを使用し、なければソフトウェアを使用します。</value></data>
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>これらのテンプレートでインポートした場合の、最初の 3 つの名前の例</value></data>
<data name="Tooltips.Settings.PreviewsOnly" xml:space="preserve"><value>プレビューにはハードウェア、アーカイブ用プリセットにはソフトウェアを使用します。</value></data>
<data name="Tooltips.Settings.Proxies" xml:space="preserve"><value>新しいシーケンス用に作成する JPEG プロキシの長辺です。</value></data>
<data name="Tooltips.Settings.Quality" xml:space="preserve"><value>「バランス」はほとんどの作業に適しています。「最高品質」はサンプリングを 2 倍にし、ディスクに退避しません。「高速」はプレビュー向けです。</value></data>
<data name="Tooltips.Settings.Redetect" xml:space="preserve"><value>ドライバーやコーデックをインストールした後に、エンコーダーを再度一覧表示します。</value></data>
<data name="Tooltips.Settings.ResetSection" xml:space="preserve"><value>このセクションのすべてのコントロールを既定値に戻します。</value></data>
<data name="Tooltips.Settings.Search" xml:space="preserve"><value>名前で設定を検索します。</value></data>