0221b1a8c0
Admin password login + attendee profile self-service
...
- contacts.password: admin-only APPE Admin login password (event-independent);
must match the bcrypt hash in auth.users.encrypted_password (set in Supabase).
- APPE Admin login is now email + password (was QR token).
- update_my_profile RPC (security definer, scoped to current_email()): attendees
set their LinkedIn URL + show_email / show_linkedin toggles from the Profile.
- Convivo Profile gains a 'Profile settings' card (LinkedIn + 2 toggles + Save).
- Visibility enforced server-side in the public projection (linkedin nulled when
show_linkedin off, email omitted when show_email off).
- Seed: admin password appe-admin-2026; staff keep QR tokens as auth passwords.
- Docs updated (schema, rpcs, seed, admin-app, screens, api-client,
architecture, next-steps, README, docker-compose).
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] >
2026-08-23 14:11:26 +02:00
2f3952dc71
Fixes & Refinements: QR token on registration, role caps, connection detail + red dot, admin schedule/sponsors
...
Datamodel:
- Move qr_token from contacts to registrations (per event); new migration
20260826000000. lanyard_lookup / create_connection_request / checkin_attendee
resolve via registrations + active event.
- reset_qr_token -> reset_registration_qr_token (fixes ambiguous 'email' col).
- upsert_contact drops the token arg; create_registration generates + syncs it.
- Pretix sync writes the token to the registration (keeps it on re-sync).
Registration types:
- Distinct pill colors; red reserved for Staff (both apps).
- Roles capitalized everywhere (Attendee/Speaker/Sponsor/Staff); 'Attendee'
hidden only at the Home footer.
- Reset-token button moved from Contacts to Registrations (per registration).
Sessions (APPE Admin):
- Slot types capitalized; material submitted/not-submitted state.
- Speaker selection = multi-select search dropdown.
- Fix 'a session must have a speaker' on edit (diff-based setSessionSpeakers)
and the file-upload bug (speaker save no longer aborts first).
APPE Admin:
- Sponsors contact lookup = search field (filter + pick).
Convivo App:
- Other people's QR codes hidden; connection detail sheet shows public info +
points.
- Connect red dot recalculates immediately on accept/decline/send.
- 'My picks today' = 2 rows (current + next); 'tap to change' links to Agenda.
Docs updated across backend + frontend.
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] >
2026-08-23 10:39:21 +02:00
74c41c8c1d
Phase 7+8: Pretix + Sessionize interfaces
...
- Migration 20260825000000_interfaces.sql: external_id on contacts/
registrations/sessions (+ partial unique indexes), slots_id_seq, sync_runs
audit table, and service-role-only sync_pretix_attendees /
sync_sessionize_sessions RPCs (idempotent upserts).
- sync-trigger Edge Function: admin-JWT or CRON_SECRET auth, pulls from
Pretix/Sessionize base URLs, normalizes, calls the service-role RPCs.
- interfaces/mock-api: dependency-free Node server (:54330) + fixtures so the
full pipeline is testable without real tokens.
- APPE Admin 'Interfaces' view: per-source + 'Sync all' triggers, result
counts, recent sync runs, and QR CSV export; /functions proxy added.
- Docs: new docs/backend/interfaces.md; updated README, roadmap, next-steps,
schema, rls, rpcs, architecture, admin-app, and docs index.
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] >
2026-08-23 03:34:30 +02:00
7605c9bbf4
Redesign Phases 3-6: multi-event model, APPE Admin, Convivo App behaviors, APPE branding
...
- Phase 3: new migration 20260824000000_redesign.sql (contacts/events/registrations/sponsors, slot types, session speakers + feedback/material), seed rewrite
- Phase 4: APPE Admin rebrand + Contacts/Registrations/Sponsors/Schedule/Activity/Events views
- Phase 5: Convivo App (24h login, 5s polling, QR type badge, red dot, speaker material)
- Phase 6: APPE favicon + PWA icons for both apps
- Docs: schema/rpcs/rls/seed/screens/api-client/admin-app/architecture/next-steps/README/roadmap updated
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] >
2026-08-23 02:53:16 +02:00
32c86767ef
Phase 2: Admin console (admin.appe.at)
...
A desktop-first React app for organizers, guarded to the admin role.
Backend (supabase/migrations/20260823000000_admin_app.sql):
- Admin-only SELECT policies on preferences, connections, feedback
- reset_qr_token RPC: regenerates a lanyard token, re-hashes it as the
Auth password (old token stops working), and clears the attendee's
sessions to force re-login
App (apps/admin, port 3001):
- Login: same QR+email flow, but non-admin sessions are rejected
- Dashboard: live stats + top points + recent activity
- Attendees: search, edit name/company/role, reset QR, adjust points
- Schedule: manage slots + sessions (create/edit/delete)
- Activity: check-ins / connections / feedback tables
- Same-origin proxy (Vite dev / nginx in Docker), same design tokens
Docker + scripts:
- convivo-admin service in docker-compose.yml (:3001)
- admin:dev / admin:build root scripts
- fixed db:reset script (supabase reset -> supabase db reset)
Docs: new frontend/admin-app.md; updated architecture, rls, rpcs,
docker, next-steps, and READMEs.
Verified: build clean, all views + flows browser-tested, Docker build +
proxy + login + admin guard confirmed. DB reset to clean seed.
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] >
2026-08-22 19:47:22 +02:00
33c058b5ee
docs: add /docs living documentation per AGENT.MD
...
- docs/README.md: navigation hub
- docs/architecture.md: system overview, tech stack, data flows, ports
- docs/backend/: supabase-core, schema, rpcs, rls, seed, docker
- docs/frontend/: app-structure, screens, api-client
- docs/next-steps.md: Phase 2/3/4 plan + open decisions
- Fix README demo-account emails to match the actual seed
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] >
2026-08-22 17:10:50 +02:00