5104 Commits

Author SHA1 Message Date
Eric Lippmann
5ae541db25 monitoring: Drop unnecessary call to array_values in the servicegrid view script
refs #9538
2015-08-21 11:35:30 +02:00
Eric Lippmann
71b89ea51a monitoring: Rename $serviceStates to $services in the servicegrid view script
refs #9538
2015-08-21 11:35:03 +02:00
Eric Lippmann
1ab8fc0012 monitoring: Use View::ellipsis() in the servicegrid view script
refs #9538
2015-08-21 11:32:33 +02:00
Eric Lippmann
9d40013b21 monitoring: Rename $service_description to $serviceDescription in the servicegrid view script
refs #9538
2015-08-21 11:30:18 +02:00
Eric Lippmann
d461270bf8 monitoring: Rename $host_name to $hostName in the servicegrid view script
refs #9538
2015-08-21 11:29:29 +02:00
Eric Lippmann
155191ca6f Revert "monitoring: Clone the filter before modyfing it in the IdoQuery"
This reverts commit d8f866c2bc1460d15dca8d320b2a85f316183278.

Master branch contains the fix w/ the proper refs.
2015-08-21 11:24:56 +02:00
Eric Lippmann
90ef288362 monitoring: Clone the filter before modyfing it in the IdoQuery
fixes #9971
2015-08-21 11:24:02 +02:00
Eric Lippmann
b08715f70e monitoring: Fix typo in ListController
refs #9965
2015-08-21 11:21:52 +02:00
Eric Lippmann
de00a1998e monitoring: Apply restriction on the service grid before calling filterQuery which also handles format
refs #9965
2015-08-21 11:20:56 +02:00
Eric Lippmann
4c68b4a017 monitoring: Apply restriction on host groups before calling filterQuery which also handles format
refs #9965
2015-08-21 11:19:56 +02:00
Eric Lippmann
3dc140b125 monitoring: Apply restriction on service groups before calling filterQuery which also handles format
refs #9965
2015-08-21 11:19:31 +02:00
Eric Lippmann
9dd13d2a82 monitoring: Apply restriction on comments before calling filterQuery which also handles format
refs #9965
2015-08-21 11:19:00 +02:00
Eric Lippmann
e58c0a8e42 monitoring: Apply restriction on contact groups before calling filterQuery which also handles format
refs #9965
2015-08-21 11:18:30 +02:00
Eric Lippmann
959cff4d10 monitoring: Apply restriction on contacts before calling filterQuery which also handles format
refs #9965
2015-08-21 11:17:44 +02:00
Eric Lippmann
d463a86304 monitoring: Apply restriction on notifications before calling filterQuery which also handles format
refs #9965
2015-08-21 11:16:53 +02:00
Eric Lippmann
5d325f3182 monitoring: Apply restriction on downtimes before calling filterQuery which also handles format
refs #9965
2015-08-21 11:16:02 +02:00
Eric Lippmann
4aa0af5dca monitoring: Apply restriction on services before calling filterQuery which also handles format
refs #9965
2015-08-21 11:15:32 +02:00
Eric Lippmann
67bbc3ed6a monitoring: Apply restriction on hosts before calling filterQuery which also handles format
refs #9965
2015-08-21 11:14:43 +02:00
Eric Lippmann
fc28088dc0 monitoring: Remove deprecated method ListController::applyRestriction() 2015-08-21 11:09:54 +02:00
Johannes Meyer
c395dbd813 Wizard: Add missing progress element to custom form scripts
refs #8369
2015-08-21 10:35:10 +02:00
Eric Lippmann
f722e242fd monitoring: Optimize method order in the DeleteCommentCommand 2015-08-21 10:33:18 +02:00
Eric Lippmann
f7630b98a9 monitoring: Optimize method order in the DeleteCommentsCommandForm 2015-08-21 10:32:16 +02:00
Eric Lippmann
15cf5a9724 monitoring: Fix submit label of the DeleteCommentsCommandForm 2015-08-21 10:31:21 +02:00
Eric Lippmann
5b143ce205 monitoring: Optimize method order in the DeleteDowntimesCommandForm 2015-08-21 10:30:55 +02:00
Eric Lippmann
fbb16e5ea2 monitoring: Optimize method order in the DeleteDowntimeCommand 2015-08-21 10:30:41 +02:00
Eric Lippmann
b092d081b9 monitoring: Use translatePlural for the success message in the DeleteCommentsCommandForm 2015-08-21 10:28:52 +02:00
Eric Lippmann
ed25488cff monitoring: Use translatePlural for the success message in the DeleteDowntimesCommandForm 2015-08-21 10:28:28 +02:00
Eric Lippmann
8207579e13 monitoring/API: Expose removing service downtimes
refs #9606
2015-08-21 10:28:09 +02:00
Eric Lippmann
c35f0976c2 monitoring/API: Expose scheduling service downtimes
refs #9606
2015-08-21 10:19:46 +02:00
Matthias Jentsch
44271471e3 Allow declarative definitions of badge renderers and improve interface
Allow the data backend, columns and generated tooltips to be defined in the configuration instead of providing subclasses for every new configuration. Provide an abstract BadgeMenuItemRenderer that allows creating Badges with less boilerplate.

