ghostguild-org/server/api
Jennie Robinson Faber 6f9e6a3d98 feat(events): guest accounts for public event registration
Non-members who register for an event now get a persistent identity:
with consent, a status:"guest" Member is upserted and an auth cookie is
set so the "You're Registered" state survives a page refresh.

Tiered auto-login matches passwordless-auth norms — auto-login is only
safe when the account holds no privileges:
- New email → create guest + cookie
- Returning guest → cookie
- Existing non-guest (active/pending/etc.) → attach ticket only, no
  cookie, confirmation email includes a sign-in link

Guests are gated on status === "guest", so admin/middleware code that
keys on status === "active" naturally excludes them. Guests are also
treated as non-members for ticket pricing/validation to prevent picking
up member-only pricing on their second registration.
2026-04-16 21:23:31 +01:00
..
admin New SiteContent. 2026-04-16 21:11:14 +01:00
auth Updates 2026-04-15 17:45:09 +01:00
board refactor(board): atomic delete + query limit + composable cleanup 2026-04-15 12:47:53 +01:00
contributions Adding features 2025-10-05 16:15:09 +01:00
dev merge: worktree-a11y-fixes into main 2026-04-05 22:05:00 +01:00
events feat(events): guest accounts for public event registration 2026-04-16 21:23:31 +01:00
helcim refactor(helcim): use helper in unused admin endpoints 2026-04-08 22:11:25 +01:00
invite feat(onboarding): redirect /welcome to /member/dashboard 2026-04-09 22:28:57 +01:00
members Updates 2026-04-15 17:45:09 +01:00
onboarding feat(member): account/profile polish + tier upgrade flow 2026-04-14 20:35:37 +01:00
series Tests, UX improvements. 2026-04-05 14:25:29 +01:00
site-content New SiteContent. 2026-04-16 21:11:14 +01:00
tags feat: add Tags API endpoints and validation schemas 2026-04-05 16:15:29 +01:00
upload Add Zod validation, fix mass assignment, remove test endpoints and dead code 2026-03-01 14:02:46 +00:00
wiki fix: rename hasEngagedEcology → hasEngagedBoard in onboarding status, clean up stale ecology references 2026-04-14 12:25:24 +01:00
health.get.js feat: add /api/health endpoint for uptime monitoring 2026-04-04 12:35:26 +01:00