Johannes Meyer
2a82b326fe
TreeRenderer: Use the correct action urls for imported nodes
...
refs #209
2019-02-28 08:19:37 +01:00
Johannes Meyer
a941052efa
NodeTile: Don't show action links for imported nodes
...
refs #209
2019-02-28 07:48:42 +01:00
Johannes Meyer
885064b577
Provide links to jump to an imported node's source configuration
...
refs #209
2019-02-28 07:48:35 +01:00
Johannes Meyer
670a29e5f7
Breadcrumb: Show a node's state
2019-02-26 13:15:14 +01:00
Johannes Meyer
3431540700
NodeTile: Don't use a node's identifier if it's the same config anyway
2019-02-25 14:23:41 +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
6f3ffe48e2
BpConfig: Only list each involved configuration once
2019-02-25 08:19:39 +01:00
Johannes Meyer
6ae4cf745c
RenderedProcessActionBar: Don't allow to unlock imported nodes
2019-02-22 14:41:53 +01:00
Johannes Meyer
cacc24f501
NodeAddChildrenAction: Really import nodes if instructed to do so
2019-02-22 14:30:06 +01:00
Johannes Meyer
0d262bf0d0
Renderer: Don't fail while generating ids for unbound nodes
2019-02-22 14:11:03 +01:00
Johannes Meyer
75a3d1fd5e
LegacyConfigParser: Restore ability to defer referenced process initialization
2019-02-22 12:26:24 +01:00
Johannes Meyer
40c406ac9e
TreeRenderer: Render the info_url action where all other action urls are
2019-02-22 12:26:24 +01:00
Johannes Meyer
1529ec4602
NodeTile: Hash ids the same way as in the tree view
2019-02-22 12:26:24 +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
a1bb91a999
js: Remove redundant handling for non-node tiles
2019-02-22 12:26:24 +01:00
Johannes Meyer
728d4cb2ae
TreeRenderer: Show the correct icon for monitored nodes at the root level
2019-02-22 12:26:24 +01:00
Johannes Meyer
c73cd65f6f
js: Correctly identify a node's parent in case of first level sub-trees
2019-02-22 12:26:24 +01:00
Johannes Meyer
673135c0f3
Don't redirect after a successful move action but refresh
2019-02-22 12:26:24 +01:00
Johannes Meyer
718a4305b4
NodeController: Show all processes affected by an impact
...
refs #143
2019-02-22 12:26:24 +01:00
Johannes Meyer
6cdaa48f68
TileRenderer: Use the correct action urls for imported nodes
2019-02-22 12:26:24 +01:00
Johannes Meyer
c19854d05c
TileRenderer: Make the navigation through imported nodes fluent
2019-02-22 12:26:24 +01:00
Johannes Meyer
f0162278d6
BpConfig: Process node imports in hasNode() and getNode()
2019-02-22 12:26:24 +01:00
Johannes Meyer
42642c88d6
BpConfig: Flag imported configurations
2019-02-22 12:26:24 +01:00
Johannes Meyer
431a5e0085
Streamline usage of a node's name
2019-02-22 12:26:24 +01:00
Johannes Meyer
8465bc0bc3
LegacyConfigParser: Establish parent-child relationships
...
This replaces commit d1f32c5 as this is the more efficient
and proper solution.
refs #134
2019-02-22 12:26:24 +01:00
Johannes Meyer
e0529ee844
Revert "Node: Aggregate parents if none are registered yet"
...
This reverts commit d1f32c59f1 .
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
a9ed7f66a4
Breadcrumb: Show a configuration's name again, "Root" is too vague
2019-02-22 12:26:24 +01:00
Johannes Meyer
7a8c48c7e8
Fix a few style issues
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
a681d7e393
Fix that imported nodes have no state, once and for all
2019-02-22 12:26:24 +01:00
Johannes Meyer
aa8f070a00
BpConfig: Don't die due to circular references
2019-02-22 12:26:24 +01:00
Johannes Meyer
1a36e4d94a
LegacyConfigRenderer: Don't render import sub-nodes
2019-02-22 12:26:24 +01:00
Johannes Meyer
00b88055f7
BpConfig: Delay processing of imported configurations
...
Solves the issue that two processes cannot import each other
2019-02-22 12:26:24 +01:00
Johannes Meyer
0194f9afe9
tree: Don't allow to change imported nodes
...
The remaining ui and navigation flow doesn't
incorporate differing bp configurations
2019-02-22 12:26:24 +01:00
Johannes Meyer
2123b41f83
Properly integrate imported nodes
...
* Fixed navigation flow
* Full tree rendering
2019-02-22 12:26:24 +01:00
Johannes Meyer
fb8c3c5a33
Redesign breadcrumbs
2019-02-22 12:26:24 +01:00
Johannes Meyer
fba4235a6a
TileRenderer: Fix invalid call to attributes()
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
d880291c02
TreeRenderer: Restructure node layout
2019-02-22 12:26:24 +01:00
Johannes Meyer
bb62fe7048
TreeRenderer: Properly render sub-processes if viewed individually
2019-02-22 12:26:24 +01:00
Johannes Meyer
35fe4cb943
Tree-/TileRenderer: Use a literal bool for data-sortable-disabled
2019-02-22 12:26:24 +01:00
Johannes Meyer
505471c519
Node: Introduce $icon property
2019-02-22 12:26:24 +01:00
Johannes Meyer
3ba4842933
BpNode: Use all uppercase for operator names
2019-02-22 12:26:24 +01:00
Johannes Meyer
fe8f4d8c15
js: Don't permit to create loops
2019-02-22 12:26:24 +01:00
Johannes Meyer
493328ff20
Make moving non-root tiles working again
2019-02-22 12:26:24 +01:00
Johannes Meyer
b795d278ee
TreeRenderer: Properly render empty processes
2019-02-22 12:26:24 +01:00
Johannes Meyer
93a2589909
NodeMoveAction: Interpret $from as index and not as display value
2019-02-22 12:26:24 +01:00
Johannes Meyer
bc03569765
Properly handle display values when performing other actions than moving nodes
2019-02-22 12:26:24 +01:00
Johannes Meyer
f022c0f101
NodeMoveAction: Properly handle unbound nodes
2019-02-22 12:26:24 +01:00
Johannes Meyer
98f2ed8f48
TreeRenderer: Remove obsolete placeholder element
2019-02-22 12:26:24 +01:00
Johannes Meyer
ec14a7dbe1
NodeMoveAction: Properly check display values
2019-02-22 12:26:24 +01:00
Johannes Meyer
0d0ac5381e
NodeApplyManualOrderAction: Also include non-toplevel processes
2019-02-22 12:26:24 +01:00
Johannes Meyer
72f3af9fc9
BpNode: Reset keys when automatically sorting nodes
2019-02-22 12:26:24 +01:00
Johannes Meyer
da4bf7ffc6
NodeMoveAction: Don't allow to accidentally override the placement of nodes
2019-02-22 12:26:24 +01:00
Johannes Meyer
eb043b32c8
ProcessChanges: Verify that actions can be applied before pushing
2019-02-22 12:26:24 +01:00
Johannes Meyer
eef8adb9be
NodeAction: Allow method appliesTo to throw an exception
...
Also implements it's usage in all available actions.
2019-02-22 12:26:24 +01:00
Johannes Meyer
877f86a746
js: Allow to move nodes between processes
2019-02-22 12:26:24 +01:00
Johannes Meyer
ea0a04065d
Add support to move nodes between processes
2019-02-22 12:26:24 +01:00
Johannes Meyer
48ba2a7bba
TreeRenderer: Render add button as action link in the top right
2019-02-22 12:26:24 +01:00
Johannes Meyer
36dd4e0296
TreeRenderer: Use a more homogenous html structure
...
i.e. no divs, just uls and lis
2019-02-22 12:26:24 +01:00
Johannes Meyer
eac7f3e76f
Enhance drag&drop in the tree view
...
The style is not final, of course..
2019-02-22 12:26:23 +01:00
Johannes Meyer
c804177ca4
Also save user defined order of processes nodes while in tree view
2019-02-22 12:26:23 +01:00
Johannes Meyer
f07441ae8f
TileRenderer: Explicitly set sortable direction to horizontal
...
Since Sortable.js v1.8.0-rc1 the automatic detection seems unreliable.
2019-02-22 12:26:23 +01:00
Johannes Meyer
0707d1d7e7
ProcessChanges: Add new action to move processes/nodes
2019-02-22 12:26:23 +01:00
Johannes Meyer
c609f0c6b3
ProcessChanges: Add new action to apply manual sorting
2019-02-22 12:26:23 +01:00
Johannes Meyer
abafbacf1a
CsrfToken: Fix exception when validating tokens
2019-02-22 12:26:23 +01:00
Johannes Meyer
876a577e85
Don't sort processes in case manual sorting has been applied
2019-02-22 12:26:23 +01:00
Johannes Meyer
c7f25ba0c4
MetaData: Introduce new header option `ManualOrder'
2019-02-22 12:26:23 +01:00
Johannes Meyer
8c2f0e30bb
TileRenderer: Allow to reorder tiles by using drag&drop
2019-02-22 12:26:23 +01:00
Johannes Meyer
68aedc3dce
Restrict host and service lists when adding new or editing old nodes
...
resolves #67
2019-02-22 12:21:18 +01:00
Johannes Meyer
d1f32c59f1
Node: Aggregate parents if none are registered yet
...
fixes #134
2019-02-19 11:02:08 +01:00
Alexander A. Klimov
3985f67fe7
Fix "Host not found" error
...
refs #147
2019-02-18 13:54:39 +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
Dominik Riva
c7e24d27de
Fix misspelled delete / cancel icon name.
2019-02-01 14:49:38 +01:00
Johannes Meyer
327cb7c28c
Allow to import processes from different configurations
2019-01-17 15:20:25 +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
6c83fee2d6
NodeTile: Show total amount of children beneath a parent's name
2019-01-17 14:57:38 +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
c40a192078
NodeTile: Allow to add sub nodes directly from a parent's overview
2019-01-17 14:57:38 +01:00
Johannes Meyer
dc169cb6a8
test: Integrate icingaweb2-module-ipl as dependency
...
refs #130
2019-01-17 13:46:23 +01:00
Johannes Meyer
d195b78886
Drop libs and tests of Icinga\Module\Businessprocess\Html
...
refs #130
2019-01-17 13:45:42 +01:00
Johannes Meyer
19ae300aca
lib: Remove all traces of Icinga\Module\Businessprocess\Html
...
refs #130
2019-01-17 13:21:46 +01:00
Johannes Meyer
908dbd905f
BpConfig: Don't ignore the Statetype header
...
fixes #112
2019-01-10 09:17:36 +01:00
Thomas Gelf
20b957a999
Tiles: navigate in place when drilling down
...
fixes #192
2018-12-12 16:36:09 +01:00
Thomas Gelf
8b7311591f
Revert "Adjust tile navigation"
...
This reverts commit 50e18766f6 .
refs #192
2018-12-12 16:36:09 +01:00
Thomas Gelf
6bd1cb26c3
Breadcrumb: provide a link back to the dashboard
...
fixes #191
2018-12-12 16:35:28 +01:00
Thomas Gelf
079352d3b8
MonitoringState: filter host_name, not name
...
fixes #189
2018-12-12 15:40:14 +01:00
Thomas Gelf
5c08a71bd7
NodeTile: open external URLs in a new browser tab
...
fixes #187
2018-11-08 11:36:16 +01:00
Eric Lippmann
c4ee09d567
Ignore action URL parameter for tile links
...
Else every tile opens with the action for the current tile.
2018-08-15 09:40:17 +02:00
Eric Lippmann
50e18766f6
Adjust tile navigation
...
* Left to right tile drill down
* Actions redirect to main
2018-08-15 09:37:43 +02:00
Eric Lippmann
7cb7f40e87
Don't show edit actions for the unbound nodes tile
2018-08-14 10:37:44 +02:00
Eric Lippmann
7c491496fa
Use natcasesort
2018-08-13 13:30:33 +02:00
Eric Lippmann
e3e24fd29a
Fix link base targets for the tile view
...
Node details now always open in the detail area instead of the same
column.
2018-08-01 13:53:01 +02:00
Eric Lippmann
146ad0171f
Display root nodes in the dashboard
2018-08-01 13:53:01 +02:00
Eric Lippmann
059a59b119
Support exporting to CSV, JSON and PDF
2018-08-01 13:12:08 +02:00