12973 Commits

Author SHA1 Message Date
Johannes Meyer
5e382dcfa9 Introduce health endpoint /health[/checks] 2021-05-14 15:45:35 +02:00
Johannes Meyer
1a2bba0fd5 Use fontawesome icons for the default collapsible control 2021-05-12 12:47:59 +02:00
Johannes Meyer
54720a1fc1 collapsible.js: Fix flickering 2021-05-12 09:06:26 +02:00
Damiano Chini
89fdccb858 Pass event instead of object to the getHtmlForEvent method of EventDetailsExtensionHook 2021-05-11 12:36:07 +02:00
Johannes Meyer
688e3fd6e5 doc: Add a note about browser support in the install section
resolves #4312
2021-05-11 11:31:07 +02:00
Johannes Meyer
f50c095e15 js: Support custom collapsible controls in place of the default one 2021-05-05 17:59:12 +02:00
Johannes Meyer
c8497c8e6f
Merge pull request #4363 from Icinga/enhance-markdown-formatting
Enhance markdown formatting
2021-04-30 11:24:54 +02:00
Johannes Meyer
197f42557a Markdown: Allow to pass purifier config and provide a default 2021-04-27 13:17:44 +02:00
Johannes Meyer
5f8704e635 Introduce class Icinga\Web\Helper\Markdown\LinkTransformer 2021-04-27 13:17:44 +02:00
Johannes Meyer
a77219d9e2 css: Enhance margins of .icinga-form.inline 2021-04-26 13:54:57 +02:00
log1-c
00739adc31
fixed powertools repo name for CentOS 8 (#4356) 2021-04-22 10:40:12 +02:00
Johannes Meyer
7264b8ce9f css: Provide working char-code for fontawesome spinners 2021-04-22 10:21:22 +02:00
Johannes Meyer
aaf6bcea4d css: Align labels and inputs vertically centered in inline forms 2021-04-22 10:20:53 +02:00
Johannes Meyer
4e48f9d2a1 ProcessCheckResultForm: Skip objects with passive checks disabled
Icinga won't accept check results for such.
2021-04-14 10:56:04 +02:00
Johannes Meyer
065915397a zend: PHP 8 compatiblity changes
`ReflectionClass::newInstanceArgs()` seems to respect string keys
since PHP 8.

refs #4289
2021-04-14 10:51:38 +02:00
Johannes Meyer
d9a87f76a2 AdmissionLoader: Optimize role loading 2021-04-14 10:11:19 +02:00
Johannes Meyer
1a5cedfee1 setup: Skip browser validation when validating a form manually
fixes #4291
2021-04-13 16:57:03 +02:00
Johannes Meyer
a4d495e17c PerfData: Don't render missing values as 0.00 2021-04-13 14:50:18 +02:00
Johannes Meyer
7fd7efceb4
Merge pull request #4348 from Icinga/feature/add-basic-module-documentation
Add basic module documentation
2021-04-13 09:48:27 +02:00
Johannes Meyer
184e37390f doc: Add modules intro to about 2021-04-13 09:14:50 +02:00
Johannes Meyer
5bfcde6527 doc: Move monitoring module intro and mention Icinga DB Web 2021-04-13 09:14:50 +02:00
Johannes Meyer
75cd997f06 doc: Introduce modules chapter 2021-04-13 09:13:59 +02:00
Johannes Meyer
95e20d443c config/module(enable|disable): Perform a HTTP redirect upon success
An HTTP redirect will cause a full reload. If our cache works,
CSS and JS is automatically refreshed.
2021-04-12 17:02:39 +02:00
Johannes Meyer
384d9535a9 ArrayDatasource: Sort result first and then apply limit+offset 2021-04-12 15:42:20 +02:00
Andreas Olsson
e5d1cb7fb6 Docs: Fix automatic install password hash command
Provides consistency with the 853bbf2 update.
2021-04-12 10:26:32 +02:00
Johannes Meyer
85e9f06510 js: Mark autosubmits as autosubmits, not as autorefreshes
fixes #4346
2021-04-12 09:39:48 +02:00
Johannes Meyer
aa03631eef js: Allow to mark requests explicitly as autosubmits 2021-04-12 09:39:48 +02:00
Bas Couwenberg
dc7a8c8d8b
Update JShrink for PHP 8 support. (#4298)
refs #4287
2021-04-09 14:45:17 +02:00
Johannes Meyer
4bc5350eba
Merge pull request #4289 from Icinga/bugfix/php8-4287
Support PHP 8
2021-04-09 14:42:50 +02:00
Johannes Meyer
b3eeb5a892 php: Don't lint tests on PHP 5.6 2021-04-09 12:38:43 +02:00
Johannes Meyer
e671324ddb tests: Don't use deprecated assertion assertRegExp() 2021-04-09 12:38:43 +02:00
Johannes Meyer
f27e872d90 tests: Don't make use of deprecated phpunit features 2021-04-09 12:38:43 +02:00
Johannes Meyer
bc1c967dec BaseTestCase: Inherit from Mockery\Adapter\Phpunit\MockeryTestCase 2021-04-09 12:38:43 +02:00
Johannes Meyer
cb87190138 tests: Add :void return type declarations 2021-04-09 12:38:43 +02:00
Johannes Meyer
19a092c13f php: Don't test on PHP 5.6 through 7.1 2021-04-09 12:38:39 +02:00
Alexander A. Klimov
eff10ec613 ApplicationBootstrap#setupErrorHandling(): migrate error handler to PHP 8
... as recommended here:
https://www.php.net/manual/de/migration80.incompatible.php

refs #4287
2021-04-09 12:37:03 +02:00
Alexander A. Klimov
6d5024c671 *downtimestarthistoryQuery#joinBaseTables(): don't call func_get_arg() with an invalid index
... as PHP 8 doesn't tolerate that.

refs #4287
2021-04-09 12:37:03 +02:00
Alexander A. Klimov
2990ca09ab GitHub actions: test also with PHP 8.0
refs #4287
2021-04-09 12:37:03 +02:00
Alexander A. Klimov
2c5f141cc1 /setup/: ensure not to pass an empty array to max()
... as PHP 8 doesn't tolerate such.

refs #4287
2021-04-09 12:37:03 +02:00
Johannes Meyer
f782c08d80 RoleForm: Highlight set privileges in headers
resolves #4241
2021-04-08 10:13:24 +02:00
Johannes Meyer
6f317ade30
Merge pull request #4336 from Icinga/feature/audit-view-3053
Audit View
2021-04-08 08:50:21 +02:00
Johannes Meyer
8e2ae13885 role/audit: Show a message if no suggestions are found 2021-04-07 16:03:05 +02:00
Johannes Meyer
54acd6b4c8 role/audit: Group suggestions by backend name 2021-04-07 16:02:31 +02:00
Johannes Meyer
b48f7f3489 role/audit: Don't use class EmptyState, it's from icingadb web 2021-04-07 16:00:01 +02:00
Johannes Meyer
0d35a1774d SingleValueSearchControl: Add failure message for empty results 2021-04-07 15:59:03 +02:00
Johannes Meyer
a6507daaaf SingleValueSearchControl: Allow to pass html as labels 2021-04-07 15:58:25 +02:00
Johannes Meyer
d49962ac82 role/audit: Pre-populate backend name with the first one found
Otherwise a user who doesn't use a suggestion will see an error.
2021-04-07 15:10:01 +02:00
Johannes Meyer
5b970c79ad role/audit: Use role-audit as id instead of role/audit
Since HTML5 nearly any char is allowed in ids, including the slash,
but jQuery doesn't support the slash as part of css selectors...
2021-04-07 14:30:14 +02:00
Johannes Meyer
314ec5256c PrivilegeAudit: Show missing initiators in inheritance paths 2021-04-07 14:30:14 +02:00
Johannes Meyer
b5334a063e PrivilegeAudit: Show missing restrictions if only parents restrict 2021-04-07 14:30:14 +02:00