Juan Denis and Claude Opus 4.8
a661212d50
feat(notifications): queue-backed Notification Bus + email system
...
Reusable, non-blocking notification layer on top of the Queue Bus:
notify.send(event, to, data) records a Notification + per-channel
NotificationDelivery, queues them, and a daemon consumer delivers via
pluggable channel adapters (in-app, email, chat) inheriting retry,
backoff and dead-letter.
- Jinja2 email system: branded, dark-mode, Outlook-safe base layout +
per-event templates (security/backup/monitoring/welcome/invitation).
The legacy inline f-string email was removed and now renders here.
- In-app center API (inbox/unread-count/mark-read) + per-user Socket.IO push.
- Admin delivery log (stats/filter/retry).
- Email providers (SMTP/SendGrid/Postmark/SES/Mailgun) with encrypted
credentials + test; the email adapter prefers the default provider and
falls back to the legacy SMTP config; surfaced in ConnectionRegistry.
- NotificationService.send_all() is now a non-blocking shim that routes
system alerts through the bus. Migrations 023 + 024.
Tests: backend/tests/test_notification_bus.py (20). Full suite: 391 passed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-21 19:57:02 -04:00
..
2026-01-17 04:22:12 -05:00
2026-06-15 00:52:30 -04:00
2026-03-23 01:46:41 -04:00
2026-06-12 18:35:35 -04:00
2026-06-12 18:35:52 -04:00
2026-06-01 02:39:05 -04:00
2026-06-01 02:39:05 -04:00
2026-06-01 02:39:05 -04:00
2026-01-22 18:11:22 -05:00
2026-03-04 01:53:46 -05:00
2026-03-04 01:53:46 -05:00
2026-05-03 15:57:02 -04:00
2026-03-23 02:27:52 -04:00
2026-06-21 02:11:47 -04:00
2026-03-23 01:58:28 -04:00
2026-03-23 02:27:52 -04:00
2026-06-15 10:47:59 -04:00
2026-06-21 19:57:02 -04:00
2026-05-05 14:03:31 -04:00
2026-06-19 10:13:50 -04:00
2026-06-19 09:54:40 -04:00
2026-06-01 02:39:05 -04:00
2026-03-23 01:58:28 -04:00
2026-06-15 00:01:41 -04:00
2026-05-31 22:39:57 -04:00
2026-06-19 03:12:07 -04:00
2026-04-29 00:39:16 -04:00
2026-04-29 00:39:16 -04:00
2026-03-04 00:02:52 -05:00
2026-03-23 01:58:28 -04:00
2026-03-04 02:34:49 -05:00
2026-06-19 16:34:14 -04:00
2026-06-19 16:34:14 -04:00
2026-06-18 22:16:00 -04:00
2026-03-04 02:34:49 -05:00
2026-06-15 09:19:56 -04:00
2026-03-04 02:34:49 -05:00
2026-01-18 00:40:41 -05:00
2026-01-28 21:12:55 -05:00
2026-06-20 22:43:38 -04:00
2026-06-21 02:11:47 -04:00
2026-06-20 22:43:38 -04:00
2026-06-20 22:25:06 -04:00
2026-06-21 02:11:47 -04:00
2026-02-10 08:09:38 -05:00
2026-03-23 01:58:28 -04:00
2026-06-21 02:11:47 -04:00
2026-03-23 01:58:28 -04:00
2026-05-03 06:28:21 -04:00
2026-06-01 02:27:52 -04:00
2026-01-21 21:31:57 -05:00
2026-06-19 10:08:58 -04:00
2026-06-19 01:33:45 -04:00
2026-06-19 09:22:18 -04:00
2026-03-04 02:34:49 -05:00
2026-06-21 02:11:47 -04:00
2026-06-20 22:43:38 -04:00
2026-01-22 08:51:31 -05:00
2026-06-06 23:29:22 -04:00
2026-03-24 06:10:58 -04:00
2026-03-23 02:19:33 -04:00
2026-06-19 16:13:06 -04:00
2026-01-22 18:11:22 -05:00
2026-06-21 19:57:02 -04:00
2026-03-04 01:53:46 -05:00
2026-05-31 16:08:32 -04:00
2026-06-19 01:33:45 -04:00
2026-03-04 02:34:49 -05:00
2026-03-04 00:02:52 -05:00
2026-06-01 02:39:05 -04:00
2026-06-15 09:19:56 -04:00
2026-01-19 02:35:18 -05:00
2026-06-18 22:16:00 -04:00
2026-03-23 01:58:28 -04:00
2026-06-15 19:43:00 -04:00
2026-05-01 05:52:11 -04:00
2026-05-01 01:54:17 -04:00
2026-06-21 02:11:47 -04:00
2026-05-01 03:37:33 -04:00
2026-05-01 04:33:08 -04:00
2026-05-01 04:42:30 -04:00
2026-05-01 04:33:08 -04:00
2026-05-03 07:07:57 -04:00
2026-06-05 23:04:06 -04:00
2026-01-25 20:01:07 -05:00
2026-03-04 02:34:49 -05:00
2026-06-20 22:43:38 -04:00
2026-06-21 01:54:51 -04:00
2026-01-22 08:51:31 -05:00
2026-06-12 18:35:35 -04:00
2026-06-19 01:34:02 -04:00
2026-06-20 22:43:38 -04:00
2026-06-15 19:55:57 -04:00
2026-06-21 00:20:10 -04:00
2026-03-04 02:34:49 -05:00
2026-06-19 16:34:14 -04:00
2026-03-04 01:37:22 -05:00
2026-06-20 22:43:38 -04:00
2026-06-21 02:11:47 -04:00
2026-06-21 02:11:47 -04:00
2026-06-06 23:29:22 -04:00
2026-01-22 16:44:06 -05:00
2026-01-18 01:03:56 -05:00
2026-06-15 23:28:12 -04:00
2026-06-15 23:28:12 -04:00
2026-06-15 23:20:00 -04:00
2026-06-20 22:43:38 -04:00
2026-01-17 13:37:40 -05:00
2026-06-19 14:02:24 -04:00
2026-06-20 22:43:38 -04:00
2026-05-31 22:39:57 -04:00
2026-01-27 19:35:21 -05:00
2026-06-15 21:59:59 -04:00
2026-05-01 03:37:33 -04:00
2026-01-28 21:12:55 -05:00
2026-06-21 18:32:25 -04:00
2026-06-21 02:11:47 -04:00
2026-06-01 03:04:03 -04:00
2026-06-01 01:57:43 -04:00
2026-06-01 02:27:52 -04:00
2026-06-01 01:45:20 -04:00