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
Sukhwinder Dhillon
1b1eb3436f
sql: Change charset to `utf8mb4`
...
fixes https://github.com/Icinga/icingaweb2/issues/4680
2022-05-02 15:36:31 +02:00
Johannes Meyer
1dec3426c9
Merge pull request #4762 from Icinga/remove-vagrant-assets
...
Remove the Vagrant file and all its assets
2022-05-02 13:17:25 +02:00
raviks789
199ea6f965
Prevent use of empty filters in FilterChain::toQueryString()
...
Due to instantiation of filters using Filter::matchAll() in ObjectList::getFilter(), we get an empty FilterAnd instance when
$this->filter is null. This prepends unnecessary separator '&' to the query string during conversion of filter to querystring.
This breaks the state badge links for host and service lists.
2022-04-29 10:38:26 +02:00
Sukhwinder Dhillon
f54ca18011
Update `80-Upgrading.md`
2022-04-29 10:25:38 +02:00
Sukhwinder Dhillon
b0d776a850
Add changes to `CONTRIBUTING.md` and `RELEASE.md`
2022-04-29 10:25:19 +02:00
Sukhwinder Dhillon
09e8644753
Remove the Vagrant file and all its assets
2022-04-29 10:16:50 +02:00
Johannes Meyer
c5cf7abf0d
IdoQuery: Avoid passing `null` to preg_replace()
...
refs #4640
2022-04-19 15:01:52 +02:00
Johannes Meyer
bc6b17b850
Revert "ActionController: Don't override `X-Icinga-Title` when it's already set"
...
This reverts commit 4cff1feb8f
.
It's broken and obsolete since https://github.com/Icinga/ipl-web/pull/72 .
2022-04-12 14:56:28 +02:00
Alexander A. Klimov
e6eb1540c0
Monitoring: permit disabling IDO backends no Icinga writes to
2022-04-11 16:40:22 +02:00
Patrick Dolinic
f9ec105537
Monitoring: Delete unnecessary cli-command
2022-04-11 13:31:59 +02:00
Alexander Aleksandrovič Klimov
2fcee6a073
ConfigObject#get(): reduce code complexity
...
and save a few CPU cycles.
2022-04-11 13:31:16 +02:00
Alexander Aleksandrovič Klimov
874af33d81
Correct Auth#getUser() type spec
...
Doc says it may be null.
2022-04-11 13:30:24 +02:00
Alexander Aleksandrovič Klimov
32e958e4da
Fix typo
2022-04-11 13:29:41 +02:00
Johannes Meyer
dcb83d9ab5
PreferenceForm: Always enable mode selection if user theme is compatible
...
fixes #4744
2022-04-11 13:28:36 +02:00
Johannes Meyer
a621229240
Merge pull request #4698 from Icinga/bugfix/set-modal-title-from-response-header-on-autosubmit
...
Set modal title from response header on auto/formsubmit
2022-04-11 13:26:42 +02:00