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

+3
View File
@@ -9,6 +9,8 @@
<data name="Errors.Archive.Open" xml:space="preserve"><value>The archive could not be opened.</value><comment>long</comment></data>
<data name="Errors.Backup.Deferred" xml:space="preserve"><value>The current index could not be backed up or replaced; the restore runs again at the next start.</value><comment>long</comment></data>
<data name="Errors.Backup.Unreadable" xml:space="preserve"><value>This backup cannot be restored; choose another one.</value><comment>long</comment></data>
<data name="Errors.Homes.Clash" xml:space="preserve"><value>{0} presents the ID of {1} with another certificate; check that it is not a copy of that server.</value><comment>{0} the server's name now, {1} the name it had</comment></data>
<data name="Errors.Homes.Failed" xml:space="preserve"><value>The folders could not be sorted: {0}. Nothing was deleted; Chronos tries again at the next start.</value><comment>{0} the reason</comment></data>
<data name="Errors.Number.DecimalRange" xml:space="preserve"><value>Enter a number from {0} to {1}.</value></data>
<data name="Errors.Number.Range" xml:space="preserve"><value>Enter a whole number from {0} to {1}.</value></data>
<data name="Errors.Path.Empty" xml:space="preserve"><value>Enter a folder.</value></data>
@@ -34,6 +36,7 @@
<data name="Errors.Sync.Hash" xml:space="preserve"><value>{0} did not arrive intact; download it again.</value><comment>{0} file name</comment></data>
<data name="Errors.Sync.LocalMissing" xml:space="preserve"><value>The sequence is no longer in this PC's archive index.</value></data>
<data name="Errors.Sync.NoArchive" xml:space="preserve"><value>Open or create an archive on this PC to receive the originals.</value></data>
<data name="Errors.Sync.NoOriginalsFolder" xml:space="preserve"><value>No folder could be made for the originals of {0}; check that the drive of this PC's archive can be written.</value><comment>{0} the server's name</comment></data>
<data name="Errors.Sync.NotConnected" xml:space="preserve"><value>Not connected to this server; connect and retry the job.</value></data>
<data name="Errors.Sync.NotLinked" xml:space="preserve"><value>This sequence is not on the server yet; upload it first.</value></data>
<data name="Errors.Sync.NothingSent" xml:space="preserve"><value>No original reached the server: they are missing here or already in another server sequence.</value></data>