feat(compliance): update retention policy and enhance password reset validation
Deploy Development / deploy (push) Successful in 37s
Test Suite / pytest-backend (push) Successful in 34s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 8s
Test Suite / playwright-tests (push) Successful in 26s

- Adjusted retention policy to align with compliance requirements:
  - Changed HIDDEN_TO_PURGE_DAYS from 90 to 30 days.
- Enhanced password reset functionality to enforce a minimum password length of 8 characters.
- Updated tests to validate new password requirements and retention logic.
- Corrected umlaut in copyright error messages for clarity.
This commit is contained in:
Lars committed 2026-05-10 08:26:15 +02:00
1 parent be0385922d
commit fc33bfbdeb
9 files changed
+294 -86

No files matched your search

+2 -2
View File
@@ -1167,7 +1167,7 @@ def bulk_media_patch(
{
"id": asset_id,
"detail": (
"Fur Vereins- oder offizielle Medien ist eine "
"Für Vereins- oder offizielle Medien ist eine "
"Urheberrechtsangabe (copyright_notice) Pflicht."
),
}
@@ -1280,7 +1280,7 @@ def patch_media_asset(
raise HTTPException(
status_code=400,
detail=(
"Fur Vereins- oder offizielle Medien ist eine Urheberrechtsangabe "
"Für Vereins- oder offizielle Medien ist eine Urheberrechtsangabe "
"(copyright_notice) Pflicht. Bitte vor oder zusammen mit der "
"Freigabe angeben."
),