[pkg-nagios-changes] [Git][nagios-team/pkg-nagvis][upstream] New upstream version 1.9.28

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sat Nov 27 17:07:26 GMT 2021



Bas Couwenberg pushed to branch upstream at Debian Nagios Maintainer Group / pkg-nagvis


Commits:
38db5282 by Bas Couwenberg at 2021-11-27T17:54:51+01:00
New upstream version 1.9.28
- - - - -


6 changed files:

- ChangeLog
- docs/en_US/extending/iconsets.html
- share/frontend/nagvis-js/js/ElementLine.js
- share/server/core/classes/GlobalCore.php
- share/server/core/defines/global.php
- share/userfiles/templates/default.css


Changes:

=====================================
ChangeLog
=====================================
@@ -1,3 +1,9 @@
+1.9.28
+Frontend
+  * Add support for svg image based icon sets (#298 Thanks to itsul)
+  * FIX: Fix off-screen text input boxes in popups (#300 Thanks to jacobbaungard)
+  * FIX: Fix weathermap lines handling "Bit" of Checkmk checks (#296 Thanks to BlackFlash5)
+
 1.9.27
 Core
   * FIX: Fix PHP 7 (or older) incompatibilities introduced with 1.9.26


=====================================
docs/en_US/extending/iconsets.html
=====================================
@@ -16,7 +16,8 @@
         <h3>Solution</h3>
         <p>Build your own iconset.</p>
         <h2>What is an iconset?</h2>
-        <p>A complete iconset consists of a number of files. These files are png images which are named like this:</p>
+        <p>A complete iconset consists of a number of files. These files are
+        png, svg, gif or jpg images which are named like this:</p>
         <table>
                 <tbody>
                         <tr>


=====================================
share/frontend/nagvis-js/js/ElementLine.js
=====================================
@@ -822,7 +822,7 @@ var ElementLine = Element.extend({
         // Check_MK if/if64 checks support switching between bytes/bits.
         var display_bits = false;
 
-        if (output.match('In: [0-9].*bit/s.*Out: [0-9]+')) {
+        if (output.match('In: [0-9].*[Bit|bit]/s.*Out: [0-9]+')) {
             display_bits=true;
         }
 


=====================================
share/server/core/classes/GlobalCore.php
=====================================
@@ -378,7 +378,7 @@ class GlobalCore {
             foreach(Array(path('sys', 'local',  'icons'),
                           path('sys', 'global', 'icons')) AS $path)
                 if(file_exists($path))
-                    foreach(Array('png', 'gif', 'jpg') AS $ext)
+                    foreach(Array('png', 'gif', 'jpg', 'svg') AS $ext)
                         if(file_exists($path . $iconset . '_ok.'.$ext))
                             return $ext;
 


=====================================
share/server/core/defines/global.php
=====================================
@@ -23,7 +23,7 @@
  *****************************************************************************/
  
 // NagVis Version
-define('CONST_VERSION', '1.9.27');
+define('CONST_VERSION', '1.9.28');
 
 // Set PHP error handling to standard level
 // Different levels for php versions below 5.1 because PHP 5.1 reports


=====================================
share/userfiles/templates/default.css
=====================================
@@ -403,7 +403,6 @@ div#popupWindow h1 {
 #popupWindowContent table.mytable td.tdfield {
     overflow: hidden;
     text-overflow: ellipsis;
-    white-space: nowrap;
 }
 #popupWindowContent input[type="radio"] {
     vertical-align: middle;
@@ -411,7 +410,6 @@ div#popupWindow h1 {
 #popupWindowContent table.mytable tr td.tdlabel input {
     width: 140x;
 }
-#popupWindowContent table.mytable tr td.tdfield input,
 #popupWindowContent table.mytable tr td.tdfield textarea,
 #popupWindowContent table.mytable tr td.tdfield select {
     width: 99%;



View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagvis/-/commit/38db528205e7803b06d9e1ad20c12406048a6c3a

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagvis/-/commit/38db528205e7803b06d9e1ad20c12406048a6c3a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20211127/ae4c97d6/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list