Commit Graph

13801 Commits

Author SHA1 Message Date
Yonas Habteab 2279502265 SingleValueSearchControl: Add default class to the search suggestions 2022-05-27 14:26:16 +02:00
Johannes Meyer e602db3073 ui.js: Don't trigger `layout-change` before the app is initialized 2022-05-27 14:21:47 +02:00
Sukhwinder Dhillon 26f3fa0dc1 PdfExport: Show decoded url in pdf footer 2022-05-27 14:20:15 +02:00
Johannes Meyer db51fd79ab
Merge pull request #4765 from Icinga/drop-ini-backend-support
Drop ini backend support
2022-05-27 14:19:00 +02:00
Sukhwinder Dhillon bbbe9eef22 PreferencesCommand: Introduce method `loadIniFile()` and remove not required code 2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon b3998856af Revert "Remove class `PreferencesCommand`"
This reverts commit ea03ecd779ffd8b38cbddefadf8c29712e4171dd.
2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon 09d378ab65 ApplicationConfigForm: Remove loop and simplify the code 2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon 41a23c3eb3 Update doc 2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon a250202fa3 ApplicationConfigForm: Remove not required Form elements 2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon aad2419545 Remove obsolete `config_backend` option and not required code
The user preferences backend is now always a `db`.
2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon e7c368b09d PreferencesStore: Fix syntax 2022-05-27 14:02:11 +02:00
Sukhwinder Dhillon a20d5ad1f6 Update `80-Upgrading.md` 2022-05-27 14:02:07 +02:00
Sukhwinder Dhillon 0eb3b27e68 PreferencesStore: Remove not required method `setTable()` 2022-05-27 13:55:48 +02:00
Sukhwinder Dhillon fa7f100c03 PreferencesStore: Add new syntax 2022-05-27 13:55:48 +02:00
Sukhwinder Dhillon 18ecd444c4 Remove class `PreferencesCommand` 2022-05-27 13:55:48 +02:00
Sukhwinder Dhillon d8895669b3 Remove class `IniStoreTest` 2022-05-27 13:55:48 +02:00
Sukhwinder Dhillon 213c60334a Rename class `DbStoreTest` to `PreferencesStoreTest` 2022-05-27 13:55:48 +02:00
Sukhwinder Dhillon 566f5db8cf Add all `DbStore.php` class code to `PreferencesStore.php`
Remove `DbStore.php`

