[pkg-nagios-changes] [Git][nagios-team/pkg-icingaweb2][upstream] New upstream version 2.10.1

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Apr 6 17:41:24 BST 2022



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


Commits:
c41c4a8a by Bas Couwenberg at 2022-04-06T18:33:21+02:00
New upstream version 2.10.1
- - - - -


16 changed files:

- AUTHORS
- CHANGELOG.md
- VERSION
- application/VERSION
- application/forms/PreferenceForm.php
- library/Icinga/Application/Version.php
- modules/doc/module.info
- modules/migrate/module.info
- modules/monitoring/application/controllers/TacticalController.php
- modules/monitoring/application/views/scripts/partials/object/quick-actions.phtml
- modules/monitoring/module.info
- modules/setup/module.info
- modules/test/module.info
- modules/translation/module.info
- public/css/icinga/base.less
- public/js/icinga/behavior/actiontable.js


Changes:

=====================================
AUTHORS
=====================================
@@ -88,6 +88,7 @@ Michael T. DeGuzis <mdeguzis at users.noreply.github.com>
 Mike Pennisi <mike at mikepennisi.com>
 Mikesch-mp <Mikesch-mp at koebbes.de>
 Mikko Peltokangas <mikko at peltokangas.org>
+moreamazingnick <github at nicolas-schneider.at>
 Munzir Taha <munzirtaha at gmail.com>
 Nicolai Buchwitz <nicolai.buchwitz at enda.eu>
 Niko Martini <niko.martini at netways.de>


=====================================
CHANGELOG.md
=====================================
@@ -4,6 +4,16 @@ Please make sure to always read our [Upgrading](doc/80-Upgrading.md) documentati
 
 ## What's New
 
