Module: check_mk
Branch: master
Commit: 14ee0a5eefa07b73514d989d50b9947a056786f2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=14ee0a5eefa07b…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 16 09:56:14 2018 +0200
Refactored snapin and user attribute snapins to new mechanism
* The registries need to be located in the common utils module
of the plugin component.
* Plugins are now registered explicitly using the decorator
Change-Id: If8a6d842b9058c4b08c8e36b58d2dc638f9eeab6
---
cmk/gui/plugins/sidebar/__init__.py | 1 +
cmk/gui/plugins/sidebar/about.py | 3 +-
cmk/gui/plugins/sidebar/bookmarks.py | 2 +
cmk/gui/plugins/sidebar/master_control.py | 3 +-
cmk/gui/plugins/sidebar/nagvis_maps.py | 3 +-
cmk/gui/plugins/sidebar/quicksearch.py | 3 +-
cmk/gui/plugins/sidebar/speedometer.py | 3 +-
cmk/gui/plugins/sidebar/utils.py | 24 +++
cmk/gui/plugins/sidebar/virtual_host_tree.py | 3 +-
cmk/gui/plugins/userdb/__init__.py | 166 ++-----------------
cmk/gui/plugins/userdb/user_attributes.py | 7 +-
cmk/gui/plugins/userdb/utils.py | 233 +++++++++++++++++++++++++++
cmk/gui/sidebar.py | 30 +---
cmk/gui/userdb.py | 43 -----
14 files changed, 292 insertions(+), 232 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=14ee0a5eef…