fixes #9694
2015-08-20 18:16:33 +02:00
Eric Lippmann
62f0281a62 lib: Fix type hint of Controller::getRequest() 2015-08-20 16:00:24 +02:00
Eric Lippmann
1b1223ea2e monitoring/API: Expose scheduling host downtimes
refs #9606
2015-08-20 15:54:33 +02:00
Eric Lippmann
f27f1097ca monitoring: Don't require the child_hosts parameter when scheduling host downtimes
refs #9606
2015-08-20 15:54:03 +02:00
Eric Lippmann
d8f866c2bc monitoring: Clone the filter before modyfing it in the IdoQuery 2015-08-20 15:50:02 +02:00
Johannes Meyer
4edf122364 Show a spinner when deleting comments or downtimes
refs #8369
2015-08-20 15:49:25 +02:00
Johannes Meyer
5602d57d0b Indicate that the configuration is being validated
refs #8369
2015-08-20 15:48:41 +02:00
Eric Lippmann
0fb495f541 monitoring/API: Add ActionsController w/ removeHostDowntime action
refs #9606
2015-08-20 14:25:12 +02:00
Eric Lippmann
2229665ec6 monitoring: Return an empty filter in Controller::getRestriction() if the authenticated user is not restricted
This is because applyFilter requires a filter object.
2015-08-20 14:24:06 +02:00
Eric Lippmann
432abb1d33 monitoring: Fix call for getting the URL parameters in DataView::handleRequest()
refs #9967
2015-08-20 14:23:03 +02:00
Eric Lippmann
dcb1502286 monitoring: Implement Controller::getRestriction()
Controller::applyRestriction() breaks fluent interfaces whereas Controller::getRestriction() doesn't.
2015-08-20 13:11:36 +02:00
Eric Lippmann
310dbdfde5 monitoring: Optimize imports in DataView 2015-08-20 13:11:36 +02:00
Eric Lippmann
4c1375834c monitoring: Add DataView::handleRequest() (WIP)
This method is work in progress as it's missing pagination, sorting and output format handling.

refs #9967
2015-08-20 13:11:18 +02:00
Matthias Jentsch
41d68f6a74 Fix delete comments and downtimes button
Fix faulty target names and add additional error checking in case the target DOM Element is not present.

fixes #9330
2015-08-19 16:36:47 +02:00
Johannes Meyer
b7a389601d IdoResourcePage: Validate the version of a PostgreSQL server
refs #9460
2015-08-19 14:42:18 +02:00
Johannes Meyer
9282e1bce2 Merge branch 'master' into feature/validate-pgsql-version-9460 2015-08-19 14:04:37 +02:00
Eric Lippmann
1741a4f10b monitoring: Use display names for the aria-label in the service grid
refs #9538
2015-08-19 12:56:19 +02:00
Eric Lippmann
0c43e4a36b monitoring: Sort by display_names in the service grid
refs #9538
2015-08-19 12:55:55 +02:00
Eric Lippmann
9ea3f73e83 monitoring: Fix query class names not matching the file name 2015-08-19 12:52:38 +02:00
Johannes Meyer
65806fafbf MonitoredObject: Only select history entries for the respective object
And fix that the default sort order is not applied.

fixes #9963
2015-08-19 11:53:00 +02:00
Eric Lippmann
4ab20b9142 monitoring: Eliminate unncessary GROUP BY clauses in the HoststatusQuery
refs #9956
2015-08-19 11:40:37 +02:00