DrSmoothl
c0af18e1c2
feat(notifications): P3 HTTP face — channel config CRUD + recent + test-send
Bearer-gated WebUI routes:
- GET/POST /api/notifications/config — read/normalize the global channel store
(whole-config CRUD, mirroring the ui-config pattern).
- GET /api/notifications/recent?limit=N — in-memory delivery history (≤100).
- POST /api/notifications/test {channelId} — one-off test to a single channel
(ignores enabled/opt-in, sample vars, reuses render+POST, not recorded).
NotificationManager.testSend() added; initWebUI takes the manager (optional).
Tests: testSend unit coverage. 16 manager tests green, typecheck clean.
Adversarial review: 0 blockers / 0 should-fix / 0 nits.
2026-06-16 19:30:54 +08:00
..
2026-06-16 18:17:46 +08:00
2026-06-15 13:57:38 +08:00
2026-06-16 19:30:54 +08:00
2026-06-15 13:57:38 +08:00
2026-06-16 19:20:55 +08:00
2026-06-16 01:34:38 +08:00
2026-06-16 01:34:38 +08:00
2026-06-15 13:57:38 +08:00
2026-06-15 13:57:38 +08:00
2026-06-15 13:57:38 +08:00
2026-06-16 14:10:04 +08:00
2026-06-15 13:57:38 +08:00
2026-06-16 14:57:39 +08:00