Enric Tobella
678bc5a5d2
[IMP] auditlog: make the line views using a non auto model
2022-12-28 13:32:06 +01:00
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
BT-vgabor
1d830e1d4a
[MIG] auditlog: Migration to 15.0
2022-03-14 09:12:32 +01:00
BT-vgabor
75ffed3a4c
[IMP] auditlog: black, isort, prettier
2022-01-31 15:22:20 +01:00
Kitti U
cfe0e76507
[14.0][IMP] auditlog, add auditlog.log.line view
2022-01-31 15:20:58 +01:00
Pieter Paulussen
cba7583075
[IMP] auditlog: prevent cascading delete of logs when models or fields are unlinked
...
When a field or a model is unlinked, keep the related audit logs. Denormalize
the field and model info on the logs and log lines so that the information
is still available after the deletion of the related data model.
Also, to improve the performance of the deletion of fields and models,
add indexes on the log's model_id and log line's field_id.
Co-Authored-By: Stefan Rijnhart <stefan@opener.am>
2022-01-31 15:20:58 +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
Frédéric Garbely
fb57c31c89
[MIG] auditlog: Migrated to 10.0
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
9b05bd51bb
auditlog - Auto-vacuum logs, HTTP requests and HTTP user sessions
2022-01-31 15:20:58 +01:00
sebalix
3a55668d14
auditlog - Field 'type' renamed to 'log_type'
2022-01-31 15:20:58 +01:00
sebalix
380e0f7e62
auditlog - Ability to choose the log type on the rule: Full log (complete but slow) and Fast log (data input only, faster)
2022-01-31 15:20:58 +01:00
sebalix
bc566b6644
Module 'auditlog' - Fix pylint check
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
sebalix
12c510ed9c
[IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields
2022-01-31 15:20:58 +01:00
sebalix
c17bc59981
[IMP] Module 'auditlog' - Autoremove 'auditlog.log.line' records when a field is deleted (e.g. migration)
2022-01-31 15:20:58 +01:00
sebalix
41585b59a7
[FIX] Module 'auditlog' - 'time' module imported but unused
2022-01-31 15:20:58 +01:00
sebalix
0c65a040ce
[IMP] Module 'auditlog' - Removed the 'timestamp' field from the 'auditlog.log' model (standard 'create_date' field is used instead)
2022-01-31 15:20:58 +01:00
sebalix
98d2cfa52f
[IMP] Module 'auditlog' - Clean up vim lines
2022-01-31 15:20:58 +01:00
sebalix
60ef7a6cae
[FIX] Module 'auditlog' - Fix some flake8 errors
2022-01-31 15:20:58 +01:00
sebalix
2d43f943be
[ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail' module
2022-01-31 15:20:58 +01:00