- Added compliance implementation report detailing the status of various packages (P-03, P-04, P-05, P-07, P-23, P-24) and their technical changes, tests, and notes.
- Introduced a new workspace configuration file for the project to streamline development setup.
- 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.
DesktopSidebar-Logout ruft App.jsx handleLogout() auf, welcher
confirm('Wirklich abmelden?') zeigt. In Playwright headless gibt
confirm() standardmäßig false zurück → Logout wurde nie ausgeführt.
page.once('dialog', dialog => dialog.accept()) behebt das.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- compliance-implementation.md: P-01b section added, version to 0.8.70
- compliance-package-register.md: P-01 entry updated with P-01b, version to 0.8.70
- compliance-roadmap.md: P-01b in closed table, Blocker 1 technical stand updated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Router hat keinen Vereinsbezug (Plattform-Rechtstexte).
Öffentlicher Endpoint ohne Auth; Admin-Endpoints require_auth + is_superadmin().
ACCESS_LAYER_STRICT schlägt jetzt nicht mehr an.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
POST /api/admin/legal-documents/{id}/copy-as-draft übernimmt Titel +
Inhalt des Quelldokuments und legt einen neuen Entwurf mit
nächster Versionsnummer an. Funktioniert für alle Status (draft/published/archived).
UI: Copy-Button (⎘) in jeder Dokumentzeile; nach Kopie wird die
Liste automatisch aktualisiert und der neue Entwurf ist sichtbar.
version: 0.8.72
module: legal_documents 1.1.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
printLegalDocument() oeffnet formatiertes Druckfenster mit Titel,
Versionsnummer, Gueltigkeitsdatum und allen Abschnitten.
AdminLegalDocumentsPage: Drucker-Button laedt Volldokument und druckt.
LegalPage: PDF/Drucken-Button neben h1 wenn veroeffentlichtes Dokument geladen.
version: 0.8.73
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ExerciseInlineFileMediaModal (Upload-Tab) und ExerciseInlineEmbedModal
zeigen jetzt den vollstaendigen P-06-Einwilligungsdialog bevor der
API-Call ausgefuehrt wird. Vorher wurde der Backend-Fehler (400)
als nicht benutzbarer browser alert angezeigt.
- ExerciseInlineFileMediaModal: handleUploadAndInsert oeffnet Dialog,
doUploadWithDecl haengt die 9 P-06-Felder an FormData an
- ExerciseInlineEmbedModal: submit oeffnet Dialog, doSubmitWithDecl
haengt P-06-Felder an FormData an
- Backdrop-Click deaktiviert wenn Dialog offen
version: 0.8.76
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Kein zweites Dialog-Overlay mehr. Die Rechte-Erklarung ist jetzt
direkt als Formular-Abschnitt im Upload-Tab von
ExerciseInlineFileMediaModal und ExerciseInlineEmbedModal integriert.
- Datei auswaehlen + Titel + Rechte-Erklaerung in einem Schritt
- Validierung beim Klick auf Hochladen (Fehler inline angezeigt)
- RightsDeclarationDialog-Import entfernt
- radio-Namen eindeutig per Praefix (up-/emb-) damit beide Modals
unabhaengig voneinander funktionieren
version: 0.8.76
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
modal-overlay/modal-content existierten nicht im CSS und hatten kein
Styling -- daher kein Backdrop, keine Zentrierung. Umgestellt auf
admin-modal-backdrop + admin-modal-sheet wie alle anderen Modals in der App.
version: 0.8.76
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix(RightsDeclarationDialog): change cancel button to icon for improved UI
feat(MediaLibraryPage): implement rights dialog for visibility promotions and enhance error handling
fix(version): update MediaLibraryPage version to 1.4.0 reflecting rights dialog changes
- check_rights_coverage: rights_status='declared' gibt immer 'ok' zurück
(P-06-Erklärung gilt inhaltlich, nicht sichtbarkeitsabhängig)
- assert_rights_for_promotion: 'insufficient'-Pfad entfernt
- Tests: test_declared_private_insufficient_for_club → test_declared_covers_any_visibility
version: 0.8.81
module: media_rights
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Added backend support for Legal Hold with new endpoints to set and release holds on media assets.
- Introduced new database columns for managing Legal Hold status and reasons.
- Updated frontend to include UI elements for setting and releasing Legal Holds, including a confirmation dialog.
- Enhanced Media Library page to display Legal Hold status and actions for superadmins.
- Implemented comprehensive backend tests covering all aspects of Legal Hold functionality.
- Updated documentation to reflect changes in the upload rights specification and interface models.
- Bumped version to 0.8.84 and updated MediaLibraryPage version to 1.6.0.
- Updated ExerciseFullContent to accept a new `variantId` prop and display variant-specific information.
- Enhanced TrainingCoachPage to pass `variantId` when rendering ExerciseFullContent.
- Refactored TrainingUnitRunPage to manage exercise context with variant support, including updates to modal handling.
- Improved UI to show variant details, including name, description, and execution changes where applicable.
- Added new API endpoints for content reporting, including submission, retrieval, and status updates.
- Created database migration for `content_reports` table to store report data.
- Integrated content reports into the existing admin inbox for better management.
- Implemented validation for report submissions, including required fields and email format.
- Added tests for content reporting functionality, covering various scenarios and edge cases.
- Updated frontend API utility to include new content report methods.
- Bumped app version to 0.8.87 and updated relevant page versions.
Die CHECK-Constraint auf media_asset_audit_log.event_type schloss
legal_hold_set und legal_hold_released aus, die P-11 bereits in
bestehende Zeilen geschrieben hatte (CREATE TABLE IF NOT EXISTS hatte
die Constraint in Migration 050 nie angewendet).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- InboxPage: Workflow-Balken (Eingegangen > In Bearbeitung > Abgeschlossen)
- InboxPage: Meldungen können nach Abschluss wieder geöffnet werden (PATCH status=submitted)
- InboxPage: Bearbeitungskommentar separat speicherbar; Reviewer + Datum sichtbar
- InboxPage: Fehler beim Laden von Meldungen wird angezeigt statt leerem Bereich
- OrgInboxContext: contentReportsError State exposed
- ReportContentModal: onSuccess Callback -> Badge in Medienbibliothek sofort aktuell
- content_reports PATCH: Reviewer-Felder werden beim Wieder-öffnen zurückgesetzt
- content_reports PATCH: Kommentar-Änderungen ohne Statuswechsel werden im Audit-Log protokolliert
version: 0.8.92
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Die Tabelle exercises hat keine Spalte 'name', sondern 'title'.
Alle drei Stellen korrigiert: list_inbox (beide Branches) + get_content_report + Email-Lookup.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add early 403 in set_legal_hold_from_report for plain admin (before DB
call), fixing test_legal_hold_from_report_requires_superadmin
- Update test_list_inbox_requires_platform_admin to mock DB COUNT query
(returns cnt=0) so it exercises the club_admin code path correctly
- Extend test_patch_report_under_review mock row with target_type,
target_id, resolution_note fields now required by the audit-log path
version: 0.8.94
module: content_reports 1.5.1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- compliance-implementation.md: expand P-13 section with all extensions
(0.8.88-0.8.94: audit log, email notifications, club-admin rights,
workflow bar, archive split, badge, CI fix); update test summary to
159 passed; add operativ check items 9-13 for P-13 extensions;
bump app version header to 0.8.94
- compliance-package-register.md: expand P-13 Letzter Stand with full
extension list through 0.8.94; update Fortschritt version
- compliance-roadmap.md: update app version to 0.8.94; P-13 row in
Schnellreferenz marked done (was showing as "next recommended");
Etappe B P-13 hint updated with full feature summary
- HANDOVER.md: update app version header to 0.8.94; §5b P-13 section
rewritten with complete feature list including all 0.8.88-0.8.94
additions; §6 next session updated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Lars
merged commit 4c974620d8 into main2026-05-12 06:34:15 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
DesktopSidebar-Logout ruft App.jsx handleLogout() auf, welcher confirm('Wirklich abmelden?') zeigt. In Playwright headless gibt confirm() standardmäßig false zurück → Logout wurde nie ausgeführt. page.once('dialog', dialog => dialog.accept()) behebt das. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>Replace waitForLoadState('networkidle') with waitForURL (not /login) to ensure React auth processing completes before tests proceed with page.goto(). Prevents race condition where page.goto() interrupted in-progress token storage. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>DB 047: legal_documents (versioniert, draft/published/archived) + legal_document_audit (Änderungslog); Partial-Unique-Index garantiert max. ein published-Dokument pro document_type. Backend: GET /api/legal-documents/{type}/published (kein Auth); Superadmin-CRUD + Publish/Archive + Audit unter /api/admin/legal-documents. Frontend: LegalPage lädt aus API mit Platzhalter-Fallback; AdminLegalDocumentsPage (/admin/legal-documents) mit Tab-Navigation, Versionsliste, Entwurf-Editor, Publish/Archive-Workflow, Änderungslog. AdminPageNav: Link „Rechtstexte" ergänzt. version: 0.8.71 (backend + frontend) module: legal_documents 1.0.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>POST /api/admin/legal-documents/{id}/copy-as-draft übernimmt Titel + Inhalt des Quelldokuments und legt einen neuen Entwurf mit nächster Versionsnummer an. Funktioniert für alle Status (draft/published/archived). UI: Copy-Button (⎘) in jeder Dokumentzeile; nach Kopie wird die Liste automatisch aktualisiert und der neue Entwurf ist sichtbar. version: 0.8.72 module: legal_documents 1.1.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>Implementiert server-seitige Rechteerklärungspflicht für alle Medien-Uploads und Sichtbarkeits-Promotions (konservative Erstannahme: alle Uploads). Backend: - backend/media_rights.py (NEU): Kernmodul — validate_rights_declaration, check_rights_coverage, assert_rights_for_promotion, assert_rights_for_exercise_link, write_rights_declaration, update_rights_quick_fields - backend/migrations/048_media_rights_declarations.sql (NEU): Tabelle media_asset_rights_declarations (Append-only Audit-Log), Felder rights_status/rights_visibility_level in media_assets - backend/routers/media_assets.py: P-06-Pflichtprüfung in PATCH (single + bulk), POST /api/media-assets/{id}/rights-declarations (Re-Deklaration), GET /api/admin/media-rights/legacy-summary|legacy-assets (Admin-Endpoints) - backend/routers/exercises.py: P-06-Felder in upload_exercise_media, assert_rights_for_exercise_link in attach_exercise_media_from_asset - backend/main.py: admin_rights_router registriert Frontend: - frontend/src/components/RightsDeclarationDialog.jsx (NEU): 9-Felder-Dialog (konservativ: immer alle Fragen), Client-Validierung, VORLÄUFIG-Hinweis - frontend/src/pages/MediaLibraryPage.jsx: Dialog-Intercept vor Upload, Altbestand-Indikator (legacy_unreviewed) - frontend/src/utils/api.js: P-06-Felder in bulkUploadMediaAssets weitergeleitet Tests: - backend/tests/test_media_rights_declaration.py (NEU): 28 Unit-/Integrationstests - backend/tests/test_media_assets_archive.py: P-06 fetchone-Slots + Mock ergänzt - backend/tests/test_media_assets_copyright_promotion.py: check_rights_coverage gemockt - tests/dev-smoke-test.spec.js: 5 P-06 E2E-Tests ergänzt Dokumentation: - docs/compliance-implementation.md: P-06-Abschnitt - docs/compliance-package-register.md: Status ⚠️ teilweise umgesetzt (KRIT-04 offen) - docs/compliance-roadmap.md: P-06 im Freigaben-Log Offen: KRIT-04 (rechtliche Finalisierung Einwilligungsformulierung) — technisch vollständig, Rechtstext VORLÄUFIG. version: 0.8.75 module: media_rights 1.0.0, media_assets 1.13.0, exercises 2.20.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>