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

+8
View File
@@ -178,12 +178,18 @@
<data name="Settings.Rendering.Testing" xml:space="preserve"><value>testing…</value></data>
<data name="Settings.ResetSection" xml:space="preserve"><value>Reset section</value></data>
<data name="Settings.Search" xml:space="preserve"><value>Search settings</value></data>
<data name="Settings.Server.Cache" xml:space="preserve"><value>Server cache</value></data>
<data name="Settings.Server.Certificates" xml:space="preserve"><value>Trusted certificates</value></data>
<data name="Settings.Server.Default" xml:space="preserve"><value>Default server</value></data>
<data name="Settings.Server.ForgetName" xml:space="preserve"><value>Forget: {0}</value></data>
<data name="Settings.Server.Known" xml:space="preserve"><value>Known servers</value></data>
<data name="Settings.Server.NoCertificates" xml:space="preserve"><value>None</value></data>
<data name="Settings.Server.OfferPc" xml:space="preserve"><value>Offer this PC</value></data>
<data name="Settings.Server.Offline" xml:space="preserve"><value>Offline</value></data>
<data name="Settings.Server.Originals" xml:space="preserve"><value>Originals folder</value></data>
<data name="Settings.Server.RenderNode" xml:space="preserve"><value>Render node</value></data>
<data name="Settings.Server.ServerId" xml:space="preserve"><value>Server ID</value></data>
<data name="Settings.Server.SignedIn" xml:space="preserve"><value>Signed in</value></data>
<data name="Settings.Storage.Clear" xml:space="preserve"><value>Clear</value></data>
<data name="Settings.Storage.ClearMessage" xml:space="preserve"><value>Spilled frames and decoded thumbnails are deleted and rebuilt when needed. Originals, proxies and renders are not touched.</value><comment>long</comment></data>
<data name="Settings.Storage.ClearTitle" xml:space="preserve"><value>Clear the cache?</value></data>
@@ -206,11 +212,13 @@
<data name="Settings.Workspace.Changed" xml:space="preserve"><value>Workspace folder changed</value></data>
<data name="Settings.Workspace.ChooseTitle" xml:space="preserve"><value>Choose the workspace folder</value><comment>long; folder picker title</comment></data>
<data name="Settings.Workspace.Folder" xml:space="preserve"><value>Folder</value></data>
<data name="Settings.Workspace.Homes" xml:space="preserve"><value>Home folders</value></data>
<data name="Settings.Workspace.Kept" xml:space="preserve"><value>Kept versions</value></data>
<data name="Settings.Workspace.NotChanged" xml:space="preserve"><value>Folder not changed</value></data>
<data name="Settings.Workspace.ProjectsFound" xml:space="preserve"><value>Projects found: {0}</value><comment>{0} count of the projects the folder chosen holds</comment></data>
<data name="Settings.Workspace.ProjectsLeft" xml:space="preserve"><value>Projects left: {0}</value><comment>{0} count of the projects the folder in use keeps</comment></data>
<data name="Settings.Workspace.Sync" xml:space="preserve"><value>Sync</value></data>
<data name="Settings.Workspace.ThisPc" xml:space="preserve"><value>This PC</value></data>
<data name="Settings.Workspace.Use" xml:space="preserve"><value>Use folder</value></data>
<data name="Settings.Workspace.Versions.one" xml:space="preserve"><value>{0} version</value></data>
<data name="Settings.Workspace.Versions.other" xml:space="preserve"><value>{0} versions</value></data>