Commit graph

250 commits

Author SHA1 Message Date
Ravi Kumar Kempapura Srinivasa
1278480b6e Fix 'vsprintf(): Too few arguments' in ProcessController::showAction()
Before, we called printf twice because BpConfig::addError()
already makes use of printf. The exception only occured for
nodes that have a percent sign (%) in their name.

fixes #234
2020-02-26 15:09:17 +01:00
Johannes Meyer
9835dc9c03
Merge pull request #264 from Icinga/fix/check-command-handling-256
ProcessCommand: handle errors as UNKNOWN
2020-02-26 12:02:08 +01:00
Johannes Meyer
cb1cd24bfe de_DE: Avoid anglicisms
resolves #257
2020-02-26 12:00:15 +01:00
Yonas Habteab
1397c8a7af ProcessCommand:handle some other errors as UNKONWN
fixes #256
2020-02-26 10:23:30 +01:00
Johannes Meyer
144bcdf852 Remove space after reference operators 2020-02-26 09:19:31 +01:00
Yonas Habteab
09cb5ef6fe ProcessCommand: handle error as UNKNOWN
fixes #256
2020-02-25 16:04:40 +01:00
Dominik Seidel
8ef1dfcbdc CLI: Add options --downtime-is-ok and --ack-is-ok 2020-02-05 15:01:22 +01:00
Dominik Seidel
1414e76d94 CLI: Add options --blame and --root-cause 2020-02-05 15:01:22 +01:00
Johannes Meyer
f13145f43b BpUploadForm: Properly adjust the success url 2019-11-04 16:08:28 +01:00
Johannes Meyer
61dc23fa10 locale: Update german translation 2019-03-01 12:43:16 +01:00
Johannes Meyer
dc69522ae5 ProcessForm: Properly populate element display 2019-03-01 08:20:48 +01:00
Johannes Meyer
0fbb8956e9 node/impact: Don't show colored background for breadcrumbs
There are stateballs now.
2019-02-26 15:06:02 +01:00
Johannes Meyer
d690c07ed8 process/show: Don't show the control separator when in fullscreen or on the dashboard 2019-02-26 08:57:46 +01:00
Johannes Meyer
21980a394f NodeController: Also show impact on imported sub processes 2019-02-25 15:09:34 +01:00
Johannes Meyer
eaf5b85538 Change how imported nodes are recognized
Since configurations are cached this cannot be done by using
a flag. Instead the rendering and path aggregation are now able
to distinguish nodes themselves.
2019-02-25 13:58:18 +01:00
Johannes Meyer
40538c51ce LegacyStorage: Add cache to avoid parsing configurations multiple times 2019-02-25 12:42:52 +01:00
Johannes Meyer
6ae4cf745c RenderedProcessActionBar: Don't allow to unlock imported nodes 2019-02-22 14:41:53 +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
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
7a8c48c7e8 Fix a few style issues 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
ccdadf68f2 MoveNodeForm: Respond with a status of 400 in case of a ModificationError 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
bc03569765 Properly handle display values when performing other actions than moving 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
ea0a04065d Add support to move nodes between processes 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
c804177ca4 Also save user defined order of processes nodes while in tree view 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
876a577e85 Don't sort processes in case manual sorting has been applied 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
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
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
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
64256f3654 EditNodeForm: Only allow basic changes to existing sub-nodes 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
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