Commit graph

303 commits

Author SHA1 Message Date
Johannes Meyer
b2ef90b99f BpConfigForm: Switch to single column layout after adding/changing processes 2019-01-17 14:36:28 +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
67613930a2 BpConfigForm: Don't override processes which have coincidentally the same name
fixes #195
2019-01-09 13:02:20 +01:00
Thomas Gelf
8b7311591f Revert "Adjust tile navigation"
This reverts commit 50e18766f6.

refs #192
2018-12-12 16:36:09 +01:00
Eric Lippmann
8f98f31d66 Trigger session destruction to make sure it get's stored 2018-08-15 16:45:49 +02:00
Eric Lippmann
1c0e9f5bd4 Fix missing redirects
Some forms were missing the parent::onSuccess() call.
2018-08-15 09:39:26 +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
7c491496fa Use natcasesort 2018-08-13 13:30:33 +02:00
Eric Lippmann
059a59b119 Support exporting to CSV, JSON and PDF 2018-08-01 13:12:08 +02:00
Eric Lippmann
99a66a4b4b Remove node before recreating it upon edit
Else you may run into errors that objects have been defined twice.
2018-07-31 12:59:49 +02:00
Eric Lippmann
f4a3fcc81b Close action form after successful submission 2018-07-31 12:50:25 +02:00
Jennifer Mourek
9cfe95df60 Remove option 'DEG' 2018-07-31 12:50:25 +02:00
Jennifer Mourek
d9808ae9b7 Remove comment and fix codestyle 2018-07-31 12:50:25 +02:00
Jennifer Mourek
c1cb7612c0 Add preselection when editing 2018-07-31 12:50:25 +02:00
Jennifer Mourek
87b1d961bc Add functionality to edit node 2018-07-31 12:50:25 +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
460670c769 AddNodeForm: Remove option 'DEG'
refs #159
2018-07-02 12:48:21 +02:00
Eric Lippmann
2fd3011978
Merge pull request #157 from Icinga/bugfix/new-node-self-reference-149
Prevent circular node references
2018-06-26 10:54:53 +02:00
Eric Lippmann
ab643314fe
Merge pull request #153 from Icinga/feature/unlock-required-150
Lock processes more user-friendly
2018-06-26 10:09:30 +02:00
Max Stephan
1db47e6cc3 fix translation syntax "NIcht" -> "Nicht" 2018-06-26 09:26:26 +02:00
Jennifer Mourek
d722f969b0 Fix not being able to add the first node 2018-06-25 16:56:26 +02:00
Alexander A. Klimov
1bc4b377ea Prevent circular node references
refs #149
2018-06-25 16:42:00 +02:00
Alexander A. Klimov
e4e651cbe8 Make node removal working as expected
refs #132
2017-12-04 14:14:06 +01:00
Alexander A. Klimov
aac6ebb679 Lock processes more user-friendly
refs #150
2017-12-04 14:13:48 +01:00
Markus Frosch
651bb15041 ProcessController: Shorten list of missing nodes in UI 2017-05-31 14:24:17 +02:00
Thomas Gelf
0d49df0191 locale/de_DE: refresh German translation 2017-02-20 15:21:56 +01:00
Thomas Gelf
9750e13234 BpNode, process/show: error for missing children...
...and unknown as state

fixes #105
2017-02-20 14:47:30 +01:00
Thomas Gelf
a9db4f9120 ProcessController: superfluous newline 2017-02-20 14:17:00 +01:00
Thomas Gelf
c4242f869b ProcessController: do not show edit forms...
...even if requested

refs #107
2017-02-08 17:56:38 +01:00
Thomas Gelf
e6722d9024 ProcessController: add missing permission checks
refs #107
2017-02-08 17:39:22 +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
09031d38da ProcessCommand: allow to list process nodes
fixes #97
2017-01-27 15:26:11 +01:00
Thomas Gelf
5cbd46b6e3 Node: return myself in every path
fixes #96
2017-01-27 15:01:48 +01:00
Thomas Gelf
0c395cc005 DeleteNode: use parent, not path
fixes #94
2017-01-27 14:57:57 +01:00
Thomas Gelf
b0e38df177 BpUploadForm: stop on duplicate name
fixes #95
2017-01-27 14:56:07 +01:00
Thomas Gelf
8be4adfa5d BpUploadForm: remove newline to fix phpcs issue 2017-01-27 11:40:52 +01:00
Thomas Gelf
dfd9ee74c3 BpUploadForm: completely refactor upload
It's much more comfortable and consists of two steps, upload - and a validation
allowing one to manually tweak the source before storing it.

fixes #8
2017-01-27 10:04:59 +01:00
Thomas Gelf
60d043cb18 Simulation: refactor the whole class
First step, more to come. Single node simulations should be moved to a
dedicated class of course