+### What's New in Version 2.10.1
+
+It's a rather small update this time without any critical bugs. :tada: So let's get straight to the fixes:
+
+* Clicking anywhere on a list item in the dashboard now opens the primary link again, instead of nothing [#4710](https://github.com/Icinga/icingaweb2/issues/4710)
+* The `Check Now` and `Remove Acknowledgement` quick actions in an object's detail header are now working again [#4711](https://github.com/Icinga/icingaweb2/issues/4711)
+* Clicking on the big number in the tactical overview if there are `UNKNOWN` services, shows `UNKNOWN` services now [#4714](https://github.com/Icinga/icingaweb2/issues/4714)
+* The contrast of text in the sidebar, while in light mode, has been increased [#4720](https://github.com/Icinga/icingaweb2/issues/4720)
+* A theme without mode support, which is set globally, now also prevents users from configuring the mode [#4723](https://github.com/Icinga/icingaweb2/issues/4723)
+
 ### What's New in Version 2.10.0
 
 You can find all issues related to this release on our [Roadmap](https://github.com/Icinga/icingaweb2/milestone/63?closed=1).


=====================================
VERSION
=====================================
@@ -1 +1 @@
-v2.10.0
+v2.10.1


=====================================
application/VERSION
=====================================
@@ -1 +1 @@
-f1dc03fd8553fe58ef85ca6fb607fe2922c3e078 2022-03-23 11:53:12 +0100
+974729a6421c17fdb8bb1931623107cf6a90fc7e 2022-04-06 09:30:05 +0200


=====================================
application/forms/PreferenceForm.php
=====================================
@@ -186,6 +186,7 @@ class PreferenceForm extends Form
             );
         }
 
+        $themeFile = StyleSheet::getThemeFile(Config::app()->get('themes', 'default'));
         if (! (bool) Config::app()->get('themes', 'disabled', false)) {
             $themes = Icinga::app()->getThemes();
             if (count($themes) > 1) {
@@ -212,7 +213,10 @@ class PreferenceForm extends Form
 
         if (isset($formData['theme']) && $formData['theme'] !== StyleSheet::DEFAULT_THEME) {
             $themeFile = StyleSheet::getThemeFile($formData['theme']);
-            $file = $themeFile !== null ? @file_get_contents($themeFile) : false;
+        }
+
+        if ($themeFile !== null) {
+            $file = @file_get_contents($themeFile);
             if ($file && strpos($file, StyleSheet::LIGHT_MODE_IDENTIFIER) === false) {
                 $disabled = ['', 'light', 'system'];
             }


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


=====================================
modules/doc/module.info
=====================================
@@ -1,4 +1,4 @@
 Module: doc
-Version: 2.10.0
+Version: 2.10.1
 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.10.0
+Version: 2.10.1
 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/application/controllers/TacticalController.php
=====================================
@@ -115,7 +115,8 @@ class TacticalController extends Controller
             ->setLabelBigUrl($this->view->filteredUrl(
                 'monitoring/list/services',
                 array(
-                    'service_state' => 2,
+                    'service_state' => $summary->services_critical_unhandled > 0
+                        || ! $summary->services_unknown_unhandled ? 2 : 3,
                     'service_handled' => 0,
                     'sort' => 'service_last_check',
                     'dir' => 'asc'


=====================================
modules/monitoring/application/views/scripts/partials/object/quick-actions.phtml
=====================================
@@ -4,7 +4,7 @@
         <li>
             <?php
             $removeAckForm = clone $removeAckForm;
-            $removeAckForm->setName('quickAction_' . $removeAckForm->getName()); // Avoids id duplication
+            $removeAckForm->setAttrib('id', 'quickAction_' . $removeAckForm->getName()); // Avoids id duplication
             $removeAckForm->setLabelEnabled(true);
             echo $removeAckForm;
             ?>
@@ -43,7 +43,7 @@
         </li>
     <?php endif ?>
     <?php if (isset($checkNowForm)): // Form is unset if the current user lacks the respective permission ?>
-        <?php ($checkNowForm = clone $checkNowForm)->setName('quickAction_' . $checkNowForm->getName()); // Avoids id duplication ?>
+        <?php ($checkNowForm = clone $checkNowForm)->setAttrib('id', 'quickAction_' . $checkNowForm->getName()); // Avoids id duplication ?>
         <li><?= $checkNowForm ?></li>
     <?php endif ?>
     <?php if ($this->hasPermission('monitoring/command/comment/add')): ?>


=====================================
modules/monitoring/module.info
=====================================
@@ -1,5 +1,5 @@
 Module: monitoring
-Version: 2.10.0
+Version: 2.10.1
 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.10.0
+Version: 2.10.1
 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.10.0
+Version: 2.10.1
 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.10.0
+Version: 2.10.1
 Description: Translation module
  This module allows developers and translators to translate modules for multiple
  languages. You do not need this module to run an internationalized web frontend.


=====================================
public/css/icinga/base.less
=====================================
@@ -126,14 +126,14 @@
     --menu-flyout-bg-color: #F5F9FA;
     --tab-hover-bg-color: fade(#F5F9FA, 50%);
 
-    --menu-color: #676767;
+    --menu-color: #535353;
     --menu-bg-color: #DEECF1;
     --menu-hover-bg-color: darken(#DEECF1, 10%);
     --menu-search-hover-bg-color: darken(#DEECF1, 10%);
     --menu-active-bg-color: #EDF7FC;
     --menu-active-hover-bg-color: darken(#EDF7FC, 20%);
     --menu-highlight-hover-bg-color: darken(#EDF7FC, 20%);
-    --menu-2ndlvl-color: #7E8182;
+    --menu-2ndlvl-color: #676767;
 
     --text-color: #535353;
     --text-color-light: fade(#535353, 75%);


=====================================
public/js/icinga/behavior/actiontable.js
=====================================
@@ -348,8 +348,8 @@
          */
         this.loading = false;
 
-        this.on('rendered', '#main > .container', this.onRendered, this);
-        this.on('beforerender', '#main > .container', this.beforeRender, this);
+        this.on('rendered', '#main .container', this.onRendered, this);
+        this.on('beforerender', '#main .container', this.beforeRender, this);
         this.on('click', 'table.action tr[href], table.table-row-selectable tr[href]', this.onRowClicked, this);
     };
     ActionTable.prototype = new Icinga.EventListener();
@@ -437,7 +437,7 @@
         var _this = evt.data.self;
 
         if (evt.currentTarget !== container) {
-            // Nested containers are ignored
+            // Nested containers are not processed multiple times
             return;
         }
 
@@ -481,7 +481,7 @@
         var _this = evt.data.self;
 
         if (evt.currentTarget !== container) {
-            // Nested containers are ignored
+            // Nested containers are not processed multiple times
             return;
         }
 



View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icingaweb2/-/commit/c41c4a8ade36e9d01bf3494dce0a4f18e0476556

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icingaweb2/-/commit/c41c4a8ade36e9d01bf3494dce0a4f18e0476556
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/20220406/c8217d85/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list