Commit graph

325 commits

Author SHA1 Message Date
Jennifer Mourek
87b1d961bc Add functionality to edit node 2018-07-31 12:50:25 +02:00
Eric Lippmann
024d537272
Merge pull request #169 from Icinga/fix/minimum-worst-state
BpNode: Use worst state in minimum state calculation
2018-07-02 17:24:18 +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
Eric Lippmann
1c76e7a152
Merge pull request #139 from Icinga/missing-counters
BpNode: Count missing nodes in getStateSummary
2018-07-02 17:22:35 +02:00
Eric Lippmann
c741d52a89
Merge pull request #155 from Icinga/bugfix/tile-view-info-url
Show the info URL also in the tile view
2018-07-02 17:20:54 +02:00
Eric Lippmann
14211fc3f7
Merge pull request #176 from Icinga/feature/update-styles
Feature/update styles
2018-07-02 17:19:15 +02:00
Jennifer Mourek
fffdffbe63 Remove badge container, when there is no conent 2018-06-28 13:37:46 +02:00
Jennifer Mourek
5391dff635 Change info URL icon 2018-06-26 16:11:29 +02:00
Jennifer Mourek
af6c0593a2 Change lock text and make action-bar icons bigger
Many users were confused by the lock/unlock functionality, this should make it a bit more clear.
2018-06-26 08:55:23 +02:00
Jennifer Mourek
a544f25551 Remove help from node detail view 2018-06-25 15:31:34 +02:00
Markus Frosch
9120449acb BpNode: Use worst state in minimum state calculation
Ensure we use the worst state within a minimum condition, previously we
did use the Xth best.

refs #167
2018-03-20 16:59:13 +01:00
Alexander A. Klimov
e4e651cbe8 Make node removal working as expected
refs #132
2017-12-04 14:14:06 +01:00
Alexander A. Klimov
89347648e1 Show the info URL also in the tile view 2017-12-04 14:13:28 +01:00
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
bf52fd0dd6 MonitoringState: Improve host and service filter
`host IN ...` is a lot faster than `host = 'xx' OR host = 'yy'` in
larger processes.

And document performance of querying for specific services.
2017-06-01 15:40:09 +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