Commit graph

77 commits

Author SHA1 Message Date
Johannes Meyer
85b8f770ab Controller: Properly handle view compact requests 2022-03-16 13:41:05 +01:00
raviks789
d4bd45233b Remove unnecessary checks to check if backend name is '_icingadb'.
Instead use (! $bp->hasBackendName()) check with 'And' condition.
2022-02-18 11:46:22 +01:00
raviks789
1d12701293 Remove IcingaDb from list of available backends.
By default use monitoring backend if icingadb is preferred default backend is set to icingadb.
2022-02-18 10:06:59 +01:00
raviks789
a5165ef476 Do not set Backend in Metadata to null in case icingadb module doesnot exist. 2022-02-18 10:06:59 +01:00
raviks789
7b41906881 Select default backend when icingadb is deactivated and the same when monitoring backend is deactivated 2022-02-03 16:56:46 +01:00
raviks789
69e879a745 Make changes to support the case when icingadb is set as the preferred backend. 2022-02-03 16:55:47 +01:00
Sukhwinder Dhillon
a6dad05445 BpConfigBaseForm: Only add backends of enabled modules 2022-02-03 16:55:02 +01:00
Ravi Kumar Kempapura Srinivasa
d1526a36cb Address the comments on IcingaDbState and the Controllers
Address the comments from Eric in the pull request on IcingaDbState, Web/Controller, HostController and ServiceController.
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
efcea15ab6 Clean the scripts and resolve the comments
Clean the scripts to pass the phpcodesniffer tests and resolve the comments provided by Eric.
2022-02-03 16:54:01 +01:00
Ravi Kumar Kempapura Srinivasa
1a0ddfb08b Add IcingaDB MySQL backend in businessprocess
IcingaDB MySQL backend is added to the businessprocess module to obtain information regarding monitored nodes.

ref #276
2022-02-03 16:54:01 +01:00
Johannes Meyer
fcadf2d6b4 Use Web 2's form style 2021-12-17 13:10:19 +01:00
Johannes Meyer
4d7df037d3 Drop Component\StateBall and use ipl\Web\Widget\StateBall instead 2021-12-17 13:10:19 +01:00
Johannes Meyer
49ebbc4cdb Apply state overrides on demand instead of directly
Internally non-process children are only instantiated once.
This means when applying state overrides directly they're
used everywhere and do not differ between the containing
process. State overrides are now applied explicitly and
on demand, decoupling them from children.
2020-07-01 08:54:34 +02:00
Johannes Meyer
0c7fca926f config: Use an extra line to store state overrides
Storing overrides as part of a node's name leads to way too complicated
code. A separate field is not only better for compatibility but also
more straightforward to process.
2020-06-26 14:08:05 +02:00
Christian Menapace
98b6b2c6d0 Add Service Override 2020-06-26 11:32:09 +02:00
Johannes Meyer
8f868d79c9 NoDuplicateChildrenValidator: Don't detect a no-change as duplicate 2020-06-26 11:20:14 +02:00
Johannes Meyer
7d199a94ea RenderedProcessActionBar: Re-introduce Config link for subprocess nodes
Having to navigate a level up to edit the currently showing process is tedious,
to say the least.

