Files
Htmx/src
shaamilahmed bb35206fff feat: implement administrator-driven audit log purging with forced archival download
- Created find_older_than and delete_older_than database repository methods.
- Built a /auth/audit/purge POST endpoint that validates retention days (min 1 day).
- Serializes and streams matching logs as an attachment JSON download for archival before database deletion.
- Added a 'Purge Logs' button and modal interface in the administrator dashboard, automatically reloading the view after download.
2026-05-30 18:54:45 +05:00
..