[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. 🫖 Status page with uptime monitoring & API monitoring as code 🫖 openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor

feat: add icon, custom_domain, access_type, theme, password, auth_ema… (#2012) master

* feat: add icon, custom_domain, access_type, theme, password, auth_email_domains to status page RPC API Add 6 missing fields to CreateStatusPage and UpdateStatusPage RPCs so the Terraform provider can manage them without falling back to the REST v1 API. Proto changes: - Add password and auth_email_domains to StatusPage message - Add icon, custom_domain, theme, access_type, password, auth_email_domains to CreateStatusPageRequest and UpdateStatusPageRequest Server changes: - Validate icon URL format, custom domain format, password non-empty, email domain format (trim, require dot) - Enforce workspace limits for custom domain, password protection, email domain protection - Clear password/auth_email_domains when switching access_type to public - Only write password/auth_email_domains when access_type is in the request (prevents proto3 repeated-field ambiguity from wiping access control data) - Strip password and auth_email_domains from slug-based public responses Tests: - 42 new tests covering CRUD, validation, limit enforcement, access type transitions, public response redaction, and edge cases * ci: apply automated fixes * fix test * fix pr --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>


+1163 -9
9 changed files