Commit graph

311 commits

Author SHA1 Message Date
Markus Frosch
98cc43f01b BpNode: Count missing nodes in getStateSummary
Children that are missing should increment the counter, as well as
if no children are present.

So it's easy to find missing nodes following the counters.
2017-06-01 16:51:22 +02:00
Markus Frosch
5dfe4782ea LegacyConfigParser: Trim line in parseHeaderLine
To avoid whitespace and \r in header. Also supports DOS line endings.

fixes #136
2017-05-31 14:26:31 +02:00
Thomas Gelf
52dfd0ceaa LegacyConfigParser: trim header lines
fixes #136
2017-05-31 14:09:06 +02:00
Thomas Gelf
30d04c423c Html: use add missing Exception class 2017-05-31 14:08:43 +02:00
Thomas Gelf
ad1ff7af91 BpNode: use loop detection when checking for...
...missing children

fixes  #121
2017-03-21 11:30:49 +01:00
Max Stephan
ec813683ab check "canModify" also in simulation mode 2017-03-16 09:23:47 +01:00
Thomas Gelf
be5d8116ce Html: defer rendering of array content 2017-02-27 12:28:40 +01:00
Thomas Gelf
94e29aec1d BaseElement: fix addAttributes() helper 2017-02-27 12:28:00 +01:00
Thomas Gelf
892780de96 doc/changelog: add a changelog 2017-02-20 15:16:33 +01:00
Thomas Gelf
98bd02c164 Node: clear missing when setting state 2017-02-20 15:01:10 +01:00
Thomas Gelf
14e30e4741 BpNode: set missing to unknown before fetching...
...sorting state

refs #105
2017-02-20 14:57:17 +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
2f3e5fb419 BpConfig: allow access to a fake unbound base node
fixes #100
2017-02-20 14:19:52 +01:00
Thomas Gelf
72fc8b03c9 Metadata: allowed roles are a simple array
refs #98
2017-02-17 18:49:17 +01:00
Thomas Gelf
59d721fdbc ImportedNode: fix link to linked node 2017-02-17 18:40:54 +01:00
Thomas Gelf
8871dbd8e1 TreeRenderer: fix outdated edit link
fixes #101
2017-02-17 15:38:36 +01:00
Thomas Gelf
f5d551bbf0 ImportedNode: improve link targets, fix rendering
refs #108
2017-02-16 14:05:16 +01:00
Thomas Gelf
369c52dfd4 ImportedNode: use MonitoringState
fixes #108
2017-02-16 13:35:28 +01:00
Thomas Gelf
d88522eb85 Renderers: do not show links and buttons...
...pointing to readwrite actions in case such are not allowed

refs #107
2017-02-08 17:59:03 +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
52ee6d759f Metadata: add support for 'prefix' restriction
refs #106
2017-02-08 16:05:06 +01:00
Thomas Gelf
a722615d9b Metadata: fix group membership check
refs #98
2017-01-27 21:04:22 +01:00
Thomas Gelf
61fd8caa93 BpNode: add a new helper method 2017-01-27 15:32:08 +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
52b3abb929 Simulation: load current simulations from session
fixes #93
2017-01-27 13:04:43 +01:00
Thomas Gelf
8b6ab3d2fe Renderer, js: redirect links from dashboard tiles 2017-01-27 11:53:58 +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
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
2023cae041 LegacyConfigParser: parse metadata from string
fixes #91
2017-01-27 10:02:35 +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
3718968883 TreeRenderer: fix process/node distinction
fixes #86
2017-01-26 15:59:43 +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
4d3afdda4d Html: add a prepend() method 2017-01-25 01:03:36 +01:00
Thomas Gelf
051f9376b7 LegacyConfig: fix info_url parsing and rendering
fixes #71
2017-01-23 23:38:43 +01:00
Thomas Gelf
4d912dffc3 TileRenderer: link unbound with name, not label 2017-01-23 10:18:58 +01:00
Thomas Gelf
404223a306 Renderer: provide classes for missing nodes
fixes #76
2017-01-23 09:54:53 +01:00
Thomas Gelf
2b8f51e983 Renderer: calculate state before retrieving...
...unbound nodes

fixes #74
2017-01-23 09:50:19 +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
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
c083b117dd Modification: rename $bp to $config 2017-01-11 17:36:32 +01:00
Thomas Gelf
56ab13d2b0 LegacyConfigRenderer: use correct helper...
...when rendering required process
2017-01-11 17:01:45 +01:00
Thomas Gelf
fc117217dd Storage: cosmetics 2017-01-11 17:01:34 +01:00
Thomas Gelf
f769fd3855 Renderer: rename config property 2017-01-11 14:33:35 +01:00
Thomas Gelf
22583aa083 BpConfig: renamed from BusinessProcess 2017-01-11 14:09:30 +01:00