Commit Graph

13016 Commits

Author SHA1 Message Date
Johannes Meyer 4e3811cc84 Module: Allow `/` and `-` in module/library dependency names 2021-06-01 09:14:28 +02:00
Johannes Meyer 229e24519a
Merge pull request #4376 from Icinga/utilize-ipl-i18n-4366
Utilize ipl-i18n
2021-06-01 09:13:45 +02:00
Johannes Meyer 4fc78a4cfd ApplicationBootstrap: Change default library path
from: `/usr/share/php-Icinga`
to: `/usr/share/icinga-php`
2021-05-31 10:17:35 +02:00
Johannes Meyer 5af833bb6d translation: Add support for ipl-i18n 2021-05-28 14:03:36 +02:00
Johannes Meyer 8fe282b9aa translation: Only allow to generate module locales 2021-05-28 14:03:36 +02:00
Johannes Meyer dcb619e62a Translator: Add deprecation notice and use ipl-i18n internally 2021-05-28 14:03:36 +02:00
Johannes Meyer 84c459c519 test: Remove testcase `Bug6432Test` 2021-05-28 14:03:36 +02:00
Johannes Meyer 0cbae3195e test: Remove testcase `TranslatorTest` 2021-05-28 14:03:36 +02:00
Johannes Meyer 9e6d2e8aec php: Don't generate any locales for tests
They're not needed any more due to the use of ipl-i18n
2021-05-28 14:03:36 +02:00
Johannes Meyer f363bf5bf6 BaseTestCase: Setup `ipl\I18n\StaticTranslator::$instance` 2021-05-28 14:03:36 +02:00
Johannes Meyer b09384e489 php: Install ipl-i18n as a dependency for tests 2021-05-28 14:03:36 +02:00
Johannes Meyer d83b06618a DashboardCommand: Utilize ipl-i18n in `sections` command 2021-05-28 14:03:36 +02:00
Johannes Meyer 573af6b2df PreferenceForm: Detect locales using ipl-i18n 2021-05-28 14:03:36 +02:00
Johannes Meyer db1fea6331 Web: Detect preferred locale using ipl-i18n 2021-05-28 14:03:36 +02:00
Johannes Meyer 86614ad7a8 layout: Identify language using ipl-i18n 2021-05-28 14:03:36 +02:00
Johannes Meyer 84757111d1 ApplicationBootstrap: Deprecate method `listLocales()` 2021-05-28 14:03:36 +02:00
Johannes Meyer 2e5abbc832 Use ipl-i18n's `Translation` trait where applicable 2021-05-28 14:03:36 +02:00
Johannes Meyer cb92e86b99 functions: Use ipl-i18n in functions `t`, `tp`, `mt` and `mtp` 2021-05-28 14:03:36 +02:00
Johannes Meyer 8137f1546f Module: Register locales using ipl-i18n 2021-05-28 14:03:36 +02:00
Johannes Meyer bfd2449e5d bootstrap: Setup internationalization using ipl-i18n 2021-05-28 14:03:36 +02:00
Johannes Meyer cc0c6fc71b js: Avoid usage of `.matches()` as it isn't available with IE11 2021-05-25 17:19:03 +02:00
Florian Strohmaier 24c1bb1f8c IcingaCheckbox: Add `hidden attribute to input element
refs #4310
2021-05-25 17:09:51 +02:00
Feu Mourek b875b28dea
Add a blank issue template with a link to the forum (#4379) 2021-05-25 16:14:35 +02:00
Eric Lippmann 68acf12407
Remember me (#4112)
Co-authored-by: Sukhwinder Dhillon <sukhwinder.dhillon@icinga.com>
2021-05-21 15:43:06 +02:00
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