Commit Graph

13 Commits (2afed18401c912cd1c6a83be329fea6274b01760)

Author SHA1 Message Date
Alexandre Fayolle 272729b9e4 [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-11-18 13:12:58 +01:00
Raf Ven 732654f95f [IMP] auditlog: black, isort, prettier 2022-11-18 13:12:57 +01:00
Eric Lembregts 1b1f827c1b [MIG] auditlog: Migration to 13.0 2022-11-18 13:12:57 +01:00
sebalix 3487299909 [MIG] auditlog: Migration to 12.0 2022-11-18 13:12:57 +01:00
rgarnau 3959096570 [add] https 2022-11-18 13:12:57 +01:00
Enric Tobella e3d6d8bbd2 [MIG] auditlog: Migration to 11.0 2022-11-18 13:12:57 +01:00
Stefan Rijnhart 29716c7928 [FIX] Request id no longer exists after concurrency rollback 2022-11-18 13:12:57 +01:00
Frédéric Garbely 4e1e1eacff [MIG] auditlog: Migrated to 10.0 2022-11-18 13:12:57 +01:00
sebalix 3fb6a04f08 auditlog - Lint 2022-11-18 13:12:57 +01:00
Sébastien Alix 557d2dfb03 auditlog - Icon added + README updated (screenshots) 2022-11-18 13:12:57 +01:00
sebalix 7e7cfe2f8c Module 'auditlog' - 'display_name' fields added for the user session and HTTP requests models 2022-11-18 13:12:57 +01:00
sebalix 56706eaab6 Module 'auditlog' - A log can be created with no current HTTP request (unit tests, ir.cron...) 2022-11-18 13:12:57 +01:00
sebalix 4c11ec5b2e Module 'auditlog' - Log HTTP user sessions and requests 2022-11-18 13:12:57 +01:00