Commit graph

811 commits

Author SHA1 Message Date
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
3146bfda6a MoveNodeForm: Show ModificationErrors as notifications 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
d2c858ddf8 js: Fix case of the desired method when submitting order changes 2019-02-22 12:26:24 +01:00
Johannes Meyer
b46a633d6d ProcessController: Provide a new set of parameters when redirecting 2019-02-22 12:26:23 +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
67ba5205e2 js: Upgrade Sortable.js to latest version (1.8.0-rc1) 2019-02-22 12:26:23 +01:00
Johannes Meyer
08bfbc462b Save user defined order of processes/nodes 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
f4298034b9 js: Add drag&drop functionality 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
Johannes Meyer
324a6e898d node/impact: Show message if no impact is detected
fixes #160
2019-02-19 08:45:39 +01:00
Johannes Meyer
c8a6eee054 Merge branch 'bugfix/host-not-found-147'
fixes #147
2019-02-18 15:36:14 +01:00
Johannes Meyer
e76de6515e Fix tests 2019-02-18 15:24:12 +01:00
Johannes Meyer
4c0136eec8 Beautify displayed message for restricted hosts/services
refs #147
2019-02-18 15:20:42 +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
a1df0347f5 AddNodeForm: Don't allow to import imported nodes 2019-02-14 14:36:30 +01:00
Johannes Meyer
71fb738016 ProcessController: Properly handle spaces in node names 2019-02-14 14:26:20 +01:00
Johannes Meyer
763ac872d3 Introduce and utilize class NoDuplicateChildrenValidator 2019-02-14 11:29:30 +01:00
Michael Friedrich
6d5e5bdb76 Docs: Add IPL dependency
refs #202
2019-02-07 09:48:13 +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
a707ee3eb7 Use "ID" instead of "Name" and "Display Name" instead of "Title" 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
de3e0e5b6c process/config: Preserve display mode when storing changes 2019-01-17 14:57:38 +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
64256f3654 EditNodeForm: Only allow basic changes to existing sub-nodes 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
b2ef90b99f BpConfigForm: Switch to single column layout after adding/changing processes 2019-01-17 14:36:28 +01:00
Johannes Meyer
788f690154 Merge branch 'feature/integrate-ipl-html'
resolves #130
2019-01-17 14:15:27 +01:00
Johannes Meyer
dc169cb6a8 test: Integrate icingaweb2-module-ipl as dependency
refs #130
2019-01-17 13:46:23 +01:00