feat(statuspages): email subscriptions, RSS feed and a JSON API
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / test (pull_request) Successful in 9m5s
ci / lint (pull_request) Successful in 10m24s
ci / build (pull_request) Successful in 18m10s
ci / image (pull_request) Successful in 5m16s

Visitors can subscribe to a page's incidents by email where the
organization allows it. They confirm their address first; confirmation
and unsubscribe links only show a button, so mail scanners do not act on
them, and mails carry RFC 8058 one-click unsubscribe headers. Subscribers
get a mail when an incident opens or resolves and for every public
update.

Every page also has an RSS feed of incidents and planned maintenance and
a read-only JSON API (status, summary, components, incidents), both
served from the cached snapshot.

Abuse protection: status page servers limit feed and API reads,
subscription requests and link actions per visitor; the API limits
subscription requests per visitor, mailbox and page, and a new limit caps
the subscriptions an organization's pages gain in seven days (platform
default and per-organization override, 1000 in the cloud). Unconfirmed
subscriptions count towards it and are deleted after a week.

The fixed cap of 200 monitors per status page is gone; the configurable
limit alone decides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-26 18:18:08 +01:00
1 parent df39b765cb
commit cca4e80e54
39 files changed
+4332 -1408

No files matched your search

+51 -1
View File
@@ -1556,5 +1556,55 @@
"weekday.3": "Mi",
"weekday.4": "Do",
"weekday.5": "Fr",
"weekday.6": "Sa"
"weekday.6": "Sa",
"limits.subscribers_per_week": "Neue Abonnenten pro Woche",
"error.subscriber_limit": "Die Statusseiten dieser Organisation haben ihr Limit von {{.Max}} neuen Abonnenten pro Woche erreicht.",
"email.subscribe.subject": "Bestätige dein Abo für {{.Page}}",
"email.subscribe.body": "Hallo,\n\njemand, hoffentlich du, möchte E-Mails zu Störungen auf der Statusseite {{.Page}} erhalten. Bestätige das hier:\n\n{{.Link}}\n\nDer Link ist {{.Hours}} Stunden gültig. Wenn du das nicht warst, ignoriere diese E-Mail: Du bekommst sonst nichts zugeschickt.",
"email.subscriber.opened.subject": "[{{.Page}}] {{.Title}}: Störung",
"email.subscriber.opened.body": "{{.Title}} ist seit {{.Time}} nicht erreichbar.\n\nAktueller Status: {{.Link}}",
"email.subscriber.resolved.subject": "[{{.Page}}] {{.Title}}: behoben",
"email.subscriber.resolved.body": "{{.Title}} funktioniert seit {{.Time}} wieder, nach {{.Duration}}.\n\nAktueller Status: {{.Link}}",
"email.subscriber.update.subject": "[{{.Page}}] {{.Title}}: {{.Status}}",
"email.subscriber.update.body": "{{.Status}}: {{.Message}}\n\nAktueller Status: {{.Link}}",
"email.subscriber.footer": "\n\n--\nDu bekommst diese E-Mail, weil du {{.Page}} abonniert hast. Abmelden: {{.Unsubscribe}}",
"page.subscribe.title": "Benachrichtigungen erhalten",
"page.subscribe.intro": "Erhalte eine E-Mail, wenn eine Störung beginnt, sich ändert oder endet.",
"page.subscribe.email": "E-Mail-Adresse",
"page.subscribe.submit": "Abonnieren",
"page.subscribe.privacy": "Deine Adresse wird nur für diese E-Mails verwendet. Jede E-Mail enthält einen Link zum Abmelden.",
"page.subscribe.sent_title": "Schau in dein Postfach",
"page.subscribe.sent": "Wenn die Adresse abonniert werden kann, ist ein Link zum Bestätigen unterwegs. Er ist 48 Stunden gültig.",
"page.subscribe.invalid": "Das ist keine gültige E-Mail-Adresse.",
"page.subscribe.limited": "Gerade zu viele Anfragen. Bitte versuche es später noch einmal.",
"page.subscribe.failed": "Abonnieren ist gerade nicht möglich. Bitte versuche es später noch einmal.",
"page.subscribe.confirm_title": "Abo bestätigen",
"page.subscribe.confirm_intro": "Bestätige, dass du E-Mails zu Störungen auf {{.Page}} erhalten möchtest.",
"page.subscribe.confirm_button": "Abo bestätigen",
"page.subscribe.confirmed_title": "Abo bestätigt",
"page.subscribe.confirmed": "{{.Email}} erhält jetzt E-Mails zu Störungen auf {{.Page}}.",
"page.subscribe.link_invalid": "Dieser Link ist ungültig oder abgelaufen.",
"page.unsubscribe.title": "Abmelden",
"page.unsubscribe.intro": "Keine E-Mails mehr zu Störungen auf {{.Page}} erhalten?",
"page.unsubscribe.button": "Abmelden",
"page.unsubscribe.done_title": "Abgemeldet",
"page.unsubscribe.done": "{{.Email}} erhält keine E-Mails mehr von {{.Page}}.",
"page.back": "Zurück zur Statusseite",
"page.feed": "RSS-Feed",
"page.api": "API",
"page.feed.description": "Störungen und geplante Wartungen von {{.Page}}",
"page.feed.maintenance": "Geplante Wartung: {{.Title}}",
"pages.subscriptions": "E-Mail-Abos",
"pages.subscriptions_hint": "Besucher können Störungen per E-Mail abonnieren. Sie bestätigen zuerst ihre Adresse, und jede E-Mail enthält einen Link zum Abmelden.",
"pages.subscriptions_no_mail": "Braucht einen Mailserver (UPTIME_SMTP_URL) auf der Plattform.",
"pages.subscribers": "Abonnenten",
"pages.subscribers_counts": "{{.Confirmed}} bestätigt · {{.Pending}} warten auf Bestätigung",
"pages.subscribers_none": "Noch keine Abonnenten.",
"pages.subscribers_more": "Die neuesten {{.Count}} werden angezeigt.",
"pages.subscriber_pending": "unbestätigt",
"pages.subscriber_remove": "Entfernen",
"pages.subscribers_limit": "Neue Abos pro Woche für die Organisation: {{.Max}}",
"pages.feeds": "Feed und API",
"pages.feeds_hint": "Jede veröffentlichte Seite hat einen RSS-Feed und eine JSON-API zum Lesen, pro Besucher begrenzt:",
"audit.action.statuspage.subscriber_delete": "Abonnent einer Statusseite entfernt"
}
+51 -1
View File
@@ -1556,5 +1556,55 @@
"weekday.3": "Wed",
"weekday.4": "Thu",
"weekday.5": "Fri",
"weekday.6": "Sat"
"weekday.6": "Sat",
"limits.subscribers_per_week": "New subscribers per week",
"error.subscriber_limit": "The status pages of this organization have reached their limit of {{.Max}} new subscribers per week.",
"email.subscribe.subject": "Confirm your subscription to {{.Page}}",
"email.subscribe.body": "Hello,\n\nsomeone, hopefully you, asked to receive emails about incidents on the status page {{.Page}}. Confirm it here:\n\n{{.Link}}\n\nThe link is valid for {{.Hours}} hours. If you did not ask for this, ignore this email: nothing else will be sent to you.",
"email.subscriber.opened.subject": "[{{.Page}}] {{.Title}}: outage",
"email.subscriber.opened.body": "{{.Title}} has been unavailable since {{.Time}}.\n\nCurrent status: {{.Link}}",
"email.subscriber.resolved.subject": "[{{.Page}}] {{.Title}}: resolved",
"email.subscriber.resolved.body": "{{.Title}} is working again since {{.Time}}, after {{.Duration}}.\n\nCurrent status: {{.Link}}",
"email.subscriber.update.subject": "[{{.Page}}] {{.Title}}: {{.Status}}",
"email.subscriber.update.body": "{{.Status}}: {{.Message}}\n\nCurrent status: {{.Link}}",
"email.subscriber.footer": "\n\n--\nYou receive this email because you subscribed to {{.Page}}. Unsubscribe: {{.Unsubscribe}}",
"page.subscribe.title": "Get notified",
"page.subscribe.intro": "Receive an email when an incident starts, changes or ends.",
"page.subscribe.email": "Email address",
"page.subscribe.submit": "Subscribe",
"page.subscribe.privacy": "Your address is used for these emails only. Every email contains a link to unsubscribe.",
"page.subscribe.sent_title": "Check your inbox",
"page.subscribe.sent": "If the address can be subscribed, a link to confirm it is on its way. The link is valid for 48 hours.",
"page.subscribe.invalid": "That is not a valid email address.",
"page.subscribe.limited": "Too many requests right now. Please try again later.",
"page.subscribe.failed": "Subscribing is not possible right now. Please try again later.",
"page.subscribe.confirm_title": "Confirm subscription",
"page.subscribe.confirm_intro": "Confirm that you want to receive emails about incidents on {{.Page}}.",
"page.subscribe.confirm_button": "Confirm subscription",
"page.subscribe.confirmed_title": "Subscription confirmed",
"page.subscribe.confirmed": "{{.Email}} now receives emails about incidents on {{.Page}}.",
"page.subscribe.link_invalid": "This link is invalid or has expired.",
"page.unsubscribe.title": "Unsubscribe",
"page.unsubscribe.intro": "Stop receiving emails about incidents on {{.Page}}?",
"page.unsubscribe.button": "Unsubscribe",
"page.unsubscribe.done_title": "Unsubscribed",
"page.unsubscribe.done": "{{.Email}} no longer receives emails from {{.Page}}.",
"page.back": "Back to the status page",
"page.feed": "RSS feed",
"page.api": "API",
"page.feed.description": "Incidents and planned maintenance of {{.Page}}",
"page.feed.maintenance": "Planned maintenance: {{.Title}}",
"pages.subscriptions": "Email subscriptions",
"pages.subscriptions_hint": "Visitors can subscribe to incidents by email. They confirm their address first, and every email has a link to unsubscribe.",
"pages.subscriptions_no_mail": "Needs a mail server (UPTIME_SMTP_URL) on the platform.",
"pages.subscribers": "Subscribers",
"pages.subscribers_counts": "{{.Confirmed}} confirmed · {{.Pending}} waiting for confirmation",
"pages.subscribers_none": "No subscribers yet.",
"pages.subscribers_more": "Showing the newest {{.Count}}.",
"pages.subscriber_pending": "unconfirmed",
"pages.subscriber_remove": "Remove",
"pages.subscribers_limit": "New subscriptions per week for the organization: {{.Max}}",
"pages.feeds": "Feed and API",
"pages.feeds_hint": "Every published page has an RSS feed and a read-only JSON API, rate limited per visitor:",
"audit.action.statuspage.subscriber_delete": "Status page subscriber removed"
}