[pkg-nagios-changes] [Git][nagios-team/nagvis][upstream] New upstream version 1.10.2
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Mon May 4 10:52:01 BST 2026
Bas Couwenberg pushed to branch upstream at Debian Nagios Maintainer Group / nagvis
Commits:
7f79e6ee by Bas Couwenberg at 2026-05-04T11:48:16+02:00
New upstream version 1.10.2
- - - - -
11 changed files:
- ChangeLog
- − changelog.d/feat-dark-mode-popups.md
- − changelog.d/fix-bw-line-js-crash.md
- − changelog.d/fix-geomap-php82-dynamic-property.md
- − changelog.d/fix-lazy-load-group-members.md
- − changelog.d/fix-role-perms-max-input-vars.md
- − changelog.d/fix-worldmap-relative-lines.md
- − changelog.d/fix-zoom-fill-empty-map.md
- share/frontend/nagvis-js/js/ElementGadget.js
- share/frontend/nagvis-js/js/ElementTile.js
- share/server/core/defines/global.php
Changes:
=====================================
ChangeLog
=====================================
@@ -1,4 +1,14 @@
+1.10.2
+ * FIX: JS crash on maps with image gadgets caused by block-scoped const introduced in var-to-let refactor
+
1.10.1
+ * Feature: NagVis popup dialogs show white/light theme when browser or OS is in dark mode
+ * FIX: JavaScript crash on maps with BW lines when only one of the in/out perfdata labels is matched
+ * FIX: Geomap source leaks lat/long into map config causing PHP 8.2 dynamic property deprecation warnings
+ * FIX: Fix PHP memory exhaustion on maps with large host/servicegroups by lazily loading group members on demand (#437)
+ * FIX: Updating role permissions silently fails when there are many maps due to PHP max_input_vars limit being exceeded
+ * FIX: Worldmap lines with both endpoints relative to hosts disappear after zoom or page refresh
+ * FIX: Setting zoom to "Fill screen" on an empty map corrupts the URL with zoom=NaN and makes the map disappear
1.10.0
* FIX: Align code standards with PSR-12 (#378 Thanks to miken32)
=====================================
changelog.d/feat-dark-mode-popups.md deleted
=====================================
@@ -1 +0,0 @@
-Feature: NagVis popup dialogs show white/light theme when browser or OS is in dark mode
=====================================
changelog.d/fix-bw-line-js-crash.md deleted
=====================================
@@ -1 +0,0 @@
-FIX: JavaScript crash on maps with BW lines when only one of the in/out perfdata labels is matched
=====================================
changelog.d/fix-geomap-php82-dynamic-property.md deleted
=====================================
@@ -1 +0,0 @@
-FIX: Geomap source leaks lat/long into map config causing PHP 8.2 dynamic property deprecation warnings
=====================================
changelog.d/fix-lazy-load-group-members.md deleted
=====================================
@@ -1 +0,0 @@
-FIX: Fix PHP memory exhaustion on maps with large host/servicegroups by lazily loading group members on demand (#437)
=====================================
changelog.d/fix-role-perms-max-input-vars.md deleted
=====================================
@@ -1 +0,0 @@
-FIX: Updating role permissions silently fails when there are many maps due to PHP max_input_vars limit being exceeded
=====================================
changelog.d/fix-worldmap-relative-lines.md deleted
=====================================
@@ -1 +0,0 @@
-FIX: Worldmap lines with both endpoints relative to hosts disappear after zoom or page refresh
=====================================
changelog.d/fix-zoom-fill-empty-map.md deleted
=====================================
@@ -1 +0,0 @@
-FIX: Setting zoom to "Fill screen" on an empty map corrupts the URL with zoom=NaN and makes the map disappear
=====================================
share/frontend/nagvis-js/js/ElementGadget.js
=====================================
@@ -111,8 +111,9 @@ const ElementGadget = Element.extend({
else sParams = "&" + sParams;
this.detectGadgetType(sParams);
+ let oGadget;
if (this.gadget_type === "img") {
- const oGadget = document.createElement("img");
+ oGadget = document.createElement("img");
// Register controls reposition handler to handle resizes during
// loading the image (from alt="" text to the real image)
=====================================
share/frontend/nagvis-js/js/ElementTile.js
=====================================
@@ -63,15 +63,15 @@ const ElementTile = Element.extend({
// Status image
if (this.obj.conf.icon !== null && this.obj.conf.icon !== "") {
- const oImg = document.createElement("img");
- oImg.className = "state";
- oImg.align = "right";
- oImg.src = oGeneralProperties.path_iconsets + this.obj.conf.icon;
- oImg.style.width = this.obj.conf.icon_size + "px";
- oImg.style.height = this.obj.conf.icon_size + "px";
- oImg.alt = this.obj.stateText();
+ const oStateImg = document.createElement("img");
+ oStateImg.className = "state";
+ oStateImg.align = "right";
+ oStateImg.src = oGeneralProperties.path_iconsets + this.obj.conf.icon;
+ oStateImg.style.width = this.obj.conf.icon_size + "px";
+ oStateImg.style.height = this.obj.conf.icon_size + "px";
+ oStateImg.alt = this.obj.stateText();
- oLink.appendChild(oImg);
+ oLink.appendChild(oStateImg);
}
// Title
@@ -81,11 +81,11 @@ const ElementTile = Element.extend({
// Only show map thumb when configured
if (oPageProperties.showmapthumbs == 1 && this.obj.conf.overview_image != "") {
- oImg = document.createElement("img");
- oImg.style.width = "200px";
- oImg.style.height = "150px";
- oImg.src = this.obj.conf.overview_image;
- oLink.appendChild(oImg);
+ const oThumbImg = document.createElement("img");
+ oThumbImg.style.width = "200px";
+ oThumbImg.style.height = "150px";
+ oThumbImg.src = this.obj.conf.overview_image;
+ oLink.appendChild(oThumbImg);
}
div.appendChild(oLink);
=====================================
share/server/core/defines/global.php
=====================================
@@ -24,7 +24,7 @@
*****************************************************************************/
// NagVis Version
-const CONST_VERSION = '1.10.1';
+const CONST_VERSION = '1.10.2';
// Set PHP error handling to standard level
// Different levels for php versions below 5.1 because PHP 5.1 reports
View it on GitLab: https://salsa.debian.org/nagios-team/nagvis/-/commit/7f79e6ee9c7747dfaff9696cb5119aa96824d7e5
--
View it on GitLab: https://salsa.debian.org/nagios-team/nagvis/-/commit/7f79e6ee9c7747dfaff9696cb5119aa96824d7e5
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20260504/e154ad92/attachment-0001.htm>
More information about the pkg-nagios-changes
mailing list