Implement premium features and GDPR compliance in bot and WebUI

- Added new models for premium tier configurations and assignments, enabling feature limits for free and premium users.
- Introduced GDPR deletion logging and commands for user data management.
- Enhanced logging configuration with retention days for audit logs.
- Updated bot commands and job processing to include new premium and GDPR functionalities.
- Improved localization with new keys for premium features and GDPR commands in both English and German.
- Added UI components for managing premium settings and logging retention in the WebUI.
This commit is contained in:
smueller
2026-07-22 16:59:23 +02:00
parent 4852f16f79
commit 08af99ed52
42 changed files with 1546 additions and 30 deletions

View File

@@ -42,6 +42,16 @@ docker compose run --rm bot pnpm prisma:migrate
pnpm prisma:generate
```
## Premium & DSGVO
- `PremiumTierConfig` (FREE/PREMIUM Limits + Feature-Flags)
- `GuildPremiumAssignment` / `UserPremiumAssignment`
- `GdprDeletionLog` (Protokoll der `/gdpr delete`-Läufe)
- `GuildSettings.snipeEnabled` (Default `false`)
- `LoggingConfig.retentionDays` (Default `90`, `0` = unbegrenzt)
Migration: `20260722200000_premium_gdpr`
## Backup (automatisch)
- Job: BullMQ `dailyPgDump`