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:
1 parent
4d697a4255
commit
9ad8c6f7a9
44 files changed
+1106
-220
No files matched your search
@@ -291,6 +291,7 @@
|
||||
<data name="Archive.Maintenance.Restore" xml:space="preserve"><value>Restore database…</value></data>
|
||||
<data name="Archive.Maintenance.Run" xml:space="preserve"><value>Run maintenance</value></data>
|
||||
<data name="Archive.Maintenance.Trash" xml:space="preserve"><value>Trash…</value></data>
|
||||
<data name="Archive.Name.ServerOriginals" xml:space="preserve"><value>{0} (server)</value><comment>the name of the archive of a server's downloaded originals; {0} the server's name</comment></data>
|
||||
<data name="Archive.Orphans.Count.one" xml:space="preserve"><value>{0:N0} issue</value></data>
|
||||
<data name="Archive.Orphans.Count.other" xml:space="preserve"><value>{0:N0} issues</value></data>
|
||||
<data name="Archive.Orphans.Failed" xml:space="preserve"><value>The orphan search stopped</value><comment>long</comment></data>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -5,6 +5,13 @@
|
||||
<resheader name="reader"><value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<resheader name="writer"><value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value></resheader>
|
||||
<data name="Shell.AppName" xml:space="preserve"><value>Chronos</value><comment>invariant</comment></data>
|
||||
<data name="Shell.Homes.Clash" xml:space="preserve"><value>Server ID clash</value></data>
|
||||
<data name="Shell.Homes.Moved.one" xml:space="preserve"><value>{0} project moved</value><comment>{0} count</comment></data>
|
||||
<data name="Shell.Homes.Moved.other" xml:space="preserve"><value>{0} projects moved</value><comment>{0} count</comment></data>
|
||||
<data name="Shell.Homes.Originals" xml:space="preserve"><value>Originals folder made</value></data>
|
||||
<data name="Shell.Homes.Pending" xml:space="preserve"><value>Folders pending</value></data>
|
||||
<data name="Shell.Homes.PendingText" xml:space="preserve"><value>Projects in use, or a workspace being moved, follow at the next start.</value><comment>long; toast message under Folders pending</comment></data>
|
||||
<data name="Shell.Homes.Sorted" xml:space="preserve"><value>Folders sorted</value></data>
|
||||
<data name="Shell.Job.Done" xml:space="preserve"><value>Job finished</value></data>
|
||||
<data name="Shell.Job.DonePlural.one" xml:space="preserve"><value>{0} job finished</value></data>
|
||||
<data name="Shell.Job.DonePlural.other" xml:space="preserve"><value>{0} jobs finished</value></data>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user