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

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Aug 25 15:27:22 BST 2021



Bas Couwenberg pushed to branch master at Debian Nagios Maintainer Group / pkg-icingaweb2


Commits:
d7e0acd4 by Bas Couwenberg at 2021-08-25T16:20:37+02:00
New upstream version 2.8.5
- - - - -
a47ee749 by Bas Couwenberg at 2021-08-25T16:21:11+02:00
Update upstream source from tag 'upstream/2.8.5'

Update to upstream version '2.8.5'
with Debian dir 9bfac99a73f976c1af70ba0f6af661163f14d0bd
- - - - -
3fb751b2 by Bas Couwenberg at 2021-08-25T16:21:25+02:00
New upstream release.

- - - - -
3a3a6fc2 by Bas Couwenberg at 2021-08-25T16:22:28+02:00
Set distribution to unstable.

- - - - -


17 changed files:

- AUTHORS
- CHANGELOG.md
- VERSION
- application/VERSION
- debian/changelog
- library/Icinga/Application/Version.php
- library/Icinga/Data/Filter/FilterEqual.php
- library/Icinga/Data/Filter/FilterEqualOrGreaterThan.php
- library/Icinga/Data/Filter/FilterEqualOrLessThan.php
- library/Icinga/Data/Filter/FilterLessThan.php
- modules/doc/module.info
- modules/migrate/module.info
- modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php
- modules/monitoring/module.info
- modules/setup/module.info
- modules/test/module.info
- modules/translation/module.info


Changes:

=====================================
AUTHORS
=====================================
@@ -99,6 +99,7 @@ Pieter Lexis <pieter.lexis at powerdns.com>
 PunkoIvan <punkoivan at gmail.com>
 Ramy Talal <ramy at thinkquality.nl>
 Raphael Bicker <raphael at bicker.ch>
+Ravi Kumar Kempapura Srinivasa <ravi.srinivasa at icinga.com>
 rbelinsky <rbelinsky at dalet.com>
 realitygaps <github at gapsinreality.com>
 Rene Moser <rene.moser at swisstxt.ch>


=====================================
CHANGELOG.md
=====================================
@@ -4,6 +4,13 @@ Please make sure to always read our [Upgrading](doc/80-Upgrading.md) documentati
 
 ## What's New
 
