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-05-23 23:31:03 +08:00
2026-06-01 14:35:57 +08:00
2026-05-23 23:31:03 +08:00
2026-05-23 23:31:03 +08:00
2026-05-23 23:31:03 +08:00
2026-05-30 22:52:15 +08:00
2026-06-11 20:47:54 +08:00
2026-06-14 19:11:03 +08:00
2026-05-21 08:27:05 +08:00
2026-05-29 17:37:10 +08:00
2026-05-23 23:31:03 +08:00
2026-05-21 08:27:05 +08:00
2026-05-21 08:27:05 +08:00
2026-06-09 16:30:10 +08:00
2026-06-16 19:02:01 +08:00
2026-06-16 19:20:55 +08:00
2026-06-16 19:30:54 +08:00
2026-05-23 23:31:03 +08:00
2026-05-16 21:31:54 +08:00
2026-06-16 14:38:57 +08:00