rgarnau
1165b7574f
[add] https
7 years ago
Enric Tobella
405503533b
[MIG] auditlog: Migration to 11.0
7 years ago
Oleg Bulkin
20da15d9e9
[FIX] auditlog: Duplicate logging
* Update _patch_methods and _revert_methods in auditlog.rule model to properly
track whether a method has already been patched for logging purposes. This
prevents duplicate logs from being produced in various cases (e.g. when a
logging rule is created as part of a module install)
8 years ago
Stefan Rijnhart
ffef2bdc3c
[FIX] Request id no longer exists after concurrency rollback
8 years ago
Frédéric Garbely
9a667e2d9e
[MIG] auditlog: Migrated to 10.0
8 years ago
sebalix
ce30be4b83
auditlog - Migrate 'AuditlogRule.create' and 'AuditlogRule.write' methods to the new API
8 years ago
sebalix
fcaeaab503
auditlog - Lint
8 years ago
Holden Rehg
2b66c46794
Migrate auditlog module from 8.0 to 9.0
- Update documentation to point to the new auditlog menu locations. These were changed because the 8.0 version was referencing menus that do not exist in 9.0
- Change version from 8.0.X.Y.Z to 9.0.1.0.0
- Make the module installable again
- Remove an unused parameter from pre-migration.py for versioning
- Fix typos and remove commented out blocks of code that were irrelevant
9 years ago
Holger Brunn
52c623f67a
singleton error if we saved the current session two times ( #473 )
* [IMP] index the columns we'll be searching for for every request
* [FIX] singleton error if we saved the current session two times
8 years ago
Sébastien Alix
7b051fd64e
auditlog - Icon added + README updated (screenshots)
9 years ago
sebalix
9306337187
auditlog - Auto-vacuum logs, HTTP requests and HTTP user sessions
9 years ago
sebalix
0526a470cf
auditlog - Field 'type' renamed to 'log_type'
9 years ago
sebalix
b3618b011e
auditlog - Ability to choose the log type on the rule: Full log (complete but slow) and Fast log (data input only, faster)
9 years ago
Holger Brunn
c1769ee1dc
turn off prefetching when reding values
9 years ago
sebalix
2318a618f0
Module 'auditlog' - Fix pylint check
9 years ago
sebalix
b279eb20e1
Module 'auditlog' - 'display_name' fields added for the user session and HTTP requests models
9 years ago
sebalix
bc05c3c9b5
Module 'auditlog' - A log can be created with no current HTTP request (unit tests, ir.cron...)
9 years ago
sebalix
7f1d8902ad
Module 'auditlog' - Log HTTP user sessions and requests
9 years ago
Holger Brunn
175ba27144
[FIX] if someone else has overridden our patched,
method, don't do anything
9 years ago
Holger Brunn
2388ca1e44
[FIX] make patched create downgrade correctly to v6.1
9 years ago
Holger Brunn
8600de4ccb
[ADD] comment
10 years ago
Holger Brunn
3f0aa825f0
[FIX] ie related fields don't have an
ir.model.fields entry
10 years ago
sebalix
a3e64dbd24
[FIX] Module 'auditlog' - Log fields coming from polymorphic inheritances ('_inherits')
10 years ago
sebalix
7165119ddd
[IMP] Module 'auditlog' - Unsubscribe rules before removing them + Unit tests updated
10 years ago
sebalix
f04b17855d
[FIX] Module 'auditlog' - Fix lint check
10 years ago
sebalix
dfedf9ad44
[FIX] Module 'auditlog' - No log for internal processing (e.g. 'read' calls produced by auditlog, either to scan records data or to fetch informations from 'ir.model'/'ir.model.fields' data models if rules are defined on them)
10 years ago
sebalix
4a6ae104e7
[FIX] Module 'auditlog' - Support 'read' calls with one ID or a list of IDs
10 years ago
sebalix
2b0b08adca
[FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstance()' + Add missing field in unit test + Remove a list comprehension
10 years ago
sebalix
a6c0d3d739
[IMP] Module 'auditlog' - Performing logs on 'read' operations + Some bugfixes to log inherited fields and dummy fields such as 'in_group_X' in 'res.users' model + Unit tests updated
10 years ago
sebalix
9c28e8511a
[FIX] Module 'auditlog' - When updating a resource, filter IDs on 2many fields to prevent a 'name_get()' call on potential deleted resources
10 years ago
sebalix
399d669145
[FIX] Module 'auditlog' - Data dictionaries of fields and models are put in the cache instead of recordsets (a recordset contains a reference on the database cursor which is closed after each RPC query)
10 years ago
sebalix
cb36ff1332
[IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields
10 years ago
sebalix
38aec855b8
[IMP] Module 'auditlog' - Autoremove 'auditlog.log.line' records when a field is deleted (e.g. migration)
10 years ago
sebalix
0e57a18f41
[IMP] Module 'auditlog' - Useless lines of code removed
10 years ago
sebalix
0836262dd3
[FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used
10 years ago
Holger Brunn
9fbc965f72
[FIX] cope with no additional log values
10 years ago
Holger Brunn
5b4d117657
[ADD] pass old_values to create_log when deleting a record
10 years ago
Holger Brunn
3a58d56999
[FIX] don't reset caches in register_hook
10 years ago
Holger Brunn
f850526a8c
[IMP] don't make a temporary copy of dict keys
10 years ago
Holger Brunn
f255b68746
[IMP] cache model and field ids
10 years ago
Holger Brunn
35df81d541
[ADD] allow overriding modules to pass additional log values
10 years ago
Holger Brunn
39c4ae62f3
[IMP] use new import of _, SUPERUSER_ID
10 years ago
Holger Brunn
223711c8ff
[IMP] ignore rules for nonexisting objects
10 years ago
sebalix
8f7a51e2bb
[FIX] Module 'auditlog' - 'time' module imported but unused
10 years ago
sebalix
42521d2abb
[IMP] Module 'auditlog' - Removed the 'timestamp' field from the 'auditlog.log' model (standard 'create_date' field is used instead)
10 years ago
sebalix
8c17da024f
[IMP] Module 'auditlog' - Clean up vim lines
10 years ago
sebalix
2299e6f4f7
[IMP] Module 'auditlog' - Split the 'create_logs()' method in several ones to make overridding easier
10 years ago
sebalix
1614377314
[FIX] Module 'auditlog' - Fix some flake8 errors
10 years ago
sebalix
9079a27b1e
[ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail' module
10 years ago