Commit Graph

5 Commits

Author SHA1 Message Date
Matt 7a184e8a5f Fix missing display_name in membership status creation
Build and Push Docker Image / build (push) Successful in 2m18s Details
The membership_statuses table requires display_name but the setup page
was not providing it when creating the initial Active status.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 14:00:53 +01:00
Matt d4f47c5b20 Fix: Use dynamic env for SERVICE_ROLE_KEY
Build and Push Docker Image / build (push) Successful in 1m49s Details
$env/static/private reads at build time, not runtime.
Changed to $env/dynamic/private so the key is read at runtime
from the container environment.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 12:05:58 +01:00
Matt e4a40e1e40 Fix setup check to redirect when members table doesn't exist
Build and Push Docker Image / build (push) Successful in 1m49s Details
- Treat "table does not exist" errors as needing setup
- Redirect to /setup on unexpected errors (safer default)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 09:55:37 +01:00
Matt 5bbf26e7a1 Add initial admin setup page and favicon support
Build and Push Docker Image / build (push) Successful in 2m2s Details
- Add /setup route for first-run admin user creation
- Add setup check hook to redirect to /setup when no users exist
- Fix storage container dependency (service_started vs service_healthy)
- Fix migrations mount path (don't overwrite Supabase init scripts)
- Add favicon and apple touch icon links to app.html
- Show success message on login after setup completion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 09:36:25 +01:00
Matt e7338d1a70 Initial production deployment setup
- Production docker-compose with nginx support
- Nginx configuration for portal.monacousa.org
- Deployment script with backup/restore
- Gitea CI/CD workflow
- Fix CountryFlag reactivity for dropdown flags

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 02:19:49 +01:00