793 Commits

Author SHA1 Message Date
Eric Lippmann
053971c99d Merge pull request #4606 from Icinga/release/2.9.5
Release 2.9.5

(cherry picked from commit 3df684bcdfa516323e5a03abedc353771d7b3c9f)
2021-11-18 10:48:44 +01:00
Johannes Meyer
d208d1ccfe Release v2.9.4
(cherry picked from commit e628cb02548b0f66ee244f560b23a06995c49381)
2021-11-10 10:18:58 +01:00
Sukhwinder Dhillon
bdd3bf968b Add icingadb as OR dependecy
Add only if the given module supports icingadb and has monitoring as a requirement

(cherry picked from commit 2c01f38decd38cc2a0521aac0501f64c5d8fa395)
2021-11-10 09:37:48 +01:00
Ravi Kumar Kempapura Srinivasa
ff8e4b396d 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.

(cherry picked from commit 685f1f90bc91dd466affff7ea9561aa90d8f2f22)
2021-11-09 09:37:22 +01:00
Johannes Meyer
c757a17530 Release version 2.9.3
(cherry picked from commit b2274a5589476160f17be05d4b2ae05932e38114)
2021-08-10 10:12:17 +02:00
Johannes Meyer
07e25a923b Release version 2.9.2
(cherry picked from commit 907f7826b2d49e9fc5018d288aaa671dc8c53368)
2021-07-28 09:34:07 +02:00
Johannes Meyer
68e06c93dd Release version 2.9.1
(cherry picked from commit 1b2cd8fdf37022aed25225598e22c94de0336ffb)
2021-07-27 15:43:28 +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
Johannes Meyer
be99703a67 Module: Deprecate asset support 2020-11-18 13:21:34 +01:00
Johannes Meyer
a370a99fb4 cli: Allow to ignore module dependencies with module enable --force 2020-11-18 13:21:34 +01:00
Johannes Meyer
40c97d6a3e Libraries: Add method get($name) 2020-11-18 13:21:34 +01:00
Johannes Meyer
28c7c41b55 Manager: Don't enable modules which have unmet dependencies 2020-11-18 13:21:33 +01:00
Johannes Meyer
aba8c4a8ba Manager: Add method hasUnmetDependencies($name) 2020-11-18 13:21:33 +01:00
Johannes Meyer
baaf663db3 Module: Introduce new metadata field Requires
This is the successor of `Depends` and allows to
define dependencies for libraries and modules:

`Requires: <lib-name>[ (<ver>)][, <lib-name>[ (<ver>)]] ...`

or

```
Requires:
  Libraries: <name>[ (<ver>)][, <name>[ (<ver>)]] ...
  Modules: <name>[ (<ver>)][, <name>[ (<ver>)]] ...
```
2020-11-18 13:21:33 +01:00
Johannes Meyer
99b620983a Manager: Add method has($name, $version = null) 2020-11-18 13:21:33 +01:00
Johannes Meyer
0f485f1257 Libraries: Add method has($name, $version = null) 2020-11-18 13:21:33 +01:00
Johannes Meyer
19e4eb6e1e Module: Add missing getter for property jsdir 2020-11-18 13:21:33 +01:00
Johannes Meyer
220044277c webrouter: Serve lib assets at lib/<lib-name>/<asset-path> 2020-11-18 13:20:09 +01:00
Johannes Meyer
e44ea3b34c Introduce class Icinga\Application\StaticWeb 2020-11-18 13:20:09 +01:00
Johannes Meyer
c49a811fb5 Library: Add getters for the different asset paths 2020-11-18 13:20:09 +01:00
Johannes Meyer
c2769bd177 Library: Add accessors for assets 2020-11-18 13:20:09 +01:00
Johannes Meyer
84c23fe92b Library: Add accessors for meta data 2020-11-18 13:20:09 +01:00
Johannes Meyer
a60f511cfc bootstrap: Load external libraries 2020-11-18 13:20:09 +01:00
Johannes Meyer
a2bdc8074f Introduce classes Libraries and Library 2020-11-18 13:20:09 +01:00
Jorge Vallecillo
865e4b9b2a Fix typos: consecutive use of 'the' 2020-11-18 09:26:39 +01:00
Johannes Meyer
77244b2c1b Raise version to v2.8.2 2020-08-19 11:03:31 +02:00
Johannes Meyer
c3d329bd48 Raise version to 2.8.1 2020-06-29 10:30:58 +02:00
Johannes Meyer
e95fac3ff1 Raise version to 2.8.0 2020-06-08 10:51:35 +02:00