Commit Graph

3862 Commits

Author SHA1 Message Date
Eric Lippmann df72825617 monitoring/host: Fetch acknowledgement type
refs #9674
2015-09-03 16:23:04 +02:00
Eric Lippmann 620c1fa6e0 monitoring: Fix alphabetical order of query columns in the CommentQuery 2015-09-03 16:21:01 +02:00
Matthias Jentsch ddde37e225 Remove acknowledgement view temporarily
Implementation of acknowledgement view temporarily delayed until v2.1.0.

refs #10032
2015-09-03 16:08:55 +02:00
Eric Lippmann 6a684a97df monitoring: Fix missing parameter initialization in MonitoredObject::parseAttributeUrls() 2015-09-03 14:09:16 +02:00
Eric Lippmann 54a45ff338 monitoring: Fix PHPDoc of MonitoredObject::resolveAllStrings() 2015-09-03 14:08:43 +02:00
Eric Lippmann dc5e86002b monitoring: Reorder code in MonitoredObject 2015-09-03 14:07:38 +02:00
Eric Lippmann 4d2675659c monitoring: Optimize imports in MonitoredObject 2015-09-03 13:47:51 +02:00
Eric Lippmann e5c9eb1d20 monitoring: Don't show ack comments in the comments area of a host or service
refs #9674
2015-09-03 10:52:05 +02:00
Eric Lippmann 96f8afa6f1 monitoring/menu: Move Notifications beneath History
resolves #8884
2015-09-03 10:41:47 +02:00
Matthias Jentsch 1b7b0c7232 Merge branch 'feature/provide-acknowledgement-view-10032' 2015-09-02 11:31:15 +02:00
Matthias Jentsch fde51fe27b Display message on empty result sets
refs #10032
2015-09-02 11:30:12 +02:00
Matthias Jentsch 8f545dd0d6 Fix acknowledgement query for PGSQL
refs #10032
2015-09-02 11:25:52 +02:00
Davide Demuru 41ab03accb Update locale it_IT
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-09-01 23:02:52 +02:00
Matthias Jentsch 1964cc53d5 Revert "Provide dashlets for sticky-comments"
This reverts commit 6ada9ce047.
2015-09-01 17:59:04 +02:00
Matthias Jentsch 985f6ab85e Fix acknowledgement count query
refs #10032
2015-09-01 17:42:51 +02:00
Matthias Jentsch fd8824e157 Cleanup 2015-09-01 17:42:33 +02:00
Matthias Jentsch bcdbf413a6 Add acknowledgement view and query
Add backend queries and the controller to inspect active acknowledgements.

