feat: wire separate homes into the desktop (owner review 5 P3.2)

The desktop now uses the per-home layout from P3.1: each home keeps its
own projects, proxies and originals, and a server is known by its id
whichever address reaches it.

- Settings keep the known servers (id, name, last address, certificate,
  aliases, originals archive). Reset and Import keep them; Export leaves
  them out.
- SyncHost records each server the first time it signs in with an id. It
  names the cache and workspace folders by that id, and re-keys the
  folders a server had under its addresses at sign-in. The re-key waits
  while transfer or workspace jobs are pending.
- Download originals goes to the server's own archive. It is created
  beside this PC's archive at the first download, and a toast says
  where. A sequence that already has a local copy keeps receiving into
  that copy's archive. A server without an id keeps the 1.0 behaviour.
- At start, after the index opens and before any job runs, the folders
  are sorted into their homes. A toast reports the result: sorted,
  pending or failed.
- The workspace host gives each home's store its own sync. Find, List,
  usage, clean-up and the trash plan and empty cover every home. Server
  comparisons go through the identity, so a project stays Online when
  its server is reached by another address.
- The render-node downloads and the server import staging move into the
  server's folder of the cache. The cache trim keeps `servers`, and the
  scheduled scan also scans the originals archives.
- Settings shows the Home folders rows (Workspace) and the Known servers
  table (Server). The diagnostics bundle lists the homes.
- The dead `AppPaths.CreateDirectories` and `ThumbnailsDirectory` are
  removed.

Refs #66

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-15 14:00:46 +01:00
1 parent 4d697a4255
commit 9ad8c6f7a9
44 files changed
+1106 -220

No files matched your search

+13
View File
@@ -805,6 +805,14 @@
<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.OpenWorkspace" xml:space="preserve"><value>Show the workspace folder in Explorer</value></data>
<data name="Tooltips.Settings.Server.Cache" xml:space="preserve"><value>This server's proxies, render-node files and staged imports, inside the cache folder</value></data>
<data name="Tooltips.Settings.Server.Known" xml:space="preserve"><value>Servers this PC has signed in to, with the folders kept for each</value></data>
<data name="Tooltips.Settings.Server.Offline" xml:space="preserve"><value>Not signed in: its projects open from the workspace and wait to sync</value></data>
<data name="Tooltips.Settings.Server.OpenCache" xml:space="preserve"><value>Show this server's share of the cache in Explorer</value></data>
<data name="Tooltips.Settings.Server.OpenOriginals" xml:space="preserve"><value>Show the archive of this server's downloaded originals in Explorer</value></data>
<data name="Tooltips.Settings.Server.Originals" xml:space="preserve"><value>Where Download originals puts this server's photos, apart from this PC's archive</value></data>
<data name="Tooltips.Settings.Server.ServerId" xml:space="preserve"><value>Identifies the server even when its address or name changes: {0}</value><comment>{0} the whole id</comment></data>
<data name="Tooltips.Settings.Server.SignedIn" xml:space="preserve"><value>This PC is signed in to this server now</value></data>
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>Version, build, system, licence, third-party code</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>
@@ -892,6 +900,7 @@
<data name="Tooltips.Setup.Update" xml:space="preserve"><value>Replace the installed version in place · your data is kept</value></data>
<data name="Tooltips.Shell.CollapseRail" xml:space="preserve"><value>Collapse navigation to icons · Ctrl+B</value></data>
<data name="Tooltips.Shell.ExpandRail" xml:space="preserve"><value>Show navigation names · Ctrl+B</value></data>
<data name="Tooltips.Shell.Homes.Logs" xml:space="preserve"><value>Show the logs folder in Explorer: the log says which folder could not be sorted</value></data>
<data name="Tooltips.Shell.PauseJob" xml:space="preserve"><value>Pause the job shown; it continues from its checkpoint when resumed</value></data>
<data name="Tooltips.Shell.StopJob" xml:space="preserve"><value>Stop the current job · it can be resumed later</value></data>
<data name="Tooltips.Uploader.AddWatchFolder" xml:space="preserve"><value>Add a folder to watch</value></data>
@@ -975,6 +984,10 @@
<data name="Tooltips.Settings.Workspace.TrashPlan.Keep" xml:space="preserve"><value>Keep the workspace's trash as it is</value></data>
<data name="Tooltips.Settings.Workspace.Used" xml:space="preserve"><value>What the workspace folder takes on its drive, its trash included</value></data>
<data name="Tooltips.Settings.Workspace.Folder" xml:space="preserve"><value>The workspace's folder (a fast disk is best); Change uses another one, Move takes the projects along</value></data>
<data name="Tooltips.Settings.Workspace.Homes" xml:space="preserve"><value>Each home keeps its projects in its own folder inside the workspace</value></data>
<data name="Tooltips.Settings.Workspace.OpenHome" xml:space="preserve"><value>Open this home's folder in Explorer</value></data>
<data name="Tooltips.Settings.Workspace.ServerHome" xml:space="preserve"><value>Projects of sequences on {0}: {1}</value><comment>{0} the server's name, {1} the folder</comment></data>
<data name="Tooltips.Settings.Workspace.ThisPc" xml:space="preserve"><value>Projects of sequences in this PC's archive: {0}</value><comment>{0} the folder</comment></data>
<data name="Tooltips.Settings.Workspace.Move" xml:space="preserve"><value>Move the workspace folder with its projects to another folder, after a plan; each file is checked before its source goes</value></data>
<data name="Tooltips.Settings.Workspace.SizeLimit" xml:space="preserve"><value>Past this size, the media of the projects used longest ago are removed once they are in step with their home; their versions stay</value></data>
<data name="Tooltips.Settings.Workspace.NoLimit" xml:space="preserve"><value>The workspace grows as needed; only Clean after removes media</value></data>