+### What's New in Version 2.8.5
+
+This minor release backports two small fixes to the v2.8.x branch:
+
+* Host- and Servicegroups with not only lowercase names are not found in CI searches with PostgreSQL [#4508](https://github.com/Icinga/icingaweb2/issues/4508)
+* Check if the column in the row is set for filters [#4511](https://github.com/Icinga/icingaweb2/pull/4511)
+
 ### What's New in Version 2.8.4
 
 This release only contains a single fix for flattened custom variables. [#4439](https://github.com/Icinga/icingaweb2/issues/4439)


=====================================
VERSION
=====================================
@@ -1 +1 @@
-v2.8.4
+v2.8.5


=====================================
application/VERSION
=====================================
@@ -1 +1 @@
-800378d819cb54d2fbb7b26c0d8ef19edbd16788 2021-07-27 15:48:44 +0200
+9a78fab17bf13552f57b115fac20a7e438c28669 2021-08-24 09:46:18 +0200


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+icingaweb2 (2.8.5-1) unstable; urgency=medium
+
+  * Team upload.
+  * New upstream release.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 25 Aug 2021 16:22:15 +0200
+
 icingaweb2 (2.8.4-1) unstable; urgency=medium
 
   * Team upload.


=====================================
library/Icinga/Application/Version.php
=====================================
@@ -8,7 +8,7 @@ namespace Icinga\Application;
  */
 class Version
 {
-    const VERSION = '2.8.4';
+    const VERSION = '2.8.5';
 
     /**
      * Get the version of this instance of Icinga Web 2


=====================================
library/Icinga/Data/Filter/FilterEqual.php
=====================================
@@ -7,6 +7,10 @@ class FilterEqual extends FilterExpression
 {
     public function matches($row)
     {
+        if (! isset($row->{$this->column})) {
+            return false;
+        }
+
         return (string) $row->{$this->column} === (string) $this->expression;
     }
 }


=====================================
library/Icinga/Data/Filter/FilterEqualOrGreaterThan.php
=====================================
@@ -7,6 +7,10 @@ class FilterEqualOrGreaterThan extends FilterExpression
 {
     public function matches($row)
     {
+        if (! isset($row->{$this->column})) {
+            return false;
+        }
+
         return (string) $row->{$this->column} >= (string) $this->expression;
     }
 }


=====================================
library/Icinga/Data/Filter/FilterEqualOrLessThan.php
=====================================
@@ -17,6 +17,10 @@ class FilterEqualOrLessThan extends FilterExpression
 
     public function matches($row)
     {
+        if (! isset($row->{$this->column})) {
+            return false;
+        }
+
         return (string) $row->{$this->column} <= (string) $this->expression;
     }
 }


=====================================
library/Icinga/Data/Filter/FilterLessThan.php
=====================================
@@ -17,6 +17,10 @@ class FilterLessThan extends FilterExpression
 
     public function matches($row)
     {
+        if (! isset($row->{$this->column})) {
+            return false;
+        }
+
         return (string) $row->{$this->column} < (string) $this->expression;
     }
 }


=====================================
modules/doc/module.info
=====================================
@@ -1,4 +1,4 @@
 Module: doc
-Version: 2.8.4
+Version: 2.8.5
 Description: Documentation module
  Extracts, shows and exports documentation for Icinga Web 2 and its modules.


=====================================
modules/migrate/module.info
=====================================
@@ -1,5 +1,5 @@
 Module: migrate
-Version: 2.8.4
+Version: 2.8.5
 Description: Migrate module
  This module was introduced with the domain-aware authentication feature in version 2.5.0.
  It helps you migrating users and user configurations according to a given domain.


=====================================
modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php
=====================================
@@ -573,7 +573,10 @@ abstract class IdoQuery extends DbQuery
         $column = $subQuery->aliasToColumnName($alias);
         if (isset($this->caseInsensitiveColumns[$subQuery->aliasToTableName($alias)][$alias])) {
             $column = 'LOWER( ' . $column . ' )';
+            $subQueryFilter->setColumn($column);
             $subQueryFilter->setExpression(array_map('strtolower', (array) $subQueryFilter->getExpression()));
+        } else {
+            $subQueryFilter->setColumn($column);
         }
 
         $additional = null;
@@ -653,10 +656,6 @@ abstract class IdoQuery extends DbQuery
         $exists = new FilterExpression($negate ? 'NOT EXISTS' : 'EXISTS', '', new Zend_Db_Expr($subQuery));
 
         if ($additional !== null) {
-            $alias = $additional->getColumn();
-            $this->requireColumn($alias);
-            $additional->setColumn($this->aliasToColumnName($alias));
-
             return Filter::matchAll($exists, $additional);
         }
 


=====================================
modules/monitoring/module.info
=====================================
@@ -1,5 +1,5 @@
 Module: monitoring
-Version: 2.8.4
+Version: 2.8.5
 Description: Icinga monitoring module
  IDO accessor and UI for your monitoring. This is the initial instalment for a
  graphical presentation of Icinga environments. The predecessor of Icinga DB.


=====================================
modules/setup/module.info
=====================================
@@ -1,5 +1,5 @@
 Module: setup
-Version: 2.8.4
+Version: 2.8.5
 Description: Setup module
  Web based wizard for setting up Icinga Web 2 and its modules.
  This includes the data backends (e.g. relational database, LDAP),


=====================================
modules/test/module.info
=====================================
@@ -1,5 +1,5 @@
 Module: test
-Version: 2.8.4
+Version: 2.8.5
 Description: Translation module
  This module allows developers to run (unit) tests against Icinga Web 2 and
  any of its modules. Usually you do not need to enable this.


=====================================
modules/translation/module.info
=====================================
@@ -1,5 +1,5 @@
 Module: translation
-Version: 2.8.4
+Version: 2.8.5
 Description: Translation module
  This module allows developers and translators to translate Icinga Web 2 and
  its modules for multiple languages. You do not need this module to run an



View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icingaweb2/-/compare/9d384372746d101d4d8ebdaa97a4dfdd57763ae6...3a3a6fc2bcddd96aff90cd88d71ed7047f2a4e31

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icingaweb2/-/compare/9d384372746d101d4d8ebdaa97a4dfdd57763ae6...3a3a6fc2bcddd96aff90cd88d71ed7047f2a4e31
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/20210825/37cdaf8d/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list