Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 238735d913015e6fde62d3c3d62e9cc83c6fa4c7
https://github.com/tribe29/checkmk/commit/238735d913015e6fde62d3c3d62e9cc83…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M cmk/base/core_config.py
M cmk/base/core_nagios.py
M cmk/base/modes/check_mk.py
M tests/testlib/__init__.py
M tests/unit/cmk/base/conftest.py
M tests/unit/cmk/base/test_core_config.py
M tests/unit/conftest.py
Log Message:
-----------
Add basic unit test for core config creation
Change-Id: Icac7f23a56204c2d69fb7bb6d34a6941bfd66125
Commit: 3c35ba1729d2ded3eb05b2d15844f111ede4bf8f
https://github.com/tribe29/checkmk/commit/3c35ba1729d2ded3eb05b2d15844f111e…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M cmk/base/automations/check_mk.py
M cmk/base/core_factory.py
M cmk/base/modes/check_mk.py
M tests/unit/cmk/base/test_core_config.py
Log Message:
-----------
Hand over core name to core object factory
Remove artifacts of creating a core binary config in a custom path.
Change-Id: I3a63b7803ea332554ba16e08cea32c776e3f51ad
Commit: 58abe18b0d9b0a2b669cc0a9494336b81a49bd15
https://github.com/tribe29/checkmk/commit/58abe18b0d9b0a2b669cc0a9494336b81…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M cmk/base/core_nagios.py
Log Message:
-----------
Simplify Nagios config file creation
Use our generic file saving logic instead of some local tempfile handling.
Change-Id: I49e178960d37fbe12a3233f69670e5e90f962cf8
Commit: 32f931524cf6d150c9f7c371d8f1f93f215df21e
https://github.com/tribe29/checkmk/commit/32f931524cf6d150c9f7c371d8f1f93f2…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M cmk/base/core_nagios.py
M tests/testlib/__init__.py
M tests/unit/cmk/base/test_core_nagios.py
Log Message:
-----------
Separate precompile host check IO from content
* The whole IO is moved to HostCheckStore
* The content of the precompiled host check files is computed by
`_dump_precompiled_hostcheck` and returned as string
With the new structure the code is now a bit more testable. Added some
basic tests to make use of the separation and to ensure the next
refactorings do not break anything fundamentally.
Cleanups will follow.
Change-Id: I46cbc3a87f7a8433f07b95610222a21ab584b9f7
Commit: e312bd6592c82bcf1617c12ce66dcda02e2d0fa5
https://github.com/tribe29/checkmk/commit/e312bd6592c82bcf1617c12ce66dcda02…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M cmk/base/core_nagios.py
Log Message:
-----------
Simplify precompiled host check write
* Use pathlib.Path
* Use cmk.utils.store
* Remove dead conditional compile after old vs. new source file comparison
(The source file is removed at the beginning of the function, the code
is never reached)
Change-Id: I82d06fe99e07a2a4e76db2624eec02b15a08d58b
Commit: 9f92f7755465c1735eb094e7735197fa0ea01ca6
https://github.com/tribe29/checkmk/commit/9f92f7755465c1735eb094e7735197fa0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M cmk/base/core_nagios.py
M tests/testlib/__init__.py
M tests/unit/cmk/base/test_core_nagios.py
Log Message:
-----------
Add test to for delayed host check compilation
In this mode the compiled file path links to the source file until it is
executed for the first time. Then the symlink is replaced with the
py-compiled file. Which then optimizes future executions.
The non-delayed mode compiles all files during config creation which
results in a longer config creation time.
Change-Id: I6a5093eed30313bdc8ed0b3eb56caebf1aa2c63e
Commit: 53b8bed24f2dd3e3b2f48ce4cb0a3c1b5c89e546
https://github.com/tribe29/checkmk/commit/53b8bed24f2dd3e3b2f48ce4cb0a3c1b5…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M cmk/base/core_nagios.py
M omd/packages/check_mk/skel/etc/nagios/conf.d/check_mk_templates.cfg
M tests/unit/cmk/base/test_core_nagios.py
Log Message:
-----------
Move Nagios precompiled host checks to helper config directory
With this step all parts of the helper configs have been moved to
the versioned core helper config directory.
The next step will add the update of the helper serial directory.
CMK-5444
Change-Id: I84e675593736900356a99985a94f0c88e6c74480
Compare: https://github.com/tribe29/checkmk/compare/5ef260edd564...53b8bed24f2d
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 960c4f3680140964c41cdc0a889d4184eebb00f7
https://github.com/tribe29/checkmk/commit/960c4f3680140964c41cdc0a889d4184e…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
A .werks/11492
Log Message:
-----------
11491 SEC Auth cookies: Specify SameSite attribute to improve cookie security
The authentication cookies of the Checkmk GUI (auth_[site]) previously relied
on the browsers default behaviour regarding the same site policy. This resulted
in a) an inconsistent cookie handling across the different browsers and b)
allow some sort of Cross-site request forgery (CSRF) attacks.
With this change we explicitly set the "SameSite=Lax" setting for all
authentication cookies created by logins after updating Checkmk.
For more information about this HTTP cookie setting have a look at
https://web.dev/samesite-cookies-explained/.
Change-Id: I42fd2d654f8364b6b90233f5aac9c71180b903d9
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 3be667c91a11d3750941abfc697a5d4df132e7be
https://github.com/tribe29/checkmk/commit/3be667c91a11d3750941abfc697a5d4df…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M cmk/gui/plugins/metrics/rrd_fetch.py
M cmk/gui/plugins/metrics/timeseries.py
Log Message:
-----------
Move Timeseries transform and combined back to CEE
Deal with cyclic imports that were already there by generic imports.
CMK-5233
Change-Id: I95b7229d99be957035452aecfa239e9f9c6227e7
Commit: 483697a4dea6c42248ac3705cce48d7fa20d78f1
https://github.com/tribe29/checkmk/commit/483697a4dea6c42248ac3705cce48d7fa…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
M cmk/gui/plugins/metrics/artwork.py
M cmk/gui/plugins/metrics/html_render.py
M cmk/gui/plugins/metrics/rrd_fetch.py
M cmk/gui/plugins/metrics/timeseries.py
Log Message:
-----------
RRD fetch always returns TimeSeries
TimeSeries is aware of the of the time window data composes. There is no
need to carry the information of start, end, step around. The possibility
of empty graphs is handled directly on call sites.
The rest of the commit carries the consequences of always utilizing a
TimeSeries instance.
CMK-5233
Change-Id: If565770b03da8cd2a78911399c43eb032abfb8b0
Compare: https://github.com/tribe29/checkmk/compare/98ecbb907982...483697a4dea6
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 98ecbb9079822d3e5ecb270477edaa546e282fb9
https://github.com/tribe29/checkmk/commit/98ecbb9079822d3e5ecb270477edaa546…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
A tests/unit/cmk/base/plugins/agent_based/test_inv_docker_node_info.py
A tests/unit/cmk/base/plugins/agent_based/test_inv_lnx_sysctl.py
A tests/unit/cmk/base/plugins/agent_based/test_inv_oracle_instance.py
R tests/unit/inventory/conftest.py
M tests/unit/inventory/test_generic_legacy_conversion_inv.py
R tests/unit/inventory/test_inv_docker_node_info.py
R tests/unit/inventory/test_inv_lnx_sysctl.py
R tests/unit/inventory/test_inv_oracle_instance.py
Log Message:
-----------
inventory plugins: migrate remaining tests
Change-Id: I773ba4e8aaaf18d3df5d337e51bcefc90d0a00f0
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 4df5ea95dc9d4bc1f57dbf3c9fb71998f725dbac
https://github.com/tribe29/checkmk/commit/4df5ea95dc9d4bc1f57dbf3c9fb71998f…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2020-09-16 (Wed, 16 Sep 2020)
Changed paths:
A cmk/gui/plugins/openapi/endpoints/time_period.py
M cmk/gui/plugins/openapi/fields.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
M cmk/gui/plugins/openapi/restful_objects/type_defs.py
M cmk/gui/wato/pages/timeperiods.py
M cmk/gui/watolib/timeperiods.py
A tests/unit/cmk/gui/plugins/openapi/test_openapi_time_period.py
M web/htdocs/openapi/checkmk.yaml
Log Message:
-----------
API time period: implementation of Time Period
Change-Id: I5f7bdd03c8f3992e95711269be84f7ef66db5f1b