Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 86655220cd0776e56797fa0e522e00111c6ab499
https://github.com/Checkmk/checkmk/commit/86655220cd0776e56797fa0e522e00111…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-01-29 (Mon, 29 Jan 2024)
Changed paths:
A .werks/16210.md
M cmk/gui/openapi/endpoints/folder_config/__init__.py
M cmk/gui/openapi/endpoints/folder_config/request_schemas.py
M cmk/gui/watolib/hosts_and_folders.py
M cmk/gui/watolib/predefined_conditions.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_folder_config.py
Log Message:
-----------
16210 FIX folder_config: Prevent unintentional deletion of a non-empty folder
Prior to this Werk, the REST API could delete non-empty folders without any further check. With this Werk, the endpoint now accepts the delete_method query parameter. The possible values are:
- recursive: Deletes the folder and all the elements it contains.
- abort_on_nonempty: Deletes the folder only if it is not empty
If no delete_method is provided, "recursive" is asumed and the behaviour is the same as before this Werk.
The enpoint will return a 409 status code when trying to delete a folder that contains hosts, rules, subfolders or is referenced by another object.
Use example:
`curl -X 'DELETE' 'http://example.com/my_site/check_mk/api/1.0/objects/folder_config/my_folder…' -H 'accept: */*`
SUP-16540
Change-Id: I3b94ed9eef56a94f6e4b8d1908f0bfd5527b35ac
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: b73848f028700bf4bb04ead0edc6b00f19a5d9a3
https://github.com/Checkmk/checkmk/commit/b73848f028700bf4bb04ead0edc6b00f1…
Author: Max Linke <max.linke(a)checkmk.com>
Date: 2024-01-29 (Mon, 29 Jan 2024)
Changed paths:
M packer/checkmk.pkr.hcl
Log Message:
-----------
AMI images for publishing need to be in us-east-1
Change-Id: I33603e1ef60c47f91fc1858fd010a83d3e6c7d81
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: a949fc555a5e063a4f2773340c00acceb7bb8617
https://github.com/Checkmk/checkmk/commit/a949fc555a5e063a4f2773340c00acceb…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2024-01-29 (Mon, 29 Jan 2024)
Changed paths:
M packages/livestatus/include/livestatus/ListColumn.h
R packages/livestatus/include/livestatus/ListSorter.h
Log Message:
-----------
topx: No sorting for list columns
CMK-15683
Change-Id: Ib043c8bff5f0a21853629210830fee1e7a450fb5
Commit: 15a3752e02d7e68f6ccc56101dff50033d68ae88
https://github.com/Checkmk/checkmk/commit/15a3752e02d7e68f6ccc56101dff50033…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2024-01-29 (Mon, 29 Jan 2024)
Changed paths:
M packages/livestatus/include/livestatus/DictColumn.h
R packages/livestatus/include/livestatus/DictSorter.h
Log Message:
-----------
topx: No specific dict sorter
Sorting is to be done on the values of the dict, and the key is
privided in the query. Therefore, we can reuse the StringSorter
for DictStringValueColumn and DoubleSorter for DictDoubleValueColumn.
CMK-15638
Change-Id: Ib0efe9f97782400d0f1818e74420f70f18a49e57
Commit: 0f28c74e29f57c25ac851ea139f67a73a5421157
https://github.com/Checkmk/checkmk/commit/0f28c74e29f57c25ac851ea139f67a73a…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2024-01-29 (Mon, 29 Jan 2024)
Changed paths:
M packages/livestatus/include/livestatus/Column.h
M packages/livestatus/include/livestatus/DoubleSorter.h
M packages/livestatus/include/livestatus/IntSorter.h
M packages/livestatus/include/livestatus/Sorter.h
M packages/livestatus/include/livestatus/StringSorter.h
M packages/livestatus/include/livestatus/TimeSorter.h
Log Message:
-----------
topx: Remove Sorter::compare()
We won't need it in the end. Also change struct into class for
every Sorter. We tend to use struct only for plain record types.
CMK-15683
Change-Id: Icb07eb70b595951fd888624577f7a1bafaf3bca4
Compare: https://github.com/Checkmk/checkmk/compare/94be89e5b38b...0f28c74e29f5