Module: check_mk
Branch: master
Commit: 3ea185584fcc0f38384a0a46bcb92cd3fbe7b3ba
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3ea185584fcc0f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Aug 31 12:40:09 2011 +0200
Updated changelog
---
ChangeLog | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c0d18d6..5d8fa20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
* FIX: Made bulk inventory work in IE
* FIX: Fixed js errors in IE when having not enough space on dashboard
* FIX: fix error when using non-Ascii characters in view title
+ * FIX: fix error on comment page caused by missing sorter
* Views are not reloaded completely anymore. The data tables are reloaded
on their own.
* Open tabs in views do not prevent reloading the displayed data anymore
Module: check_mk
Branch: master
Commit: 0b01894cdb048f813dfb04fc396dc8c0771d4929
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0b01894cdb048f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Aug 27 14:24:07 2011 +0200
Updated bug entries
---
.bugs/362 | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/.bugs/362 b/.bugs/362
new file mode 100644
index 0000000..bbc6e9f
--- /dev/null
+++ b/.bugs/362
@@ -0,0 +1,12 @@
+Title: WATO-Path context gets lost when clicking view in snapin
+Component: multisite
+Benefit: 1
+State: open
+Cost: 2
+Date: 2011-08-27 14:21:47
+Class: bug
+
+When one has a WATO path context (by clicking on the Hosts-Snapin with
+the WATO tree) and then clicks on a new view in the Views-Snapin, then
+that context gets lost. I think it would be better if that context
+would be preserved.
Module: check_mk
Branch: master
Commit: ba4aceeb2dfe1d3bda506f465add76ee8582947f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ba4aceeb2dfe1d…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Sat Aug 27 14:18:40 2011 +0200
FIX: allow Umlauts in view title+description
---
ChangeLog | 1 +
web/htdocs/views.py | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9810bdf..c0d18d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
* FIX: Removed new python syntax which is incompatible with old python versions
* FIX: Made bulk inventory work in IE
* FIX: Fixed js errors in IE when having not enough space on dashboard
+ * FIX: fix error when using non-Ascii characters in view title
* Views are not reloaded completely anymore. The data tables are reloaded
on their own.
* Open tabs in views do not prevent reloading the displayed data anymore
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 862a8ab..356e59d 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -874,7 +874,7 @@ def create_view():
raise MKUserError("view_name", _("Please supply a unique name for the view, this will be used to specify that view in HTTP links."))
if not re.match("^[a-zA-Z0-9_]+$", name):
raise MKUserError("view_name", _("The name of the view may only contain letters, digits and underscores."))
- title = html.var("view_title").strip()
+ title = html.var_utf8("view_title").strip()
if title == "":
raise MKUserError("view_title", _("Please specify a title for your view"))
linktitle = html.var("view_linktitle").strip()
@@ -884,7 +884,7 @@ def create_view():
if not icon:
icon = None
- topic = html.var("view_topic")
+ topic = html.var_utf8("view_topic")
if not topic:
topic = _("Other")
datasourcename = html.var("datasource")
@@ -988,7 +988,7 @@ def create_view():
"topic" : topic,
"linktitle" : linktitle,
"icon" : icon,
- "description" : html.var("view_description", ""),
+ "description" : html.var_utf8("view_description", ""),
"datasource" : datasourcename,
"public" : public,
"hidden" : hidden,
Module: check_mk
Branch: master
Commit: 682a661c5df6a75f56997bd531cd774669dde3e1
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=682a661c5df6a7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Aug 26 14:36:24 2011 +0200
FIX: Made bulk inventory work in IE
---
.bugs/197 | 15 +++++++++++++++
ChangeLog | 1 +
web/htdocs/check_mk.css | 1 +
web/htdocs/js/wato.js | 6 ++++--
4 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/.bugs/197 b/.bugs/197
new file mode 100644
index 0000000..9c73aee
--- /dev/null
+++ b/.bugs/197
@@ -0,0 +1,15 @@
+Title: Dashlet iframe Hintergrund weiß
+Component: multisite
+Benefit: 3
+State: open
+Cost: 2
+Date: 2011-08-26 14:24:58
+Class: nastiness
+
+Momentan ist der Dashlet Hintergrund bei iframes immer weiß. Das sieht nicht gut aus.
+Die Idee scheint mir zu sein, dass jede eingebettete Seite einen Eigenen Hintergrund
+definieren können soll. Ist grundsätzlich sicher auch sinnvoll. Allerdings sollte man
+den Default Hintergrund der Multisite Seite immer als Fallback drin haben.
+
+Interessanterweise funktioniert es im Firefox ordentlich. Da muss man noch mal drüber
+schauen. Eventuell irgendwas im CSS schief.
diff --git a/ChangeLog b/ChangeLog
index abe1d18..9860aee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
* FIX: WATO filtered status GUIs did not update the title after changing
the title of the file/folder in WATO
* FIX: Removed new python syntax which is incompatible with old python versions
+ * FIX: Made bulk inventory work in IE
* Views are not reloaded completely anymore. The data tables are reloaded
on their own.
* Open tabs in views do not prevent reloading the displayed data anymore
diff --git a/web/htdocs/check_mk.css b/web/htdocs/check_mk.css
index c5ac76d..11f60b7 100644
--- a/web/htdocs/check_mk.css
+++ b/web/htdocs/check_mk.css
@@ -2034,6 +2034,7 @@ table.add_snapin i {
padding: 5px;
height: 250px;
overflow: auto;
+ text-align: left;
}
.wato table.progress td.log {
diff --git a/web/htdocs/js/wato.js b/web/htdocs/js/wato.js
index 7e3d447..68e7e40 100644
--- a/web/htdocs/js/wato.js
+++ b/web/htdocs/js/wato.js
@@ -212,8 +212,10 @@ function update_progress_stats(header) {
for(var i = 1; i < header.length; i++) {
var o = document.getElementById('progress_stat' + (i - 1));
if (o) {
- if(progress_success_stats.indexOf(i) !== -1)
- progress_found += parseInt(header[i]);
+ for(var a = 0; a < progress_success_stats.length; a++)
+ if(progress_success_stats[a] == i)
+ progress_found += parseInt(header[i]);
+
o.innerHTML = parseInt(o.innerHTML) + parseInt(header[i]);
o = null;
}