From 093e5ed23184829a88a345677721437c5350f2a2 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Tue, 6 Oct 2026 20:52:28 +0200 Subject: [PATCH] =?UTF-8?q?R-782:=20homepage=20allows=20the=20box's=20own?= =?UTF-8?q?=20host=20name=20(held=20=E2=80=94=20not=20for=20main=20tonight?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without HOMEPAGE_ALLOWED_HOSTS every /api/* call under the box's name was refused (400), so services and widgets stayed empty. Measured on the bench. Glance's public page measured; its login is an operator question. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS --- CHANGELOG.md | 8 ++++++++ templates/homepage/docker-compose.yml | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dedb23d..d68d576 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 2026-10-06 (night, held) — homepage lists the box's own name; glance's public page measured (R-782) + +**What runs on a box changed:** homepage's environment. **Held on branch `night-held-2026-10-06`**, not `main` tonight. + +- `templates/homepage/docker-compose.yml`: `HOMEPAGE_ALLOWED_HOSTS=${SUBDOMAIN}.${DOMAIN}`. Measured on the bench (v1.13.2): without it every `/api/*` request under the box's name answered 400 „Host validation failed", so the page loaded with no services or widgets; with it `/api/services` answers 200, and another name is still refused. +- glance (no change): measured that the seeded page is public — `GET /` 200 with no credentials, no `auth:` block, `/login` 404. Whether a household start page may be public is a product question; it goes to the operator. +- Evidence `felhom.eu/documentation/audits/night-burndown-2026-10-06/cat/R-782-red.txt`. + ## 2026-10-06 (night, held) — wishlist: a failed first-boot seed no longer reads healthy (R-612) **What runs on a box changed:** wishlist's container healthcheck. **Held on branch `night-held-2026-10-06`** — not on `main` tonight (the night fence: no catalog change may reach an installed app before the 2026-10-07 read-back). diff --git a/templates/homepage/docker-compose.yml b/templates/homepage/docker-compose.yml index 2a7649e..3b115a0 100644 --- a/templates/homepage/docker-compose.yml +++ b/templates/homepage/docker-compose.yml @@ -13,6 +13,11 @@ services: restart: unless-stopped environment: - TZ=Europe/Budapest + # R-782 (measured 2026-10-06 on the bench, v1.13.2): since v1.0 Homepage refuses every /api/* + # request whose Host is not listed here — "Host validation failed" (400) — so the page loaded but + # its services and widgets stayed empty. The page itself and the healthcheck's 127.0.0.1 are not + # checked. With the box's own name listed, /api/services answers 200. + - HOMEPAGE_ALLOWED_HOSTS=${SUBDOMAIN}.${DOMAIN} volumes: - homepage_config:/app/config - /var/run/docker.sock:/var/run/docker.sock:ro