refs #10032
2015-09-01 16:39:08 +02:00
Eric Lippmann 5da88d0767 monitoring: Fix deprecated links
fixes #10056
2015-09-01 09:33:20 +02:00
Eric Lippmann 6007cc7f7b monitoring: Read "List all services" rather than "show all services" 2015-09-01 09:13:08 +02:00
Johannes Meyer 9bd3fc90f7 monitoring: Document the new restriction filter `instance_name' 2015-09-01 08:33:42 +02:00
Matthias Jentsch 6ada9ce047 Provide dashlets for sticky-comments
refs #6144
2015-08-31 17:03:10 +02:00
Johannes Meyer 2e7f3b941c LdapUserGroupBackendForm: Add missing form field..
..to configure the group_member_attribute option.

fixes #9903
2015-08-31 14:02:16 +02:00
Johannes Meyer 1c51735629 Merge branch 'master' into feature/rename-monitoring-instances-to-command-transports-and-allow-to-link-them-with-a-monitoring-instance-9651
Conflicts:
	modules/monitoring/application/controllers/ConfigController.php
2015-08-31 13:05:10 +02:00
Johannes Meyer d41b6d5112 commandtransports.ini: Document how transports are utilized
refs #9651
2015-08-31 12:57:41 +02:00
Johannes Meyer 5aee5836bb commandtransports.md: Document how instance linkage works
refs #9651
2015-08-31 12:57:07 +02:00
Johannes Meyer b7cdfcfae0 CommandTransport: Respect instance association
refs #9651
2015-08-31 12:19:42 +02:00
Johannes Meyer 1d6d4f0b10 RemoteCommandFile: Accept option `instance'
refs #9651
2015-08-31 12:19:00 +02:00
Johannes Meyer 04ef3f1244 LocalCommandFile: Accept option `instance'
refs #9651
2015-08-31 12:18:25 +02:00
Johannes Meyer ff54284401 TransportConfigForm: Use a select input for setting the instance
refs #9651
2015-08-31 12:17:57 +02:00
Johannes Meyer 6f6e991fd0 monitoring: Use the module's base controller in the ConfigController
refs #9651
2015-08-31 11:04:34 +02:00
Johannes Meyer e04c19a819 CommandForm: Use the CommandTransport class directly
Provides a fallback mechanism now and will check the instance's
name soon.

refs #8981
refs #9651
2015-08-31 09:28:42 +02:00
Johannes Meyer fcbd24e28e CommandTransport: Add fallback mechanism
refs #8981
refs #9651
2015-08-31 09:21:59 +02:00
Johannes Meyer ded6666897 wizard: Show a warning if the IDO is used for the internal database
resolves #9653
2015-08-28 15:25:40 +02:00
Eric Lippmann 85a4c67705 Merge branch 'feature/namespaced-controllers-5786'
resolves #5786
2015-08-28 15:09:49 +02:00
Johannes Meyer 6d77ade6ac setup: Ensure that the next-button double is always shown
fixes #9245
2015-08-28 10:49:26 +02:00
Eric Lippmann 6c067d49b7 monitoring: Add missing alias in the ListController after namespacing 2015-08-28 09:41:13 +02:00
Eric Lippmann 70554e766f monitoring: Namespace the ListController
refs #5786
2015-08-28 09:40:28 +02:00
Eric Lippmann 610675d3e9 monitoring: Optimize imports in the ListController
refs #5786
2015-08-28 09:39:48 +02:00
Eric Lippmann 9e83512dc6 monitoring: Add missing aliases in the TimelineController after namespacing 2015-08-28 09:39:12 +02:00
Eric Lippmann 0707d3f2a1 monitoring: Namespace the TimelineController
refs #5786
2015-08-28 09:37:56 +02:00
Eric Lippmann 45644fbde1 monitoring: Optimize imports in the TimelineController 2015-08-28 09:37:18 +02:00
Eric Lippmann e9f9073d90 monitoring: Namespace the TacticalController
refs #5786
2015-08-28 09:36:34 +02:00
Eric Lippmann acd5b9123c monitoring: Optimize imports in the TacticalController 2015-08-28 09:36:10 +02:00
Eric Lippmann cfab9d99ff monitoring: Don't use Monitoring\Controller as MonitoringController in the TacticalController 2015-08-28 09:35:25 +02:00
Eric Lippmann 411ad407b1 monitoring: Remove deprecated actions from the ShowController
Removed:

* show/service
* show/host
* show/history
2015-08-28 09:34:23 +02:00
Eric Lippmann 3c9e67eb46 monitoring: Don't throw exception manually in ShowController::contactAction() 2015-08-28 09:32:52 +02:00
Eric Lippmann 4cd0259eb2 monitoring: Namespace the ShowController
refs #5786
2015-08-28 09:32:04 +02:00
Eric Lippmann 54ad809bf1 monitoring: Optimize imports in the ShowController 2015-08-28 09:25:16 +02:00
Eric Lippmann 62d3eed989 monitoring: Remove ServicesController::deleteCommentAction()
Not in use.
2015-08-28 09:23:48 +02:00
Eric Lippmann dc5fddcbfe monitoring: Namespace the ServicesController
refs #5786
2015-08-28 09:22:13 +02:00
Eric Lippmann 48c625d54d monitoring: Optimize imports in the ServicesController 2015-08-28 09:21:23 +02:00
Eric Lippmann 33e64d9dc0 monitoring: Use @inheritdoc for ServiceController::$commandRedirectUrl 2015-08-28 09:20:33 +02:00
Eric Lippmann 67b22a56d2 monitoring: Namespace the ServiceController
refs #5786
2015-08-28 09:19:43 +02:00
Eric Lippmann 46f9256c82 monitoring: Remove ProcessController::performanceAction()
Not used.
2015-08-27 23:31:12 +02:00
Eric Lippmann b465bb000c monitoring: Namespace the ProcessController
refs #5786
2015-08-27 23:30:32 +02:00
Eric Lippmann 5ec338877c monitoring: Optimize impoerts in the ProcessController 2015-08-27 23:28:37 +02:00
Eric Lippmann acef9ce095 monitoring: Remove HostsController::deleteCommentAction()
Not used.
2015-08-27 23:27:29 +02:00
Eric Lippmann 6e2afe5d57 monitoring: Namespace the HostsController
refs #5786
2015-08-27 23:22:55 +02:00
Eric Lippmann 6931ad9411 monitoring: Optimize imports in the HostsController 2015-08-27 23:22:23 +02:00
Eric Lippmann c8927a36dc monitoring: Use @inheritdoc for HostController::$commandRedirectUrl 2015-08-27 23:21:48 +02:00
Eric Lippmann 1f922a7da6 monitoring: Namespace the HostController
refs #5786
2015-08-27 23:18:48 +02:00
Eric Lippmann 568c0f0955 monitoring: Fix mess in the downtimes-header view script 2015-08-27 23:17:57 +02:00
Eric Lippmann 2f47791a70 monitoring: Fix coding style in the comment-detail view script 2015-08-27 23:17:34 +02:00
Eric Lippmann 9ffe151628 monitoring: Omit full stop for tooltips in the comment-description view script 2015-08-27 23:17:11 +02:00
Eric Lippmann f72c8e30fe monitoring: Don't loop more than 5 comments in the comments-header view script
What the ...
2015-08-27 23:16:25 +02:00
Eric Lippmann d92f2cca0e monitoring: Fix coding style in the comments/show view script 2015-08-27 23:15:56 +02:00
Eric Lippmann aceae4cb6e monitoring: Fix coding style in the downtimes/show view script 2015-08-27 23:15:28 +02:00
Eric Lippmann 0f2a4ceac3 monitoring: Don't loop downtimes in the DowntimesController 2015-08-27 23:14:48 +02:00
Matthias Jentsch fa93b7e372 Move notifications up to avoid breaks between related dashlets
refs #6144
2015-08-27 17:16:01 +02:00
Matthias Jentsch 39513587d9 Remove event grid from activity stream
refs #6144
2015-08-27 17:13:22 +02:00
Matthias Jentsch fb8fbbe8f7 Provide new dashboard panes per default
refs #6144
2015-08-27 17:11:47 +02:00
Johannes Meyer 660540ee1a TransportConfigForm: Add `instance' form field
refs #9651
2015-08-27 16:33:10 +02:00
Eric Lippmann d68edc5149 Monitoring: Namespace the DowntimesController
refs #5786
2015-08-27 16:23:16 +02:00
Eric Lippmann e9380d2016 monitoring: Optimize imports in the DowntimesController
refs #5786
2015-08-27 16:21:59 +02:00
Eric Lippmann e2a4b51429 monitoring: Don't call getQuery() on the comment data view in the CommentController 2015-08-27 16:20:28 +02:00
Eric Lippmann b82306e2bb monitoring: Reduce DowntimeController complexity 2015-08-27 16:19:18 +02:00
Eric Lippmann a50d2110be monitoring: Namespace the DowntimeController
refs #5786
2015-08-27 16:08:09 +02:00
Eric Lippmann dce8afd5bd monitoring: Optimize imports in the DowntimeController
refs #5786
2015-08-27 16:07:30 +02:00
Eric Lippmann c3e6e47560 monitoring: Add missing alias in the ConfigController 2015-08-27 16:07:03 +02:00
Eric Lippmann 06c215f9a9 monitoring: Add missing alias in the ConfigController after namespacing 2015-08-27 16:06:26 +02:00
Eric Lippmann 15be844d76 monitoring: Namespace the ConfigController
refs #5786
2015-08-27 16:05:57 +02:00
Eric Lippmann f1c7f856cd monitoring: Optimize imports in ConfigController 2015-08-27 16:04:56 +02:00
Eric Lippmann 2533ebc8d5 monitoring: Fix mess in CommentsController and the related view script 2015-08-27 16:04:24 +02:00
Eric Lippmann 78701ab2b6 monitoring: Namespace the CommentsController
refs #5786
2015-08-27 15:54:44 +02:00
Eric Lippmann d1f7943ffb monitoring: Optimize imports in CommentsController 2015-08-27 15:54:12 +02:00
Eric Lippmann 6ff7882fc0 monitoring: Reduce complexity of the CommentController 2015-08-27 15:52:27 +02:00
Johannes Meyer cc49a289a2 monitoring: Restore view script for the securityAction 2015-08-27 15:49:59 +02:00
Eric Lippmann 98851236e8 monitoring: Namespace the CommentController
refs #5786
2015-08-27 15:42:27 +02:00
Eric Lippmann be021e6fa1 monitoring: Add fixing TODO to the ChartController
refs #10019
2015-08-27 15:41:15 +02:00
Eric Lippmann f83f56903e monitoring: Namespace the ChartController
refs #5786
2015-08-27 15:40:01 +02:00
Eric Lippmann 3af82547ac monitoring: Optimize imports in the ChartController 2015-08-27 15:37:42 +02:00
Eric Lippmann 9d926fb4c6 monitoring: Don't use absolute alias in the AlertsummaryController 2015-08-27 15:37:01 +02:00
Eric Lippmann 65a7365e1e monitoring: Add missing aliases in the AlertsummaryController after namespacing 2015-08-27 15:35:27 +02:00
Eric Lippmann d60fed23f7 monitoring: Namespace the Alertsummarycontroller
refs #5786
2015-08-27 15:19:43 +02:00
Eric Lippmann 1eed806edf monitoring: Optimize imports in the AlertsummaryController 2015-08-27 15:18:57 +02:00
Eric Lippmann 4070f6c75b Merge branch 'master' into feature/namespaced-controllers-5786 2015-08-27 15:05:44 +02:00
Eric Lippmann 31cb1ceb93 doc: Fix PHPDoc of IcingawebController::getPath() 2015-08-27 14:40:49 +02:00
Eric Lippmann 7ea559e6be doc: Namespace the IcingawebController
refs #5786
2015-08-27 14:40:10 +02:00
Eric Lippmann 2f1d6d7a95 doc: Add PHPDoc to IndexController 2015-08-27 14:40:10 +02:00
Eric Lippmann 77b9881a38 doc: Namespace IndexController
refs #5786
2015-08-27 14:40:02 +02:00
Eric Lippmann 26c403832e doc: Namespace the ModuleController
refs #5786
2015-08-27 14:36:26 +02:00
Eric Lippmann 66e50ad341 doc: Remove unused alias in the ModuleController
Thanks for not reviewing commits!
2015-08-27 14:35:26 +02:00
Eric Lippmann ad389d1696 doc: Fix PHPDoc of SearchController::getWebPath() 2015-08-27 14:24:25 +02:00
Eric Lippmann f0f24bee94 doc: Namespace the SearchController
refs #5786
2015-08-27 14:23:35 +02:00
Eric Lippmann 8981f2cc26 doc: Optimize imports in the SearchController 2015-08-27 14:22:59 +02:00
Eric Lippmann 5fadb647e2 doc: Namespace the StyleController
refs #5786
2015-08-27 14:22:35 +02:00
Eric Lippmann ee7e0e80d2 setup: Namespace the IndexController
refs #5786
2015-08-27 14:21:29 +02:00
Eric Lippmann 1888f1a0a4 setup: Optimize imports in the IndexController 2015-08-27 14:20:53 +02:00
Eric Lippmann c294283636 Merge branch 'bugfix/service-grid-grouping-postgres-9333'
Conflicts:
	modules/monitoring/application/controllers/ListController.php
	modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php

