T4: Ianitor anywhere (Linux, Docker, Windows in Caddy mode), branch previews for Fabrica, team sign-in #10

Open
mnovak wants to merge 15 commits from feature/t4-anywhere into main

15 Commits

Author SHA1 Message Date
mnovak 67888aa791 [docs] Roadmap: T4 status and handover 2026-11-17 22:16:50 +01:00
mnovak 6956f23cb2 [tests] Caddy mode: a minute for Caddy to start on a busy machine 2026-11-17 21:42:52 +01:00
mnovak 2aa8d66127 [control] The admin host is accepted with any port (Docker or a router may publish 443 elsewhere); smoke scripts: Windows-readable paths, curl without Schannel's revocation check, logs on failure 2026-11-17 21:35:34 +01:00
mnovak 695ed178a5 [control] Clippy clean for the T4 code; CLAUDE.md: the deploy folders and the Linux test command in Docker; the Docker smoke turns off Git Bash's path rewriting and removes its volume 2026-11-17 21:18:19 +01:00
mnovak defd722cc2 [docs] Previews (the API for Fabrica, names, the token from the team vault), Ianitor anywhere (Linux, Docker, Windows Server in Caddy mode, NixOS), team sign-in in api.md, the Custos ticket's T4 part; release 0.2.0: the pipeline builds and tests the Linux tarball, the Windows zip and the image; the NixOS previews option; Docker and Linux smoke scripts 2026-11-17 20:59:42 +01:00
mnovak d5d522fe4b [deploy] Fixes from the Windows smoke: the admin host has no health path (every API path needs a sign-in), -NoService keeps the person who ran it in the folder's ACL, paths may have backslashes; Pebble 2.6.0 in the CI image (the ACME test's version) 2026-11-17 20:55:41 +01:00
mnovak 49c05e2523 [deploy] Anywhere: the Docker image and compose file (edge and control), the Linux installer and systemd units, the Windows Server installer (Caddy mode, three services), the preview client for Fabrica, and the Windows smoke script 2026-11-17 20:42:04 +01:00
mnovak 09f6b12676 [tests] Linux-only tests follow the Caddy admin address type and the [previews] config field 2026-11-17 20:42:01 +01:00
mnovak 4e3c721ef5 [web] Previews and the team: a Previews screen (see: 1 click, close: 2), sign-in from a setup or invite link, Settings → Team (invite: 3 clicks), previews-only API tokens; click-counted tests 2026-11-17 20:41:53 +01:00
mnovak dced199132 [control] Team sign-in without Authelia: a one-time setup link for the first admin, invite links, per-browser sessions in an HttpOnly cookie, admin and member roles, Tessera roots with their match code; the admin host kept by control ([ui] admin_tls) 2026-11-17 20:28:12 +01:00
mnovak 51a95e4f75 [control] Caddy mode, tests: a previews-only token opens a branch preview that answers through Caddy (admin on loopback TCP, Domi certificate, no edge) and is gone after close; runs on Windows 2026-11-17 14:03:52 +01:00
mnovak 5e273241e4 [tests] Diff: the differential suite runs on Windows too (Windows Caddy, drive paths), with two branch previews in the fixtures; edge leaves a websocket 101 as the upstream sent it, as Caddy does 2026-11-17 13:59:18 +01:00
mnovak acf69a8ed2 [control] Windows Caddy mode: Caddy's admin API on loopback TCP where there is no Unix socket, applies go through Caddy without an edge, control and the Caddy guard as Windows services, a log file 2026-11-17 13:59:12 +01:00
mnovak fc9e16f1b2 [control] Previews: POST/GET/DELETE /api/v1/previews, tokens scoped to previews only, the upstream allow list, expiry; Windows drive paths in compile options (tests first) 2026-11-17 13:46:33 +01:00
mnovak 83270e0746 [core] Previews: branch and project names to one safe host label, and the [preview] table of a host file (tests first) 2026-11-17 13:29:35 +01:00