refs #78
2019-02-28 15:15:11 +01:00
Johannes Meyer
eaf5b85538 Change how imported nodes are recognized
Since configurations are cached this cannot be done by using
a flag. Instead the rendering and path aggregation are now able
to distinguish nodes themselves.
2019-02-25 13:58:18 +01:00
Johannes Meyer
40538c51ce LegacyStorage: Add cache to avoid parsing configurations multiple times 2019-02-25 12:42:52 +01:00
Johannes Meyer
6ae4cf745c RenderedProcessActionBar: Don't allow to unlock imported nodes 2019-02-22 14:41:53 +01:00
Johannes Meyer
e36e918d32 RenderedProcessActionBar: Use term "Node" instead of "Process"
A process is also a node but a node not necessarily a process.
2019-02-22 12:26:24 +01:00
Johannes Meyer
2799eff860 lib: Temporarily integrate the StateBall from ipl\Web\Widget 2019-02-22 12:26:24 +01:00
Johannes Meyer
df7e72398d RenderedProcessActionBar: Make the mode toggle a single anchor
It's a toggle, there's no need for two distinct urls. Even more
important, there's no need for two different click areas.
2019-02-22 12:26:24 +01:00
Johannes Meyer
5fe4983c3c ActionBar: Add toggle to switch between tile- and tree-view 2019-02-22 12:26:24 +01:00
Johannes Meyer
f58e1844a1 ActionBar: Remove h1 and adjust link labels 2019-02-22 12:26:24 +01:00
Johannes Meyer
494027710b ActionBar: Restyle and move link to add new processes 2019-02-22 12:26:24 +01:00
Johannes Meyer
abafbacf1a CsrfToken: Fix exception when validating tokens 2019-02-22 12:26:23 +01:00
Johannes Meyer
56e37d2876 auth: Check the businessprocess/showall permission prior any restrictions
fixes #200
2019-02-18 13:43:06 +01:00
Johannes Meyer
763ac872d3 Introduce and utilize class NoDuplicateChildrenValidator 2019-02-14 11:29:30 +01:00
Johannes Meyer
510267c7d0 Prevent nodes from being added twice
fixes #186
fixes #128
fixes #114
2019-01-17 15:20:25 +01:00
Johannes Meyer
4ae3509662 TileRenderer: Drop pseudo tiles and show link to add new nodes in the header 2019-01-17 14:57:38 +01:00
Johannes Meyer
19ae300aca lib: Remove all traces of Icinga\Module\Businessprocess\Html
refs #130
2019-01-17 13:21:46 +01:00
Thomas Gelf
20b957a999 Tiles: navigate in place when drilling down
fixes #192
2018-12-12 16:36:09 +01:00
Eric Lippmann
146ad0171f Display root nodes in the dashboard 2018-08-01 13:53:01 +02:00
Alexander A. Klimov
15cc3e88e0 Require Icinga Web 2.5.1
refs #113
2018-08-01 09:37:59 +02:00
Alexander A. Klimov
ee3cdf67a1 Url: remove unneccessary duplicate code
refs #113
2018-08-01 09:37:23 +02:00
Eric Lippmann
28bed2859b
Merge pull request #152 from Icinga/bugfix/cannot-remove-a-node-132
Make node removal working as expected
2018-07-02 17:23:32 +02:00
Jennifer Mourek
af6c0593a2 Change lock text and make action-bar icons bigger
Many users were confused by the lock/unlock functionality, this should make it a bit more clear.
2018-06-26 08:55:23 +02:00
Alexander A. Klimov
e4e651cbe8 Make node removal working as expected
refs #132
2017-12-04 14:14:06 +01:00
Max Stephan
ec813683ab check "canModify" also in simulation mode 2017-03-16 09:23:47 +01:00
Thomas Gelf
7452a39f82 BpConfig/UploadForm: unify common code, enforce...
...prefix(es) according configured restrictions

refs  #106
2017-02-08 16:08:29 +01:00
Thomas Gelf
f599029726 css: fix compact styling 2017-01-27 11:22:36 +01:00
Thomas Gelf
605820adb7 RenderedProcessActionBar: show config link only...
...on root level

fixes #78
2017-01-27 10:19:06 +01:00
Thomas Gelf
9091ea4ecd RenderedProcessActionBar: cleanup 2017-01-25 10:06:08 +01:00
Thomas Gelf
7a4c9d4f6d RenderedProcessActionBar: help for tree/tile view
fixes #79
2017-01-25 10:03:45 +01:00
Thomas Gelf
6d66ebd72a WtfTabs: add a comment exlaining this WtfClass 2017-01-20 13:29:01 +01:00
Thomas Gelf
d6c1cd8849 Tabs: add a wrapper to work around PHP bug #43200
refs #81
2017-01-20 13:21:51 +01:00
Thomas Gelf
d87edba377 Just a couple of newlines to satisfy latest PSR2
...checks in phpcs
2017-01-11 23:56:17 +01:00
Thomas Gelf
22583aa083 BpConfig: renamed from BusinessProcess 2017-01-11 14:09:30 +01:00
Thomas Gelf
b3df39d1b0 NodeController: add business impact action
Show all paths to a specific node to visualize it's business impact

fixes #8573
2017-01-10 16:49:53 +01:00