Kevin Veen-Birkenbach
cbfb096cdb
Refactor web health checker & domain expectations (filter-based)
...
- Move all domain→expected-status mapping to filter `web_health_expectations`.
- Require explicit app selection via non-empty `group_names`; only those apps are included.
- Add `www_enabled` flag (wired via `WWW_REDIRECT_ENABLED`) to generate/force www.* → 301.
- Support `redirect_maps` to include manual redirects (sources forced to 301), independent of app selection.
- Aliases always 301; canonicals use per-key override or `server.status_codes.default`, else [200,302,301].
- Remove legacy fallbacks (`server.status_codes.home` / `landingpage`).
- Wire filter output into systemd ExecStart script as JSON expectations.
- Normalize various templates to use `to_json` and minor spacing fixes.
- Update app configs (e.g., YOURLS default=301; Confluence default=302; Bluesky web=405; MediaWiki/Confluence canonical/aliases).
- Constructor now uses `WWW_REDIRECT_ENABLED` for domain generation.
Tests:
- Add comprehensive unit tests for filter: selection by group, keyed/default codes, aliases, www handling, redirect_maps, input sanitization.
- Add unit tests for the standalone checker script (JSON parsing, OK/mismatch counting, sanitization).
See conversation: https://chatgpt.com/share/68c2b93e-de58-800f-8c16-ea05755ba776
2025-09-11 13:58:16 +02:00
..
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-09-01 14:11:36 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-26 20:44:05 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-29 18:11:53 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-09-01 14:11:36 +02:00
2025-08-14 14:39:18 +02:00
2025-09-02 11:02:30 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-09-01 10:10:23 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-29 18:11:53 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-09-02 22:49:02 +02:00
2025-09-02 00:13:23 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-29 10:53:36 +02:00
2025-08-29 18:11:53 +02:00
2025-09-02 11:02:30 +02:00
2025-08-21 21:04:21 +02:00
2025-08-15 21:35:45 +02:00
2025-08-14 14:39:18 +02:00
2025-09-03 21:44:47 +02:00
2025-09-01 11:47:51 +02:00
2025-08-14 14:39:18 +02:00
2025-08-29 13:03:06 +02:00
2025-08-18 21:22:16 +02:00
2025-08-19 15:00:44 +02:00
2025-09-10 17:24:56 +02:00
2025-08-29 18:11:53 +02:00
2025-08-18 13:35:43 +02:00
2025-09-02 22:49:02 +02:00
2025-08-18 13:35:43 +02:00
2025-08-18 13:35:43 +02:00
2025-08-14 14:39:18 +02:00
2025-08-20 01:20:06 +02:00
2025-08-20 15:17:04 +02:00
2025-08-20 15:17:04 +02:00
2025-09-10 17:24:56 +02:00
2025-08-26 19:23:47 +02:00
2025-09-10 17:24:56 +02:00
2025-08-19 15:00:44 +02:00
2025-09-10 17:24:56 +02:00
2025-08-29 20:53:36 +02:00
2025-08-20 04:12:42 +02:00
2025-08-29 15:44:31 +02:00
2025-09-10 17:24:56 +02:00
2025-09-03 11:24:14 +02:00
2025-09-03 11:24:14 +02:00
2025-08-29 12:26:53 +02:00
2025-08-20 04:12:42 +02:00
2025-09-11 13:58:16 +02:00
2025-08-20 05:02:16 +02:00
2025-09-01 18:08:35 +02:00
2025-08-27 17:34:59 +02:00
2025-08-29 19:09:28 +02:00
2025-09-03 11:24:14 +02:00
2025-08-26 18:48:45 +02:00
2025-08-19 19:02:52 +02:00
2025-08-19 19:02:52 +02:00
2025-09-01 18:08:35 +02:00
2025-09-01 18:08:35 +02:00
2025-09-01 18:08:35 +02:00
2025-09-01 18:08:35 +02:00
2025-09-01 18:08:35 +02:00
2025-09-01 18:08:35 +02:00
2025-08-14 14:39:18 +02:00
2025-08-18 23:54:23 +02:00
2025-08-14 14:39:18 +02:00
2025-09-11 13:58:16 +02:00
2025-08-28 22:23:09 +02:00
2025-08-28 22:23:09 +02:00
2025-09-01 18:08:35 +02:00
2025-09-01 18:08:35 +02:00
2025-08-29 14:38:20 +02:00
2025-08-29 14:38:20 +02:00
2025-08-14 14:39:18 +02:00
2025-09-01 14:11:36 +02:00
2025-08-16 21:43:01 +02:00
2025-08-29 16:45:03 +02:00
2025-09-01 18:08:35 +02:00
2025-08-18 21:22:16 +02:00
2025-09-03 11:24:14 +02:00
2025-08-18 13:35:43 +02:00
2025-09-01 18:08:35 +02:00
2025-08-27 18:12:49 +02:00
2025-09-01 18:08:35 +02:00
2025-09-04 12:45:22 +02:00
2025-08-14 14:39:18 +02:00
2025-09-01 18:08:35 +02:00
2025-08-19 19:02:52 +02:00
2025-08-19 15:00:44 +02:00
2025-09-01 18:08:35 +02:00
2025-08-14 14:39:18 +02:00
2025-08-15 15:15:48 +02:00
2025-09-01 10:10:23 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-15 15:15:48 +02:00
2025-08-19 19:02:52 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-26 11:35:22 +02:00
2025-09-04 11:49:40 +02:00
2025-08-28 22:23:09 +02:00
2025-09-01 18:08:35 +02:00
2025-09-11 13:58:16 +02:00
2025-09-03 10:45:41 +02:00
2025-09-04 17:09:35 +02:00
2025-09-03 20:47:50 +02:00
2025-09-11 13:58:16 +02:00
2025-09-11 13:58:16 +02:00
2025-09-01 10:10:23 +02:00
2025-08-29 14:38:20 +02:00
2025-08-28 22:23:09 +02:00
2025-08-28 22:23:09 +02:00
2025-09-01 21:37:02 +02:00
2025-08-29 14:38:20 +02:00
2025-09-01 10:10:23 +02:00
2025-08-31 20:04:14 +02:00
2025-08-29 18:11:53 +02:00
2025-09-11 13:58:16 +02:00
2025-08-29 14:38:20 +02:00
2025-09-11 13:58:16 +02:00
2025-09-01 10:10:23 +02:00
2025-09-11 13:58:16 +02:00
2025-09-05 17:07:15 +02:00
2025-09-03 14:42:50 +02:00
2025-09-04 11:50:14 +02:00
2025-09-01 10:14:03 +02:00
2025-09-11 13:58:16 +02:00
2025-09-11 13:58:16 +02:00
2025-09-01 10:14:03 +02:00
2025-09-11 13:58:16 +02:00
2025-09-01 21:37:02 +02:00
2025-09-01 10:14:03 +02:00
2025-09-11 13:58:16 +02:00
2025-09-11 13:58:16 +02:00
2025-09-01 10:10:23 +02:00
2025-09-01 21:37:02 +02:00
2025-09-01 21:37:02 +02:00
2025-09-01 21:37:02 +02:00
2025-09-01 21:37:02 +02:00
2025-09-01 21:37:02 +02:00
2025-09-02 11:52:34 +02:00
2025-09-01 16:20:04 +02:00
2025-08-28 11:25:35 +02:00
2025-08-28 22:23:09 +02:00
2025-09-02 11:52:34 +02:00
2025-09-01 10:10:23 +02:00
2025-09-01 18:08:35 +02:00
2025-09-01 10:10:23 +02:00
2025-09-01 10:14:03 +02:00
2025-09-11 13:55:53 +02:00
2025-09-11 13:58:16 +02:00
2025-09-01 18:08:35 +02:00
2025-09-01 18:08:35 +02:00
2025-08-15 15:15:48 +02:00
2025-09-01 18:08:35 +02:00
2025-09-01 18:08:35 +02:00
2025-08-28 22:23:09 +02:00
2025-09-01 18:08:35 +02:00
2025-09-01 18:08:35 +02:00
2025-08-15 15:15:48 +02:00
2025-08-28 22:23:09 +02:00
2025-09-01 16:41:33 +02:00
2025-09-11 13:58:16 +02:00
2025-08-20 05:00:24 +02:00
2025-07-04 08:03:27 +02:00
2025-03-20 17:00:07 +01:00
2025-09-01 18:08:35 +02:00
2025-07-10 15:36:40 +02:00
2025-07-12 17:52:36 +02:00
2025-08-29 18:11:53 +02:00