Commit graph

811 commits

Author SHA1 Message Date
Johannes Meyer
4995dc39d0 js: Don't use icinga.utils.addUrlParams, that's broken and not necessary here
broken? Try to keep sequenced parameters when adding different ones. Good luck.
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
ff2274c048 node/impact: Fix that a process' state is not displayed 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
195b3bf7b7 ProcessController: Don't unlock the renderer if fullscreen is enabled 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
e4d802b709 js: Prevent the user from issuing further changes while a request is running
Icinga Web 2 has the peculiarity to abort previous requests which are directed
to the same container. In this case, this may lead to inconsistencies with the
ui and the backend.
2019-02-22 12:26:24 +01:00
Johannes Meyer
b3a5c34c45 ui: Set appropriate cursors when the user drags and drops stuff 2019-02-22 12:26:24 +01:00
Johannes Meyer
ccdadf68f2 MoveNodeForm: Respond with a status of 400 in case of a ModificationError 2019-02-22 12:26:24 +01:00
Johannes Meyer
987f576d76 Upgrade Sortable.js
Now on d373ea05e22da265b5f6fc8f218251b78f00ba71
2019-02-22 12:26:24 +01:00
Johannes Meyer
c63e235489 js: Make auto-scroll to the top working 2019-02-22 12:26:24 +01:00
Johannes Meyer
14998958a3 sortable.js upgrade 2019-02-22 12:26:24 +01:00
Johannes Meyer
c3a2d72a3b js: Remove obsolete delegation target for rowDropped 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
7fcf5df31a module.less: Remove obsolete TreeView rules 2019-02-22 12:26:24 +01:00
Johannes Meyer
d42548216b js: Cleanup and make tree collapse handling work with the new layout 2019-02-22 12:26:24 +01:00
Johannes Meyer
a3ce6e1543 tree: Apply final design 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