Commit Graph

13042 Commits

Author SHA1 Message Date
Johannes Meyer 577e47142e
Merge pull request #4354 from Icinga/feature/integrate-flatpickr
Add datetime picker widget
2021-05-17 14:12:08 +02:00
Johannes Meyer 4236dd84d9 datetime-picker.js: Show an icon inside the flatpickr input 2021-05-17 13:20:43 +02:00
Johannes Meyer 5a6e3cf32f datetime-picker.js: Cleanup unused flatpickr instances 2021-05-17 13:20:43 +02:00
Johannes Meyer e704309c41 modal.js: Trigger `close-modal` when.. closing a modal 2021-05-17 13:20:43 +02:00
Johannes Meyer 90a056d988 datetime-picker.js: Append flatpickr container not to body
The body isn't cleared without a full reload. This way the
flatpickr container resides in the same container as the
input's form.
2021-05-17 13:20:43 +02:00
Johannes Meyer 025c50f8a5 css: Only set `width:100%` for `.icinga-form`s in a modal's content 2021-05-17 13:20:43 +02:00
Johannes Meyer 0a0ae95d6c FormDateTime: Enable datetime-picker widget by default 2021-05-17 13:20:43 +02:00
Johannes Meyer 6c3c8a3e38 css: Add dark styles for `flatpickr` widgets to solarized dark theme 2021-05-17 13:20:43 +02:00
Johannes Meyer 162d898d42 js: Introduce `DatetimePicker` behavior
Utilizes `flatpickr` from ipl-web.
2021-05-17 13:20:42 +02:00
Johannes Meyer 9d6bef0a39 PreferenceForm: Reload the entire layout if the locale changes 2021-05-17 13:20:42 +02:00
Johannes Meyer a87f15c861 Auth: Reload entire layout if the locale changes 2021-05-17 13:20:42 +02:00
Johannes Meyer 04b906bff5 layout.phtml: Setup the Icinga js object with the user's locale and timezone 2021-05-17 13:20:42 +02:00
Johannes Meyer c202eccf65 define.js: Support libs that require `exports`
I'm not sure how this actually is supposed to work,
but I believe this is how we can support it so that
it's still useful.
2021-05-17 13:20:42 +02:00
Johannes Meyer 0da4a11d91
Merge pull request #4355 from Icinga/health-endpoint
Health endpoint
2021-05-17 13:11:51 +02:00
Johannes Meyer 1030508675
Merge pull request #4373 from Icinga/cleanup-compat-stuff
Cleanup compat stuff
2021-05-17 13:08:55 +02:00
Johannes Meyer cb4e6011f3 js: Remove jquery-migrate 2021-05-17 10:44:27 +02:00
Johannes Meyer def52c6c49 css: Remove `.code()` mixin
Undefined mixins don't cause the CSS to not load anymore.
2021-05-17 10:28:23 +02:00
Johannes Meyer 84949f214e monitoring: Provide health hook 2021-05-14 15:45:35 +02:00
Johannes Meyer 0d2bf1ae33 Menu: Integrate health endpoint 2021-05-14 15:45:35 +02:00
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