13719 Commits

Author SHA1 Message Date
Sukhwinder Dhillon
a4d2397dd1 Revert "js: Avoid usage of .matches() as it isn't available with IE11"
This reverts commit cc0c6fc71b06c6883b8af2ae11b40f6b995569d1.
2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon
b64d205e6b layout-structure.less: Remove unused #fileupload-frame-target 2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon
a38d5ccac6 Revert "Form: Process request parameter _frameUpload"
This reverts commit fc481e527bc021144205e9fea88397bdf5ce60bc.
2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon
e4450e7368 Revert "js: Don't serve scripts utilizing ECMA2016+ features"
This reverts commit 4d4f5b3a69f74b939c85fa9510c11ec1be75377c.
2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon
f1e8280c3e Revert "Don't support dark/light mode for IE"
This reverts commit baeca33789aa1b9a38a5377d678a7c22f35866b3.
2022-06-13 15:50:52 +02:00
Johannes Meyer
e050ea53ee RoleController: Include domain of a domain-aware backend..
..when suggesting user names of it
2022-06-13 15:09:42 +02:00
Johannes Meyer
d663fe84c3 DbConnection: Fix that unequal is handled as equal...
refs #4814
2022-06-13 15:05:24 +02:00
Johannes Meyer
1bee2db583 DbConnection: Only ignore the * for equal/unequal conditions
fixes #4813
2022-06-13 14:38:51 +02:00
Mattia Codato
253597c4fb Fix autosubmit of forms with elements named 'id'
refs #4798
2022-06-13 13:04:24 +02:00
Sukhwinder Dhillon
d8ddc6600a overrides customvarsWithOriginalNames only if the given object is of type host
A call to `__get()` reset the array if the given `$name` is a customvar
If `service` has a `host` customvar filter, the `fetchHostVariables()`
method was executed and overwrote the `customvarsWithOriginalNames` array.

fixes #4757
2022-06-13 11:56:57 +02:00
Sukhwinder Dhillon
c0d247613d Manager: Ensure enableModule dir has correct permission when created 2022-06-13 11:44:40 +02:00
Johannes Meyer
77060ed312
Merge pull request #4799 from Icinga/php-81-support
Fix PHP 8.1 deprecation errors
2022-06-07 15:11:44 +02:00
Johannes Meyer
e3219be4fa
Merge pull request #4808 from Icinga/fix/strpos-null-Zend_Form-dissolveArrayValue
Avoid passing null as hastack to `strpos` in library/vendor/Zend/Form::_dissolveArrayValue()
2022-06-07 15:10:34 +02:00
raviks789
f33566be1c Avoid passing null as hastack to strpos in library/vendor/Zend/Form::_dissolveArrayValue() 2022-06-07 14:09:37 +02:00
Yonas Habteab
8e6d4a6b46 LinearUnit: Make Iterator methods compatible with the parent methods 2022-06-02 16:19:42 +02:00
Yonas Habteab
4782df4fee Form: Fix don't pass null values to strtolower() error 2022-05-30 14:00:01 +02:00
Johannes Meyer
777d146ba1 Perfdata: Avoid passing null to number_format() 2022-05-27 14:41:42 +02:00
Sukhwinder Dhillon
6fe2ef4698 layout-structure.less: Display announcements in fullscreen-layout 2022-05-27 14:35:06 +02:00
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