Module: check_mk
Branch: master
Commit: 4522930c0ca7abf283837dbb9d7b5d4b033e84a9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4522930c0ca7ab…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sat Oct 8 17:27:54 2016 +0200
Formalizing RegExp (pattern) input a bit more
The RegExp/RegExpUnicode valuespecs now have two more
attributes:
a) mode=[RegExp.infix,RegExp.prefix,RegExp.complete] to
control which matching mode is used for this pattern.
b) case_sensitive=True/False to formalize the case
handling.
The regex input fields are now displayed in a different
way (fixed font and slightly different styling).
Devs: Please always add mode and case_sensitive options
from now. These options will be mandatory in near future.
---
web/htdocs/check_mk.css | 7 +++
web/htdocs/valuespec.py | 87 ++++++++++++++++++++++++++++--
web/htdocs/wato.py | 52 ++++++++++++++----
web/plugins/wato/active_checks.py | 9 +++-
web/plugins/wato/builtin_attributes.py | 5 +-
web/plugins/wato/check_mk_configuration.py | 2 +
web/plugins/wato/check_parameters.py | 62 +++++++++++++++++----
web/plugins/wato/mkeventd.py | 18 +++++++
8 files changed, 214 insertions(+), 28 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=4522930c0c…