v0.308.0: controller batch 2026-10-12 — clear-address warning (R-922), secret sweep over every page (R-255), read_failed (R-266), no NVMe heat band (R-333), share globe (R-577), Hungarian dates and numbers (R-562), lost-drive option pinned (R-521)
Operator rulings 2026-10-12, 09 §3 decisions 196, 204-207, 223, 227. MinAgent 0.131.0 unchanged. R-255's sweep found one leak, fixed here: an optional-config secret_input was rendered into its settings page; it is now revealed on demand. Hungarian parity fixtures re-captured once for R-562. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
1 parent
dcd89364a4
commit
fd28d70bff
183 files changed
+2671
-411
No files matched your search
@@ -1,3 +1,47 @@
|
||||
## v0.308.0 — the controller batch of 2026-10-12: clear-address warning, a secret sweep over every page, NVMe heat, the share globe, Hungarian dates and numbers (2026-10-12)
|
||||
|
||||
**MinAgent: 0.131.0** (unchanged — no agent call changed). **R-266 needs the hub of the same day** to act on the new
|
||||
`read_failed` field (an older hub ignores an unknown JSON field and bands the zeros, today's behaviour). Operator rulings
|
||||
2026-10-12, `09` §3 decisions 196, 204–207, 223, 227.
|
||||
|
||||
- **R-922 (S1) — clearing the notification address is warned first.** An empty address over a stored one saves nothing
|
||||
and sends nothing on the first press; the page says „Ha törlöd az értesítési e-mail-címet, nem kapsz több értesítő
|
||||
levelet." / "If you remove the notification e-mail address, you will get no more notification e-mails." with its own
|
||||
confirm button. Only the confirmed save clears it and sends `email_cleared` (v0.305.0). Server-side (no script), so it
|
||||
holds for any client. What is sent to the hub is unchanged. `TestR922_ClearWarnsFirst` (RED without the warning block:
|
||||
„the address was cleared before the warning"); a new parity case `settings_notifications_clear_confirm`.
|
||||
- **R-255 (S9) — one test renders EVERY page with planted secrets.** `TestR255_NoPlantedSecretReachesAnyPage` renders
|
||||
all 142 parity cases of all 35 page templates, in both languages, with a unique value in every secret-named field of
|
||||
their data (any depth) plus the keys handlers really set (`RetrievalPassword`, `InitialCreds.Password`, …), and fails
|
||||
on any that reaches the HTML. Pages are DERIVED from the templates, so a new page without a case fails it. **It found
|
||||
one leak, fixed here:** an app's optional-config `secret_input` (a key the household typed in, e.g. a metadata
|
||||
provider's API key) was rendered into `value="…"` of its settings page on every open. It is now fetched on demand
|
||||
through the existing reveal endpoint (authorised for `secret_input` fields only), and a blank field never revealed is
|
||||
not sent, so saving other fields keeps the key. RED: the old `deploy.html` → „a planted secret reached the HTML — from
|
||||
deploy_new.CurrentValues.API_KEY"; a planted `{{.RetrievalPassword}}` in settings_security → caught.
|
||||
`TestR255_OptionalSecretIsRevealedOnDemand` (RED without the new reveal branch: 403).
|
||||
- **R-266 (S10, controller half) — a failed root statfs says so on the wire.** `report.StorageReport` gains
|
||||
`read_failed` (omitempty); the `/` entry carries `true` when `SystemInfo.DiskKnown` is false, the numbers stay zeros.
|
||||
`TestRootStorageEntry_ReadFailed` (RED without the assignment).
|
||||
- **R-333 (S11) — no heat band for NVMe.** An NVMe drive's temperature alone never raises Figyelmeztetés or Hiba; its own
|
||||
`critical_warning` (incl. the temperature bit) still makes it Hiba; spinning/SATA bands unchanged. The alert text no
|
||||
longer names heat for an NVMe. `TestDiskVerdict_NVMeHasNoHeatBand` (RED with the guard removed: a 72 °C NVMe was Hiba).
|
||||
- **R-577 (S12) — the language globe on the guest share pages**, the visitor's own (`/lang`, their cookie; the household's
|
||||
setting is the default as on the sign-in page). The share's „Hibás jelszó" line now follows the visitor's language
|
||||
(`flash.share.wrong_password`). `TestGuestSharePagesHaveGlobe` replaces `TestGuestSharePagesHaveNoGlobe` (RED without
|
||||
the globe line); `TestGuestSharePage_HonoursVisitorCookie` drives `/s/<token>` through the full mux.
|
||||
- **R-562 (S28) — Hungarian dates and numbers in Hungarian, ISO-like in English.** One set of layouts in
|
||||
`internal/i18n/format.go`; every template date/size func is per-language (`formatFuncs`), the Go-side page data in
|
||||
`internal/web` follows, page scripts use `fhNum`/`fhDateTime` (layout.html), precomputed sizes go through `numText`.
|
||||
Raw RFC3339 stamps that reached pages (geo sync, drive retirement, share-backup runs, sealed-at) now render as local
|
||||
dates. **The Hungarian parity fixtures were re-captured for this release only**: 107 changed by date/number format
|
||||
only (machine-classified), the rest by the edited page scripts, the share globe and the deploy fix — named in
|
||||
REPORT.md. `TestR562_BackupsPageFormatsPerLanguage`, `TestR562_FormatFuncsPerLanguage`, `TestFormat_*` (RED with the
|
||||
formatters ignoring the language).
|
||||
- **R-521 (S32, controller half) — the lost-drive option.** The household's „Meghajtó leválasztva" option already exists,
|
||||
saves and is sent in `enabled_events`; `TestR521_StorageDisconnectedOptionRoundTrips` now pins it both ways (RED with
|
||||
the option dropped from the handler). It has been in `DefaultEnabledEvents` since v0.17.0 — left as it is (see REPORT).
|
||||
|
||||
## v0.307.0 — after a restart the Databases table lists each database once, not every undo copy (2026-10-10)
|
||||
|
||||
**MinAgent: 0.131.0** (unchanged — no agent call changed). Carries v0.306.0 (R-570). Released 2026-10-10 alone (no hub
|
||||
|
||||
Reference in new issue
Block a user