Handback-documenten bijgewerkt, Build-and-Test-aanvulling, Operations-vragen e-mailfeature

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-09 09:03:49 +01:00
co-authored by Claude Sonnet 5.5
parent ff94719455
commit 0e86125f12
7 changed files with 155 additions and 0 deletions
@@ -34,3 +34,22 @@ Access tokens issued before the release are refused once (silent refresh issues
## Open items before the feature can close
1. The real test mail on ASF test (manual, above). 2. Operations stage (deployment config, monitoring, production readiness incl. the SPF/DKIM alignment checklist). 3. Bryan's approval of this stage.
## Update 2026-11-09: later changes on this branch (all with tests, all pushed)
| Change | Test evidence |
|---|---|
| D2 stamp in the access token (built in U2) | Core: real Identity + real tokens, password change ends earlier access tokens, refresh issues a new one |
| Soft mail configuration: a half-finished mail configuration starts the host with mail OFF and one Error line naming the settings (no values, no secrets) | `MailSoftFailureTests`, `DeployedConfigurationTests` for master, slave, SlpSoftware, ASF |
| `Website__LogLevel` (systemd drops variable names with a dot) | `WebsiteLogLevelTests` |
| Role hierarchy in the API; the caller is recognised by the user id of the token (a real token has no name claim: an Owner got 403 promoting to Owner) | `UsersApiWithRealTokensTests` (real tokens, real pipeline; 5 of 7 failed before the fix) |
| Mail diagnostics: SMTP command failure phase and status, redacted first reply line, specific codes (`rejected_sender`, `rejected_recipient`, `tls_failed`, `connection_failed`), `timeout_connect/auth/send`, a timeout of its own per step (it was one shared budget), `TimeoutSeconds` 1..120 | `SmtpFailureTests`, `SmtpSenderDiagnosticsTests` (SMTP stub that refuses or stalls), property test (control characters could re-glue an address) |
| "New invitation link" mails only on request (`sendEmail`), with a choice dialog | controller, real-HTTP and UI tests |
| Layout: only the content scrolls, the sidebar stays | layout class tests |
| Redirect timers cleaned up on unmount (a CI-only "window is not defined") | page test fails on the old code, `useDelayedAction` tests |
| Availability gate only covers `/api/` (a disabled CMS still serves the website and `/admin`) | 27 new Availability tests incl. a real in-memory pipeline; 16 failed before |
| Setup page never shown for an unreadable setup status; login notice for a disabled CMS | 6 error cases (5 failed before), limiter test |
Current counts (local, last full run): Core 563, Identity 141, Availability 109, Master 57, Offerings 57, ASF host configuration 6, frontend 390. CI (with MariaDB): all green on the runs 626 and before; the MariaDB-backed migration up/down/up and `DateTimeOffset` round trip run there.
Still open for this stage: the manual real test mail from the ASF test host (the SMTP sender address and TLS mode of `mail.andreaslop.nl` are being sorted out by Bryan and Pi-Main; the failure diagnostics above exist to see why a mail is refused) and Bryan's approval.