Commit Graph

13 Commits (626fe54fe43c3cc4df249bfec4363a6ebe133bcb)

Author SHA1 Message Date
Alexandre Fayolle a6c49ce538 [FIX] auditlog: autovacuum performance
Add database indices on the foreign key fields of the auditlog models.
Without these indices, the performance of the autovacuum cron are terrible
because the "ON DELETE SET NULL" trigger has to make a full table scan
on the auditlog_log and auditlog_log_line tables when
auditlog_http_session and auditlog_http_request rows are deleted.
2023-11-14 15:19:45 +01:00
Raf Ven 3491f6876e [IMP] auditlog: black, isort, prettier 2023-11-14 15:19:45 +01:00
Eric Lembregts 7449216078 [MIG] auditlog: Migration to 13.0 2023-11-14 15:19:45 +01:00
sebalix a1dd8ec951 [MIG] auditlog: Migration to 12.0 2023-11-14 15:19:44 +01:00
rgarnau b265568ba1 [add] https 2023-11-14 15:19:44 +01:00
Enric Tobella fe82a64ac4 [MIG] auditlog: Migration to 11.0 2023-11-14 15:19:44 +01:00
Stefan Rijnhart 7cbff56bcf [FIX] Request id no longer exists after concurrency rollback 2023-11-14 15:19:44 +01:00
Frédéric Garbely f5cc6a9ac9 [MIG] auditlog: Migrated to 10.0 2023-11-14 15:19:44 +01:00
sebalix 587928146c auditlog - Lint 2023-11-14 15:19:44 +01:00
Sébastien Alix 9bcbe57e7d auditlog - Icon added + README updated (screenshots) 2023-11-14 15:19:44 +01:00
sebalix db552b90a1 Module 'auditlog' - 'display_name' fields added for the user session and HTTP requests models 2023-11-14 15:19:44 +01:00
sebalix c4fa4f30d9 Module 'auditlog' - A log can be created with no current HTTP request (unit tests, ir.cron...) 2023-11-14 15:19:44 +01:00
sebalix 7099a27a29 Module 'auditlog' - Log HTTP user sessions and requests 2023-11-14 15:19:44 +01:00