fixes #9333
fixes #9538
2015-08-27 12:58:49 +02:00
Eric Lippmann f35aec1c5c monitoring: Fix default select columns of the instance query 2015-08-27 11:54:20 +02:00
Johannes Meyer 66570c95e0 monitoring: Ensure to ask subqueries whether to allow custom vars
fixes #9998
2015-08-27 08:53:46 +02:00
Johannes Meyer 8c887ee450 monitoring: Rename all command transport related classes
refs #9651
2015-08-26 15:52:36 +02:00
Johannes Meyer ec8567cbbf monitoring: It's now a command transport, not an instance anymore
refs #9651
2015-08-26 15:43:30 +02:00
Johannes Meyer 6651d31481 CommandTransport: Use commandtransports as config file name
refs #9651
2015-08-26 14:17:23 +02:00
Johannes Meyer a1bd648d51 monitoring: Fix commandtransports.ini link in the config overview
refs #9651
2015-08-26 14:15:35 +02:00
Johannes Meyer b7feed86ea monitoring: Document how to assign instances to command transports
refs #9651
2015-08-26 14:05:13 +02:00
Johannes Meyer 5f66667828 monitoring: Update the command transport documentation
refs #9765
refs #9651
2015-08-26 13:35:11 +02:00
Johannes Meyer ae3910390b monitoring: Rename instances.md to commandtransports.md
refs #9651
2015-08-26 13:32:22 +02:00
Johannes Meyer 1317a6eaf8 Show an object's instance only if there are multiple instances
refs #9945
2015-08-26 10:55:18 +02:00
Johannes Meyer ffcd33ee7e Introduce query InstanceQuery
refs #9945
2015-08-26 10:54:42 +02:00
Johannes Meyer 241f73f229 Show the instance's name of a host or service in the detail view
refs #9945
2015-08-26 10:54:01 +02:00
Johannes Meyer 592a79cd93 Service: Fetch the name of the instance the service belongs to
refs #9945
2015-08-26 10:52:56 +02:00
Johannes Meyer 8a1114bf65 Host: Fetch the name of the instance the host belongs to
refs #9945
2015-08-26 10:52:28 +02:00
Johannes Meyer 91315738c8 monitoring: Allow `instance_name' as restriction column
refs #9934
2015-08-25 16:39:40 +02:00
Johannes Meyer 819d20f17a Hostservice...Query: Add query column `instance_name'
refs #9943
2015-08-25 16:38:54 +02:00
Johannes Meyer 94693fe3e7 DataView\*summary: Add query column `instance_name'
refs #9943
2015-08-25 16:38:23 +02:00
Johannes Meyer 6906ea89b7 *historyQuery: Add query column `instance_name'
refs #9943
2015-08-25 16:37:58 +02:00
Johannes Meyer 344dcf2cf7 ServicestatusQuery: Add query column `instance_name'
refs #9943
2015-08-25 16:35:48 +02:00
Johannes Meyer ced671a408 HoststatusQuery: Add query column `instance_name'
refs #9943
2015-08-25 16:35:35 +02:00
Johannes Meyer 780ac16be1 NotificationQuery: Add query column `instance_name'
refs #9943
2015-08-25 16:35:16 +02:00
Johannes Meyer 5c2fd63347 ServicegroupQuery: Add query column `instance_name'
refs #9943
2015-08-25 16:34:48 +02:00
Johannes Meyer fedd2c3b18 HostgroupQuery: Add query column `instance_name'
refs #9943
2015-08-25 16:34:37 +02:00
Johannes Meyer f70a861ff4 DowntimeQuery: Add query column `instance_name'
refs #9943
2015-08-25 16:34:18 +02:00
Johannes Meyer edb83c8b41 CustomvarQuery: Add query column `instance_name'
refs #9943
2015-08-25 16:33:41 +02:00
Johannes Meyer 7916c149b9 ContactQuery: Add query column `instance_name'
refs #9943
2015-08-25 16:32:27 +02:00
Johannes Meyer ab628338c2 ContactgroupQuery: Add query column `instance_name'
refs #9943
2015-08-25 16:32:15 +02:00
Johannes Meyer 91fe6913d8 CommentQuery: Add query column `instance_name'
refs #9943
2015-08-25 16:31:39 +02:00
Eric Lippmann c8790fad93 Merge branch 'bugfix/service-grid-display_name-9538' into bugfix/service-grid-grouping-postgres-9333
Conflicts:
	library/Icinga/Data/PivotTable.php
	modules/monitoring/application/controllers/ListController.php
2015-08-25 15:51:20 +02:00
Eric Lippmann c5fe641c43 monitoring: Rewrite service-grid view script
refs #9538
2015-08-25 14:55:02 +02:00
Eric Lippmann bf7d1ba878 monitoring: Set display names as axis headers for the service grid
refs #9538
2015-08-25 14:54:15 +02:00
Eric Lippmann 1f7c8c712f monitoring: Load colors.less and service-grid.less
refs #9538
2015-08-25 14:53:46 +02:00
Eric Lippmann 83a0e53a46 monitoring: Add service-grid.less
Rewritten CSS for the service grid.

refs #9538
2015-08-25 14:48:32 +02:00
Eric Lippmann d8c7c216f1 monitoring: Add colors.less
Colors.less includes atomic definitions for background-colors related to different states at the moment. These definitions should be used when coloring backgrounds according to host and service states.

refs #9538
2015-08-25 14:47:16 +02:00
Eric Lippmann cc7eab6746 monitoring: Remove CSS for the service grid
Will be rewritten.

