4259 Commits

Author SHA1 Message Date
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
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
Sukhwinder Dhillon
c0d247613d Manager: Ensure enableModule dir has correct permission when created 2022-06-13 11:44:40 +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
Yonas Habteab
2279502265 SingleValueSearchControl: Add default class to the search suggestions 2022-05-27 14:26:16 +02:00
Sukhwinder Dhillon
26f3fa0dc1 PdfExport: Show decoded url in pdf footer 2022-05-27 14:20:15 +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
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
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
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
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
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
eeeca5a204 ConfigMenu: create Configmenu class 2022-05-12 11:10:59 +02:00
Florian Strohmaier
29ef96349c Stylesheet: load configmenu.less 2022-05-12 11:10:59 +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
1b1eb3436f sql: Change charset to utf8mb4
fixes https://github.com/Icinga/icingaweb2/issues/4680
2022-05-02 15:36:31 +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
Johannes Meyer
bc6b17b850 Revert "ActionController: Don't override X-Icinga-Title when it's already set"
This reverts commit 4cff1feb8fe2231df6568e9d1d711540984c80fe.

It's broken and obsolete since https://github.com/Icinga/ipl-web/pull/72.
2022-04-12 14:56:28 +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
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
95d0ac018c Raise version to 2.10.1 2022-04-06 09:34:11 +02:00
Johannes Meyer
38103bed83 Add missing php 8.1 change... 2022-03-24 15:41:16 +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
c038e84fc2 Ensure Return Type Compatibility with Internal Classes 2022-03-24 12:29:06 +01:00
Johannes Meyer
42815f02e6 Drop class Icinga\File\Storage\LocalFileStorageIterator 2022-03-24 12:27:20 +01:00
Johannes Meyer
d0677a127f Release version 2.10.0 2022-03-23 11:49:06 +01:00
Florian Strohmaier
fab84e3a7d StyleSheet: Use php-diff.less 2022-03-14 16:05:02 +01:00
Johannes Meyer
0d032989e6 Fix style issues in recent security fixes 2022-03-08 15:20:16 +01:00
Johannes Meyer
f21200f167 Release version 2.9.6 2022-03-08 15:12:52 +01:00
Johannes Meyer
b7c31eb922
Merge pull request from GHSA-5p3f-rh28-8frw
Only serve existing static library assets, really!?
2022-03-08 12:01:34 +01:00
Johannes Meyer
1e6639971f StyleSheet: Only set theme on the compiler if it exists
The compiler itself can handle invalid themes, but doesn't
log the user name which makes it hard to track the cause down.
2022-03-02 09:44:49 +01:00
Johannes Meyer
c5343f5575 css: Remove solarized-dark theme 2022-03-02 08:37:10 +01:00