fix: owner review 3 phase 1: server ports for clients, screenshot baselines (#16)
CI / Build and test (push) Successful in 9m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 14m4s
CI / PostgreSQL 16 integration (push) Successful in 8m26s
CI / PostgreSQL 17 integration (push) Successful in 8m43s
CI / Docker image (push) Successful in 50s
Release / Server image (push) Successful in 1m23s
CI / Build and test (push) Successful in 9m36s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 9s
Release / Build, test and publish (push) Successful in 14m4s
CI / PostgreSQL 16 integration (push) Successful in 8m26s
CI / PostgreSQL 17 integration (push) Successful in 8m43s
CI / Docker image (push) Successful in 50s
Release / Server image (push) Successful in 1m23s
Clients could not reach a server in a container whose ports are published as other host ports: the panel showed the container's ports, the template had no public HTTP port, and a bare host meant port 443. Public ports become panel settings, the panel shows the client address, both clients default to 8443, and an address that answers as another service is named as not a Chronos server (its certificate never offered for trust). The screenshot baselines are captured on the development PC and committed; measured values are fixed while the capture runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #16.
This commit is contained in:
1 parent
30a5b03f37
commit
255e149087
306 files changed
+2023
-206
No files matched your search
@@ -5,6 +5,48 @@ commits follow Conventional Commits (release notes are generated from them by `C
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
- Chronos and the Uploader could not reach a server in a container whose ports are published as other host ports
|
||||
(owner review 3). The admin panel's Settings › Network and TLS listed the container's ports (8080, 8443) as if
|
||||
clients used them. In a container it now shows them read-only as *Container HTTP port* and *Container HTTPS port*,
|
||||
followed by *Public HTTP port* and *Public HTTPS port* (the host ports; empty: the same as the listening ports) and
|
||||
a *Client address* with Copy: exactly what to type in Chronos and in the Uploader. Opened over HTTPS, the client
|
||||
address uses the port the page came through, and when the saved one differs a *Use …* button fills it in as the
|
||||
Public HTTPS port. Saving a Public HTTPS port other than that one asks first, since the panel's link follows it at
|
||||
once.
|
||||
- An address typed without a port (`192.168.1.20`, `nas.local`) now means port 8443, as the placeholder shows;
|
||||
`https://name` alone still means 443 (a reverse proxy), and a typed port is kept. Addresses saved earlier keep their
|
||||
port.
|
||||
- An address that answers but is not a Chronos Server (another service on that port: a web page, a redirect to its
|
||||
sign-in page, a 404 or 401, JSON of another kind) now says *No Chronos server answers at …; check the port*, naming
|
||||
the address with its port. Before, JSON of another kind passed as a server (the Uploader then sent it the
|
||||
password), a 401 read as a wrong password, and another service's self-signed certificate was offered for trust;
|
||||
that certificate is now never offered (redirects of any kind, error pages, JSON errors without Chronos's header and
|
||||
oversized answers included). The HTTP port typed without a scheme (`192.168.1.20:8087`) gives the same message
|
||||
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 (`fe80::1%12`) is refused as an invalid address instead of losing its zone.
|
||||
|
||||
### Changed
|
||||
- The public ports are server settings: edited in the admin panel and applied at once to LAN discovery and the
|
||||
redirect to HTTPS, or set by `CHRONOS_PUBLIC_HTTP_PORT` / `CHRONOS_PUBLIC_HTTPS_PORT`, which lock them. In a
|
||||
container the listening ports change only through `CHRONOS_HTTP_PORT` / `CHRONOS_HTTPS_PORT`; a port saved for them
|
||||
in `server.json` is ignored, with a warning in the log, and removed at the next save of the settings.
|
||||
- The Unraid template and the compose file have *Public HTTP port* (`CHRONOS_PUBLIC_HTTP_PORT`) next to *Public HTTPS
|
||||
port*; the port descriptions say to enter the same host port there. LAN discovery's tooltip, the template and the
|
||||
user guide say that discovery leaves a container only with network type *Host*: on *Bridge*, type the client
|
||||
address.
|
||||
- The screenshot baselines (156 screens) are committed in `tests/visual/baselines`, captured on the development PC
|
||||
(owner review 3); CI no longer pushes its screenshots to the `ci-screenshots` branch, which is deleted.
|
||||
|
||||
### Upgrade note for Unraid
|
||||
- Edit the container: set *Repository* from `…/chronos-server:nightly` to `…/chronos-server:latest`, and set *Public
|
||||
HTTP port* and *Public HTTPS port* to the host ports the template maps (for example 8087 and 8444), or, after the
|
||||
update, enter them in the admin panel's Settings › Network and TLS. Then connect Chronos and the Uploader to the
|
||||
*Client address* shown there (for example `https://192.168.1.20:8444`).
|
||||
- Network type *Host* (for LAN discovery) ignores the port mappings: the server listens on the host's 8080 and 8443.
|
||||
If another service uses either, add the variable `CHRONOS_HTTP_PORT` or `CHRONOS_HTTPS_PORT` with a free port first,
|
||||
and leave the public ports empty.
|
||||
|
||||
## [0.1.0-rc.8] — 2026-11-03
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user