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
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
Yonas Habteab
2be192679b
modal.js: Set modal title from resp header on autosubmit
2022-04-11 13:26:08 +02:00
Yonas Habteab
4cff1feb8f
ActionController: Don't override `X-Icinga-Title` when it's already set
2022-04-11 13:26:08 +02:00
Johannes Meyer
9225462262
Fix that false values in dropdowns get ignored
...
plus some more fixes in the same area
2022-04-06 16:34:34 +02:00
Johannes Meyer
4f699395f4
RELEASE.md: Enhance command examples
2022-04-06 10:57:45 +02:00
Johannes Meyer
f6c175ef13
Merge branch 'release/v2.10.1'
2022-04-06 09:34:23 +02:00
Johannes Meyer
96e169fea0
Update CHANGELOG.md
2022-04-06 09:34:11 +02:00
Johannes Meyer
95d0ac018c
Raise version to 2.10.1
2022-04-06 09:34:11 +02:00
Johannes Meyer
ed82c3c516
Update AUTHORS
2022-04-06 09:34:11 +02:00
Florian Strohmaier
f215497330
CSS: Improve sidebar contrast
...
refs #4720
2022-04-05 15:24:41 +02:00
Johannes Meyer
1422f50fad
RoleForm: Don't pass null to `preg_match`
2022-03-29 16:35:23 +02:00
moreamazingnick
ba677de0c6
Fix missing global theme check refs #4723 ( #4724 )
2022-03-29 16:34:35 +02:00
Johannes Meyer
d63f645bd8
Update requirements for PHP 8.1
2022-03-24 15:46:26 +01:00
Johannes Meyer
38103bed83
Add missing php 8.1 change...
2022-03-24 15:41:16 +01:00
Johannes Meyer
42997566bb
Merge pull request #4640 from Icinga/php-81-support
...
PHP 8.1 Support
2022-03-24 15:40:01 +01:00
Johannes Meyer
1717afbe39
event-history.phtml: Use `Intl` to localize dates
...
instead of `strftime`, which is deprecated
2022-03-24 12:29:06 +01:00
Johannes Meyer
8dbbe26a1a
Use type declarations for all translation helpers
2022-03-24 12:29:06 +01:00
Thomas Gelf
83567ebad2
Avoid passing `null` to non-nullable arguments
2022-03-24 12:29:06 +01:00
Johannes Meyer
3dc384fb58
Avoid passing `null` to non-nullable arguments
2022-03-24 12:29:06 +01:00
Johannes Meyer
dd3ceaa637
Implementing `Serializable` requires now `__serialize` and `__unserialize`
2022-03-24 12:29:06 +01:00
Johannes Meyer
c038e84fc2
Ensure Return Type Compatibility with Internal Classes
2022-03-24 12:29:06 +01:00
Johannes Meyer
f2b2893b51
Run tests on PHP 8.1
2022-03-24 12:29:05 +01:00