Projektstart

This commit is contained in:
2026-01-22 16:26:57 +01:00
parent bc7fbf8ce6
commit 43c83e96bb
21 changed files with 264 additions and 70 deletions

View File

@@ -45,7 +45,8 @@ docker compose up --build
- `POST /admin/jobs/:id/retry` (admin)
- `POST /admin/impersonate/:userId` (admin)
- `GET /admin/tenants/:id/export` (admin)
- `GET /admin/tenants/:id/export?scope=users|accounts|jobs|rules&format=csv|zip` (admin, zip bundle)
- `GET /admin/tenants/:id/export?scope=users|accounts|jobs|rules&format=csv|zip` (admin, zip returns jobId)
- `GET /admin/exports` (admin)
- `GET /admin/exports/:id` (admin)
- `GET /admin/exports/:id/download` (admin)
- `GET /jobs/exports/:id/stream` (auth, SSE)
@@ -77,3 +78,7 @@ npm run prisma:seed
## Environment
`docker-compose.yml` sets default dev credentials. Adjust before production use.
Export settings:
- `EXPORT_DIR` (default `/tmp/mailcleaner-exports`)
- `EXPORT_TTL_HOURS` (default `24`)