Commit Graph

13 Commits (76ea08b51eb88dbad2b854c46e708ae69401c5c6)

Author SHA1 Message Date
Alexandre Fayolle db8463fe78 [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.
2022-10-31 13:21:05 +01:00
Raf Ven ff7b8e7f6a [IMP] auditlog: black, isort, prettier 2022-01-31 15:20:58 +01:00
Eric Lembregts a694e2623e [MIG] auditlog: Migration to 13.0 2022-01-31 15:20:58 +01:00
sebalix efd05a2ef4 [MIG] auditlog: Migration to 12.0 2022-01-31 15:20:58 +01:00
rgarnau 4f1c383fbb [add] https 2022-01-31 15:20:58 +01:00
Enric Tobella 0ebb0848e9 [MIG] auditlog: Migration to 11.0 2022-01-31 15:20:58 +01:00
Stefan Rijnhart 623f559559 [FIX] Request id no longer exists after concurrency rollback 2022-01-31 15:20:58 +01:00
Frédéric Garbely fb57c31c89 [MIG] auditlog: Migrated to 10.0 2022-01-31 15:20:58 +01:00
sebalix f9069eaee8 auditlog - Lint 2022-01-31 15:20:58 +01:00
Sébastien Alix fe44df6af7 auditlog - Icon added + README updated (screenshots) 2022-01-31 15:20:58 +01:00
sebalix 0f9223322b Module 'auditlog' - 'display_name' fields added for the user session and HTTP requests models 2022-01-31 15:20:58 +01:00
sebalix 5cb0e868fe Module 'auditlog' - A log can be created with no current HTTP request (unit tests, ir.cron...) 2022-01-31 15:20:58 +01:00
sebalix 3d9b60b837 Module 'auditlog' - Log HTTP user sessions and requests 2022-01-31 15:20:58 +01:00