Module: check_mk
Branch: master
Commit: 7a150e84edfd42224dd0e2341eee21740428d0e2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7a150e84edfd42…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 21 09:10:25 2019 +0100
Refactored view sorters to plugin registry
Change-Id: I0e9460d1ad49adf5b019e081fd75a992a55f5f73
---
cmk/gui/plugins/views/__init__.py | 4 +-
cmk/gui/plugins/views/inventory.py | 26 +-
cmk/gui/plugins/views/perfometer.py | 53 +-
cmk/gui/plugins/views/sorters.py | 415 ++++-----
cmk/gui/plugins/views/utils.py | 115 ++-
cmk/gui/plugins/views/wato.py | 68 +-
cmk/gui/views.py | 128 ++-
tests/unit/cmk/gui/test_views.py | 1642 +++++++++++++++++++++++++++++++++++
8 files changed, 2134 insertions(+), 317 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=7a150e84ed…