Project-Image-Uploader/backend/src/routes
matthias.lotz f049c47f38 fix: Add display_in_workshop to groupFormatter and fix filter logic
Problem: Moderation filter returned 0 groups because:
1. groupFormatter.formatGroupDetail() didn't include display_in_workshop field
2. Platform filters incorrectly required workshop consent

Solution:
- Add display_in_workshop and consent_timestamp to formatGroupDetail()
- Remove workshop requirement from platform filters
- Add default filter to show only groups with workshop consent
- Fix workshop-only filter to check for consented social media

Filter logic:
- 'Alle Gruppen': Only groups WITH workshop consent
- 'Nur Werkstatt': Groups with workshop BUT WITHOUT social media
- Platform filters: Groups with that platform consent (independent of workshop)
2025-11-09 23:51:29 +01:00
..
admin.js fix(backend): Correct GroupCleanupService import in admin routes 2025-11-08 13:24:58 +01:00
batchUpload.js feat(upload): Add consent validation and storage to batch upload 2025-11-09 21:04:50 +01:00
consent.js fix: Add /api prefix to consent routes and nginx proxy config 2025-11-09 21:22:35 +01:00
download.js IMP: Eigene Verzeichnisse für Uploads und Datenbank 2025-10-18 14:23:12 +02:00
groups.js fix: Add display_in_workshop to groupFormatter and fix filter logic 2025-11-09 23:51:29 +01:00
index.js feat(api): Add consent management API routes 2025-11-09 21:02:57 +01:00
migration.js Initial Commit 2025-10-15 21:33:00 +02:00
reorder.js feat: implement drag-and-drop reordering infrastructure 2025-11-03 21:06:39 +01:00
upload.js Fix batch upload and attempt nginx auth setup 2025-11-06 18:28:32 +01:00