Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 06cea6d942d25059f9f0e0a7f7b9643081d4f448
https://github.com/tribe29/checkmk/commit/06cea6d942d25059f9f0e0a7f7b964308…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-09-30 (Fri, 30 Sep 2022)
Changed paths:
A .werks/14297
M cmk/gui/dashboard.py
M cmk/gui/plugins/dashboard/utils.py
M tests/unit/cmk/gui/plugins/dashboard/test_plugin_api.py
M tests/unit/cmk/gui/test_dashboard.py
Log Message:
-----------
14297 FIX Remove pre-1.6 dashboard plugin compatibility
In Checkmk 1.6 and previous versions custom dashboard element plugins could be
registered by deploying a file to
<tt>local/share/check_mk/web/plugins/dashboard/</tt> with the following code
to
register with Checkmk:
C+:
dashlet_types["id_of_element"] = {
"title" : _("Title"),
"sort_index" : 45,
"description" : "..."
"render" : dashlet_hoststats,
"refresh" : 60,
"allowed" : builtin_role_ids,
"size" : (30, 18),
"resizable" : False,
}
C-:
This mechanism was replaced with 1.6 and is now being removed. In case you
still have dashboard plugins using this mechanism, you need to rework your
plugin to be usable with Checkmk 2.2 or newer. Have a look at the dashboard
plugins shipped with Checkmk to, to see how it needs to be structured (e.g.
<tt>lib/check_mk/gui/plugins/dashboard/overview.py</tt>).
Change-Id: I6c1b8c2321c9eeb998ea82fa2cdf1f30e8d358e9
Commit: b038c2604ad4a0c02c44ce3ebc8690a3b3c1c6aa
https://github.com/tribe29/checkmk/commit/b038c2604ad4a0c02c44ce3ebc8690a3b…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-09-30 (Fri, 30 Sep 2022)
Changed paths:
M cmk/gui/dashboard.py
Log Message:
-----------
Cleanup unused imports
Change-Id: I1d31cc18ff70504ace6a6f34e3548628fb13d996
Compare:
https://github.com/tribe29/checkmk/compare/c6d504ce3e31...b038c2604ad4