mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
Forward notifications to any of the 100+ services Apprise reaches instead of the two hand-coded webhook formats. The channel form lists every Apprise service with the fields it takes, and the backend builds the Apprise URL from them. - New `apprise` channel type, admin only: Apprise opens its own connections, past the SSRF guard. The owner's role is checked again at every delivery. - GET /api/notification-channels/apprise-services describes each service from Apprise's plugin details: URL tokens as fields, options as advanced fields. A field is required only when every URL template needs it. - A channel stores the service and its fields sealed; the URL is built from the template those fields fill at each send. Local schemas, the options that read files and the ones RomM sets are never offered. Apprise follows no redirects, does not retry and its timeouts are capped. - The RomM JSON webhook keeps its payload and HMAC signature; its Discord and ntfy formats go, Apprise covers them. Email is unchanged. - The v2 dialog picks the type from one searchable list and renders the service's fields, options folded under "Advanced options". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 lines
91 B
Python
2 lines
91 B
Python
"""Forwarding a user's notifications to Apprise services, webhooks and email addresses."""
|