[pkg-nagios-changes] [Git][nagios-team/pkg-nagvis][upstream] New upstream version 1.9.31
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Thu Apr 7 12:20:06 BST 2022
Bas Couwenberg pushed to branch upstream at Debian Nagios Maintainer Group / pkg-nagvis
Commits:
d8df8331 by Bas Couwenberg at 2022-04-07T13:14:18+02:00
New upstream version 1.9.31
- - - - -
6 changed files:
- ChangeLog
- omd_install.sh
- share/server/core/defines/global.php
- share/server/core/defines/matches.php
- share/server/core/mapcfg/default.php
- share/userfiles/templates/default.css
Changes:
=====================================
ChangeLog
=====================================
@@ -1,3 +1,8 @@
+1.9.31
+Frontend:
+ * FIX: Add support for services with single quotes in names (#314 Thanks to Yogibaer75)
+ * FIX: Fix scrolling on overview page (#307 Thanks to ArminRadmueller)
+
1.9.30
Frontend:
* FIX: Fix reload of gadgets in chrome in some situations (#305 Thanks to gzalo)
=====================================
omd_install.sh
=====================================
@@ -145,7 +145,7 @@ cat > $OMD_ROOT/etc/apache/conf.d/nagvis.conf <<EOF
Alias /$OMD_SITE/nagvis/var "$OMD_ROOT/tmp/nagvis/share"
Alias /$OMD_SITE/nagvis "$OMD_ROOT/local/share/nagvis/htdocs"
-<Location ~ "/heute/nagvis/(index\.php|frontend/nagvis-js/index\.php|server/core/ajax_handler\.php)$">
+<Location ~ "/$OMD_SITE/nagvis/(index\.php|frontend/nagvis-js/index\.php|server/core/ajax_handler\.php)$">
Options +ExecCGI
</Location>
=====================================
share/server/core/defines/global.php
=====================================
@@ -23,7 +23,7 @@
*****************************************************************************/
// NagVis Version
-define('CONST_VERSION', '1.9.30');
+define('CONST_VERSION', '1.9.31');
// Set PHP error handling to standard level
// Different levels for php versions below 5.1 because PHP 5.1 reports
=====================================
share/server/core/defines/matches.php
=====================================
@@ -71,6 +71,7 @@ define('MATCH_BACKEND_ID', '/^[0-9a-z._-]*$/iu');
define('MATCH_DOC_DIR', '/^([a-z]{2}_[A-Z]{2})/');
define('MATCH_MAINCFG_FILE', '/^.+\.ini\.php$/i');
+define('MATCH_SERVICE_DESCRIPTION', '/^[0-9a-zа-яё\p{L}\s:+[\]()_.,\'\-\*?!#@=\/\\\]+$/iu');
define('MATCH_MAP_NAME', '/^[0-9A-Za-z_\-]+$/');
define('MATCH_MAP_NAME_EMPTY', '/^[0-9A-Za-z_-]*$/');
define('MATCH_ROTATION_NAME', '/^[0-9A-Za-z_-]+$/');
=====================================
share/server/core/mapcfg/default.php
=====================================
@@ -803,7 +803,7 @@ $mapConfigVars = Array(
'service_description' => Array(
'must' => 1,
- 'match' => MATCH_STRING,
+ 'match' => MATCH_SERVICE_DESCRIPTION,
'field_type' => 'dropdown',
'list' => 'listServiceNames',
),
=====================================
share/userfiles/templates/default.css
=====================================
@@ -119,6 +119,10 @@ div.control.togglemid {
/* new overview page */
+div.infopage {
+ overflow: auto;
+}
+
div.infopage h2 {
margin: 20px 10px 0 10px;
}
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagvis/-/commit/d8df833144cfc04ed3d522f2825885ba8b74847c
--
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-nagvis/-/commit/d8df833144cfc04ed3d522f2825885ba8b74847c
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/20220407/330c46d2/attachment-0001.htm>
More information about the pkg-nagios-changes
mailing list