12786 Commits

Author SHA1 Message Date
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
7af8bf351c about: List loaded libraries 2020-11-18 13:21:33 +01:00
Johannes Meyer
e9fa9d95dd JavaScript: Also optimize define() calls in module JS 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
5a38977906 js: Add define.js 2020-11-18 13:21:33 +01:00
Johannes Meyer
e2a5de910b phpcs: Exclude class StaticWeb from FoundWithSymbols sniff 2020-11-18 13:20:09 +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
ed7763c379 Introduce class Icinga\Web\Controller\StaticController 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
a9d6482533 Javascript: Load JS assets from loaded libraries 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
ad9099509d StyleSheet: Load css assets from loaded libraries 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
Alexander A. Klimov
ea5329236b Vagrant: provide .../monitoring/commandtransports.ini 2020-11-18 11:11:14 +01:00
Alexander A. Klimov
74d5d69085 Url::fromPath(): var_export() input value to complain about
... not to hide its type.
2020-11-18 09:40:44 +01:00
Johannes Meyer
d918d6c86f
Merge pull request #4235 from Icinga/fix/sparkline-js-performance
Drop sparkline.js and render inline-pies as SVG
2020-11-18 09:37:31 +01:00
Jorge Vallecillo
865e4b9b2a Fix typos: consecutive use of 'the' 2020-11-18 09:26:39 +01:00
Johannes Meyer
d71a6c37ae php: Utilize shivammathur/setup-php@v2 2020-11-17 16:41:01 +01:00
Johannes Meyer
2da08ff58d css: Use a more strict rule to apply selected style to active nav items 2020-11-17 15:17:58 +01:00
Johannes Meyer
743d5f0e05
Merge pull request #4275 from Icinga/fix/zero-page-limit-loads-everything-4202
Fix zero page limit loads everything
2020-11-16 13:36:59 +01:00
Johannes Meyer
7c1886430b Controller: Don't accept 0 as default page limit 2020-11-16 13:29:49 +01:00
Johannes Meyer
774ad831c0 PreferenceForm: Enforce page size limit being 25 or higher 2020-11-16 13:29:18 +01:00
Johannes Meyer
c1bb17709a Navigation\Action: Don't try to resolve non existing urls
fixes #4211
2020-11-16 13:21:16 +01:00
Johannes Meyer
b01bd74d5c ServicestatusQuery: Join contactgroups with the correct type id 2020-11-16 13:18:28 +01:00
Johannes Meyer
459e61ba55 ServicegroupQuery: Join contactgroups with the correct type id 2020-11-16 13:18:28 +01:00
Johannes Meyer
fbacd3db36 list/services: Avoid duplicates when filtering contact(group)s
fixes #4238
2020-11-16 13:17:32 +01:00
Johannes Meyer
0b94489c7e loader.js: Introduce new header X-Icinga-Location-Query
This header is only used in case the response includes
multipart content. It's meant to provide a new query
string that replaces the one of the targeted container
and the resulting change also replaces the current
history entry.
2020-11-06 11:26:05 +01:00
Johannes Meyer
70c3023f3c loader.js: Also match newlines when interpreting multipart content 2020-11-06 11:21:33 +01:00
Johannes Meyer
e68e8c8e9c loader.js: Only discard content if a renderHook returns null
Previously any false value had this effect, though empty strings
were also discarded due to this. However, in case an empty string
is the content in the first place, the content must be updated.
2020-11-06 11:21:33 +01:00
Johannes Meyer
4ce9165f77 js: Don't force focus in multipart updates if focus isn't affected 2020-11-06 11:20:28 +01:00
Johannes Meyer
1f77414a93
Merge pull request #4237 from Icinga/fix/generictts-hook-not-executed-everywhere
Use TicketHook where missing
2020-09-30 10:20:31 +02:00
Eric Lippmann
d42c912ea4 Use ticket hook in downtime details 2020-09-30 09:32:18 +02:00
Eric Lippmann
5243160d5d Add Comment to comment details and use ticket hook 2020-09-30 09:32:18 +02:00
Eric Lippmann
7f48040637 Load ticket hook for downtime details 2020-09-30 09:32:12 +02:00
Eric Lippmann
1aad3152d0 Load ticket hook for comment details 2020-09-30 09:32:02 +02:00
Eric Lippmann
893617ef96 Load ticket hook for event details 2020-09-30 09:31:49 +02:00
Johannes Meyer
8c73f0462e InlinePie: Utilize SVG to render charts instantly
Inline pie charts usually don't contain that much
data and the SVG should be rather small in size.
So it doesn't hurt rendering them instantly.
2020-09-28 16:40:39 +02:00
Johannes Meyer
37fb455977 js: Drop sparkline lib and behavior 2020-09-28 16:39:54 +02:00
Johannes Meyer
e5af1684a0 Release version v2.8.2 2020-08-19 11:04:01 +02:00
Johannes Meyer
8a529d4842 Update CHANGELOG.md 2020-08-19 11:03:31 +02:00
Johannes Meyer
77244b2c1b Raise version to v2.8.2 2020-08-19 11:03:31 +02:00
Johannes Meyer
86ca586dd6
Merge pull request #4227 from Icinga/fix/incorrect-module-image-delivery
static/img: Make sure to correctly access module images
2020-08-19 11:02:23 +02:00
Johannes Meyer
3035efac65 static/img: Make sure to correctly access module images
fixes #4226
2020-08-14 14:40:29 +02:00
Alexander A. Klimov
250ae929dd RELEASE.md: add Docker section 2020-08-13 16:36:53 +02:00