Branch: refs/heads/2.0.0
Home: https://github.com/tribe29/checkmk
Commit: 4d07b6ad1193eab6e6bfe7e114eaf2687ee08b05
https://github.com/tribe29/checkmk/commit/4d07b6ad1193eab6e6bfe7e114eaf2687…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2021-06-07 (Mon, 07 Jun 2021)
Changed paths:
A .werks/12679
Log Message:
-----------
12679 FIX cmk-update-agent: Prevent crash on missing "Content-Length" HTTP header
Previously, the agent updater expected a "Content-Length" HTTP header in responses
from the Checkmk server, and crashed with error message<br>
<tt>KeyError: 'content-length'</tt><br>
if it was missing.
This is fixed now.
This werk is marked as incompatible, because manual interaction might be needed
to overcome the error on a host. You can either install the newly baked agent
manually on affected hosts, or prevent the cause that leads to the missing "Content-Lenght"
header: An observed cause for the missing header can be an activated transport compression
at some point in the infrastructure between Checkmk server and host. To prevent this, you
can add the line<br>
<tt>SetEnv no-gzip dont-vary</tt><br>
at the top of the config file <tt>/etc/apache2/conf-enabled/zzz_omd.conf</tt> on the
server running Checkmk, and reload the system apache with <tt>systemctl reload apache</tt>.
SUP-6513
Change-Id: I2c1b74d10cb5aa09f482eac3937dfcf7f349553d
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 9e23694f7a42d79801499c7c540d7da086fe7167
https://github.com/tribe29/checkmk/commit/9e23694f7a42d79801499c7c540d7da08…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-06-07 (Mon, 07 Jun 2021)
Changed paths:
A cmk/gui/livestatus_utils/__init__.py
A cmk/gui/livestatus_utils/commands/__init__.py
A cmk/gui/livestatus_utils/commands/acknowledgments.py
A cmk/gui/livestatus_utils/commands/comment.py
A cmk/gui/livestatus_utils/commands/downtimes.py
A cmk/gui/livestatus_utils/commands/force_schedule.py
A cmk/gui/livestatus_utils/commands/lowlevel.py
A cmk/gui/livestatus_utils/commands/type_defs.py
A cmk/gui/livestatus_utils/commands/utils.py
A cmk/gui/livestatus_utils/testing.py
M cmk/gui/plugins/openapi/endpoints/acknowledgement.py
M cmk/gui/plugins/openapi/endpoints/downtime.py
M cmk/gui/plugins/openapi/endpoints/host.py
M cmk/gui/plugins/openapi/endpoints/service.py
M cmk/gui/plugins/openapi/fields.py
M cmk/gui/plugins/openapi/filters.py
R cmk/gui/plugins/openapi/livestatus_helpers/__init__.py
R cmk/gui/plugins/openapi/livestatus_helpers/base.py
R cmk/gui/plugins/openapi/livestatus_helpers/commands/__init__.py
R cmk/gui/plugins/openapi/livestatus_helpers/commands/acknowledgments.py
R cmk/gui/plugins/openapi/livestatus_helpers/commands/comment.py
R cmk/gui/plugins/openapi/livestatus_helpers/commands/downtimes.py
R cmk/gui/plugins/openapi/livestatus_helpers/commands/force_schedule.py
R cmk/gui/plugins/openapi/livestatus_helpers/commands/lowlevel.py
R cmk/gui/plugins/openapi/livestatus_helpers/commands/type_defs.py
R cmk/gui/plugins/openapi/livestatus_helpers/commands/utils.py
R cmk/gui/plugins/openapi/livestatus_helpers/expressions.py
R cmk/gui/plugins/openapi/livestatus_helpers/queries.py
R cmk/gui/plugins/openapi/livestatus_helpers/tables/Makefile
R cmk/gui/plugins/openapi/livestatus_helpers/tables/__init__.py
R cmk/gui/plugins/openapi/livestatus_helpers/tables/_create_table.py
R cmk/gui/plugins/openapi/livestatus_helpers/tables/downtimes.py
R cmk/gui/plugins/openapi/livestatus_helpers/tables/hostgroups.py
R cmk/gui/plugins/openapi/livestatus_helpers/tables/hosts.py
R cmk/gui/plugins/openapi/livestatus_helpers/tables/servicegroups.py
R cmk/gui/plugins/openapi/livestatus_helpers/tables/services.py
R cmk/gui/plugins/openapi/livestatus_helpers/tables/status.py
R cmk/gui/plugins/openapi/livestatus_helpers/testing.py
R cmk/gui/plugins/openapi/livestatus_helpers/types.py
M cmk/gui/plugins/openapi/restful_objects/constructors.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/gui/plugins/openapi/utils.py
M cmk/gui/views.py
A cmk/utils/livestatus_helpers/__init__.py
A cmk/utils/livestatus_helpers/base.py
A cmk/utils/livestatus_helpers/expressions.py
A cmk/utils/livestatus_helpers/queries.py
A cmk/utils/livestatus_helpers/tables/Makefile
A cmk/utils/livestatus_helpers/tables/__init__.py
A cmk/utils/livestatus_helpers/tables/_create_table.py
A cmk/utils/livestatus_helpers/tables/downtimes.py
A cmk/utils/livestatus_helpers/tables/hostgroups.py
A cmk/utils/livestatus_helpers/tables/hosts.py
A cmk/utils/livestatus_helpers/tables/servicegroups.py
A cmk/utils/livestatus_helpers/tables/services.py
A cmk/utils/livestatus_helpers/tables/status.py
A cmk/utils/livestatus_helpers/testing.py
A cmk/utils/livestatus_helpers/types.py
R tests/unit/cmk/gui/plugins/openapi/livestatus_helpers/test_downtime_commands.py
R tests/unit/cmk/gui/plugins/openapi/livestatus_helpers/test_local_connection.py
M tests/unit/cmk/gui/plugins/openapi/test_expr_schema.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_acknowledgement.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_activate_changes.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_downtime.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_service.py
A tests/unit/cmk/gui/plugins/views/test_row_table.py
A tests/unit/cmk/gui/plugins/wato/test_ac_test.py
M tests/unit/cmk/gui/test_views.py
A tests/unit/cmk/utils/livestatus_helpers/conftest.py
A tests/unit/cmk/utils/livestatus_helpers/test_downtime_commands.py
A tests/unit/cmk/utils/livestatus_helpers/test_local_connection.py
M tests/unit/conftest.py
Log Message:
-----------
refactor: move livestatus helpers to cmk.utils
Change-Id: I9c985208a74ee18a4ce0df81b1c199872aa9ae54
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: d608dddf263082950805300f2cf83d71bc0d4479
https://github.com/tribe29/checkmk/commit/d608dddf263082950805300f2cf83d71b…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2021-06-07 (Mon, 07 Jun 2021)
Changed paths:
M cmk/base/agent_based/discovery/__init__.py
M cmk/base/agent_based/discovery/_host_labels.py
R cmk/base/agent_based/discovery/type_defs.py
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
Log Message:
-----------
Dissolve DiscoveryParameters
The class was created in self defense, when we didn't know
which argument was needed where. Fortunately, that's not
the case anymore.
Change-Id: I5f938ba4f70bdcfd0beaeebf4b917d144b575b48
Commit: 868235740fc68fc61a6e98f1042e2c3df38c37c5
https://github.com/tribe29/checkmk/commit/868235740fc68fc61a6e98f1042e2c3df…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2021-06-07 (Mon, 07 Jun 2021)
Changed paths:
M cmk/base/agent_based/discovery/__init__.py
Log Message:
-----------
push down hard coded kwarg
Change-Id: I3b6c4373fac81f4b5c629fc684ed820a8cc8561b
Compare: https://github.com/tribe29/checkmk/compare/b732aba27920...868235740fc6
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 6987d251fbc1b57d5821e85689c1b2a2b6f888f1
https://github.com/tribe29/checkmk/commit/6987d251fbc1b57d5821e85689c1b2a2b…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2021-06-07 (Mon, 07 Jun 2021)
Changed paths:
M Makefile
M buildscripts/infrastructure/build-nodes/scripts/install-clang.sh
M buildscripts/infrastructure/build-nodes/scripts/install-iwyu.sh
M buildscripts/infrastructure/build-nodes/ubuntu-20.04/Dockerfile
M defines.make
Log Message:
-----------
Centralize Clang version. Various tiny fixes.
Change-Id: I660798b14f2f9873aeb604701e77d0e1e6a3e017
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 67717a255effe128fe52f3c4fbde1bb7456919b5
https://github.com/tribe29/checkmk/commit/67717a255effe128fe52f3c4fbde1bb74…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-06-07 (Mon, 07 Jun 2021)
Changed paths:
M cmk/gui/htmllib.py
M cmk/gui/login.py
A cmk/gui/utils/language_cookie.py
M cmk/gui/wato/user_profile.py
M cmk/gui/wsgi/applications/utils.py
Log Message:
-----------
Extract language cookie handling from htmllib.html
Change-Id: Ibf17dce81dda6f9d07330ed0e4dc17e836ccafc5
Commit: 1e0e7f724a5ae869750d0d75b2c8a3886e4724eb
https://github.com/tribe29/checkmk/commit/1e0e7f724a5ae869750d0d75b2c8a3886…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-06-07 (Mon, 07 Jun 2021)
Changed paths:
M cmk/gui/globals.py
M cmk/gui/plugins/openapi/livestatus_helpers/testing.py
M cmk/gui/utils/script_helpers.py
M cmk/gui/watolib/search.py
M cmk/gui/wsgi/middleware.py
Log Message:
-----------
Simplify RequestContext constructor: Request and Response are now mandatory
Change-Id: I6a8c4a04acd19080b0898c706eb43c6633ab788e
Commit: a126f451ea74fea4ad12ef759122728b33dfeb06
https://github.com/tribe29/checkmk/commit/a126f451ea74fea4ad12ef759122728b3…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-06-07 (Mon, 07 Jun 2021)
Changed paths:
M cmk/gui/htmllib.py
A cmk/gui/utils/json.py
M cmk/gui/wsgi/applications/checkmk.py
M tests/unit/cmk/gui/conftest.py
R tests/unit/cmk/gui/test_htmllib_json.py
M tests/unit/cmk/gui/utils/test_html.py
A tests/unit/cmk/gui/utils/test_json.py
Log Message:
-----------
Cleanup GUI json hacks a bit
* Extract from htmllib to dedicated module
* Do not patch at import time of a module anymore
* Instead of this, the patch is now applied as context manager
which is also able to revert it's actions.
* The context manager is applied only in the Checkmk GUI application and
the GUI unit tests which which activates it during request processing
A dedicated JSONEncoder would still be better, but all call sites of
e.g. json.dumps, json.loads and so on would have to care about it.
Change-Id: I6ececfb9f45d328fc80f1ad2f6a07053eb6888be
Compare: https://github.com/tribe29/checkmk/compare/59dfd9c2a8bf...a126f451ea74