Eric Lippmann
7cb7f40e87
Don't show edit actions for the unbound nodes tile
2018-08-14 10:37:44 +02:00
Eric Lippmann
7c491496fa
Use natcasesort
2018-08-13 13:30:33 +02:00
Eric Lippmann
e3e24fd29a
Fix link base targets for the tile view
...
Node details now always open in the detail area instead of the same
column.
2018-08-01 13:53:01 +02:00
Eric Lippmann
146ad0171f
Display root nodes in the dashboard
2018-08-01 13:53:01 +02:00
Eric Lippmann
059a59b119
Support exporting to CSV, JSON and PDF
2018-08-01 13:12:08 +02:00
Alexander A. Klimov
15cc3e88e0
Require Icinga Web 2.5.1
...
refs #113
2018-08-01 09:37:59 +02:00
Alexander A. Klimov
ee3cdf67a1
Url: remove unneccessary duplicate code
...
refs #113
2018-08-01 09:37:23 +02:00
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
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
Thomas Gelf
149696fb50
BpNode: remove code related to legacy config
2017-01-11 13:40:42 +01:00
Thomas Gelf
5443d73f08
Node: use concret implementation in type hint
2017-01-11 13:38:47 +01:00
Thomas Gelf
e26daca0f4
LegacyConfigRenderer: make some helpers static
2017-01-11 13:38:21 +01:00
Thomas Gelf
0b9e0a2d86
BusinessProcess: add new helpers for BpNodes
2017-01-11 13:37:52 +01:00
Thomas Gelf
c52c970528
LegacyConfigParser: new parser class
...
Takes over and cleans up logic from LegacyStorage
2017-01-11 13:36:38 +01:00
Thomas Gelf
1acf06aaba
Storage: fix method name
2017-01-11 12:57:38 +01:00
Thomas Gelf
a9331a1e05
LegacyConfigRenderer: move rendering to dedicated
...
...class, simplifies LegacyStorage
2017-01-11 12:00:20 +01:00
Thomas Gelf
a03feb03c5
Storage: clean up interface
2017-01-11 11:57:10 +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
1ca7e3e1d1
Add a couple of comments
2017-01-11 09:48:16 +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
6155bb5e2b
Controller: remove obsolete code
2017-01-10 15:56:19 +01:00
Thomas Gelf
e4b773e827
BusinessProcess: add hasRootNode helper
2017-01-10 15:54:03 +01:00
Thomas Gelf
26d41a445d
views/scripts: remove unified scripts
2017-01-08 23:09:22 +01:00
Thomas Gelf
f16715814f
BusinessProcess: provide createImportedNode helper
2017-01-03 11:39:36 +01:00
Thomas Gelf
5f26440a00
NodeAddChildrenAction: do nothing for missing node
2017-01-03 11:37:39 +01:00
Thomas Gelf
32f50c85cf
Node: add helpers related to deletion
2017-01-03 11:35:09 +01:00
Thomas Gelf
2dc08be767
ProcessChanges: make path optional for deleteNode
2017-01-03 11:30:48 +01:00
Thomas Gelf
eb866bf4b1
Renderer: blacklist some more parameters
2017-01-03 11:30:27 +01:00
Thomas Gelf
549ec814ab
TileRenderer: show unbound nodes only at root level
2017-01-03 11:30:03 +01:00
Thomas Gelf
8770ff05ce
ConfigDiff: just a newline at end of file
2017-01-03 11:29:19 +01:00
Thomas Gelf
5b9748c208
Controller: fix class usage, add new helper
2017-01-03 11:28:58 +01:00
Thomas Gelf
9c22289bf3
BpNode: tweak hasInfoUrl()
2017-01-03 11:27:58 +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
65524e7a8b
NodeTile: tweak some links
2017-01-03 11:20:01 +01:00
Thomas Gelf
a45bb7c6cb
BusinessProcess: provide a listRootNodes() method
2017-01-03 11:18:37 +01:00
Thomas Gelf
e1ec6c7b6a
ImportedNode: make imports more robust
2017-01-03 11:17:17 +01:00
Thomas Gelf
047e9dd70d
LegacyStorage: throw error on incomplete imports
2017-01-03 11:16:00 +01:00
Thomas Gelf
898576f63a
RenderedProcessActionBar: introduce new class...
...
...to keep ActionBar more generic
2017-01-03 11:12:20 +01:00
Thomas Gelf
e385a8cab2
php-diff: replace vendor lib
2017-01-03 11:03:30 +01:00
Thomas Gelf
5443bd5b4e
LegacyStorage: new list helper method
2016-12-26 11:43:32 +01:00
Thomas Gelf
79ea88fe08
MetaData: fix typo
2016-12-23 12:47:43 +01:00
Thomas Gelf
40165353d8
ProcessChanges: fit changed NodeRemove api
2016-12-23 11:16:37 +01:00
Thomas Gelf
1fc6634b75
Renderer: do not preserve action-related params
2016-12-23 11:14:00 +01:00
Thomas Gelf
d5721b2a99
ImportedNode: use method, not property
2016-12-22 14:19:00 +01:00
Thomas Gelf
af8fe7c03d
ImportedNode: provide Url
2016-12-22 14:18:13 +01:00
Thomas Gelf
ac7fa5654f
TileRenderer: improve behavior, link targets
2016-12-17 19:18:15 +01:00
Thomas Gelf
c856a6fc26
BpNode: add comment to better reflect what's...
...
...going on. We are unknown when state calculation fails, not for empty
processes - related git commit message was misleading
2016-12-16 19:47:36 +01:00
Thomas Gelf
0214c596e6
TileRenderer: forgot to move addNode
2016-12-16 19:43:00 +01:00
Thomas Gelf
76a526d8dd
BpNode: let empty processes be unknown
2016-12-16 19:41:22 +01:00
Thomas Gelf
6f33705173
TileRenderer, Node: change rendering again...
...
...use a container div and provide multiple links now, this gives more
flexibility
2016-12-16 19:39:48 +01:00
Thomas Gelf
549c07b457
Controller: remove outdated permission code
2016-12-16 19:37:39 +01:00
Thomas Gelf
191edb794c
Renderer, Breadcrumb: let them know from each...
...
...other. Not nice, but helps for now
2016-12-16 19:36:24 +01:00
Thomas Gelf
d8a8e488a7
ActionBar: move fullscreen action more to the right
2016-12-16 19:35:10 +01:00
Thomas Gelf
9e30be79c6
NodeRemoveAction: rework to fit current reality
2016-12-16 19:32:36 +01:00
Thomas Gelf
0d696216e2
ActionBar: do not forget permissions
2016-12-16 19:31:22 +01:00
Thomas Gelf
2effa02d7f
QuickBaseForm: we are a Renderable object
2016-12-16 19:26:46 +01:00
Thomas Gelf
dccf411a70
BreadCrumb: do not preserve delete action
2016-12-16 19:21:29 +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
74d614be37
Tabs: add renderable wrapper
2016-12-09 16:08:25 +01:00
Thomas Gelf
8219de1491
BusinessProcess: more cleanup
2016-12-09 14:56:18 +01:00
Thomas Gelf
945b14fd60
BusinessProcess: drop locking code
2016-12-09 14:54:31 +01:00
Thomas Gelf
8ef7bdbfb4
Renderer: always preserve config property
2016-12-09 14:50:19 +01:00
Thomas Gelf
f3817b7d84
HtmlTag: add new helper class
2016-12-09 14:39:55 +01:00
Thomas Gelf
588542e304
Metadata: simpler auth handling
2016-12-09 14:17:25 +01:00
Thomas Gelf
0aeb3183f4
Node: remove toLegacyConfigString
2016-12-09 14:11:56 +01:00
Thomas Gelf
d24d0237f4
LegacyStorageTest: add a test targeting metadata
2016-12-09 14:03:49 +01:00
Thomas Gelf
36e624c448
Dasboard: introduce a new config overview page
2016-12-09 14:02:02 +01:00
Thomas Gelf
18dc398dca
ActionBar: take over logic from controller
2016-12-09 13:57:07 +01:00
Thomas Gelf
f4bd0b05bd
TreeRenderer: do not ask process for lock
2016-12-09 13:46:58 +01:00
Thomas Gelf
7ddc54f828
Metadata: move "header" logic to a dedicated class
2016-12-09 09:58:00 +01:00
Thomas Gelf
f41e4c34c2
Controller: moved to Web
2016-12-09 09:53:36 +01:00
Thomas Gelf
0380e46552
Form: upgrade to latest forms from Director
2016-12-08 10:11:46 +01:00
Thomas Gelf
1980c42ca6
BusinessProcess: do not use deprecated method...
...
...from the monitoring module
2016-12-07 23:17:01 +01:00
Thomas Gelf
7f3c16466a
NodeAction: make node optional
...
This is required for root nodes
2016-12-07 23:15:56 +01:00
Thomas Gelf
a2ea908480
Controller: just some comments
2016-12-07 23:15:12 +01:00
Thomas Gelf
654f905cf8
ProcessChanges: adjust method signature
2016-12-07 23:11:15 +01:00
Thomas Gelf
a7e9d815eb
Node: try to avoid side-effects when...
...
...dealing with state mappings
2016-12-07 22:10:35 +01:00
Thomas Gelf
a784b384f4
NodeCreateAction: allow to add root nodes
2016-12-07 16:02:06 +01:00
Thomas Gelf
03605cac52
TreeRenderer: open nodes in left container
2016-11-30 14:53:40 +01:00
Thomas Gelf
064e6934fb
TreeRenderer: fix simulation link
2016-11-30 14:35:13 +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
991d9f9b05
TileRenderer: incorporate AddNewTile
2016-11-29 15:20:13 +01:00
Thomas Gelf
f820dcfec0
NodeAddChildrenAction: new modification action
2016-11-29 15:06:38 +01:00
Thomas Gelf
9cadf78c00
TreeRenderer: do not cast to string early
2016-11-29 15:04:11 +01:00
Thomas Gelf
857913172b
BpNode: use modified loop detection everywhere
2016-11-29 11:22:44 +01:00
Thomas Gelf
b954a67c79
TreeRenderer: remove duplicate actions
2016-11-29 11:21:10 +01:00