feat: verified sign-up and several organizations per account
New accounts confirm their email address before signing in: sign-up mails a link valid for 24 hours, and its page confirms only when the visitor presses the button, so mail scanners opening links do not sign in. Confirming signs the account in; unconfirmed accounts are told so only after giving the right password, can ask for a new link, and are deleted after a week. UPTIME_SIGNUP_VERIFY requires confirmation always in the cloud edition and self-hosted wherever mail can be sent; without a mail server, sign-up that needs it stays closed. One account per mailbox: users.email_key drops +suffixes, and dots for Gmail, and is unique, including for accounts created through invitations and SSO, which count as confirmed. A client address (IPv6: its /64) may create UPTIME_SIGNUPS_PER_IP accounts a day, 2 by default; refused sign-ups do not count. Sign-up asks only for name, email and password. Accounts without an organization are led to create one; signed-in users create further organizations from the switcher, within the per-account limit, and POST /api/v1/orgs does the same. Closes #112 Closes #113 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
d644312f25
commit
87b2f2a256
29 files changed
+1698
-377
No files matched your search
@@ -56,6 +56,7 @@
|
||||
"audit.action.account.signup": "Konto erstellt",
|
||||
"audit.action.account.totp_disable": "Zwei-Faktor-Authentifizierung deaktiviert",
|
||||
"audit.action.account.totp_enable": "Zwei-Faktor-Authentifizierung aktiviert",
|
||||
"audit.action.account.verify": "E-Mail-Adresse bestätigt",
|
||||
"audit.action.agent.create": "Agent erstellt",
|
||||
"audit.action.agent.delete": "Agent widerrufen",
|
||||
"audit.action.agent.update": "Agent geändert",
|
||||
@@ -88,6 +89,7 @@
|
||||
"audit.action.monitor.delete": "Monitor gelöscht",
|
||||
"audit.action.monitor.update": "Monitor geändert",
|
||||
"audit.action.org.check_types_update": "Check-Typen geändert",
|
||||
"audit.action.org.create": "Organisation angelegt",
|
||||
"audit.action.org.delete": "Organisation gelöscht",
|
||||
"audit.action.org.export": "Daten der Organisation exportiert",
|
||||
"audit.action.org.legal_update": "Rechtstext geändert",
|
||||
@@ -153,6 +155,16 @@
|
||||
"auth.sso.heading": "Single Sign-on",
|
||||
"auth.sso.org_placeholder": "Kurzname der Organisation",
|
||||
"auth.sso.submit": "Weiter",
|
||||
"auth.verify.intro": "Drücke den Knopf, um deine E-Mail-Adresse zu bestätigen und dich anzumelden.",
|
||||
"auth.verify.resend_intro": "Wenn ein unbestätigtes Konto diese Adresse nutzt, schicken wir ihm einen neuen Link.",
|
||||
"auth.verify.resend_link": "Bestätigungs-E-Mail erneut senden",
|
||||
"auth.verify.resend_submit": "Link senden",
|
||||
"auth.verify.resend_title": "Neuer Bestätigungslink",
|
||||
"auth.verify.sent": "Wir haben dir einen Link geschickt, mit dem du deine E-Mail-Adresse bestätigst. Er ist 24 Stunden gültig.",
|
||||
"auth.verify.sent_hint": "Nichts angekommen? Schau im Spam-Ordner nach oder fordere einen neuen Link an.",
|
||||
"auth.verify.sent_title": "Schau in dein Postfach",
|
||||
"auth.verify.submit": "Bestätigen und anmelden",
|
||||
"auth.verify.title": "E-Mail-Adresse bestätigen",
|
||||
"channels.create": "Kanal anlegen",
|
||||
"channels.created": "Webhook erstellt. Er ist bereits in der Standardgruppe. Kopiere den Signaturschlüssel, bevor du fortfährst.",
|
||||
"channels.delete_confirm": "Diesen Kanal löschen?",
|
||||
@@ -466,6 +478,8 @@
|
||||
"email.resolved.subject": "[UP] {{.Monitor}}",
|
||||
"email.test.body": "Dies ist ein Test. Wenn du ihn lesen kannst, funktioniert der Kanal.",
|
||||
"email.test.subject": "Testbenachrichtigung von UptimeSebi",
|
||||
"email.verify.body": "Hallo,\n\nbitte bestätige deine E-Mail-Adresse, um die Registrierung abzuschließen:\n\n{{.Link}}\n\nDer Link ist {{.Hours}} Stunden gültig. Wenn du dich nicht registriert hast, ignoriere diese E-Mail; das Konto wird nach einer Woche gelöscht.",
|
||||
"email.verify.subject": "Bestätige deine E-Mail-Adresse für UptimeSebi",
|
||||
"error.account_suspended": "Dieser Account ist gesperrt. Wende dich an den Betreiber.",
|
||||
"error.agent_protocol_unsupported": "Diese Agent-Version wird von der API nicht unterstützt. Bitte den Agent aktualisieren.",
|
||||
"error.alert_group_not_deletable": "Die Gruppe existiert nicht oder ist die geschützte Standardgruppe.",
|
||||
@@ -480,6 +494,7 @@
|
||||
"error.domain_taken": "Diese Domain nutzt bereits eine andere Statuspage.",
|
||||
"error.email_not_configured": "E-Mail ist auf diesem Server nicht verfügbar.",
|
||||
"error.email_taken": "Diese E-Mail-Adresse ist bereits registriert.",
|
||||
"error.email_unverified": "Bestätige zuerst deine E-Mail-Adresse; wir haben dir einen Link geschickt. Einen neuen kannst du unten anfordern.",
|
||||
"error.forbidden": "Dafür fehlt dir die Berechtigung.",
|
||||
"error.group_cycle": "Eine Gruppe kann nicht in sich selbst oder eine ihrer Untergruppen verschoben werden.",
|
||||
"error.group_too_deep": "Gruppen lassen sich höchstens acht Ebenen tief verschachteln.",
|
||||
@@ -537,6 +552,7 @@
|
||||
"error.no_domain": "Lege zuerst eine eigene Domain fest.",
|
||||
"error.no_password": "Konto ohne Passwort.",
|
||||
"error.not_found": "Nicht gefunden.",
|
||||
"error.org_limit": "Dein Konto darf höchstens {{.Max}} Organisationen besitzen.",
|
||||
"error.org_not_found": "Organisation nicht gefunden.",
|
||||
"error.org_suspended": "Der Betreiber hat diese Organisation gesperrt.",
|
||||
"error.owner_cannot_be_removed": "Der Owner kann nicht entfernt werden.",
|
||||
@@ -556,6 +572,7 @@
|
||||
"error.role_not_found": "Rolle nicht gefunden.",
|
||||
"error.session_required": "Diese Aktion ist für API-Tokens nicht verfügbar.",
|
||||
"error.signup_closed": "Registrierung ist deaktiviert.",
|
||||
"error.signup_limit": "Aus deinem Netz wurden heute zu viele Konten angelegt. Versuche es morgen wieder.",
|
||||
"error.slug_taken": "Dieser Kurzname ist bereits vergeben.",
|
||||
"error.sso_denied": "Die Anmeldung wurde beim Identity Provider abgebrochen.",
|
||||
"error.sso_discovery_failed": "Der Identity Provider ist nicht erreichbar oder lieferte keine gültige Konfiguration.",
|
||||
@@ -582,6 +599,8 @@
|
||||
"error.unauthenticated": "Anmeldung erforderlich.",
|
||||
"error.unsupported_locale": "Sprache wird nicht unterstützt.",
|
||||
"error.user_owns_shared_orgs": "Dem Account gehören Organisationen mit weiteren Mitgliedern. Lösche diese zuerst oder übertrage sie.",
|
||||
"error.verification_expired": "Dieser Bestätigungslink ist ungültig oder abgelaufen. Fordere einen neuen an.",
|
||||
"error.verification_mail_failed": "Dein Konto wurde angelegt, aber die Bestätigungs-E-Mail konnte nicht gesendet werden. Fordere später einen neuen Link an.",
|
||||
"evidence.body": "Antwort-Body",
|
||||
"evidence.body_binary": "Binärer Inhalt, nicht gespeichert.",
|
||||
"evidence.body_empty": "Leer.",
|
||||
@@ -1043,9 +1062,14 @@
|
||||
"org.token_max_days": "Maximale Gültigkeit von API-Tokens (Tage)",
|
||||
"org.token_max_days_hint": "Neue Tokens müssen innerhalb dieses Zeitraums ablaufen. Beim Speichern werden bestehende Tokens gekürzt, die länger gelten würden. Leer lassen für keine Begrenzung.",
|
||||
"org.token_max_days_none": "unbegrenzt",
|
||||
"orgs.create": "Organisation anlegen",
|
||||
"orgs.first_intro": "Dein Konto ist eingerichtet. Lege eine Organisation für deine Monitore und Statusseiten an.",
|
||||
"orgs.intro": "Alle Organisationen mit Inhaber, Nutzung und Limits. Ein leeres Limit folgt dem Standard.",
|
||||
"orgs.invited_hint": "Wurdest du in eine Organisation eingeladen? Öffne stattdessen den Link aus der Einladung.",
|
||||
"orgs.limits": "Limits dieser Organisation",
|
||||
"orgs.manage": "Limits, sperren oder löschen …",
|
||||
"orgs.new_intro": "Du bist Inhaber und kannst andere einladen.",
|
||||
"orgs.new_title": "Neue Organisation",
|
||||
"orgs.none": "Keine Organisation gefunden.",
|
||||
"orgs.owner_orgs": "Organisationen, die der Inhaber besitzen darf (besitzt {{.Count}})",
|
||||
"orgs.search": "Name, Kürzel oder E-Mail des Inhabers",
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
"audit.action.account.signup": "Account created",
|
||||
"audit.action.account.totp_disable": "Two-factor authentication disabled",
|
||||
"audit.action.account.totp_enable": "Two-factor authentication enabled",
|
||||
"audit.action.account.verify": "Email address confirmed",
|
||||
"audit.action.agent.create": "Agent created",
|
||||
"audit.action.agent.delete": "Agent revoked",
|
||||
"audit.action.agent.update": "Agent changed",
|
||||
@@ -88,6 +89,7 @@
|
||||
"audit.action.monitor.delete": "Monitor deleted",
|
||||
"audit.action.monitor.update": "Monitor changed",
|
||||
"audit.action.org.check_types_update": "Check types changed",
|
||||
"audit.action.org.create": "Organization created",
|
||||
"audit.action.org.delete": "Organization deleted",
|
||||
"audit.action.org.export": "Organization data exported",
|
||||
"audit.action.org.legal_update": "Legal document changed",
|
||||
@@ -153,6 +155,16 @@
|
||||
"auth.sso.heading": "Single sign-on",
|
||||
"auth.sso.org_placeholder": "Organization short name",
|
||||
"auth.sso.submit": "Continue",
|
||||
"auth.verify.intro": "Press the button to confirm your email address and sign in.",
|
||||
"auth.verify.resend_intro": "If an unconfirmed account uses this address, we send it a new link.",
|
||||
"auth.verify.resend_link": "Resend the confirmation email",
|
||||
"auth.verify.resend_submit": "Send link",
|
||||
"auth.verify.resend_title": "New confirmation link",
|
||||
"auth.verify.sent": "We sent you a link to confirm your email address. It is valid for 24 hours.",
|
||||
"auth.verify.sent_hint": "Nothing arrived? Look in your spam folder, or ask for a new link.",
|
||||
"auth.verify.sent_title": "Check your inbox",
|
||||
"auth.verify.submit": "Confirm and sign in",
|
||||
"auth.verify.title": "Confirm your email address",
|
||||
"channels.create": "Create channel",
|
||||
"channels.created": "Webhook created. It is already in the default alert group. Copy the signing secret before continuing.",
|
||||
"channels.delete_confirm": "Delete this channel?",
|
||||
@@ -466,6 +478,8 @@
|
||||
"email.resolved.subject": "[UP] {{.Monitor}}",
|
||||
"email.test.body": "This is a test. If you can read it, the channel works.",
|
||||
"email.test.subject": "Test notification from UptimeSebi",
|
||||
"email.verify.body": "Hello,\n\nplease confirm your email address to finish signing up:\n\n{{.Link}}\n\nThe link is valid for {{.Hours}} hours. If you did not sign up, ignore this email; the account is deleted after a week.",
|
||||
"email.verify.subject": "Confirm your email address for UptimeSebi",
|
||||
"error.account_suspended": "This account is suspended. Contact the operator.",
|
||||
"error.agent_protocol_unsupported": "This agent version is not supported by the API. Please update the agent.",
|
||||
"error.alert_group_not_deletable": "The group does not exist or is the protected default group.",
|
||||
@@ -480,6 +494,7 @@
|
||||
"error.domain_taken": "This domain is already used by another status page.",
|
||||
"error.email_not_configured": "Email is not available on this server.",
|
||||
"error.email_taken": "This email address is already registered.",
|
||||
"error.email_unverified": "Confirm your email address first; we mailed you a link. You can ask for a new one below.",
|
||||
"error.forbidden": "You are not allowed to do this.",
|
||||
"error.group_cycle": "A group cannot be placed inside itself or one of its subgroups.",
|
||||
"error.group_too_deep": "Groups can be nested at most eight levels deep.",
|
||||
@@ -537,6 +552,7 @@
|
||||
"error.no_domain": "Set a custom domain first.",
|
||||
"error.no_password": "This account has no password.",
|
||||
"error.not_found": "Not found.",
|
||||
"error.org_limit": "Your account may own at most {{.Max}} organizations.",
|
||||
"error.org_not_found": "Organization not found.",
|
||||
"error.org_suspended": "The operator suspended this organization.",
|
||||
"error.owner_cannot_be_removed": "The owner cannot be removed.",
|
||||
@@ -556,6 +572,7 @@
|
||||
"error.role_not_found": "Role not found.",
|
||||
"error.session_required": "This action is not available to API tokens.",
|
||||
"error.signup_closed": "Sign-up is disabled.",
|
||||
"error.signup_limit": "Too many accounts were created from your network today. Try again tomorrow.",
|
||||
"error.slug_taken": "This short name is already taken.",
|
||||
"error.sso_denied": "Sign-in was cancelled at the identity provider.",
|
||||
"error.sso_discovery_failed": "The identity provider could not be reached or returned no valid configuration.",
|
||||
@@ -582,6 +599,8 @@
|
||||
"error.unauthenticated": "Authentication required.",
|
||||
"error.unsupported_locale": "Unsupported language.",
|
||||
"error.user_owns_shared_orgs": "The account owns organizations with other members. Delete those or hand them over first.",
|
||||
"error.verification_expired": "This confirmation link is invalid or expired. Ask for a new one.",
|
||||
"error.verification_mail_failed": "Your account was created, but the confirmation email could not be sent. Ask for a new link in a while.",
|
||||
"evidence.body": "Response body",
|
||||
"evidence.body_binary": "Binary content, not stored.",
|
||||
"evidence.body_empty": "Empty.",
|
||||
@@ -1043,9 +1062,14 @@
|
||||
"org.token_max_days": "Maximum API token lifetime (days)",
|
||||
"org.token_max_days_hint": "New tokens must expire within this period. Saving shortens existing tokens that would outlive it. Leave empty for no limit.",
|
||||
"org.token_max_days_none": "unlimited",
|
||||
"orgs.create": "Create organization",
|
||||
"orgs.first_intro": "Your account is ready. Create an organization for your monitors and status pages.",
|
||||
"orgs.intro": "All organizations with their owner, usage and limits. Leave a limit empty to follow the default.",
|
||||
"orgs.invited_hint": "Were you invited to an organization? Open the link from the invitation instead.",
|
||||
"orgs.limits": "Limits of this organization",
|
||||
"orgs.manage": "Limits, suspend or delete …",
|
||||
"orgs.new_intro": "You will own it and can invite others.",
|
||||
"orgs.new_title": "New organization",
|
||||
"orgs.none": "No organization matches.",
|
||||
"orgs.owner_orgs": "Organizations the owner may own (owns {{.Count}})",
|
||||
"orgs.search": "Name, slug or owner email",
|
||||
|
||||
Reference in new issue
Block a user