Project-Image-Uploader/backend/src
matthias.lotz 2d49f0b826 fix(phase2): Fix group deletion - use correct DeletionLogRepository method
Fixed Task 8 (Delete Group API):
- Changed deletionLogRepository.logDeletion() to createDeletionEntry()
- Use correct parameters matching DeletionLogRepository schema
- Deletion now works: group, images, files, consents all removed
- deletion_log entry created with proper data

Tested:
 Group deletion with valid token
 404 for invalid/missing tokens
 Files deleted (original + preview)
 DB records deleted via CASCADE
 Deletion log entry created

All 8 Backend Management API tasks complete!
2025-11-11 19:10:49 +01:00
..
database docs: Phase 1 complete - Update documentation for social media consent system 2025-11-10 17:56:04 +01:00
middlewares Initial Commit 2025-10-15 21:33:00 +02:00
models Initial Commit 2025-10-15 21:33:00 +02:00
repositories feat(phase2): Implement Management Portal API (Tasks 2-7) 2025-11-10 20:00:54 +01:00
routes fix(phase2): Fix group deletion - use correct DeletionLogRepository method 2025-11-11 19:10:49 +01:00
scripts feat(testing): Add cleanup testing tools and API endpoints 2025-11-08 13:18:44 +01:00
services feat(backend): Implement automatic cleanup service 2025-11-08 12:23:49 +01:00
utils fix: Add display_in_workshop to groupFormatter and fix filter logic 2025-11-09 23:51:29 +01:00
constants.js feat: integrate preview generation into upload flow 2025-10-30 20:41:06 +01:00
index.js Initial Commit 2025-10-15 21:33:00 +02:00
server.js feat(backend): Implement automatic cleanup service 2025-11-08 12:23:49 +01:00