Feature: SEPA-Export, Push-Notifications, Onboarding + vollständige UI
- Phosphor Icons (Icon.svelte, svg-Registry) - Schema-Abgleich: alle Felder zwischen PB-Migrations und types.ts konsistent - Stripe entfernt, SEPA pain.008 XML-Export implementiert (sepa.ts) - Beiträge: vollständiges CRUD + SEPA-Einzug-Sheet mit Vorschau - Termine: vollständiges CRUD (upcoming/vergangen, datetime-local) - Mitglieder: Formulare um alle Felder erweitert (Adresse, SEPA-Mandat, Notizen) - Nachrichten: Brevo E-Mail via PocketBase-Hook, UI mit Gruppen-Filter - Push-Notifications: VAPID, Custom Service Worker (injectManifest), Subscribe/Send API-Routen, automatische Subscription nach Login - Onboarding: 3-Schritt-Flow für neue Vereine, Guard im App-Layout - Makefile: .env wird vollständig zur DS übertragen
This commit is contained in:
parent
c2c4dfd518
commit
77c6f513b5
32 changed files with 3012 additions and 399 deletions
|
|
@ -0,0 +1,14 @@
|
|||
/// <reference path="../pb_data/types.d.ts" />
|
||||
// Erlaubt allen Usern desselben Vereins, die Subscriptions ihrer Vereinsmitglieder zu lesen
|
||||
// (notwendig damit die /api/push/senden Route alle Geräte des Vereins erreicht)
|
||||
migrate((app) => {
|
||||
const c = app.findCollectionByNameOrId("pbc_1438754935") // push_subscriptions
|
||||
c.listRule = '@request.auth.verein_id = user_id.verein_id'
|
||||
c.viewRule = '@request.auth.id = user_id'
|
||||
app.save(c)
|
||||
}, (app) => {
|
||||
const c = app.findCollectionByNameOrId("pbc_1438754935")
|
||||
c.listRule = '@request.auth.id = user_id'
|
||||
c.viewRule = '@request.auth.id = user_id'
|
||||
app.save(c)
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue