mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-05 01:07:57 +01:00
Architecture: - User ≠ Member: users are accounts, members are users with is_member=true - Migration 062: adds is_member/member_since/member_type/member_paid_until to users + creates membership_applications table - Fixed misleading "Mitglieder" stat label (now "Nutzer:innen") New membership flow: - /mitglied-werden now has a real form (not mailto: link) - Works both for logged-in and anonymous users - Logged-in: pre-fills name/email, links application to user_id - Anonymous: accepts application, admin manually links later - Shows 3 states: form, pending application, already a member - Member type selection: Regular CHF 50 / Reduced CHF 20 API: - POST /api/membership/apply — validated, rate-limited - Prevents duplicate pending applications from same user - Stores in membership_applications with pending status FAQ updated to clarify: - Difference between user account and Verein membership - How application process works - How to pay annual dues Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>