refs #9538
2015-08-25 14:44:27 +02:00
Eric Lippmann 96fb3b5d4b Merge branch 'master' into feature/api-9606 2015-08-25 09:25:59 +02:00
Eric Lippmann a0ff09da84 monitoring/API: Require a filter when scheduling host downtimes
refs #9606
2015-08-25 09:24:47 +02:00
Eric Lippmann 04ae298c0c monitoring/API: Require a filter when scheduling service downtimes
refs #9606
2015-08-25 09:23:36 +02:00
Eric Lippmann 146ea971c4 monitoring/API: Require a filter when removing service downtimes
refs #9606
2015-08-25 09:20:42 +02:00
Eric Lippmann 2c393afbeb monitoring/API: Require a filter when removing host downtimes
refs #9606
2015-08-25 09:19:49 +02:00
Eric Lippmann 6ab61ba8e0 Merge branch 'bugfix/format-lacks-restriction-9965'
fixes #9965
2015-08-25 09:19:00 +02:00
Eric Lippmann e9c7a5894a monitoring: Add DataView::$requiresFilter
refs #9606
2015-08-24 16:01:07 +02:00
Johannes Meyer 0c47aececc Allow to disable stack traces globally
refs #9113
2015-08-24 14:44:54 +02:00
Eric Lippmann cfad85cce1 monitoring: Collect display names as table headers for the service grid
refs #9538
2015-08-24 09:23:46 +02:00
Matthias Jentsch 8a4e4ecf49 Fix indentation level of module.js 2015-08-21 14:36:57 +02:00
Matthias Jentsch 77e237304a Do not push timeline extends to history
fixes #9932
2015-08-21 14:21:33 +02:00
Johannes Meyer 9ca278d7b2 Merge branch 'master' into feature/activity-indicators-for-form-submits-8369 2015-08-21 13:37:54 +02:00
Johannes Meyer a11705a3fc monitoring: Show the autosubmit warning when toggling object features
refs #8369
2015-08-21 11:46:39 +02:00
Eric Lippmann b629115ba7 monitoring: Use empty() for is empty check in the servicegrid view script
refs #9538
2015-08-21 11:37:46 +02:00
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 d8f866c2bc.

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
Eric Lippmann 6e12dd4d78 monitoring: Fix service status grouping when selecting group alias columns
refs #9956
2015-08-19 11:39:51 +02:00
Johannes Meyer 7812f6ddcc DataView: Remove obsolete $filter property 2015-08-19 11:23:40 +02:00
Eric Lippmann 18f720d31f monitoring: Eliminate unncessary GROUP BY clauses in the ServicestatusQuery
refs #9956
2015-08-18 16:37:14 +02:00
Eric Lippmann f5ffa8047c monitoring: Fix handling of collated columns w/ PostgreSQL
fixes #9954
fxies #9955
2015-08-18 16:36:00 +02:00
Johannes Meyer b7ee867239 DbResourcePage: Validate the version of a PostgreSQL server
refs #9460
2015-08-18 16:20:25 +02:00
Johannes Meyer e7cfc25b04 DbTool: Add method getServerVersion()
refs #9460
2015-08-18 16:19:01 +02:00
Johannes Meyer 41ebb49c58 DbTool: Add method isConnected()
refs #9460
2015-08-18 16:18:25 +02:00
Alexander Fuhr 038fa29da8 notifications(view): Fix the wrong url for the service row
fixes #9597
2015-08-18 16:06:57 +02:00
Johannes Meyer a0fce449a9 Wizard: Fix that the sidebar and default header is shown 2015-08-18 14:56:25 +02:00
Eric Lippmann d449ff661e monitoring/service grid: Set up the sort control for the pivot table instead of the service status query
refs #9333
2015-08-18 14:23:12 +02:00
Alexander Fuhr 4848e36f1a IconImage: Fix the icon_image icon nfont usage
fixes #9582
2015-08-18 13:29:18 +02:00
Eric Lippmann e904c26445 monitoring: Fix fetch function in the BackendAvailabilityMenuItemRenderer
fixes #9942
2015-08-18 13:09:34 +02:00
Eric Lippmann 00e206096d monitoring: Don't rely on Icinga updating the is_currently_running column
From version to version this column seems to be buggy as it's not being updated when stopping Icinga.

refs #9942
2015-08-18 13:08:03 +02:00
Johannes Meyer 8b8fb6379d DataView: Provide default labels for non-labelled filter columns
refs #9029
2015-08-17 15:06:52 +02:00
Johannes Meyer 84ac316cde IdoQuery: Allow check if a column is case insensitive compared
refs #9029
2015-08-17 15:05:44 +02:00
Johannes Meyer b061161979 DataView\Statussummary: Adjust how to handle filter columns
refs #9029
2015-08-17 14:07:07 +02:00
Johannes Meyer e20f78bba9 DataView\Servicestatussummary: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:58 +02:00
Johannes Meyer fe9c7a613c DataView\Servicestatus: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:48 +02:00
Johannes Meyer f0488dddf4 DataView\Servicegroupsummary: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:36 +02:00
Johannes Meyer 92cece92ab DataView\Servicegroup: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:26 +02:00
Johannes Meyer 833e177666 DataView\Servicedowntime: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:14 +02:00
Johannes Meyer 66d5513517 DataView\Servicecomment: Adjust how to handle filter columns
refs #9029
2015-08-17 14:06:05 +02:00
Johannes Meyer 5d2c389220 DataView\Notification: Adjust how to handle filter columns
refs #9029
2015-08-17 14:05:56 +02:00
Johannes Meyer ebbc2686c8 DataView\Hoststatussummary: Adjust how to handle filter columns
refs #9029
2015-08-17 14:05:49 +02:00
Johannes Meyer 25acebab77 DataView\Hostgroupsummary: Adjust how to handle filter columns
refs #9029
2015-08-17 14:05:37 +02:00
Johannes Meyer 9f8de333ec DataView\Hostgroup: Adjust how to handle filter columns
refs #9029
2015-08-17 14:05:24 +02:00
Johannes Meyer 4dce29e040 DataView\Hostdowntime: Adjust how to handle filter columns
refs #9029
2015-08-17 14:05:16 +02:00
Johannes Meyer a4422c5d94 DataView\Hostcomment: Adjust how to handle filter columns
refs #9029
2015-08-17 14:05:07 +02:00
Johannes Meyer 03a80b3e44 DataView\Eventhistory: Adjust how to handle filter columns
refs #9029
2015-08-17 14:04:59 +02:00
Johannes Meyer 31d67d8479 DataView\Eventgrid: Adjust how to handle filter columns
refs #9029
2015-08-17 14:04:51 +02:00
Johannes Meyer 89915196f2 DataView\Downtime: Adjust how to handle filter columns
refs #9029
2015-08-17 14:04:41 +02:00
Johannes Meyer c3cd63368b DataView\Contact: Adjust how to handle filter columns
refs #9029
2015-08-17 14:04:33 +02:00
Johannes Meyer 37b0b8bc84 DataView\Contactgroup: Adjust how to handle filter columns
refs #9029
2015-08-17 14:04:26 +02:00
Johannes Meyer 80b4d96e9f DataView\Comment: Adjust how to handle filter columns
refs #9029
2015-08-17 14:04:15 +02:00
Johannes Meyer fa1c971e51 DataView\Runtimevariables: Fix method documentation 2015-08-17 14:03:44 +02:00
Johannes Meyer 168819ca83 DataView\Runtimesummary: Fix method documentation 2015-08-17 14:03:34 +02:00
Johannes Meyer 12a1492740 DataView\Programstatus: Fix method documentation 2015-08-17 14:03:24 +02:00
Johannes Meyer 172cf6b3c6 DataView\Command: Fix method documentation 2015-08-17 14:03:05 +02:00
Johannes Meyer fa38998e3d DataView\Customvar: Adjust how to handle filter columns
refs #9029
2015-08-17 13:47:13 +02:00
Johannes Meyer 1643ec4358 DataView\Hoststatus: Adjust how to handle filter columns
refs #9029
2015-08-17 13:46:16 +02:00
Johannes Meyer 57ea5d6d5a DataView: Use a more flexible way to provide filter columns
refs #9029
2015-08-17 12:53:17 +02:00
Johannes Meyer 9faea7c883 DataView: Introduce method getDynamicFilterColumns()
refs #9029
2015-08-14 11:05:22 +02:00
Johannes Meyer 71fba8f7df IdoQuery: Allow to check whether joining custom vars is permitted
refs #9029
2015-08-14 10:05:09 +02:00
Johannes Meyer 1e6c394693 Controller: Create the filter editor in setupFilterControl() ...
...instead of demanding a concrete controller to do so.
We still have to decide how to handle parameter preservation
properly.

