Johannes Meyer
79a6feeb4b
js: Only add requests to the history if they're going to #main
2020-11-18 17:00:19 +01:00
Johannes Meyer
f8ef32fc0e
complete.js: Keep used terms in case of an autorefresh
2020-11-18 17:00:19 +01:00
Johannes Meyer
7c124b72a6
js: Provide additional parameters for events beforerender
and rendered
...
beforerender: content, action, autorefresh, scripted
rendered: autorefresh, scripted
2020-11-18 17:00:19 +01:00
Johannes Meyer
ab7385c5af
js: Transmit X-Icinga-Autorefresh=1
with autorefresh requests
2020-11-18 17:00:19 +01:00
Johannes Meyer
94218a3263
FilterQueryString: Automatically detect nested chains
...
i.e. `host=foo&service=bar|servicegroup=foobar` is
now interpreted as `(host=foo&service=bar)|servicegroup=foobar`
and `servicegroup=foobar|host=foo&service=bar` as
`servicegroup=foobar|(host=foo&service=bar)`
2020-11-18 17:00:19 +01:00
Johannes Meyer
adae4bfd06
FilterExpression: Make method isBooleanTrue
public
2020-11-18 17:00:19 +01:00
Johannes Meyer
0d4c9783fe
JavaScript: Load behavior complete.js
2020-11-18 17:00:18 +01:00
Johannes Meyer
bf9a133892
js: Introduce behavior complete.js
2020-11-18 16:58:16 +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
e8fc6f93ae
Merge pull request #4272 from Icinga/feature/library-support-4271
...
Add library support
2020-11-18 13:25:26 +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
39e59422f4
error/error: Show a hint to check dependencies if there are unmet ones
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
01a08d60e1
setup: Don't fail if only a module couldn't be enabled
2020-11-18 13:21:34 +01:00
Johannes Meyer
32f9ce8b7c
config/module: Show library dependencies and unmet ones
2020-11-18 13:21:34 +01:00
Johannes Meyer
05d74dd980
config: Fix missing module name in failing dis-/enable actions
2020-11-18 13:21:33 +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
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