From 627fa84db1869af5a101fa2e44d2e074fd325b93 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 15 Jun 2022 14:17:58 +0200 Subject: [PATCH 1/5] Update .mailmap --- .mailmap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.mailmap b/.mailmap index 3b63aa0e1..3f55aa633 100644 --- a/.mailmap +++ b/.mailmap @@ -39,3 +39,5 @@ Thomas Gelf Thomas Gelf Yonas Habteab Ravi Kumar Kempapura Srinivasa <33730024+raviks789@users.noreply.github.com> +Sukhwinder Dhillon <54990055+sukhwinder33445@users.noreply.github.com> +Sukhwinder Dhillon From b497d5406f4431a2641f05733c2c5ecec1a0dcf7 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 15 Jun 2022 14:18:09 +0200 Subject: [PATCH 2/5] Update AUTHORS --- AUTHORS | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index 4816390b2..99aff2f8b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -79,6 +79,7 @@ Markus Opolka Massimiliano Torromeo Matthias Jentsch Matthias +Mattia Codato Max Kozlov Max Stephan mbaschnitzi @@ -89,6 +90,7 @@ Mike Pennisi Mikesch-mp Mikko Peltokangas moreamazingnick +mrdsam <69315803+mrdsam@users.noreply.github.com> Munzir Taha Nicolai Buchwitz Niko Martini @@ -98,6 +100,7 @@ Oliver Rahner p4k8 Paolo Schiro papillon326 +Patrick Dolinic Paul Richards Pavlos Daoglou Peter Eckel @@ -120,9 +123,7 @@ Sander Ferdinand sant-swedge Simone Orsi ss23 -sukhwinder33445 <54990055+sukhwinder33445@users.noreply.github.com> -Sukhwinder Dhillon <54990055+sukhwinder33445@users.noreply.github.com> -Sukhwinder Dhillon +Sukhwinder Dhillon Susanne Vestner-Ludwig Sylph Lin tfylling From f2fe42858429b3a402ddcd4300cc1b381c17b467 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 15 Jun 2022 14:18:26 +0200 Subject: [PATCH 3/5] Update CHANGELOG --- CHANGELOG.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44388f178..c866a8dc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,44 @@ Please make sure to always read our [Upgrading](doc/80-Upgrading.md) documentati ## What's New +### What's New in Version 2.11.0 + +You can find all issues related to this release on our [Roadmap](https://github.com/Icinga/icingaweb2/milestone/70?closed=1). + +#### Enhancements, Some + +Many of you were waiting for it: PHP 8.1 Support. This means that Icinga Web should be available soon on e.g. +Ubuntu 22.04. You'll also notice that we changed the sidebar, as the user menu went to the very bottom of it. +With it moved the less frequently used menu entries (system and configuration) to a section that pops up by +hovering over the :gear: icon. We did that in order to prepare an area where we can add further functionality +in the future. Oh, and announcements are now visible in fullscreen mode. :upside_down_face: + +* Support for PHP 8.1 [#4609](https://github.com/Icinga/icingaweb2/issues/4609) +* Redesign User Menu [#4651](https://github.com/Icinga/icingaweb2/issues/4651) +* &showFullscreen suppresses announcements [#4596](https://github.com/Icinga/icingaweb2/issues/4596) + +#### Fixes, More + +There are also bug fixes of course. The first mentioned here is one we fixed *accidentally*, as by adding support for +PHP 8.1 we avoided a common PHP quirk responsible for it. If you have a host or service with an asterisk in the name, +it will show up correctly in the detail view now. There was also a remaining issue with the theme mode selection in the +user preferences which is fixed now. + +* Navigation item filter `*` not working [#4772](https://github.com/Icinga/icingaweb2/issues/4772) +* Objects with a `*` in the name are not found [#4682](https://github.com/Icinga/icingaweb2/issues/4682) +* Theme mode switch disabled on theme with mode support [#4744](https://github.com/Icinga/icingaweb2/issues/4744) + +#### When developers become cleaning maniacs + +Usually I write a short note at the start of release notes to make you read the upgrading documentation. This time +however, a more prominent hint is required. We've removed so much (legacy) stuff, anyone tasked with upgrading is +obliged to read [the upgrading documentation](https://icinga.com/docs/icinga-web-2/latest/doc/80-Upgrading/#upgrading-to-icinga-web-211x). +The changes mentioned below only provide a glimpse at it. + +* User preferences in INI files not supported anymore [#4765](https://github.com/Icinga/icingaweb2/pull/4765) +* mysql: use of utf8 vs utfmb4 [#4680](https://github.com/Icinga/icingaweb2/issues/4680) +* Remove Vagrant file and its assets [#4762](https://github.com/Icinga/icingaweb2/pull/4762) + ### 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: From 069f249372957bc7e7ca0ca57f98896604d8ef0d Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 15 Jun 2022 14:18:47 +0200 Subject: [PATCH 4/5] doc: Add v2.11.x upgrading notes --- doc/80-Upgrading.md | 75 +++++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 36 deletions(-) diff --git a/doc/80-Upgrading.md b/doc/80-Upgrading.md index b00924448..5de7dda38 100644 --- a/doc/80-Upgrading.md +++ b/doc/80-Upgrading.md @@ -3,12 +3,12 @@ Specific version upgrades are described below. Please note that upgrades are incremental. An upgrade from v2.6 to v2.8 requires to follow the instructions for v2.7 too. -## Upgrading to Icinga Web 2 2.11.x +## Upgrading to Icinga Web 2.11.x + +**General** * Support for Internet Explorer 11 has been removed. * The Vagrant file and all its assets have been removed. -* The `IniStore` class has been removed due to the deprecation of the Preferences ini backend. -* The `DbStore` class has been removed and its methods have been added to `PreferencesStore` class. **Database Schema** @@ -19,46 +19,49 @@ v2.6 to v2.8 requires to follow the instructions for v2.7 too. **Breaking changes** * The `user:local_name` macro in restrictions has been removed. Use `user.local_name` now. +* User preferences stored in INI files are not loaded anymore. Migrate yours with + `icingacli migrate preferences` before the upgrade, if you haven't already. **Framework changes affecting third-party code** -* All the following deprecated php classes and methods are removed: +* When loading library CSS assets, CSS files and LESS files are handled differently now. Only the latter + is parsed as LESS. +* jQuery is not bundled anymore as it's now part of the library icinga-php-thirdparty v0.11.0. It's shipped there + in version 3.6.0. (Previously bundled was jQuery 3.4.1) +* All the following classes and methods were removed: **Methods:** -+ `Url::setBaseUrl()`: Please create a new url from scratch instead. -+ `Url::getBaseUrl()`: Use either `Url::getBasePath()` or `Url::getAbsoluteUrl()` now. -+ `ApplicationBootstrap::setupZendAutoloader()`: Since it does nothing. All uses removed. -+ `ApplicationBootstrap::listLocales()`: Use `\ipl\I18n\GettextTranslator::listLocales()` instead. -+ `Module::registerHook()`: Use `provideHook()` instead. -+ `Web::getMenu()`: Instantiate the menu class `new Menu()` directly instead. -+ `AesCrypt::encryptToBase64()`: Use `AesCrypt::encrypt()` instead as it also returns a base64 encoded string. -+ `AesCrypt::decryptFromBase64()`: Use `AesCrypt::decrypt()` instead as it also returns a base64 decoded string. -+ `InlinePie::disableNoScript()`: Empty method. -+ `SimpleQuery::paginate()`: Use `Icinga\Web\Controller::setupPaginationControl()` and/or `Icinga\Web\Widget\Paginator` instead. -+ `LdapConnection::connect()`: The connection is established lazily now. -+ `MonitoredObject::matches()`: Use `$filter->matches($object)` instead. -+ `MonitoredObject::fromParams()`: Deleted without substitution. -+ `DataView::fromRequest()`: Use `$backend->select()->from($viewName)` instead. -+ `DataView::sort()`: Use `DataView::order()` instead. -+ `MonitoringBackend::createBackend()`: Use `MonitoringBackend::instance()` instead. -+ `DbConnection::getConnection()`: Use `Connection::getDbAdapter()` instead. -+ `DbQuery::renderFilter()`: Use `DbConnection::renderFilter()` instead. -+ `DbQuery::whereToSql()`: Use `DbConnection::renderFilter()` instead. -+ `DataView::applyUrlFilter()`: Not in use. + * `loader.js.addUrlFlag()`: Use `Icinga.Utils.addUrlFlag()` instead. + * `Url::setBaseUrl()`: Please create a new url from scratch instead. + * `Url::getBaseUrl()`: Use either `Url::getBasePath()` or `Url::getAbsoluteUrl()` now. + * `ApplicationBootstrap::setupZendAutoloader()`: Since it does nothing, all usages removed. + * `ApplicationBootstrap::listLocales()`: Use `\ipl\I18n\GettextTranslator::listLocales()` instead. + * `Module::registerHook()`: Use `provideHook()` instead. + * `Web::getMenu()`: Instantiate the menu class `new Menu()` directly instead. + * `AesCrypt::encryptToBase64()`: Use `AesCrypt::encrypt()` instead as it also returns a base64 encoded string. + * `AesCrypt::decryptFromBase64()`: Use `AesCrypt::decrypt()` instead as it also returns a base64 decoded string. + * `InlinePie::disableNoScript()`: Empty method. + * `SimpleQuery::paginate()`: Use `Icinga\Web\Controller::setupPaginationControl()` and/or `Icinga\Web\Widget\Paginator` instead. + * `LdapConnection::connect()`: The connection is established lazily since .. a long time. + * `MonitoredObject::matches()`: Use `$filter->matches($object)` instead. + * `MonitoredObject::fromParams()`: Deleted without substitution. + * `DataView::fromRequest()`: Use `$backend->select()->from($viewName)` instead. + * `DataView::sort()`: Use `DataView::order()` instead. + * `MonitoringBackend::createBackend()`: Use `MonitoringBackend::instance()` instead. + * `DbConnection::getConnection()`: Use `Connection::getDbAdapter()` instead. + * `DbQuery::renderFilter()`: Use `DbConnection::renderFilter()` instead. + * `DbQuery::whereToSql()`: Use `DbConnection::renderFilter()` instead. **Classes:** -+ `Icinga\Util\String`: Use `Icinga\Util\StringHelper` instead. -+ `Icinga\Util\Translator`: Use `\ipl\I18n\StaticTranslator::$instance` or `\ipl\I18n\Translation` instead. -+ `Icinga\Module\Migrate\Clicommands\DashboardCommand`: Deleted without substitution. -+ `Icinga\Web\Hook\TicketHook`: Use `Icinga\Application\Hook\TicketHook` instead. -+ `Icinga\Web\Hook\GrapherHook`: Use `Icinga\Application\Hook\GrapherHook` instead. -+ `Icinga\Module\Monitoring\Environment`: Not in use. -+ `Icinga\Module\Monitoring\Backend`: Use `Icinga\Module\Monitoring\Backend\MonitoringBackend` instead. - -* All the following deprecated js classes and methods are removed: - - **Methods:** -+ `loader::addUrlFlag()`: Use `Icinga.Utils.addUrlFlag()` instead. + * `Icinga\User\Preferences\Store\IniStore`: Preferences in INI files are not supported anymore. + * `Icinga\User\Preferences\Store\DbStore`: Its methods have been added to the `PreferencesStore` class. + * `Icinga\Util\String`: Use `Icinga\Util\StringHelper` instead. + * `Icinga\Util\Translator`: Use `\ipl\I18n\StaticTranslator::$instance` or `\ipl\I18n\Translation` instead. + * `Icinga\Module\Migrate\Clicommands\DashboardCommand`: Deleted without substitution. + * `Icinga\Web\Hook\TicketHook`: Use `Icinga\Application\Hook\TicketHook` instead. + * `Icinga\Web\Hook\GrapherHook`: Use `Icinga\Application\Hook\GrapherHook` instead. + * `Icinga\Module\Monitoring\Environment`: Not in use. + * `Icinga\Module\Monitoring\Backend`: Use `Icinga\Module\Monitoring\Backend\MonitoringBackend` instead. ## Upgrading to Icinga Web 2 2.10.x From dcf194bc4c113e33aa0703da321a45bbb95ec6cb Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 15 Jun 2022 14:19:19 +0200 Subject: [PATCH 5/5] Raise version to 2.11.0 --- VERSION | 2 +- library/Icinga/Application/Version.php | 2 +- modules/doc/module.info | 2 +- modules/migrate/module.info | 2 +- modules/monitoring/module.info | 2 +- modules/setup/module.info | 2 +- modules/test/module.info | 2 +- modules/translation/module.info | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/VERSION b/VERSION index c0151c8a5..b0c3c5ce9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2.10.1 +v2.11.0 diff --git a/library/Icinga/Application/Version.php b/library/Icinga/Application/Version.php index f184cbfbe..f6642a725 100644 --- a/library/Icinga/Application/Version.php +++ b/library/Icinga/Application/Version.php @@ -8,7 +8,7 @@ namespace Icinga\Application; */ class Version { - const VERSION = '2.10.1'; + const VERSION = '2.11.0'; /** * Get the version of this instance of Icinga Web 2 diff --git a/modules/doc/module.info b/modules/doc/module.info index cd96a2889..d84ea6061 100644 --- a/modules/doc/module.info +++ b/modules/doc/module.info @@ -1,4 +1,4 @@ Module: doc -Version: 2.10.1 +Version: 2.11.0 Description: Documentation module Extracts, shows and exports documentation for Icinga Web 2 and its modules. diff --git a/modules/migrate/module.info b/modules/migrate/module.info index 50d872015..05ccf8ffd 100644 --- a/modules/migrate/module.info +++ b/modules/migrate/module.info @@ -1,5 +1,5 @@ Module: migrate -Version: 2.10.1 +Version: 2.11.0 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. diff --git a/modules/monitoring/module.info b/modules/monitoring/module.info index 74c6c59d6..06e04af2d 100644 --- a/modules/monitoring/module.info +++ b/modules/monitoring/module.info @@ -1,5 +1,5 @@ Module: monitoring -Version: 2.10.1 +Version: 2.11.0 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. diff --git a/modules/setup/module.info b/modules/setup/module.info index 98f0b7c82..9ba59a3c1 100644 --- a/modules/setup/module.info +++ b/modules/setup/module.info @@ -1,5 +1,5 @@ Module: setup -Version: 2.10.1 +Version: 2.11.0 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), diff --git a/modules/test/module.info b/modules/test/module.info index b7d9c61ae..c28d0224e 100644 --- a/modules/test/module.info +++ b/modules/test/module.info @@ -1,5 +1,5 @@ Module: test -Version: 2.10.1 +Version: 2.11.0 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. diff --git a/modules/translation/module.info b/modules/translation/module.info index d5561528f..8147eb67b 100644 --- a/modules/translation/module.info +++ b/modules/translation/module.info @@ -1,5 +1,5 @@ Module: translation -Version: 2.10.1 +Version: 2.11.0 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.