refs #9029
2015-08-13 17:05:13 +02:00
Johannes Meyer 40dd094af0 DataView: Implement interface FilterColumns
refs #9029
2015-08-13 14:24:24 +02:00
Johannes Meyer e4f331bff9 DataView: Drop init()
refs #7344
2015-08-13 13:27:28 +02:00
Johannes Meyer ad20d35e78 Eventgrid: Fetch the user's filter directly from the URL
refs #9029
2015-08-13 12:11:01 +02:00
Johannes Meyer fc35f3e46b FilterEditor: Apply the filter on the query internally
refs #9029
2015-08-13 11:33:25 +02:00
Johannes Meyer 2b049eb6f9 Drop the StatusQuery
refs #7344
2015-08-12 13:41:15 +02:00
Johannes Meyer dc7d3a9c92 ServicestatusQuery: Respect an already set group clause
refs #7344
2015-08-12 13:40:17 +02:00
Johannes Meyer 5ae5b5e8d3 ServicestatusQuery: Add missing query columns
refs #7344
2015-08-12 13:39:30 +02:00
Johannes Meyer 9b25ffa566 Perfdata: Do not show "xx more..." if there is nothing to show 2015-08-11 15:28:37 +02:00
Johannes Meyer e1cec6a849 Drop everything related to join last comments in list views
refs #8616
2015-08-11 15:07:03 +02:00
Johannes Meyer fb3c98c585 Remove some more obsolete code to join service problems 2015-08-11 15:02:31 +02:00
Johannes Meyer b9ea25506e HoststatusQuery: Remove obsolete code to join service problems 2015-08-11 14:12:52 +02:00
Johannes Meyer 3f0d073f43 Merge branch 'master' into bugfix/slow-unhandled-service-summary-query-in-host-overview-9864 2015-08-11 14:01:27 +02:00
Johannes Meyer 00d143cb14 Fetch the service problem summary of a host with less redundant code
refs #9864
2015-08-11 13:52:21 +02:00
Johannes Meyer 78fdf85c7e ReFacTOR HostserviceproblemsummaryQuery
refs #9864
2015-08-11 13:51:30 +02:00
Johannes Meyer 41a1c7ce98 Drop DataView\Hostservicestatussummary
It's unnecessary bloat.

refs #9864
2015-08-11 13:48:41 +02:00
Johannes Meyer 95da3772ce Rename HostservicestatussummaryQuery...
...to HostserviceproblemsummaryQuery.