Since all user preferences must be stored in the database, it is
not necessary to have a child class.
2022-05-27 13:55:48 +02:00
Sukhwinder Dhillon 8ff1a22df7 Set preferences store type to `Db` and make it non-configurable 2022-05-27 13:55:48 +02:00
Sukhwinder Dhillon 9c6fda7b33 Remove `IniStore.php` 2022-05-27 13:55:48 +02:00
Yonas Habteab 340364ee9c Json: Fix trying to decode null data deprecation error 2022-05-24 14:49:07 +02:00
Johannes Meyer 74022ae4e0
Merge pull request #4697 from Icinga/feature/redesigned-user-menu-new
Feature/redesigned user menu
2022-05-16 09:04:26 +02:00
Florian Strohmaier 2a6d66929c navigation.js: Retrieve focussed element more efficiently 2022-05-16 08:27:10 +02:00
Johannes Meyer 9c04776431
Merge pull request #4785 from Icinga/get-dbconnection-renderFilterExpression-up2date
Get `DbConnection::renderFilterExpression()` up to date
2022-05-13 17:01:20 +02:00
Johannes Meyer 644d5eaba7 DbConnection: Ensure compat with PHP 8.1 in `renderFilterExpression` 2022-05-13 16:54:19 +02:00
Johannes Meyer 03e7041ccb DbConnection: Support wildcards in arrays in `renderFilterExpression` 2022-05-13 16:54:19 +02:00
Johannes Meyer 0a41c52002
Merge pull request #4768 from Icinga/fix/object-name-wildcard-filter
Change FilterMatch to FilterEqual class for single object filter on object name.
2022-05-12 16:39:31 +02:00
Johannes Meyer 0f64e24f99 MonitoredObject: Register filters with `whereEx()` 2022-05-12 16:33:30 +02:00
raviks789 8898ed85ab Change FilterMatch to FilterEqual class for single object filter on object name.
Correspondingly the DbConnection::renderFilter() (as DbQuery::renderFilter() is deprecated and will be removed, hence no modifications here)
is also modified to render accordingly.
This correctly selects the host, service or contact in case the object name contains wild card characters like "\*".
2022-05-12 16:28:35 +02:00
Johannes Meyer 3edb5c3c94 IdoQuery: Introduce method `whereEx()` 2022-05-12 16:28:35 +02:00
Florian Strohmaier df788ac0ef BadgeNavigationItemRenderer: Add `$cssClass` on autorefresh 2022-05-12 15:13:16 +02:00
Florian Strohmaier c68fbb662e Menu.php: Add classes for nav-items to only be shown on mobile 2022-05-12 15:13:16 +02:00
Florian Strohmaier 04199915fe monitoring/configuration: Do not add ‘Monitoring Health’ item 2022-05-12 15:13:16 +02:00
Florian Strohmaier b7f4b30935 layout.less: Fix footer alignment, when `.sidebar-collapsed
fixes #4756
2022-05-12 15:13:16 +02:00
Florian Strohmaier c9c5823d6a navigation.js: Adjust for `.config-menu` 2022-05-12 15:13:16 +02:00
Florian Strohmaier c536ddb5d8 menu.phtml: Use ConfigMenu 2022-05-12 11:10:59 +02:00
Florian Strohmaier f1d79ffc66 CSS: Prevent footer from overlapping sidebar 2022-05-12 11:10:59 +02:00
Florian Strohmaier eeeca5a204 ConfigMenu: create Configmenu class 2022-05-12 11:10:59 +02:00
Florian Strohmaier ddd630117a menu.less: Align `.config-menu` 2022-05-12 11:10:59 +02:00
Florian Strohmaier 29ef96349c Stylesheet: load configmenu.less 2022-05-12 11:10:59 +02:00
Florian Strohmaier 1d2d37791f Add configmenu.less 2022-05-12 11:10:59 +02:00
Johannes Meyer 84f4ced3d8 css: Fix fontawesome icon layout in the menu 2022-05-12 10:16:17 +02:00
Sukhwinder Dhillon 707775fe26
Fix: Scheme and hostname prepended to col2 url in the address bar (#4777) 2022-05-11 14:45:31 +02:00
Johannes Meyer 2a80e8bca6 Introduce new hook `ThemeLoader` 2022-05-11 14:37:07 +02:00
Johannes Meyer 0b9eecbabc ActionController: Don't override reload rules in `redirectXhr()`
`postDispatchXhr()` also only overrides them if enabled.
2022-05-11 14:26:09 +02:00
Sukhwinder Dhillon 67285ce262
Update dompdf to v1.2.1 (#4759) 2022-05-06 09:37:48 +02:00
Yonas Habteab a1cd7441c5 modal.js: Don't try to hide a modal when there is none
Fixes a bug that when e.g. closing a color picker by clicking the escape key,
also the `modal.hide()` action is performed, even though there was no real modal
opened before, but it seems to react automatically on the escape key click.
2022-05-06 09:18:28 +02:00
Johannes Meyer 6d1d60c35d
Merge pull request #4769 from Icinga/fix-setup-wizard
Fix setup wizard
2022-05-03 14:15:44 +02:00
Sukhwinder Dhillon 48e96ba301 RequirementSet: Fix null returned instead int exception
fixes #4767
2022-05-03 14:08:16 +02:00
Sukhwinder Dhillon cee12fd6a5 Setup Wizard: Fix bool to int cast exception on first page
fixes https://github.com/Icinga/icingaweb2/issues/4770
2022-05-03 14:07:19 +02:00