Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 71f60c5f49990ad60c72f5fa681bfec55cb4fae9
https://github.com/tribe29/checkmk/commit/71f60c5f49990ad60c72f5fa681bfec55…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-04-24 (Sun, 24 Apr 2022)
Changed paths:
A .werks/13926
M cmk/gui/fields/base.py
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
M cmk/gui/plugins/openapi/utils.py
A tests/unit/cmk/gui/plugins/openapi/test_error.py
Log Message:
-----------
13926 FIX validation of error responses of the REST API
This werk changes the default error schema to be in line with
the until now returned responses.
The schema and responses did not fit and it was not found because
the responses were not checked automatically. This is now the case.
To ensure that dynamic scripts will not break only the schema has
been changed. Users of dynamic languages (Python, Bash, etc.) will not
have to change anything.
If you use a statically generated API client, you may need to re-compile
the client after this werk.
Change-Id: Icf9ac8d8bf694ff3b834712c9e1a7943149a3b33
Commit: 0890655a46898e3a3b34117c89fdb9ad68a5545d
https://github.com/tribe29/checkmk/commit/0890655a46898e3a3b34117c89fdb9ad6…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-04-24 (Sun, 24 Apr 2022)
Changed paths:
M cmk/gui/fields/base.py
A tests/unit/cmk/gui/fields/test_multinested.py
Log Message:
-----------
MultiNested: fix handling of blank schemas
Blank schemas are marshmallow schemas without
explicitly declared fields, which only have a
schema level validator to verify the data.
The MultiNested field now supports those types
of field by detecting them and switching to a
"key-by-key" strategy. In the end all sucessfully
converted fields get their errors removed again.
Also: error messages are now more predictable
Change-Id: I2afda904092f7f54b95f09738076e46a444d260c
Commit: e4ffbded5096d6f6221cf9b12c960eac042912ca
https://github.com/tribe29/checkmk/commit/e4ffbded5096d6f6221cf9b12c960eac0…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-04-24 (Sun, 24 Apr 2022)
Changed paths:
A .werks/13929
M cmk/gui/fields/utils.py
Log Message:
-----------
13929 FIX checkbox tag-group handling
In previous versions when a tag-group with only one choice (a checkbox) was
set to a folder and subsequently removed on a host in that folder, the "show
hosts"
REST API call on that folder crashed with a 500 error (with the error: "tag_xxx can
not be None").
This werk fixes this behaviour. Apache still needs to be restarted so newly created
tag-groups come into effect on the REST API.
Change-Id: I69124d9ec115f9a84591e712b67f1930fcae1ff2
Commit: 7e43193821de20aa74a003b2542a9796a3ef439e
https://github.com/tribe29/checkmk/commit/7e43193821de20aa74a003b2542a9796a…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-04-24 (Sun, 24 Apr 2022)
Changed paths:
A .werks/13928
M cmk/gui/fields/definitions.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_tag_group.py
Log Message:
-----------
13928 FIX validation of custom tag-groups through the REST API
To create and edit custom tag groups via the REST API, one
had to restart Apache after a new tag was created and before
it could be used.
This werk fixes this behaviour. A restart is no longer necessary
for the tag-groups to be editable right after creation.
Note: The documentation of the custom created tags in the ReDoc component
are still only updated after an Apache restart. This does not affect the
editability of the tags though.
Change-Id: Ia0cd8fe314d0655a64c9364471239d098574fddb
Compare:
https://github.com/tribe29/checkmk/compare/8012e45691a1...7e43193821de