fix(server): client address from the page's port, stricter Chronos identity, Host networking notes
Review fixes on top of the public ports change (owner review 3): - Settings > Network and TLS: opened over HTTPS, the client address uses the port the page came through (a container's 8443 published as 8444 with Public HTTPS port still empty showed the wrong 8443), and a "Use <port>" button fills that port in. Saving a Public HTTPS port other than the page's asks first, since the HTTPS redirect follows it at once and a typo would lock the panel's link out. - GetInfoAsync tells Chronos from other services by stricter rules on both the trusted and the untrusted-certificate path: any redirect, any answer that is not JSON, more than 1 MB, or an error without the X-Chronos-Api header is not Chronos. Another service's certificate is no longer offered for trust after a cross-scheme redirect, an error page or a JSON 401/403/404, and a JSON 401 over HTTP no longer reads as a wrong password. - The HTTP port typed without a scheme (TLS to a plain HTTP port) now gives the not-Chronos error instead of "the server did not answer". - The Uploader's certificate question names the address with its port. - A link-local IPv6 address with a zone index is refused instead of losing it. - In a container, the first save of the settings removes HttpPort/HttpsPort from server.json, so the start-up warning stops; the warning says so. - Guide, README, compose and template: with network type Host the mappings do nothing and CHRONOS_HTTP_PORT / CHRONOS_HTTPS_PORT move the listening ports off ones another service uses; the template overview is back to two sentences. - BRIEF, DECISIONS and CHANGELOG updated; en/it strings added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
369e754bec
commit
0aa2fb8135
19 files changed
+303
-67
No files matched your search
@@ -840,6 +840,11 @@
|
||||
<data name="Admin.Settings.Parallelism.Tip" xml:space="preserve"><value>Photos the running job processes at once; jobs run one at a time</value></data>
|
||||
<data name="Admin.Settings.PemMissing" xml:space="preserve"><value>The PEM file was not found; enter its full path on the server.</value><comment>long</comment></data>
|
||||
<data name="Admin.Settings.PemOnly.Tip" xml:space="preserve"><value>Used only in Own certificate mode</value></data>
|
||||
<data name="Admin.Settings.PortChangeBody" xml:space="preserve"><value>This page came through port {0}. The panel's link and LAN discovery move to the new port at once; if it is wrong, open the panel on port {0} to fix it.</value><comment>long</comment></data>
|
||||
<data name="Admin.Settings.PortChangeConfirm" xml:space="preserve"><value>Save port</value></data>
|
||||
<data name="Admin.Settings.PortChangeConfirm.Tip" xml:space="preserve"><value>Save {0} as the Public HTTPS port; clients and the HTTPS redirect use it at once</value></data>
|
||||
<data name="Admin.Settings.PortChangeKeep.Tip" xml:space="preserve"><value>Back to the form, nothing saved</value></data>
|
||||
<data name="Admin.Settings.PortChangeTitle" xml:space="preserve"><value>Send clients to port {0}?</value></data>
|
||||
<data name="Admin.Settings.Priority.High" xml:space="preserve"><value>High</value></data>
|
||||
<data name="Admin.Settings.Priority.Low" xml:space="preserve"><value>Low</value></data>
|
||||
<data name="Admin.Settings.Priority.Normal" xml:space="preserve"><value>Normal</value></data>
|
||||
@@ -871,6 +876,8 @@
|
||||
<data name="Admin.Settings.TokenLifetimeDays.Tip" xml:space="preserve"><value>Days a client stays signed in without being used</value></data>
|
||||
<data name="Admin.Settings.UploadRetentionHours" xml:space="preserve"><value>Abandoned after (h)</value></data>
|
||||
<data name="Admin.Settings.UploadRetentionHours.Tip" xml:space="preserve"><value>Hours after which unfinished uploads are discarded</value></data>
|
||||
<data name="Admin.Settings.UsePagePort" xml:space="preserve"><value>Use {0}</value></data>
|
||||
<data name="Admin.Settings.UsePagePort.Tip" xml:space="preserve"><value>This page came through port {0}, so clients reach the server there: fill it in as the Public HTTPS port, then save, and discovery and the HTTPS redirect follow</value></data>
|
||||
<data name="Admin.SignOut" xml:space="preserve"><value>Sign out</value></data>
|
||||
<data name="Admin.SignOut.Tip" xml:space="preserve"><value>Sign out of the admin panel</value></data>
|
||||
<data name="Admin.Theme.Tip" xml:space="preserve"><value>Switch between light and dark</value></data>
|
||||
|
||||
@@ -833,6 +833,11 @@
|
||||
<data name="Admin.Settings.Parallelism.Tip" xml:space="preserve"><value>Foto che l'attività in corso elabora insieme; le attività girano una alla volta</value></data>
|
||||
<data name="Admin.Settings.PemMissing" xml:space="preserve"><value>File PEM non trovato; inserisci il percorso completo sul server.</value></data>
|
||||
<data name="Admin.Settings.PemOnly.Tip" xml:space="preserve"><value>Usato solo in modalità Certificato proprio</value></data>
|
||||
<data name="Admin.Settings.PortChangeBody" xml:space="preserve"><value>Questa pagina è arrivata dalla porta {0}. Il collegamento al pannello e il rilevamento LAN passano subito alla nuova porta; se è sbagliata, apri il pannello sulla porta {0} per correggerla.</value></data>
|
||||
<data name="Admin.Settings.PortChangeConfirm" xml:space="preserve"><value>Salva porta</value></data>
|
||||
<data name="Admin.Settings.PortChangeConfirm.Tip" xml:space="preserve"><value>Salva {0} come porta HTTPS pubblica; i client e il reindirizzamento HTTPS la usano subito</value></data>
|
||||
<data name="Admin.Settings.PortChangeKeep.Tip" xml:space="preserve"><value>Torna al modulo senza salvare</value></data>
|
||||
<data name="Admin.Settings.PortChangeTitle" xml:space="preserve"><value>Mandare i client alla porta {0}?</value></data>
|
||||
<data name="Admin.Settings.Priority.High" xml:space="preserve"><value>Alta</value></data>
|
||||
<data name="Admin.Settings.Priority.Low" xml:space="preserve"><value>Bassa</value></data>
|
||||
<data name="Admin.Settings.Priority.Normal" xml:space="preserve"><value>Normale</value></data>
|
||||
@@ -864,6 +869,8 @@
|
||||
<data name="Admin.Settings.TokenLifetimeDays.Tip" xml:space="preserve"><value>Giorni in cui un client resta connesso senza essere usato</value></data>
|
||||
<data name="Admin.Settings.UploadRetentionHours" xml:space="preserve"><value>Abbandono dopo (h)</value></data>
|
||||
<data name="Admin.Settings.UploadRetentionHours.Tip" xml:space="preserve"><value>Ore dopo le quali i caricamenti incompleti vengono scartati</value></data>
|
||||
<data name="Admin.Settings.UsePagePort" xml:space="preserve"><value>Usa {0}</value></data>
|
||||
<data name="Admin.Settings.UsePagePort.Tip" xml:space="preserve"><value>Questa pagina è arrivata dalla porta {0}, quindi i client raggiungono il server lì: inseriscila come porta HTTPS pubblica e salva, così il rilevamento LAN e il reindirizzamento HTTPS la seguono</value></data>
|
||||
<data name="Admin.SignOut" xml:space="preserve"><value>Esci</value></data>
|
||||
<data name="Admin.SignOut.Tip" xml:space="preserve"><value>Esci dal pannello di amministrazione</value></data>
|
||||
<data name="Admin.Theme.Tip" xml:space="preserve"><value>Alterna tema chiaro e scuro</value></data>
|
||||
|
||||
Reference in new issue
Block a user