Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 16e4a47dd6adf5a2d9f89b7c6b627b132b4c688e
https://github.com/tribe29/checkmk/commit/16e4a47dd6adf5a2d9f89b7c6b627b132…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M cmk/gui/watolib/changes.py
M cmk/update_config.py
M tests/unit/cmk/test_update_config.py
Log Message:
-----------
Transform audit log to use new format
The audit log uses the new format (same as site changes before). It
uses a new path <tt>var/check_mk/wato/log/wato_audit.log</tt> to be
able to clearly separate it from the old file.
When a site update is performed, an old existing file will be
automatically migrated to the new format.
CMK-6187
Change-Id: If65d5ea01d9ef37e53b9c5f3595165b9a5a68d0b
Commit: 8e24caacac3c7781f86e34e8f1d35438d12ed781
https://github.com/tribe29/checkmk/commit/8e24caacac3c7781f86e34e8f1d35438d…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M Pipfile
M Pipfile.lock
M omd/packages/python3-modules/python3-modules.make
A omd/packages/python3-modules/src/deepdiff-5.0.2.tar.gz
A omd/packages/python3-modules/src/ordered-set-4.0.2.tar.gz
Log Message:
-----------
Add deepdiff dependency for new audit log details
DeepDiff: Deep Difference of dictionaries, iterables, strings and other
objects. It will recursively look for all the changes.
Will be used by the new audit log.
CMK-6187
Change-Id: Ib0b61295952c910ba1f78a3c8e5dac2f51ab3e58
Commit: af5b1216fe6f5d5bb8615f03e36d3f8f7607cdca
https://github.com/tribe29/checkmk/commit/af5b1216fe6f5d5bb8615f03e36d3f8f7…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
A cmk/utils/object_diff.py
A tests/unit/cmk/utils/test_object_diff.py
Log Message:
-----------
Add helper module to create a description of object changes
make_object_diff from cmk.utils.object_diff uses the deepdiff module to
get an idea about the object changes and returns a text describing the
changes for users.
CMK-6187
Change-Id: I704278dbd36ec0a953646e98d20206dbb820a42e
Commit: 5dcd19faddebac1e036d86584c399c56311d542d
https://github.com/tribe29/checkmk/commit/5dcd19faddebac1e036d86584c399c563…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M cmk/gui/wato/pages/audit_log.py
M cmk/gui/watolib/changes.py
M cmk/update_config.py
M cmk/utils/object_diff.py
M tests/unit/cmk/gui/watolib/test_changes.py
M tests/unit/cmk/test_update_config.py
Log Message:
-----------
Add object diff capability to audit log
The add_change and log_audit functions now accept two additional
arguments old_object and new_object. These are the objects we use
for building a description of the changes.
These changes are written to the audit log in text form. This has to
done in this situation, because we don't want to persist the whole
object structures (to keep the size of the audit log small).
Recording and displaying object differences is an optional feature
of the audit log for now.
CMK-6187
Change-Id: I0be8afd866a23e0528cf7bfd29de7099916d14ab
Commit: 99711b9f1061e32b99bb28994529448d7d366fc0
https://github.com/tribe29/checkmk/commit/99711b9f1061e32b99bb28994529448d7…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M cmk/gui/wato/pages/audit_log.py
M cmk/gui/watolib/changes.py
M tests/unit/cmk/gui/watolib/test_changes.py
Log Message:
-----------
Simplify audit log text transport
We can now use complex data structures and don't have to wrap the whole
audit log entry into a single line.
This makes it possible to move the escaping of the message to the
rendering as we usually do. We just need to serialize deserialze the
HTML object information to make this possible.
Change-Id: I8a6b46b214588e6b33c87c07ca3434fecfa22010
Commit: b9f30c961ed4566ca1a8ad1a98a83c2640ebd78b
https://github.com/tribe29/checkmk/commit/b9f30c961ed4566ca1a8ad1a98a83c264…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M tests/unit/cmk/gui/watolib/test_changes.py
Log Message:
-----------
Add test
Change-Id: I3331ee3247eaaab40a4290e81e991a0cf0772050
Commit: 1afe575ccdb66314fcbad0ddc99b638534d6543b
https://github.com/tribe29/checkmk/commit/1afe575ccdb66314fcbad0ddc99b63853…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M cmk/gui/wato/pages/audit_log.py
Log Message:
-----------
Fix audit log CSV export
Change-Id: I69727f06abc448f922fd5fcacf0de07b93739060
Commit: 121b944402c01298ee4ee872fe7441282a7b6a6d
https://github.com/tribe29/checkmk/commit/121b944402c01298ee4ee872fe7441282…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M cmk/gui/wato/pages/audit_log.py
Log Message:
-----------
Make object changes visible in audit log
Add the new information to the audit log GUI and CSV export.
CMK-6302
Change-Id: I07608dbcc01e4f98c5d04226cc7652a34c23a771
Commit: 585651a8b1e173ae82d5ffe325d6494c790f8d7c
https://github.com/tribe29/checkmk/commit/585651a8b1e173ae82d5ffe325d6494c7…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M cmk/utils/object_diff.py
M tests/unit/cmk/utils/test_object_diff.py
Log Message:
-----------
Make output more user friendly
* Add localization capabilities
* add text when nothing was changed
Change-Id: I28e12956cc0cf605601ae89d4527959008167f0b
Compare:
https://github.com/tribe29/checkmk/compare/aeb644c95c82...585651a8b1e1