Commit graph

108 commits

Author SHA1 Message Date
Thomas Gelf
ae4cf396dc node/simulate: link to overlay 2015-10-07 17:10:26 +02:00
Thomas Gelf
960446a16e Controller: add loadForm helper method 2015-10-06 22:35:44 +02:00
Thomas Gelf
bf5b3424be BpNode: provide also host state types in summary 2015-10-06 22:35:00 +02:00
Thomas Gelf
0c633491d4 QuickForm: initial import, makes things easier 2015-10-06 22:33:05 +02:00
Thomas Gelf
dccee863ef ServiceNode: formatting 2015-10-06 22:29:06 +02:00
Thomas Gelf
1088f877c1 BpNode: fix parent signature 2015-10-06 09:17:16 +02:00
Thomas Gelf
944ec1c880 Node: remove duplicate method 2015-10-06 09:03:10 +02:00
Thomas Gelf
675b74ada9 Node: provide generic helpers 2015-10-06 08:59:22 +02:00
Thomas Gelf
1220fc4ae5 BusinessProcess: simulation overrides "missing" 2015-10-06 08:57:39 +02:00
Thomas Gelf
2b91ec2309 BusinessProcess: remove obsolete sprintf 2015-10-05 18:48:43 +02:00
Thomas Gelf
03ef17328c BusinessProcess: do not store modification date
File mtime should suffice, and this interferes with "idempotent" cm
tools
2015-10-05 17:51:05 +02:00
Thomas Gelf
4a790976af Introduce the NOT operator (!)
refs #10315
2015-10-05 16:50:33 +02:00
Thomas Gelf
3009a28d3d BusinessProcess, BpNode: improve legacy storage
Before this fix depending on tree structure processes used multiple
times as a sub-node could have been stored multiple times, resulting
in warnings at render time.
2015-10-05 16:40:08 +02:00
Thomas Gelf
f5facc02d1 HostNode: override state maps 2015-10-05 16:38:45 +02:00
Thomas Gelf
8a3a04b5f9 LegacyStorage: allow weird operator combinations
This allows for "a = b & c & d &" (Neteye writes such config) and for
future extensions like "a = ! b"
2015-10-05 16:37:10 +02:00
Thomas Gelf
e80f7765c8 Node: use new helpers, allow to override maps 2015-10-05 15:58:53 +02:00
Thomas Gelf
93cede7a32 Node: use available icinga state constants 2015-10-05 13:35:09 +02:00
Thomas Gelf
8de13f06b2 BpNode: clean up, remove legacy constructor comments 2015-10-05 12:39:37 +02:00
Thomas Gelf
472e31e55e Node: move logic to new getStateClassNames() method 2015-10-05 12:38:12 +02:00
Thomas Gelf
64bab3f8da Node: remove implementation-specific logic 2015-10-05 12:34:47 +02:00
Thomas Gelf
a97073334c BpNode: move state-related logic to base Node 2015-10-05 08:42:59 +02:00
Thomas Gelf
e242742deb BpNode: dedicated methods for state transformation 2015-10-02 21:41:20 +02:00
Thomas Gelf
951d4d0ab0 BpNode: calculate latest state change 2015-10-02 08:32:54 +02:00
Thomas Gelf
bf69d5298a Node: show timeSince for all node types 2015-10-02 08:32:16 +02:00
Thomas Gelf
96d8949f52 ServiceNode: show timeSince 2015-10-01 23:10:30 +02:00
Thomas Gelf
cdbbabd9ea LegacyStorage: fix exception message 2015-10-01 22:38:43 +02:00
Dirk Goetz
73fe7cd2da Fix info_url by setting return properly
fixes #9518
2015-09-11 14:05:08 +02:00
Thomas Gelf
9491e95c02 BusinessProcess: split host/service row iteration
fixes #9410
2015-09-11 09:31:58 +02:00
Thomas Gelf
6dd7b30173 BusinessProcess: fix variable for unbound node 2015-03-24 10:44:57 +01:00
Thomas Gelf
f5e3bc4c01 BusinessProcess: fix "bp nodes can be stored twice" 2015-03-16 13:37:08 +01:00
Thomas Gelf
c36fd5024e BpNode: handle "display" numeric 2015-03-16 13:18:19 +01:00
Thomas Gelf
94a22c23c3 BusinessProcess: handle root node detection 2015-03-16 13:17:03 +01:00
Thomas Gelf
4876a5d200 HostNode: Hoststatus VS Hoststate - legacy 2015-03-16 13:15:36 +01:00
Thomas Gelf
a656243c64 BusinessProcess: allow to clear applied changes 2015-03-16 13:14:59 +01:00
Thomas Gelf
fc29d7edf9 BpNode: no link for unbound root node 2015-03-16 13:12:20 +01:00
Thomas Gelf
c4004d9320 HostNode: use action/link separation 2015-03-16 13:11:39 +01:00
Thomas Gelf
e057e61567 editor: sorry, monster commit :) 2015-03-16 09:08:00 +01:00
Thomas Gelf
88e7a1ad18 Node: fix info url link rendering and events
fixes #8574
2015-03-03 13:55:33 +01:00
Thomas Gelf
d243271462 BusinessProcess: avoid duplicates when stored 2015-03-03 12:51:03 +01:00
Thomas Gelf
bdac469099 LegacyStorage: split logic into more methods
We want to optimize the process and be able to read from raw strings
too.
2015-03-03 11:44:19 +01:00
Thomas Gelf
7d31250816 BpNode: unique operator validation 2015-03-03 11:06:54 +01:00
Thomas Gelf
19ab1a28cc BpNode: show full process missing if childs are so 2015-03-03 11:00:15 +01:00
Thomas Gelf
3e6f041a0b Node: add newlines to HTML, not too much 2015-03-03 10:40:05 +01:00
Thomas Gelf
01c5063839 LegacyStorage: write config to disk
Temporarily added URL parameter to test writing configs
2015-03-02 18:23:19 +01:00
Thomas Gelf
ced3baa11b Controller: do not load states for every action 2015-03-02 18:22:42 +01:00
Thomas Gelf
a63ac99ac5 BusinessProcess: config should end with a newline 2015-03-02 18:21:50 +01:00
Thomas Gelf
6cad8bb9cb BpNode: fix "display" when rendering config 2015-03-02 18:21:08 +01:00
Thomas Gelf
dfa2de946f LegacyStorage: implement import syntax
Using @ prefix for now, works fine. Please note that this might still
be subject to change unless our first stable release.
2015-02-13 01:57:12 +01:00
Thomas Gelf
8f0b492b1b Node: node type class detection
Not so nice, but works for now
2015-02-13 01:56:19 +01:00
Thomas Gelf
99e03ef44f BusinessProcess: tell about state type 2015-02-13 01:55:46 +01:00