feat: event invitations, guest list and door check-in #37

Merged
ngqile merged 26 commits from add-event-invitations into main 2026-12-01 14:01:06 +00:00
Owner

OpenSpec change add-event-invitations.

What

  • Event guest list: add or paste guests, assign a salesperson, set an invitation cap and capacity, send invitation emails (EN/BM) with a personal link.
  • Public invite page /i/<token>: prefilled registration, then check-in on the event day.
  • Public door check-in page /c/<token>: look up by mobile or email, walk-in form for unknown visitors. Per-IP rate limits.
  • Event page Guests section with invited, registered, attended, walk-in and capacity numbers, plus printable guest cards.
  • Event leads: Attended and Source (Staff, QR, Invite) columns, Attended filter, export columns, and an Attended checkbox on edit.
  • My QR codes: Share (falls back to copy) and full screen. A shell notice appears when a staff member gets a new code.
  • Final-review fixes: invite, check-in and registration-link tokens are masked in gateway logs. The attended flag is audited only when it changes. A salesperson who left the team is dropped from invite registrations. A disabled event answers 404 on check-in by guest.

Verification

  • mvn -T 1C -q -pl solvway-services-counter,solvway-mobile-api,solvway-services-email,solvway-api-gateway verify: exit 0.
  • Portal: vitest, typecheck and lint were green at the last portal commit. The portal is unchanged since then.
  • Live local stack: backend flows and the portal pages were driven with Playwright at 1280 and 360 px. My QR share and full screen were checked with a throwaway staff user, which was reverted afterwards. The details are in tasks.md 6.1.
  • Each task passed an Opus review gate. The whole-branch review passed after these fixes.

Deploy

See docs/deployment.md: SQL 01, ADMIN_PORTAL_BASE_URL, and granting Event guests together with Events.

CI on main fails before checkout because a Gitea repo secret is missing (container.credentials.username). That failure is unrelated to this change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM

OpenSpec change `add-event-invitations`. ## What - Event guest list: add or paste guests, assign a salesperson, set an invitation cap and capacity, send invitation emails (EN/BM) with a personal link. - Public invite page `/i/<token>`: prefilled registration, then check-in on the event day. - Public door check-in page `/c/<token>`: look up by mobile or email, walk-in form for unknown visitors. Per-IP rate limits. - Event page Guests section with invited, registered, attended, walk-in and capacity numbers, plus printable guest cards. - Event leads: Attended and Source (Staff, QR, Invite) columns, Attended filter, export columns, and an Attended checkbox on edit. - My QR codes: Share (falls back to copy) and full screen. A shell notice appears when a staff member gets a new code. - Final-review fixes: invite, check-in and registration-link tokens are masked in gateway logs. The attended flag is audited only when it changes. A salesperson who left the team is dropped from invite registrations. A disabled event answers 404 on check-in by guest. ## Verification - `mvn -T 1C -q -pl solvway-services-counter,solvway-mobile-api,solvway-services-email,solvway-api-gateway verify`: exit 0. - Portal: vitest, typecheck and lint were green at the last portal commit. The portal is unchanged since then. - Live local stack: backend flows and the portal pages were driven with Playwright at 1280 and 360 px. My QR share and full screen were checked with a throwaway staff user, which was reverted afterwards. The details are in `tasks.md` 6.1. - Each task passed an Opus review gate. The whole-branch review passed after these fixes. ## Deploy See `docs/deployment.md`: SQL 01, `ADMIN_PORTAL_BASE_URL`, and granting Event guests together with Events. CI on main fails before checkout because a Gitea repo secret is missing (`container.credentials.username`). That failure is unrelated to this change. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
ngqile added 26 commits 2026-12-01 14:01:02 +00:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
- guest list failed when no guest was linked yet (Map.of().get(null))
- counter errors arrive as ProblemDetail: read the reason code from detail;
  drop the counter error advice the core handler always overrode
- emails published with a null sender failed the NOT NULL column

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
Mask invite, check-in and registration-link tokens in gateway logs.
Audit the attended flag only when it really changes.
Drop a salesperson who left the event team from invite registrations.
Answer 404 for check-in by guest on a disabled event.
Deployment notes and the release-check record updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
ngqile merged commit d91c9a94d0 into main 2026-12-01 14:01:06 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ngqile/co-lite#37