Commit Graph

813 Commits

Author SHA1 Message Date
Sukhwinder Dhillon eb768b4fce Remove deprecated method `ApplicationBootstrap::setupZendAutoloader()` and its uses 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon 55d23a531f Module: Remove deprecated method `registerHook()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon 479bec6fb4 ApplicationBootstrap: Remove deprecated method `listLocales()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon b1f723318f Web: Remove deprecated method `getMenu()` 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon e4450e7368 Revert "js: Don't serve scripts utilizing ECMA2016+ features"
This reverts commit 4d4f5b3a69.
2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon f1e8280c3e Revert "Don't support dark/light mode for IE"
This reverts commit baeca33789.
2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon c0d247613d Manager: Ensure enableModule dir has correct permission when created 2022-06-13 11:44:40 +02:00
Johannes Meyer 2a80e8bca6 Introduce new hook `ThemeLoader` 2022-05-11 14:37:07 +02:00
Johannes Meyer 95d0ac018c Raise version to 2.10.1 2022-04-06 09:34:11 +02:00
Johannes Meyer 8dbbe26a1a Use type declarations for all translation helpers 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 d0677a127f Release version 2.10.0 2022-03-23 11:49:06 +01:00
Johannes Meyer f21200f167 Release version 2.9.6 2022-03-08 15:12:52 +01:00
Johannes Meyer 3c48d693ff about: Fix documentation link and use a version dependent one 2022-02-25 12:27:08 +01:00
Eric Lippmann baeca33789 Don't support dark/light mode for IE 2022-02-10 10:47:24 +01:00
Johannes Meyer d78bb02b41 Module: Parse requirements in metadata correctly 2022-02-04 16:17:54 +01:00
Johannes Meyer 57e8e41089 Manager: Parse version suffixes with decimals correctly 2022-02-04 16:17:54 +01:00
Johannes Meyer c42653a9b0 Drop core locales 2022-02-04 15:58:06 +01:00
Johannes Meyer ffaf6e5f04 Remove module asset support 2022-02-04 15:57:15 +01:00
Sukhwinder Dhillon c30df56de4 Release version 2.9.5 2021-11-17 16:51:55 +01:00
Johannes Meyer 81f6116f3f Release version 2.9.4 2021-11-10 10:17:35 +01:00
Sukhwinder Dhillon 2c01f38dec Add icingadb as OR dependecy
Add only if the given module supports icingadb and has monitoring as a requirement
2021-11-10 09:33:48 +01:00
Ravi Kumar Kempapura Srinivasa 685f1f90bc Handle non `.js` files in asset/js and non `.css` or `.less` in asset/css folder
Non javascript files in asset/js folder or non css or less files in asset/css folder causes minfier to throw error. This is handled here.
2021-11-02 08:58:58 +01:00
Johannes Meyer b2274a5589 Release version 2.9.3 2021-08-10 10:11:44 +02:00
Johannes Meyer 907f7826b2 Release version 2.9.2 2021-07-28 09:33:41 +02:00
Johannes Meyer 1b2cd8fdf3 Release version 2.9.1 2021-07-27 15:22:32 +02:00
Johannes Meyer f73614be4d Raise version to 2.9.0 2021-07-12 10:35:56 +02:00
Johannes Meyer 889c0a749c Module: Report `ipl` and `reactbundle` as library requirements
This way modules with the legacy requirement definition
can still be enabled without the modules in place.
2021-06-28 10:55:45 +02:00
Johannes Meyer 6a0da10473 Manager: Don't register the ipl and reactbundle module
Both are superseded by their respective library. This
way we make sure there are no competing auto loaders.
2021-06-22 12:50:59 +02:00
Johannes Meyer 81c0613e68 Library: Add missing shut-up operator to `file_get_contents` call 2021-06-16 11:57:00 +02:00
Johannes Meyer 0d6da2d859 error/error: Check web2's deps and enhance lib checks 2021-06-07 09:40:40 +02:00
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 db1fea6331 Web: Detect preferred locale 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 5e382dcfa9 Introduce health endpoint /health[/checks] 2021-05-14 15:45:35 +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
Johannes Meyer 4d4f5b3a69 js: Don't serve scripts utilizing ECMA2016+ features
i.e. library javascript assets
2021-02-22 16:01:42 +01:00
Johannes Meyer 64d1574972 JavaScript: Load minified library assets if available 2021-02-22 15:09:59 +01:00
Johannes Meyer cc65164a67 Adjust global permissions 2021-02-18 11:11:39 +01:00
Johannes Meyer a33317aeab Module: Don't emit warnings for module assets
resolves #4286
2020-12-01 09:44:56 +01:00
Alexander A. Klimov d7e3547c6e CLI: write errors to stderr 2020-11-30 15:35:20 +01:00
Johannes Meyer 6956ec4450 Manager/Libraries: Don't try to compare versions if any version is sufficient 2020-11-24 15:31:11 +01:00
Johannes Meyer 79478fd2e1 Libraries: Return partial matches in method `get()`
This allows to reference libraries with only their
project name, not just together with the organisation
name.
2020-11-18 16:52:22 +01:00