mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
Each user can add channels that forward their notifications: a webhook posting RomM's JSON (optionally HMAC-signed), a Discord embed or an ntfy message, or an email address confirmed with a code. A channel filters by minimum level and by topic, and every stored notification that passes goes out in its own RQ job, retried three times; ten failures in a row turn the channel off and tell its owner. Channel configs are sealed with a key derived from ROMM_AUTH_SECRET_KEY, since a webhook URL carries its own token. Only an admin's webhooks may reach private addresses; everyone else's go through the SSRF guard. Email goes out over the SMTP_* settings, which the heartbeat reports as NOTIFICATIONS.EMAIL_ENABLED. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>