Module: check_mk
Branch: master
Commit: 415b6bb6b5a004e902d8fe956176115f9b5e6bd8
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=415b6bb6b5a004…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Dec 2 10:04:31 2014 +0100
Updated bug entries #2161
---
.bugs/2161 | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.bugs/2161 b/.bugs/2161
index 47e1fd1..3779f2f 100644
--- a/.bugs/2161
+++ b/.bugs/2161
@@ -1,11 +1,14 @@
Title: Visual: single-context views with hardcoded context should not display filter
Component: multisite
-State: open
+Class: bug
+State: done
Date: 2014-09-02 12:20:34
Targetversion: future
-Class: bug
Currently the filter is being displayed, with an Warning icon, and any changes are silently
ignored.
The filter should not be visible in that case.
+
+2014-12-02 10:04:25: changed state open -> done
+The default seting can now be overriden.
Module: check_mk
Branch: master
Commit: fc066d9e86eec81c882c709b4f7a7cbea8efc156
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fc066d9e86eec8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Dec 2 10:04:05 2014 +0100
#1579 FIX Views: Setting for hard coded single context filters can now be changed by URL and filter
When a view has a hard coded value for a single context filter, the value could
not be changed by the user when watching a view, neither by URL nor filter form.
This has been changed now to make it possible to override the default value.
---
.werks/1579 | 11 +++++++++++
ChangeLog | 1 +
web/htdocs/visuals.py | 6 +++---
3 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/.werks/1579 b/.werks/1579
new file mode 100644
index 0000000..3ac34ce
--- /dev/null
+++ b/.werks/1579
@@ -0,0 +1,11 @@
+Title: Views: Setting for hard coded single context filters can now be changed by URL and filter
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.2.5i7
+Date: 1417510947
+Class: fix
+
+When a view has a hard coded value for a single context filter, the value could
+not be changed by the user when watching a view, neither by URL nor filter form.
+This has been changed now to make it possible to override the default value.
diff --git a/ChangeLog b/ChangeLog
index 5d7e4e5..b6f4c24 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -91,6 +91,7 @@
* 1557 FIX: Fix sorting of hostnames that only differ in lower/uppercaseness
* 1577 FIX: Fixed editing of views using the "Downtime for host/service" sorter or column...
* 1578 FIX: Folding states of containers with umlauts in titles are now persisted...
+ * 1579 FIX: Views: Setting for hard coded single context filters can now be changed by URL and filter...
WATO:
* 1170 Added buttons to move rules to top/bottom of the list to ruleset edit dialog
diff --git a/web/htdocs/visuals.py b/web/htdocs/visuals.py
index f7115a7..5185dfc 100644
--- a/web/htdocs/visuals.py
+++ b/web/htdocs/visuals.py
@@ -903,10 +903,10 @@ def add_context_to_uri_vars(visual, only_infos=None, only_count=False):
only_infos = infos.keys() # all datasources!
# Populate the HTML vars with missing context vars. The context vars set
- # in single context are enforced (can not be overwritten by URL). The normal
- # filter vars in "multiple" context are not enforced.
+ # in single context are not enforced (they can be overwritten by URL or by
+ # changing the filter form).
for key in get_single_info_keys(visual):
- if key in visual['context']:
+ if key in visual['context'] and not html.has_var(key):
html.set_var(key, visual['context'][key])
# Now apply the multiple context filters
Module: check_mk
Branch: master
Commit: 43bee2fa33379f9e3584c15a90edea45e168e8d6
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=43bee2fa33379f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Dec 1 23:26:05 2014 +0100
#1578 FIX Folding states of containers with umlauts in titles are now persisted
---
.werks/1578 | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.werks/1578 b/.werks/1578
new file mode 100644
index 0000000..d0396f9
--- /dev/null
+++ b/.werks/1578
@@ -0,0 +1,10 @@
+Title: Folding states of containers with umlauts in titles are now persisted
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.2.5i7
+Date: 1417453414
+Class: fix
+
+When a foldable container has umlauts in the title, for example when a view
+topic has umlauts in it, the folding state was not persisted across page reloads.
Module: check_mk
Branch: master
Commit: 9e124697cbb309ec0f4329d710e40405447878ed
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9e124697cbb309…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Dec 1 16:46:34 2014 +0100
Fixed werk wording
---
.werks/1545 | 2 +-
ChangeLog | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.werks/1545 b/.werks/1545
index 6c20340..0cc99e7 100644
--- a/.werks/1545
+++ b/.werks/1545
@@ -1,4 +1,4 @@
-Title: Terminating with exit code 3 now when duplicate host has been found
+Title: Check_MK Inventory check is now resulting in correct state on duplicate host
Level: 1
Component: core
Compatible: compat
diff --git a/ChangeLog b/ChangeLog
index ed40651..c553423 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,7 +3,7 @@
* 1439 mk-job: now also available on solaris systems...
* 1483 FIX: Savely replace illegal vertical bars in check plugin output...
* 1431 FIX: windows_agent: fixed error on parsing unicode formatted logfiles...
- * 1545 FIX: Terminating with exit code 3 now when duplicate host has been found
+ * 1545 FIX: Check_MK Inventory check is now resulting in correct state on duplicate host
* 1555 FIX: Improved validation on timeperiod references of non existing periods...
* 1574 FIX: Hosts named like used python modules do not break precompiled checks anymore...