Post-event reporting + talk networking incentives

- Talk networking: per-event talk_networking_bonus awarded when two people
  who shared a checked-in talk accept a connection (accept_connection
  re-created, shared_talk flag, get_talk_cohort RPC, points_log category
  check widened); Convivo Networking sub-tab inside the Connect screen
  (Home quick action deep-links in; Connect button reflects existing
  connection state and is disabled for sent/connected/declined); admin
  Events view bonus input (0-10).
- Reports: sidecar POST /export (CSV / multi-sheet XLSX / PDF report via
  new pdfkit dep); APPE Admin Reports view (any event: on-screen summary,
  session feedback summary, top-5, CSV/Excel/PDF downloads); Activity
  session-feedback per-session aggregate header.
- Also carried: @appe.at admin trigger + default password, bulk contact
  delete, session level/area + event-level feedback, agenda level/area
  filters, admin password self-service, schedule level/area fields.
- 18/18 RPC tests; both apps build; exports verified end-to-end.

Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
committed 2026-09-21 22:34:25 +02:00
1 parent f74db9dc26
commit 0b6d1f2b6f
35 files changed
+3973 -54

No files matched your search

+7
View File
@@ -140,6 +140,13 @@ the work atomically, and the `leaderboard` table change fans out over Realtime.
Supabase Table Editor makes it work with `signInWithPassword` immediately.
(Staff can also still log in with their email + QR token, their seeded Auth
password.)
- **`@appe.at` admins:** any contact on the `@appe.at` domain is an admin
(`is_admin()` is domain-aware) and logs in with the **default admin password
`appe-admin-2026`** out of the box. The `trg_contacts_appe_at_admin` trigger
sets `contacts.password` to the default (when null) and the auth-user
creation helpers hash it into `auth.users.encrypted_password`, so a
freshly-created `@appe.at` admin can sign in immediately. A custom password
set on the contact row is always respected.
- `enable_confirmations = false`, so **no email is sent** — the email is only a
"confirm it's you" check against the ticket purchase.
- After login, the app holds a **session JWT** (in `localStorage`) that lasts