From 064fba5714b5895d0cdfd93af9270b812ddb06df Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 5 May 2026 20:14:29 +0000 Subject: [PATCH 01/10] Add document moderation history view Adds a public page at /moderation/document//history/ listing all moderator actions ever taken on a specific document. The page is accessible to all logged-in users, consistent with the existing transparency philosophy of public_logs and moderation_profile. An "Historique" button (clock icon) is added to the document viewer header so any logged-in user can reach the page directly from a document. https://claude.ai/code/session_01ASo7pRSr4hxD6jm6NrynSi --- documents/templates/documents/viewer.html | 10 +++ .../moderation/document_history.html | 66 +++++++++++++++++++ moderation/urls.py | 6 ++ moderation/views.py | 19 ++++++ 4 files changed, 101 insertions(+) create mode 100644 moderation/templates/moderation/document_history.html diff --git a/documents/templates/documents/viewer.html b/documents/templates/documents/viewer.html index 8c9b2f3e..bf1bcba9 100644 --- a/documents/templates/documents/viewer.html +++ b/documents/templates/documents/viewer.html @@ -74,6 +74,16 @@

Modifier {% endif %} + + + + + + + Historique +