refs #9864
2015-08-11 13:48:08 +02:00
Johannes Meyer 589f0de063 HostdowntimeQuery: Fix services join 2015-08-11 11:29:48 +02:00
Johannes Meyer 542d7e2db3 HostcommentQuery: Fix services join 2015-08-11 11:29:25 +02:00
Eric Lippmann f1a63a36f5 doc: Support header-less sections 2015-08-11 09:20:56 +02:00
Eric Lippmann 82d36e11cc doc: Replace whitespaces with - for section IDs
Fixes jQuery selector issues when jumping to an anchor.
2015-08-11 09:20:56 +02:00
Eric Lippmann 4e3fbb1341 doc: Support setext-style only headers
Setext-style used to work before too but only if an atx-style header comes first.
2015-08-11 09:20:56 +02:00
Johannes Meyer d09ad2641f Remove CSS rule for class "timesince"
It's not used anywhere.
2015-08-10 13:22:05 +02:00
Alexander Fuhr 01ec2cd590 Merge branch 'master' into bugfix/downtimes-with-non-problem-state-time-caption-9266 2015-08-10 12:46:13 +02:00
Alexander Fuhr 72cf023bf8 donwtime/view: Fix condition statement
refs #9266
2015-08-10 12:32:15 +02:00
Alexander Fuhr 073d695c94 downtime/views: Fix the wrong time for flexible downtime
refs #9266
2015-08-10 12:15:26 +02:00
Alexander Fuhr 18dae78d80 MonitoredObject: Add scheduled_end
refs #9266
2015-08-10 12:14:49 +02:00
Eric Lippmann cb0b3c8754 monitoring: Let PHP flush the writer buffer to the command file
refs #9570
2015-08-10 11:31:27 +02:00
Alexander Fuhr c88f0c7e37 downtime/views: Use ends instead of started ...
refs #9266
2015-08-10 10:58:21 +02:00
Alexander Fuhr f0cabf059a view/downtimes: Add missing translate
refs #9266
2015-08-10 10:20:49 +02:00
Johannes Meyer a4fdb30067 Host Overview: Use a dedicated query to fetch service summaries
refs #9864
2015-08-07 15:37:35 +02:00
Johannes Meyer 03d4386763 Introduce HostservicestatussummaryQuery class
refs #9864
2015-08-07 15:36:24 +02:00
Johannes Meyer 6560975fe2 Host overview: Do not select `host_unhandled_services'
It's implemented as horribly slow subquery.

refs #9864
2015-08-07 15:35:13 +02:00
Johannes Meyer 2a1f0132bc Wizard: Properly process automatic submissions of the general config page
fixes #9855
2015-08-06 15:40:20 +02:00
Johannes Meyer 4c00d5effc Wizard: Fix invalid call to self::translate()
refs #9654
2015-08-06 13:21:50 +02:00
Johannes Meyer 0695d5900c Merge branch 'master' into feature/less-costly-count-queries-for-history-views-8615 2015-08-06 13:11:28 +02:00
Johannes Meyer 9dad63b512 Service history: Remove pagination and provide a load more link instead
refs #8615
2015-08-06 13:09:35 +02:00
Johannes Meyer 63650518ee Host history: Remove pagination and provide a load more link instead
refs #8615
2015-08-06 13:09:24 +02:00
Johannes Meyer b9e0a80479 EventHistory Overview: Show the load more link as button and centered
refs #8615
2015-08-06 12:50:17 +02:00
Johannes Meyer ea3e0bc013 Eventhistory Overview: Use id attribues as the name attribute is deprecated
refs #8615
2015-08-06 11:52:35 +02:00
Johannes Meyer 8cf3b99335 Eventhistory Overview: Remove pagination and provide a load more link instead
refs #8615
2015-08-06 10:23:44 +02:00
Johannes Meyer 7662545c2a SimpleQuery: Provide a getter for the current iterator position
refs #8615
2015-08-06 09:39:23 +02:00
Johannes Meyer c891b9d356 HostgroupsummaryQuery: Fix group statement ambiguity 2015-08-06 07:54:03 +02:00
Matthias Jentsch 60675979bc Merge branch 'bugfix/creating-dashlet-with-parentheses-9530'
fixes #9530
2015-08-05 18:22:29 +02:00
Matthias Jentsch f8e2dc850c Drop IniEditor and clean up IniWriter
Replace the ini editor code with a new parser implementation that manipulates a DOM. Do not support capabillities that are no longer needed, like nested configurations, section inheritance, section-less properties.
2015-08-05 18:10:17 +02:00
Johannes Meyer 35ea3cc9ee Wizard: Make it unambiguous what the first database configuration is for
fixes #9654
2015-08-05 16:20:03 +02:00
Johannes Meyer e2e1692462 Wizard: Use IcingaException::describe() in the finish's log where appropriate
fixes #9791
2015-08-05 15:54:45 +02:00
Alexander Fuhr aa7adee21f views/donwtime(s|-header): Fix that the Downtimes show "Starts in" ...
... for objects with non-problem state

refs #9266
2015-08-05 14:37:33 +02:00
Eric Lippmann bebff5b83e Merge branch 'bugfix/multiselect-restrictions-9574'
fixes #9574
2015-08-04 16:47:15 +02:00
Eric Lippmann 0e14cb48da monitoring: Ignore restrictions if user has the wildcard restriction
resolves #9830
2015-08-04 16:28:45 +02:00
Eric Lippmann cdd13bc389 monitoring: Apply restrictions before filtering for multiple services
refs #9574
2015-08-04 15:30:07 +02:00
Johannes Meyer e6d507828c Merge branch 'master' into feature/allow-to-extend-the-content-of-a-dashlet-on-the-right-6677 2015-08-04 15:29:48 +02:00
Eric Lippmann 10e50842b2 monitoring: Apply restrictions before filtering for multiple hosts
refs #9574
2015-08-04 15:28:51 +02:00
Eric Lippmann 7403c67893 monitoring: Default to Filter::matchAll() in the ObjectList
refs #9574
2015-08-04 15:28:18 +02:00
Johannes Meyer 15ac59268c Put a small margin around show more links
refs #6677
2015-08-04 15:25:01 +02:00
Johannes Meyer bc91c38a85 Service Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:16:31 +02:00
Johannes Meyer 4481224549 Servicegroup Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:16:16 +02:00
Johannes Meyer 792dc177dd Notification Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:15:22 +02:00
Johannes Meyer 723ff76c17 Host Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:15:08 +02:00
Johannes Meyer 66bf3d2eb9 Hostgroup Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:14:01 +02:00
Johannes Meyer 916a88542a Event Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:13:43 +02:00
Johannes Meyer 5ec85df923 Downtime Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:13:17 +02:00
Johannes Meyer 6017dce1cc Contact Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:13:02 +02:00
Johannes Meyer b8ac2fccd4 Comment Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:12:47 +02:00
Markus Frosch 083900dae0 Implement DblClickSelect as a Icinga Behavior
refs #9826
2015-08-04 14:06:33 +02:00
Markus Frosch a14f800d9e Add support for IPv6 address
refs #9645
2015-08-04 14:02:54 +02:00
Alexander Fuhr 7ad6a76d7a Merge branch 'master' into bugfix/invalid-host-passive-check-9672 2015-08-04 13:57:11 +02:00
Alexander Fuhr b5ae4599fd ProcessCheckResultCommandForm: Use substr instead of pregmatch
refs #9672
2015-08-04 13:54:30 +02:00
Alexander Fuhr 18f382e85e ProcessCheckResultCommandForm: Use getHostMultiOptions method
refs #9672
2015-08-04 13:30:46 +02:00
Alexander Fuhr dfbcc066a7 MonitoringBackend: Implement the getProgramVersion method
refs #9672
2015-08-04 13:28:32 +02:00
Alexander Fuhr 1c5bf36538 Host(s)-/Service(s)Controller: Set the form backend
refs #9672
2015-08-04 13:25:17 +02:00
Eric Lippmann 5ae21fd196 doc: Set parameters from route explicitly
refs #9817
2015-08-04 12:48:53 +02:00
Alexander Fuhr ceb32679d8 RemoteInstanceForm: Fix the unhandled exception if no ...
..resources are available

* Now we only can use the ssh identity, if there is at least one ssh identity
resource exists

fixes #9517
2015-08-03 16:52:50 +02:00
Johannes Meyer d1917ad2b4 Merge branch 'master' into bugfix/do-not-use-count-queries-for-emptiness-checks-9632
Conflicts:
	modules/monitoring/application/views/scripts/service/history.phtml
2015-08-03 16:46:27 +02:00
Johannes Meyer 2de761d8ec Service History: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:35:17 +02:00
Johannes Meyer 54590bfaf1 Host History: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:34:50 +02:00
Johannes Meyer 8a5b5390da Event Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:09:42 +02:00
Johannes Meyer f03b9e5769 Eventgrid: Use $query->hasResult() instead of $query->count()
* and do not use fetchAll()
* and do not use <? short tags
* and do not use curly braces if not absolutely necessary..

refs #9632
2015-08-03 16:06:21 +02:00
Johannes Meyer 57e0ce1b53 Comment Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:49:12 +02:00
Johannes Meyer d9539b2ad1 Downtime Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:45:54 +02:00
Johannes Meyer 6f0b51ed8f Notification Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:35:17 +02:00
Johannes Meyer 29fd849cca Contact Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:35:07 +02:00
Johannes Meyer 028342adfe Services Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:24:10 +02:00
Johannes Meyer e1b3c42818 Host Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:22:14 +02:00
Johannes Meyer c0b82eff94 Servicegroup Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:18:40 +02:00
Johannes Meyer 39d29c79d2 Hostgroup Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:06:22 +02:00
Eric Lippmann 688a08585b Merge branch 'master' into bugfix/error-prone-generictts-9611
Conflicts:
	modules/monitoring/application/views/scripts/show/components/downtime.phtml
2015-08-03 15:05:45 +02:00
Eric Lippmann d8e6418e94 monitoring: Fix code style in the show/components/downtime.phtml view script
refs #9611
2015-08-03 15:03:31 +02:00
Eric Lippmann 0809caa86b monitoring: Fix indent in the show/components/comments.phtml view script
refs #9611
2015-08-03 15:03:02 +02:00
Johannes Meyer 9a0e47a3e1 SimpleQuery: Add method hasResult()
refs #9632
2015-08-03 14:49:33 +02:00
Matthias Jentsch 6a17d7cb26 Do not target next pane in multiview detail controls
fixes #9815
2015-08-03 13:45:47 +02:00
Alexander Fuhr a63b69f4a1 components/downtime: Add downtime end time information in view
fixes #8845
2015-08-03 13:44:41 +02:00
Alexander Fuhr 8860181bcc Revert "components/downtime: Add downtime end time information in view"
This reverts commit 863330e50d.

refs #8845
2015-08-03 13:42:11 +02:00
Alexander Fuhr 1652f1e1ae Revert "components/downtime: Add the missing php script tag"
This reverts commit 95ea0e616d.

refs #8845
2015-08-03 13:41:40 +02:00
Alexander Fuhr 95ea0e616d components/downtime: Add the missing php script tag
refs #8845
2015-08-03 13:05:41 +02:00
Alexander Fuhr 863330e50d components/downtime: Add downtime end time information in view
fixes #8845
2015-08-03 12:37:09 +02:00
Eric Lippmann d5e2f92aa9 monitoring: Use createTicketLinks helper when showing downtimes of an object
refs #9611
2015-08-03 11:00:46 +02:00
Eric Lippmann a379a448d9 monitoring: Fix code style in the show/components/comments.phtml view script
refs #9611
2015-08-03 10:58:57 +02:00
Eric Lippmann b6caeb6c17 monitoring: Use createTicketLinks helper when showing comments of an object
refs #9611
2015-08-03 10:53:51 +02:00
Eric Lippmann e555e3e3b2 monitoring: Use createTicketLinks helper when showing a service's history
refs #9611
2015-08-03 10:44:53 +02:00
Eric Lippmann 498585d8af monitoring: Use createTicketLinks helper when showing a host's history
refs #9611
2015-08-03 10:43:42 +02:00
Johannes Meyer dafa722cec Hide non-essential form fields when configuring LDAP user group backends
resolves #9780
2015-07-31 15:56:13 +02:00
Johannes Meyer 5a3401cc28 monitoring: Reduce amount of default quick search columns
Entering an arbitrary pattern in the quick search field will now only search
for a host's and service's display name or a group's / contact's alias.

fixes #9751
2015-07-31 15:15:13 +02:00
Johannes Meyer 60b0b4cc61 Merge branch 'master' into feature/query-limit-plus-one-9661 2015-07-31 13:57:00 +02:00
Johannes Meyer 99c69cc461 SimpleQuery: Add support for peek aheads
refs #9661
2015-07-31 13:51:39 +02:00
Eric Lippmann f4c7fd5408 Merge branch 'bugfix/env-in-source-9615'
fixes #9615
2015-07-31 11:31:54 +02:00
Eric Lippmann 834017f6e5 translation: Always use the correct path to the Icinga library in the translation helper
refs #9615
2015-07-31 11:30:26 +02:00
Johannes Meyer c5b5d3c9c3 SetupException: Provide a default exception message 2015-07-31 11:06:01 +02:00
Johannes Meyer 073c61903a DatabaseStep: Be less error-prone while calling array_search 2015-07-31 11:04:26 +02:00
Johannes Meyer 7305edc74c DbTool: Be less error-prone while calling array_search 2015-07-31 11:04:17 +02:00
Johannes Meyer b8293b1fdd WebWizard: Be less error-prone while calling array_search 2015-07-31 11:04:00 +02:00
Johannes Meyer c32b749701 DatabaseStep: Fix schema checks
The step to setup the database considered any table of foreign schemas
as one of our own schema, causing it to never create our schema for
non-empty databases.

fixes #9799
2015-07-31 11:03:12 +02:00
Johannes Meyer 316a4d8b82 Merge branch 'master' into bugfix/allow-to-configure-how-to-manage-groups-9609 2015-07-30 16:16:04 +02:00
Johannes Meyer c57bc30e67 AuthBackendPage: Don't crash while validating an external backend's config 2015-07-30 16:00:04 +02:00
Johannes Meyer a8415caf24 AuthenticationPage: Show the external-auth note as info form-notification 2015-07-30 15:57:06 +02:00
Eric Lippmann 8d137aa575 translation: Load msgfmt path from config or default to /usr/bin/env msgfmt
refs #9615
2015-07-30 15:55:05 +02:00
Eric Lippmann d4c7261562 translation: Fix msgmerge default
refs #9615
2015-07-30 15:53:39 +02:00
Eric Lippmann c9c97f3c61 translation: Load xgettext path from config or default to /usr/bin/env xgettext
refs #9615
2015-07-30 15:53:13 +02:00
Eric Lippmann 7160eb600a translation: Load msgmerge path from config or default to /usr/bin/env msgmerge
refs #9615
2015-07-30 15:51:41 +02:00
Johannes Meyer 16a964cb20 UserGroupStep: Do not produce invalid HTML
refs #9609
2015-07-30 15:51:07 +02:00
Johannes Meyer 5ca0e981c4 UserGroupBackendPage: Ensure that all required fields exist
refs #9609
2015-07-30 15:49:04 +02:00
Eric Lippmann 219dcdda37 translation: Set config on the translation helper
Installations from package will provide a config for the translation module which defines the appropriate gettext tools paths.

refs #9615
2015-07-30 15:47:35 +02:00
Johannes Meyer 9cd419d330 UserGroupBackendPage: Add missing page description
refs #9609
2015-07-30 15:28:13 +02:00
Johannes Meyer 171be7a436 AuthenticationStep: Fix that the backend type 'msldap' is shown as external 2015-07-30 15:05:19 +02:00
Eric Lippmann a234852f32 Merge branch 'feature/basic-auth-9660'
resolves #9660
2015-07-30 15:05:07 +02:00
Johannes Meyer 87deda86be AuthBackendPage: Fix that re-populating the chosen LDAP type has no effect
...
2015-07-30 14:51:51 +02:00
Johannes Meyer eb4e56fbc0 AuthenticationStep: Do not report a success if nothing has changed 2015-07-30 14:14:43 +02:00
Johannes Meyer 0155599a1a Wizard: Use <pre> instead of <textarea> for displaying the setup's log 2015-07-30 14:13:52 +02:00
Eric Lippmann 81aad9d6a6 Rename Notifiation::getMessages() to popMessages()
Because the call to popMessages()--before getMessages()--automatically resets the notification messages on the instance, popMessages() is a much better name for the method.

refs #9660
2015-07-30 13:45:39 +02:00
Johannes Meyer f3a8981aa3 UserGroupStep: Fix c&p mistake
refs #9609
2015-07-30 13:31:23 +02:00
Johannes Meyer 47079b723d Wizard: Apply user group backend configuration
refs #9609
2015-07-30 13:22:51 +02:00
Johannes Meyer c5761243c1 Wizard: Apply initial administrative rights for groups
refs #9609
2015-07-30 11:35:28 +02:00
Johannes Meyer ff5142896b AuthenticationStep: We're creating the roles.ini, ultimately 2015-07-30 09:04:33 +02:00
Johannes Meyer 9858d79aaa AdminAccountPage: Do not allow to choose a group..
Does not work currently :(

refs #9609
refs #9772
2015-07-29 17:18:41 +02:00
Johannes Meyer ba8d05af85 Wizard: Allow to choose a group for initial administrative access
refs #9609
2015-07-29 17:13:06 +02:00
Johannes Meyer 226caac4f9 Wizard: Clear user group stage data on a auth backend type switch as well
refs #9609
2015-07-29 16:28:41 +02:00
Johannes Meyer a159e8195f Wizard: Fix that auto-submitting a form does not have any effect
I already said it's a mess...
2015-07-29 16:17:14 +02:00
Johannes Meyer 4cc95c91ef AdminAccountPage: Fix user backend creation
Missed to adjust this as part of 83aafe8c
2015-07-29 15:07:41 +02:00
Johannes Meyer 3f7081296b Merge branch 'master' into bugfix/allow-to-configure-how-to-manage-groups-9609 2015-07-29 15:02:20 +02:00
Johannes Meyer f72304a2fa Wizard: Allow to configure a user group backend for LDAP user backends
refs #9609
2015-07-29 14:44:28 +02:00
Johannes Meyer 4dab67ef5b Introduce wizard page UserGroupBackendPage
refs #9609
2015-07-29 14:44:09 +02:00
Johannes Meyer 57bdd2686e AuthBackendPage: Fix that the chosen LDAP type is not re-populated 2015-07-29 14:18:43 +02:00
Johannes Meyer 22bcc790ef Wizard: Prevent the width of header steps from exceeding 100% in total 2015-07-29 12:30:39 +02:00
Matthias Jentsch 2e8b7425a1 Make servicegroup table an action table
refs #8623
2015-07-29 11:41:17 +02:00
Johannes Meyer e8af4295b1 Allow to manually validate the configuration in the wizard as well
It's a mess...
2015-07-29 10:52:32 +02:00
Johannes Meyer 83aafe8cda Allow to discover LDAP connections in the wizard as well
...
2015-07-29 09:26:53 +02:00
Eric Lippmann 07849e0fea lib: Rename Authentication/Manager to Authentication/Auth
refs #9660
2015-07-28 17:08:55 +02:00
Eric Lippmann 5c5dea616d doc: Use Params::getRequired() in ModuleController
refs #9644
2015-07-28 13:59:59 +02:00
Eric Lippmann 794e4a1e1e doc: Use Params::getRequired() in IcingawebController
refs #9644
2015-07-28 13:59:39 +02:00
Eric Lippmann 9a758f3ed9 doc: Use Controller::httpNotFound() in SearchController
refs #9644
2015-07-28 13:47:25 +02:00
Eric Lippmann 9846dfb2e2 doc: Use Controller:httpNotFound() in ModuleController
refs #9644
2015-07-28 13:47:06 +02:00
Eric Lippmann 7cfc78558d Merge branch 'master' into feature/secure-modules-9644
Conflicts:
	library/Icinga/Exception/IcingaException.php
2015-07-28 13:42:02 +02:00
Eric Lippmann 0d2f73668d Merge branch 'bugfix/non-compound-9449'
fixes #9449
2015-07-28 13:37:39 +02:00
Eric Lippmann a8765bc4ea monitoring: Remove unnecessary use in StatehistoryForm
refs #9449
2015-07-28 13:36:51 +02:00
Eric Lippmann 7df1b3aa0f monitoring: Fix use statements in EventOverviewForm
refs #9449
2015-07-28 13:35:52 +02:00
Eric Lippmann 0a01eb66b1 monitoring: Remove unnecessary use w/ backslash in DeleteDowntimesCommandForm
refs #9449
2015-07-28 13:34:39 +02:00
Eric Lippmann 919c7c52cf monitoring: Fix PHPDoc in DeleteDowntimeCommand 2015-07-28 13:33:56 +02:00
Eric Lippmann dd7d078704 monitoring: Fix PHPDoc in DeleteCommentCommand 2015-07-28 13:33:56 +02:00
Eric Lippmann 5d01dca291 monitoring: Fix PHPDoc in DeleteDowntimesCommandForm 2015-07-28 13:33:56 +02:00
Eric Lippmann 72c3337be8 monitoring: Use @inheritdoc in DeleteDowntimeCommandForm 2015-07-28 13:33:56 +02:00
Eric Lippmann 455d2cee69 monitoring: Use @inheritdoc in DeleteCommentCommandForm 2015-07-28 13:33:56 +02:00
Eric Lippmann 9bd31f70e2 monitoring: Remove unnecessary use w/ backlash in DeleteDowntimeCommandForm
refs #9449
2015-07-28 12:44:27 +02:00
Eric Lippmann f6ec028627 monitoring: Fix PHPDoc in DeleteCommentsCommandForm 2015-07-28 12:32:19 +02:00
Eric Lippmann 36a5ec3e17 monitoring: Fix PHPDoc in CommandForm 2015-07-28 12:32:19 +02:00
Eric Lippmann 901e6754eb monitoring: Define CommandTransportInterface::send() 2015-07-28 12:32:19 +02:00
Eric Lippmann b2fb0a836f monitoring: Move CommandTransportException to the monitoring's exception namespace 2015-07-28 12:32:19 +02:00
Eric Lippmann 4536eacd66 monitoring: Rename TransportException to CommandTransportException 2015-07-28 12:32:19 +02:00
Eric Lippmann ec07da6c5e monitoring: Remove unnecessary use w/ backlash in DeleteCommentsCommandForm
refs #9449
2015-07-28 11:56:48 +02:00
Eric Lippmann d850cffa42 doc: Remove unnecessary use in SearchController
refs #9449
2015-07-28 11:55:27 +02:00
Eric Lippmann b3f463a7a5 doc: Remove unnecessary use in ModuleController
refs #9449
2015-07-28 11:54:55 +02:00
Eric Lippmann e70fb76d31 doc: Remove unnecessary use in IcingawebController
refs #9449
2015-07-28 11:54:00 +02:00
Johannes Meyer d56b31fe5e DataView\Eventhistory: Fix sort rules
refs #6644
2015-07-28 11:42:55 +02:00
Johannes Meyer 247c0f3952 DataView\Customvar: Fix sort rules
refs #6644
2015-07-28 11:42:40 +02:00
Johannes Meyer 1f6bc8ea47 DataView: Implement interface SortRules
refs #6644
2015-07-28 11:41:25 +02:00
Eric Lippmann 07fb82357b doc: Make documentation for all installed modules avaiable
Before, only documentation of enabled modules was available.

refs #9644
2015-07-27 15:19:32 +02:00
Johannes Meyer 998610bafa ProgramstatusQuery: Provide a(nother) fallback for older IDO installations
fixes #9168
2015-07-24 15:46:12 +02:00
Johannes Meyer 2c4b6eb915 ResourceConfigForm: Replace isValid- with inspectResource()
refs #7588
2015-07-24 14:24:11 +02:00
Johannes Meyer b3e6b2755c UserBackendConfigForm: Replace isValid- with inspectUserBackend()
refs #7588
2015-07-24 11:45:49 +02:00
Johannes Meyer 56759e7f21 Merge branch 'master' into feature/ldap-auth-backend-discovery-9602 2015-07-24 10:52:14 +02:00
Eric Lippmann 12856da971 Merge branch 'bugfix/filter-custom-variables-9692'
fixes #9692
2015-07-24 09:27:05 +02:00
Johannes Meyer 0448323697 InstanceConfigForm: Translate exceptions shown to the user 2015-07-23 16:18:44 +02:00
Johannes Meyer 666c401a40 BackendConfigForm: Translate exceptions shown to the user 2015-07-23 16:18:35 +02:00
Johannes Meyer 4e3da3a6eb UserBackendConfigForm: Adjust how to process requests...
...and use sub-forms, finally.

refs #9602
2015-07-23 16:18:09 +02:00
Johannes Meyer 1d3a0f63eb BackendConfigForm: Fix that skipping the schema validation is not possible
fixes #9719
2015-07-23 12:25:30 +02:00
Eric Lippmann a75b1a35c6 monitoring: Don't fail when selecting custom variables while having a group by clause
refs #9692
2015-07-22 13:47:52 +02:00
Eric Lippmann 63c51c01e0 monitoring: Auto-refresh tactical overview every 15 seconds
fixes #9626
2015-07-22 13:40:50 +02:00
Eric Lippmann 15cb24c6dc Throw an exception in IdoQuery::getCustomvarColumnName() in case the custom variable has not been joined
Queries extending IdoQuery and using the method getCustomvarColumnName() must be notified in case the custom variable has not been joined.

refs #9692
2015-07-22 12:03:34 +02:00
Eric Lippmann 3ed13366a8 Remove duplicate line in IdoQuery
I introduced this w/ 4522cf5090.
2015-07-22 12:03:34 +02:00
Eric Lippmann 163911ffd7 Indicate empty icinga_programstatus table as problem
fixes #9695
2015-07-21 16:47:17 +02:00
Eric Lippmann 4522cf5090 Add missing return to IdoQuery::getCustomvarColumnName()
Some filter combinations still seem to not work properly.

refs #9692
2015-07-21 15:27:01 +02:00
Johannes Meyer 47fbc24f17 Merge branch 'master' into bugfix/improve-form-notifications-8983
Conflicts:
	library/Icinga/Web/Form.php
	modules/setup/application/forms/AdminAccountPage.php
2015-07-20 15:52:10 +02:00
Johannes Meyer 9a90e2a183 Wizard: Be less hysteric to not to make users upset
fixes #9620
2015-07-15 08:50:39 +02:00
Johannes Meyer 8b4c2c459a comments overview: Improve link titles 2015-07-13 12:51:50 +02:00
Johannes Meyer d6f756c670 downtimes overview: Improve link titles 2015-07-13 12:51:12 +02:00
Johannes Meyer c90da0378d downtimes overview: Fix detail links 2015-07-13 12:17:00 +02:00
Johannes Meyer 3db81a8d0f downtimes-header: Do not show links with a bold font 2015-07-10 15:46:24 +02:00
Johannes Meyer d0a588ef58 downtimes-header: Do not access a non-existent property, again
I don't get it..
2015-07-10 15:43:07 +02:00
Johannes Meyer ac8a2d1673 downtimes-header: Show proper times for fixed downtimes not yet started 2015-07-10 15:41:42 +02:00
Johannes Meyer 831581471c downtimes/show.phtml: Drop redundant link title
Such a title has not any advantage as it contains the same content
as the link label.
2015-07-10 15:17:25 +02:00