Add optional registration for self-hosted installations #100

Closed
opened 2026-04-05 16:18:52 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @mallersjamie on 2/9/2026

Problem

Self-hosted users already register with their email on the /accounts/register page, but we have no way to know they exist or notify them about security patches, breaking changes, or new releases. They have to manually check GitHub or follow the repo to stay informed.

Proposal

Add an opt-in checkbox on the /accounts/register page for self-hosted installations:

☐ Notify me about security patches and new releases

When checked, send the registration details (email, instance URL) to a OneUptime endpoint so we can include them in release and security communications.

Details

  • Checkbox on the registration page, unchecked by default
  • Only shown on self-hosted installations (not on cloud)
  • When checked, POST email + instance info to https://oneuptime.com/api/self-hosted/register (or similar)
  • Data captured: email, OneUptime version, instance URL (optional)
  • Used solely for release announcements and security advisories
  • Unsubscribe link in every email

Implementation thoughts

  • Detect self-hosted vs cloud from environment config (e.g. IS_SELF_HOSTED flag or absence of cloud config)
  • Add checkbox to Accounts/src/Pages/Register.tsx
  • Create a lightweight API endpoint on oneuptime.com to receive registrations
  • Store registrations in a simple table (email, version, registered_at)
  • Could also add this to Settings page for existing users who already registered before this feature

Why this matters

Self-hosted users running outdated versions miss security fixes. An opt-in notification system helps them stay current without having to watch the repo.

*Originally created by @mallersjamie on 2/9/2026* ## Problem Self-hosted users already register with their email on the `/accounts/register` page, but we have no way to know they exist or notify them about security patches, breaking changes, or new releases. They have to manually check GitHub or follow the repo to stay informed. ## Proposal Add an opt-in checkbox on the `/accounts/register` page for self-hosted installations: > ☐ Notify me about security patches and new releases When checked, send the registration details (email, instance URL) to a OneUptime endpoint so we can include them in release and security communications. ## Details - Checkbox on the registration page, unchecked by default - Only shown on self-hosted installations (not on cloud) - When checked, POST email + instance info to `https://oneuptime.com/api/self-hosted/register` (or similar) - Data captured: email, OneUptime version, instance URL (optional) - Used solely for release announcements and security advisories - Unsubscribe link in every email ## Implementation thoughts - Detect self-hosted vs cloud from environment config (e.g. `IS_SELF_HOSTED` flag or absence of cloud config) - Add checkbox to `Accounts/src/Pages/Register.tsx` - Create a lightweight API endpoint on oneuptime.com to receive registrations - Store registrations in a simple table (email, version, registered_at) - Could also add this to Settings page for existing users who already registered before this feature ## Why this matters Self-hosted users running outdated versions miss security fixes. An opt-in notification system helps them stay current without having to watch the repo.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#100