[pkg-nagios-changes] [Git][nagios-team/nagvis][master] 4 commits: New upstream version 1.10.2

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon May 4 10:51:58 BST 2026



Bas Couwenberg pushed to branch master 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
- - - - -
525bdb17 by Bas Couwenberg at 2026-05-04T11:48:21+02:00
Update upstream source from tag 'upstream/1.10.2'

Update to upstream version '1.10.2'
with Debian dir cd7c6f8007ef90c14e4d45a5e51bea97b992f269
- - - - -
ebf82bb6 by Bas Couwenberg at 2026-05-04T11:49:00+02:00
New upstream release.

- - - - -
ce8a8306 by Bas Couwenberg at 2026-05-04T11:49:54+02:00
Set distribution to unstable.

- - - - -


12 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
- debian/changelog
- 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


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+nagvis (1:1.10.2-1) unstable; urgency=medium
+
+  * Team upload.
+  * New upstream release.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 04 May 2026 11:49:43 +0200
+
 nagvis (1:1.10.1-1) unstable; urgency=medium
 
   * Team upload.


=====================================
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/-/compare/7a056ec8a4707fe27c35d710ebdd8c91ef7c07e3...ce8a830648050cfbd8688680e4a78c0c95868db1

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/nagvis/-/compare/7a056ec8a4707fe27c35d710ebdd8c91ef7c07e3...ce8a830648050cfbd8688680e4a78c0c95868db1
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/8039c585/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list