Commit Graph

18 Commits

Author SHA1 Message Date
sebalix 9af1957d73 [IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields 2017-12-18 13:16:33 +01:00
sebalix 9b7a5edcbe [IMP] Module 'auditlog' - Autoremove 'auditlog.log.line' records when a field is deleted (e.g. migration) 2017-12-18 13:16:33 +01:00
sebalix b14655a0db [IMP] Module 'auditlog' - Useless lines of code removed 2017-12-18 13:16:33 +01:00
sebalix 66ab1810b0 [FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used 2017-12-18 13:16:33 +01:00
Holger Brunn 81e0045492 [FIX] cope with no additional log values 2017-12-18 13:16:33 +01:00
Holger Brunn 77fa25e639 [ADD] pass old_values to create_log when deleting a record 2017-12-18 13:16:33 +01:00
Holger Brunn 16e2556578 [FIX] don't reset caches in register_hook 2017-12-18 13:16:33 +01:00
Holger Brunn 683c3489eb [IMP] don't make a temporary copy of dict keys 2017-12-18 13:16:33 +01:00
Holger Brunn 2873f6367e [IMP] cache model and field ids 2017-12-18 13:16:33 +01:00
Holger Brunn 34d70c1a38 [ADD] allow overriding modules to pass additional log values 2017-12-18 13:16:33 +01:00
Holger Brunn e81e4bac35 [IMP] use new import of _, SUPERUSER_ID 2017-12-18 13:16:33 +01:00
Holger Brunn 42bb9dae15 [IMP] ignore rules for nonexisting objects 2017-12-18 13:16:33 +01:00
sebalix 12472c4211 [FIX] Module 'auditlog' - 'time' module imported but unused 2017-12-18 13:16:33 +01:00
sebalix 1b992bf949 [IMP] Module 'auditlog' - Removed the 'timestamp' field from the 'auditlog.log' model (standard 'create_date' field is used instead) 2017-12-18 13:16:33 +01:00
sebalix 9554e4bdb7 [IMP] Module 'auditlog' - Clean up vim lines 2017-12-18 13:16:33 +01:00
sebalix f7b60315ba [IMP] Module 'auditlog' - Split the 'create_logs()' method in several ones to make overridding easier 2017-12-18 13:16:33 +01:00
sebalix d54783a4ab [FIX] Module 'auditlog' - Fix some flake8 errors 2017-12-18 13:16:33 +01:00
sebalix 6c865c87e9 [ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail' module 2017-12-18 13:16:33 +01:00