fixes #88
fixes #89
2017-01-26 22:09:38 +01:00
Thomas Gelf
a0a2a59bcd ProcessController: add help title for leaving...
...full screen mode
2017-01-25 10:12:00 +01:00
Thomas Gelf
7a4c9d4f6d RenderedProcessActionBar: help for tree/tile view
fixes #79
2017-01-25 10:03:45 +01:00
Thomas Gelf
70e4f20f17 locale: improve and complete German translation 2017-01-25 09:48:21 +01:00
Thomas Gelf
c221c0becd ProcessController: it's "Business Process"
fixes #85
2017-01-25 09:11:25 +01:00
Thomas Gelf
dae799fd1e AddNodeForm: do not store a parent in case...
...there is no such

fixes #83
2017-01-23 23:45:52 +01:00
Thomas Gelf
845cb3462d ProcessController: improve config-related tabs...
...and actions
2017-01-12 09:18:44 +01:00
Thomas Gelf
3dff6848ec Merge branch 'feature/travis' 2017-01-11 23:58:57 +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
5f6b35906d AddNode: fix creating nested nodes
fixes #13883
2017-01-11 17:38:19 +01:00
Thomas Gelf
c86c2fe151 DeleteNodeForm: fix business impact link 2017-01-11 17:33:29 +01:00
Thomas Gelf
643261c9f7 NodeController: apply simulations to business...
...impact rendering
2017-01-11 17:01:50 +01:00
Thomas Gelf
094fbd6c27 BpConfigForm: validate process name 2017-01-11 17:01:40 +01:00
Thomas Gelf
22583aa083 BpConfig: renamed from BusinessProcess 2017-01-11 14:09:30 +01:00
Thomas Gelf
75dc5e0ef6 ProcessController: use new LegacyConfigRenderer 2017-01-11 13:39:36 +01:00
Thomas Gelf
8f1ce049de MonitoringState: introduce new helper class
Removes logic from BusinessProcess class
2017-01-11 09:51:39 +01:00
Thomas Gelf
024618e3a5 DeleteNodeForm: adjust impact link 2017-01-11 08:35:07 +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
Thomas Gelf
26d41a445d views/scripts: remove unified scripts 2017-01-08 23:09:22 +01:00
Thomas Gelf
e4043d94a2 ProcessController: improve download link 2017-01-03 11:43:22 +01:00
Thomas Gelf
7d82bb05bd ProcessCommand: align usage of list methods 2017-01-03 11:38:41 +01:00
Thomas Gelf
40de5a2b4d ProcessController: provide edit action 2017-01-03 11:38:17 +01:00
Thomas Gelf
141c043b04 BpConfigForm: render to main after removal 2017-01-03 11:36:43 +01:00
Thomas Gelf
37ed2cd15d ProcessForm: remove child-related code 2017-01-03 11:35:43 +01:00
Thomas Gelf
7e11ead8a8 ProcessController: unify view scripts for config...
...and diff
2017-01-03 11:32:02 +01:00
Thomas Gelf
8bd1e10f95 DeleteNode: quite some rework, provide more...
...possibilities, remove "not implemented" exception
2017-01-03 11:23:05 +01:00
Thomas Gelf
7b0b550f4f AddNodeForm: waste less space for multiselects 2017-01-03 11:17:46 +01:00
Thomas Gelf
898576f63a RenderedProcessActionBar: introduce new class...
...to keep ActionBar more generic
2017-01-03 11:12:20 +01:00
Thomas Gelf
4f32818488 NodeController: drop it 2017-01-03 11:08:38 +01:00
Thomas Gelf
e385a8cab2 php-diff: replace vendor lib 2017-01-03 11:03:30 +01:00
Thomas Gelf
8516e8749e DeleteNodeForm: add to process, add title 2016-12-17 19:22:04 +01:00
Thomas Gelf
cb1d43dcb2 AddNodeForm: main title, skip a step when new 2016-12-17 19:20:54 +01:00
Thomas Gelf
46b452c014 ProcessController: fix lock negation 2016-12-17 19:19:19 +01:00
Thomas Gelf
c1802a8f59 ProcessController: title, cosmetics 2016-12-17 19:15:50 +01:00
Thomas Gelf
93f9a1ac26 ProcessController: restructure create & upload 2016-12-16 19:44:48 +01:00
Thomas Gelf
20f5902160 DeleteNodeForm: provide a new delete action Form 2016-12-16 19:33:37 +01:00
Thomas Gelf
0bcdb7f502 NodeController: remove obsolete actions...
...they are handled by various inline forms in the ProcessController
2016-12-16 19:29:53 +01:00
Thomas Gelf
d90998cc72 IndexController: use controls() and content() 2016-12-16 19:28:33 +01:00
Thomas Gelf
983bd27bf8 BpConfigForm: remove useless spaces, also from...
...translation
2016-12-16 19:24:27 +01:00
Thomas Gelf
d876f16022 view/scripts: work with Renderables only 2016-12-16 19:22:39 +01:00
Thomas Gelf
2aab94adf3 application/locale: refresh German translation 2016-12-12 13:56:52 +01:00
Thomas Gelf
1f17ca8a24 views/scripts: remove obsolete files 2016-12-12 13:56:31 +01:00
Thomas Gelf
72e7aa798c Rendering: improve tile sizes, fullscreen mode 2016-12-09 16:59:25 +01:00
Thomas Gelf
b73eed20b0 ProcessController: change tab rendering and more 2016-12-09 16:10:32 +01:00
Thomas Gelf
f382102cfc ProcessForm: introduce a new wizard 2016-12-09 14:49:39 +01:00
Thomas Gelf
f7f230c7a1 ProcessController: change default rendering mode 2016-12-09 14:38:47 +01:00
Thomas Gelf
4bda7e8493 ProcessController: one less helper method 2016-12-09 14:36:09 +01:00
Thomas Gelf
ce82446732 ProcessController: less work for BusinessProcess
Delegate locking to the renderer, config to the storage
2016-12-09 14:24:20 +01:00
Thomas Gelf
791a0286b8 BpConfigForm: deal with new Metadata object 2016-12-09 14:05:58 +01:00
Thomas Gelf
36e624c448 Dasboard: introduce a new config overview page 2016-12-09 14:02:02 +01:00
Thomas Gelf
cc2bb604c2 AddNodeForm: useless use of use 2016-12-09 13:58:33 +01:00
Thomas Gelf
18dc398dca ActionBar: take over logic from controller 2016-12-09 13:57:07 +01:00
Thomas Gelf
b11fbf5211 views/scripts: remove obsolete view scripts 2016-12-09 13:50:59 +01:00
Thomas Gelf
f41e4c34c2 Controller: moved to Web 2016-12-09 09:53:36 +01:00
Thomas Gelf
9712065a6b AddNodeForm: show next when not completed 2016-12-08 10:12:43 +01:00
Thomas Gelf
0380e46552 Form: upgrade to latest forms from Director 2016-12-08 10:11:46 +01:00
Thomas Gelf
590bdd35b1 AddNodeForm: workaround for session shutdown issue 2016-12-07 23:20:52 +01:00
Thomas Gelf
46c94ef68f AddNodeForm: use dedicated enums for different...
...host lists
2016-12-07 23:12:11 +01:00
Thomas Gelf
a784b384f4 NodeCreateAction: allow to add root nodes 2016-12-07 16:02:06 +01:00
Thomas Gelf
a5eaa19bce ProcessController: fix tree view link 2016-11-30 14:51:09 +01:00
Thomas Gelf
414d17afbf ProcessController: show hints and errors 2016-11-30 14:37:07 +01:00
Thomas Gelf
fbfb99171e SimulationForm: state type fixes 2016-11-30 14:35:58 +01:00
Thomas Gelf
8825b0e343 ProcessController: restructured 2016-11-29 16:58:03 +01:00
Thomas Gelf
c11a181701 Process: add and use new form 2016-11-29 15:32:56 +01:00
Thomas Gelf
a47e78209d AddNodeForm: initial commit 2016-11-29 15:06:24 +01:00
Thomas Gelf
370558f740 ProcessController: improve rendering in dasbboard 2016-11-29 09:16:17 +01:00
Thomas Gelf
39fd28daad ProcessController: remove last trace of old script 2016-11-29 00:56:12 +01:00
Thomas Gelf
aba771f3aa js, Controller: allow to toggle fullscreen mode 2016-11-29 00:50:20 +01:00
Thomas Gelf
3f9d0d781d process/show: reduce to a minimun, remove...
...bprenderer.phtml
2016-11-28 22:18:43 +01:00
Thomas Gelf
cd13afd560 node/add: simplify view script 2016-11-28 22:16:33 +01:00
Thomas Gelf
d3eff54603 Controller: take over view tasks, move to parent 2016-11-28 22:15:20 +01:00
Thomas Gelf
11322d2309 ProcessController: add prepareProcessActions 2016-11-28 17:28:58 +01:00
Thomas Gelf
28f6026322 AddNewTile: render an icon 2016-11-28 16:03:12 +01:00
Thomas Gelf
d716b97c25 ProcessController: split logic, render breadcrumb 2016-11-28 16:02:21 +01:00
Thomas Gelf
3108d08ba3 IndexController: default to tile renderer 2016-11-28 16:00:55 +01:00
Thomas Gelf
bbcc6eaecf UploadForm: first import, still testing 2016-11-28 02:13:41 +01:00
Thomas Gelf
c4b0aa1578 SimulationForm: restructure, base on node props 2016-11-28 02:11:21 +01:00
Thomas Gelf
f09a246392 process/show: failsafe process rendering 2016-11-28 00:50:20 +01:00
Thomas Gelf
281b3286bd ProcessController: switch config based on a field 2016-11-28 00:49:21 +01:00
Thomas Gelf
1c7792321a process/show: use actionBar, not single links 2016-11-28 00:48:35 +01:00
Thomas Gelf
d930e97b9c ProcessController: remodel links, add bprenderer...
...to introduce the TileRenderer
2016-11-28 00:46:53 +01:00
Thomas Gelf
d1f6235393 RenderStateBadges: deprecate the legacy helper 2016-11-28 00:15:14 +01:00
Thomas Gelf
2fc48f2124 js: Handle collapsed state of multiple trees
fixes #8569
2016-11-24 09:39:44 +01:00
Thomas Gelf
a19bbfed63 ProcessCommand: document new flags and options
fixes #10866
2016-11-23 21:10:48 +01:00
Thomas Gelf
656a5ada0e ProcessCommand: add a 'list' action
fixes #13293
2016-11-23 15:29:14 +01:00
Thomas Gelf
1e351a7724 ProcessCommand: replace and deprecate CheckCommand
fixes #13295
2016-11-23 15:20:46 +01:00
Dirk Goetz
cc93a1d04a Change pipe to broken pipe for or in detail output
refs #10868
2016-11-23 15:17:25 +01:00
Thomas Gelf
afcf42e871 phpcs: some more 2016-11-23 15:17:25 +01:00
Thomas Gelf
2b98629f3e Modification: move modification handling to...
...a dedicated namespace
2016-11-23 15:17:25 +01:00
Thomas Gelf
9acdba0dc4 various: fix some phpcs PSR2 complaints 2016-11-23 15:17:25 +01:00
Thomas Gelf
30cdc70783 edit/simulationlink: remove obsolete view scripts 2016-11-23 15:17:25 +01:00
Thomas Gelf
fd3c577cb4 NodeController: benefit from simpler forms 2016-11-23 15:17:25 +01:00
Thomas Gelf
450cfc0403 DeleteConfigForm: this is no longer needed 2016-11-23 15:17:25 +01:00
Thomas Gelf
1c54d8be2c CreateConfigForm: remove obsolete file 2016-11-23 15:17:25 +01:00
Thomas Gelf
4add34aca6 ProcessController: simplify form-related code 2016-11-23 15:17:25 +01:00
Thomas Gelf
4f2ae8a532 BpConfigForm: refactor based on QuickForm 2016-11-23 15:17:25 +01:00
Thomas Gelf
7fcef19c6e permissions: provide a few 2016-11-23 15:17:25 +01:00
Thomas Gelf
5484cfc887 process/toplevel: remove legacy action 2016-11-23 15:17:25 +01:00
Thomas Gelf
ba5e0964bb controllers: use namespaces 2016-11-23 15:17:25 +01:00
Thomas Gelf
c8e29575bd ProcessController: rename method 2016-11-23 15:17:25 +01:00
Thomas Gelf
6fac82b3f9 ProcessForm: create top level procs per default
This is less confusing for beginners
2016-11-23 15:17:25 +01:00
Thomas Gelf
5ce4346cbd Revert "Implement overlay as a link target"
This reverts commit ef949e3adb.
2016-11-23 15:17:25 +01:00
Thomas Gelf
e52037b84f cli/check: add --details and --colors 2015-11-19 14:50:03 +01:00
Thomas Gelf
6c701a63fc SimulationForm: remove obsolete code 2015-11-17 13:01:16 +01:00
Thomas Gelf
05882d5d09 CheckCommand: delete legacy code 2015-11-17 12:51:05 +01:00
Thomas Gelf
349b996233 BpConfigForm: directly use url object 2015-11-17 12:49:11 +01:00
Thomas Gelf
f9b9d9645a cli/check: return unknown on process failures 2015-11-16 08:38:21 +01:00
Thomas Gelf
b429d81d36 SimulationForm: make use of new form base lib
Makes things easier. Less hacks, more features
2015-10-07 17:10:49 +02:00
Thomas Gelf
0ab28c3993 node/empty: "closeme"-hack for overlay 2015-10-07 17:10:05 +02:00
Thomas Gelf
f27387e723 node/simulate: remove controls for overlay 2015-10-07 17:09:36 +02:00
Thomas Gelf
e2a0259fd1 process/show: remove a couple of main targets 2015-10-07 16:51:37 +02:00
Thomas Gelf
ef949e3adb Implement overlay as a link target 2015-10-07 16:48:59 +02:00
Thomas Gelf
4c9ed65a09 RenderStateBadges: strip state name logic 2015-10-06 22:33:59 +02:00