feat: Chronos Desktop shares its library on the LAN (owner review 5 P4)
Chronos Server for Windows is replaced by Settings > Server > Share this library: Chronos Desktop hosts the server engine in its own process over its own index, archive and processing services, job engine and scheduler, so a second PC, the Uploader and render nodes use this PC's library without a Windows service or a second index. - Chronos.Server is a library; Chronos.Server.Host is the console exe that Docker and development runs start. The App references the library and the ASP.NET Core shared framework (no package). - ServerHost.BuildHosted/HostedServer: reuses the desktop's engines and never creates, starts or disposes them; no static log sink, no console lifetime; server.json plus desktop-owned values locked "Set in Chronos Desktop"; only upload-cleanup and audit-cleanup schedules are added. - Both modes: by-id endpoints scoped to the served archive, a client's render export folder dropped; hosted mode exposes server job kinds only. - Desktop: LibraryShare (start after the schedules, stop first, port in use named), Settings > Server sharing rows, Server > This library panel (state, addresses with Copy, ports, fingerprint, temporary admin password, clients, admin panel), own library refused by ConnectFlow and dropped from LAN discovery, the uploads sweep step, thumbnails after scans while sharing, capture scenes server-share and server-share-failed. - Removed: the Windows service hosting of Chronos.Server, its switches and its tests. Refs #67 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9ad8c6f7a9
commit
8d41992d84
69 files changed
+2633
-859
No files matched your search
@@ -85,6 +85,7 @@
|
||||
<data name="Server.Error.NotFound" xml:space="preserve"><value>Not found.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.NotChronos" xml:space="preserve"><value>That address is not a Chronos Server.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.NothingToConvert" xml:space="preserve"><value>The plan converts nothing: every photo is skipped or every sequence is blocked.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.OwnLibrary" xml:space="preserve"><value>This address is this PC's own shared library, already open here.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.PasswordChangeRequired" xml:space="preserve"><value>Change your password first.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.PhotoRemoved" xml:space="preserve"><value>The photo was deleted from the sequence while it was being uploaded, so it was not added.</value><comment>long</comment></data>
|
||||
<data name="Server.Error.PhotoUnreadable" xml:space="preserve"><value>{0} cannot be read, and without its hash other copies would not learn it was deleted; close the program using it or check its permissions, then try again.</value><comment>long</comment></data>
|
||||
@@ -134,6 +135,7 @@
|
||||
<data name="Server.Label.Server" xml:space="preserve"><value>Server</value></data>
|
||||
<data name="Server.Label.Status" xml:space="preserve"><value>Status</value></data>
|
||||
<data name="Server.Latency" xml:space="preserve"><value>{0} ms</value></data>
|
||||
<data name="Server.Log.SharingOff" xml:space="preserve"><value>Sharing off: nothing swept.</value><comment>long</comment></data>
|
||||
<data name="Server.Log.UploadsSwept" xml:space="preserve"><value>Uploads expired: {0}, files removed: {1}, records removed: {2}, tokens removed: {3}</value><comment>long: job log line</comment></data>
|
||||
<data name="Server.Login.Cancel" xml:space="preserve"><value>Cancel</value></data>
|
||||
<data name="Server.Login.Password" xml:space="preserve"><value>Password</value></data>
|
||||
@@ -197,6 +199,28 @@
|
||||
<data name="Server.Setting.TrailLength" xml:space="preserve"><value>Trail length</value></data>
|
||||
<data name="Server.Setting.Transitions" xml:space="preserve"><value>Transitions</value></data>
|
||||
<data name="Server.Setting.WhiteBalance" xml:space="preserve"><value>WB smoothing</value></data>
|
||||
<data name="Server.Share.Addresses" xml:space="preserve"><value>Addresses</value></data>
|
||||
<data name="Server.Share.AdminPanel" xml:space="preserve"><value>Admin panel</value></data>
|
||||
<data name="Server.Share.AdminPassword" xml:space="preserve"><value>Admin password</value></data>
|
||||
<data name="Server.Share.ClientCount.one" xml:space="preserve"><value>{0} client</value></data>
|
||||
<data name="Server.Share.ClientCount.other" xml:space="preserve"><value>{0} clients</value></data>
|
||||
<data name="Server.Share.ClientRow" xml:space="preserve"><value>{0} · {1} · {2}</value></data>
|
||||
<data name="Server.Share.Clients" xml:space="preserve"><value>Clients</value></data>
|
||||
<data name="Server.Share.Copy" xml:space="preserve"><value>Copy</value></data>
|
||||
<data name="Server.Share.Fingerprint" xml:space="preserve"><value>Fingerprint</value></data>
|
||||
<data name="Server.Share.Hide" xml:space="preserve"><value>Hide</value></data>
|
||||
<data name="Server.Share.NoClients" xml:space="preserve"><value>None</value></data>
|
||||
<data name="Server.Share.Ports" xml:space="preserve"><value>Ports</value></data>
|
||||
<data name="Server.Share.PortsValue" xml:space="preserve"><value>HTTPS {0} · HTTP {1}</value></data>
|
||||
<data name="Server.Share.RenderNode" xml:space="preserve"><value>Render node</value></data>
|
||||
<data name="Server.Share.Restart" xml:space="preserve"><value>Restart</value></data>
|
||||
<data name="Server.Share.Settings" xml:space="preserve"><value>Sharing settings</value></data>
|
||||
<data name="Server.Share.Show" xml:space="preserve"><value>Show</value></data>
|
||||
<data name="Server.Share.State.Failed" xml:space="preserve"><value>Not started</value></data>
|
||||
<data name="Server.Share.State.Off" xml:space="preserve"><value>Not shared</value></data>
|
||||
<data name="Server.Share.State.On" xml:space="preserve"><value>Sharing</value></data>
|
||||
<data name="Server.Share.State.Starting" xml:space="preserve"><value>Starting…</value></data>
|
||||
<data name="Server.Share.Title" xml:space="preserve"><value>This library</value></data>
|
||||
<data name="Server.SignOut" xml:space="preserve"><value>Sign out</value></data>
|
||||
<data name="Server.Status.Connected" xml:space="preserve"><value>Connected</value></data>
|
||||
<data name="Server.Status.Connecting" xml:space="preserve"><value>Connecting…</value></data>
|
||||
|
||||
Reference in new issue
Block a user