ghostguild-org/server/models
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
..
activityLog.js rename communityEcology → board across backend 2026-04-14 12:00:15 +01:00
adminAlertDismissal.js feat(admin): add AdminAlertDismissal model 2026-04-08 11:00:31 +01:00
boardChannel.js add unique index on slackChannelId in BoardChannel model 2026-04-14 16:23:23 +01:00
boardPost.js feat(board): add BoardPost + BoardChannel models and zod schemas 2026-04-14 16:21:04 +01:00
counter.js Huge bunch of UI/UX improvements and tweaks! 2026-04-06 16:17:12 +01:00
event.js refactor: extract escapeRegex and validateTagSlugs server utils 2026-04-09 23:51:56 +01:00
member.js feat(events): guest accounts for public event registration 2026-04-16 21:23:31 +01:00
preRegistration.js feat: pre-registrant management and invitation system 2026-04-06 14:46:11 +01:00
series.js Add landing page 2025-11-03 11:17:51 +00:00
siteContent.js New SiteContent. 2026-04-16 21:11:14 +01:00
tag.js feat: add Tag, TagSuggestion, Connection models and extend Member schema 2026-04-05 16:06:03 +01:00
tagSuggestion.js fix: add state enums to Connection matchingTags, index to TagSuggestion 2026-04-05 16:09:20 +01:00
wikiArticle.js Member/Ecology revamp. 2026-04-14 09:25:09 +01:00