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": "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