feat: Veranstaltungsmodul + Serienbrief mit editierbaren Feldern (STI-35, STI-39)
Implementierung des Veranstaltungsmoduls inkl. Serienbrief-PDF-Generator mit dynamischen, editierbaren Feldern für Betreff und Unterschriften. ### Veranstaltungsmodul (STI-35) - Neues Veranstaltungs-Modell: Titel, Datum, Uhrzeit, Ort, Gasthaus-Adresse, Briefvorlage, Gästeliste (VerstaltungsGast mit freien/Destinatär-Feldern) - Views: Veranstaltungsliste, -detail, Serienbrief-PDF-Generator - Templates: list.html, detail.html, serienbrief_pdf.html (A4, einseitig) - API: Serializer + Endpunkte für Veranstaltungen - Admin: Inline-Bearbeitung der Gästeliste - Migration: 0044_veranstaltungsmodul ### Serienbrief editierbare Felder + PDF-Fix (STI-39) - Neue Felder an Veranstaltung: betreff, unterschrift_1_name/titel, unterschrift_2_name/titel (mit Defaults: Katrin Kleinpaß / Jan Remmer Siebels) - PDF-CSS: Margins, Font-Sizes und Line-Heights reduziert für einseitigen Druck - Migration: 0045_add_serienbrief_editable_fields ### Infrastruktur - scripts/init-paperless-db.sh: Erstellt separate Paperless-DB beim DB-Init - compose.yml: init-paperless-db.sh eingebunden, PAPERLESS_DBNAME-Fix - .gitignore: .claude/ ausgeschlossen Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,7 @@ services:
|
||||
POSTGRES_PASSWORD: postgres_dev
|
||||
volumes:
|
||||
- dbdata_dev:/var/lib/postgresql/data
|
||||
- ./scripts/init-paperless-db.sh:/docker-entrypoint-initdb.d/init-paperless-db.sh
|
||||
ports:
|
||||
- "5433:5432"
|
||||
healthcheck:
|
||||
@@ -40,7 +41,7 @@ services:
|
||||
- TIME_ZONE=Europe/Berlin
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
- PAPERLESS_API_URL=http://paperless:8000
|
||||
- PAPERLESS_API_TOKEN=d477152aca264ea00620910ac09a06f0a4faaecc
|
||||
- PAPERLESS_API_TOKEN=1972509e25810d9ae7497c1c79ecfea9e942f18d
|
||||
- PAPERLESS_REQUIRED_TAG=Stiftung_Destinatäre
|
||||
- PAPERLESS_LAND_TAG=Stiftung_Land_und_Pächter
|
||||
- PAPERLESS_ADMIN_TAG=Stiftung_Administration
|
||||
@@ -64,12 +65,12 @@ services:
|
||||
- PAPERLESS_REDIS=redis://redis:6379
|
||||
- PAPERLESS_DBHOST=db
|
||||
- PAPERLESS_DBPORT=5432
|
||||
- PAPERLESS_DBNAME=stiftung_dev
|
||||
- PAPERLESS_DBNAME=paperless_dev
|
||||
- PAPERLESS_DBUSER=postgres
|
||||
- PAPERLESS_DBPASS=postgres_dev
|
||||
- PAPERLESS_SECRET_KEY=dev-paperless-secret-key
|
||||
- PAPERLESS_URL=http://localhost:8082
|
||||
- PAPERLESS_ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
- PAPERLESS_ALLOWED_HOSTS=localhost,127.0.0.1,paperless
|
||||
- PAPERLESS_CORS_ALLOWED_HOSTS=http://localhost:8082,http://localhost:8081
|
||||
- PAPERLESS_ADMIN_USER=admin
|
||||
- PAPERLESS_ADMIN_PASSWORD=admin123
|
||||
|
||||
Reference in New Issue
Block a user