Commit Graph

1698 Commits

Author SHA1 Message Date
Matthias Jentsch 25f397042b Merge branch 'master' into feature/improve-multi-select-view-8565
Conflicts:
	modules/monitoring/application/controllers/HostsController.php
	modules/monitoring/application/controllers/ServicesController.php
	modules/monitoring/application/views/scripts/hosts/show.phtml
	modules/monitoring/application/views/scripts/list/hosts.phtml
	modules/monitoring/application/views/scripts/partials/host/objects-header.phtml
	modules/monitoring/application/views/scripts/partials/service/objects-header.phtml
	modules/monitoring/application/views/scripts/services/show.phtml
	modules/monitoring/public/css/module.less
	public/js/icinga/behavior/tooltip.js
2015-05-11 13:28:43 +02:00
Alexander Fuhr c3b4ea71d3 Add ido schema and instance availability validation
refs #9203
2015-05-11 10:32:34 +02:00
Matthias Jentsch 8c5f2662ea Fix redirects in downtime multi view
refs #8624
2015-05-07 17:33:38 +02:00
Matthias Jentsch fff2d5c816 Use consistent controller names
refs #8624
2015-05-07 17:29:46 +02:00
Matthias Jentsch 83efc3a4a3 Conform to coding guidelines 2015-05-07 17:23:50 +02:00
Matthias Jentsch c6c78989a5 Fix redirects after deleting a comment
refs #8624
2015-05-07 17:02:34 +02:00
Matthias Jentsch 1fa550838d Coding guidelines and cleanup 2015-05-07 16:37:35 +02:00
Matthias Jentsch 7cf2cb034e Remove unused and redundant controller actions
refs #8624
2015-05-07 16:22:17 +02:00
Matthias Jentsch ac599e642a Add submit button label to multi comment form
refs #8624
2015-05-07 16:21:34 +02:00
Matthias Jentsch b314c074cc Fix downtime and comment form redirects
refs #8624
2015-05-07 16:20:59 +02:00
Matthias Jentsch 4463f16f04 Add abbillity to remove multiple comments by id
refs #8624
2015-05-07 15:11:54 +02:00
Matthias Jentsch ffd12e325c Improve up downtime command form properties
Use a flag instead of a enumeration in delete downtime command form, to remove needless boilerplate.

refs #8624
2015-05-07 14:05:16 +02:00
Matthias Jentsch b35dd4ddfe Separate forms for deleting single and multiple comments
refs #8624
2015-05-07 14:03:09 +02:00
Matthias Jentsch 7c8ff44fd1 Fix comment and downtime list inline forms
refs #8903
refs #8902
2015-05-07 10:59:37 +02:00
Matthias Jentsch 11c9cde557 Remove dashboard action from multi view
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch 3187975553 Conform to coding guidelines 2015-05-07 10:59:36 +02:00
Matthias Jentsch 1586275521 Conform to coding guidelines in downtime controller 2015-05-07 10:59:36 +02:00
Matthias Jentsch e5e3e80300 Conform to coding guidelines 2015-05-07 10:59:36 +02:00
Matthias Jentsch 5477a2f18e Escape missing variables
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch e6740c5093 Set link target to next page in all comment views
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch c71786a624 Remove useless comments 2015-05-07 10:59:36 +02:00
Matthias Jentsch 6ff903c8a9 Remove useless comments 2015-05-07 10:59:36 +02:00
Matthias Jentsch 0c7d8ab481 Add controlle for handling multiple comments
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch ca839d5123 Display amount of selected rows
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch cab198eadc Fix whitespaces and unused comments 2015-05-07 10:59:36 +02:00
Matthias Jentsch 32da02c162 Deduplicate comment views
Move comment detail and description into separate partial to reduce code duplication
2015-05-07 10:59:36 +02:00
Matthias Jentsch dedc175967 Add basic comment detail view
refs #8903
2015-05-07 10:59:36 +02:00
Matthias Jentsch d316b31cbb Fix downtime removal command in detail view
Use removal command for single downtimes in detail view. Move removing single and multiple downtimees into seperate forms.

refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch a46dece136 Provie link to detail view in downtime partial
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch be566746a9 Provide downtime header in remove and remove-all commands
Add new show script for downtimes and move downtime headers into partials to deduplicate code.

refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch 6ddb004230 Move removal command actions into the downtime controllers
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch b186ce2cac Handle non-existed downtime ids with exceptions
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch 400f351ea5 Improve detail view layout
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch 07c5e67304 Display additional downtime info in multiselection detail view
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch a87e1f91d9 Implement detail view for multiple downtimes
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch 20b25e656b Show better error message for unknown downtimes
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch 9114a34223 Display host and service state in downtime detail area
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch ab0720fe95 Add support for multi-selection to downtime list
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch bb7afd9b2b Add tooltips to downtime detail view
refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch ff47b892e9 Improve order and content of downtime properties
Add rows for missing properties, reorder and group related properties.

refs #8902
2015-05-07 10:34:06 +02:00
Matthias Jentsch 7b6641dc84 Add basic downtime controller and views
refs #8902
2015-05-07 10:34:06 +02:00
Alexander Fuhr 6df031dc78 Add proper respond http codes to service and host controller
fixes #6281
2015-05-06 14:21:46 +02:00
Michael Friedrich defda53ff5 Show icinga program version in Monitoring Health
Also emphasize on the backends used.

fixes #9207
2015-05-05 17:02:45 +02:00
Alexander Fuhr 0e4201a997 Add info about the active ido endpoint to monitoring health overview
resolves #9223
2015-05-05 15:20:25 +02:00
Alexander Fuhr 993cb31572 Fix the permission for the toggle object feature assertion
fixes #9198
2015-05-04 14:39:12 +02:00
Alexander A. Klimov d43f4729f1 Monitoring_ListController::filterQuery(): preserve parameter `_dev'
resolves #8453
2015-04-30 17:25:59 +02:00
Alexander A. Klimov a976d777b3 Show custom variables visually separated in the host and service detail views
resolves #8966
2015-04-23 13:31:02 +02:00
Alexander A. Klimov e4a9843021 Show Icinga 2 boolean variables in the host and service detail views
resolves #8747
2015-04-23 12:38:29 +02:00
Alexander A. Klimov 6ba6cb7940 Improve layout of dictionaries in the host and service detail views
resolves #8474
2015-04-23 11:58:54 +02:00
Johannes Meyer 1e064a5379 Revert "Fix host and service multiselection"
This reverts commit 1f4b3aa8ea.
2015-04-20 16:13:03 +02:00
Johannes Meyer f11ea04557 Revert "Require `host_name' instead of `host' to show or list particular objects"
This reverts commit b93d18a0fc.
2015-04-20 16:11:22 +02:00
Johannes Meyer 894457a1c1 Revert "Adjust command links so that they'll use `host_name' instead of `host'"
This reverts commit b9aee47d1f.

Conflicts:
	modules/monitoring/application/views/scripts/list/comments.phtml
	modules/monitoring/application/views/scripts/list/downtimes.phtml
2015-04-20 16:11:08 +02:00
Johannes Meyer 96fb0370a4 Revert "Require `service_description' instead of `service' to show a particular service"
This reverts commit 09ab601942.
2015-04-20 16:09:14 +02:00
Johannes Meyer 9bbb23ae7d Revert "Adjust command links so that they'll use `service_description'"
This reverts commit cee189a5fc.

Conflicts:
	modules/monitoring/application/views/scripts/list/comments.phtml
	modules/monitoring/application/views/scripts/list/downtimes.phtml
2015-04-20 16:08:51 +02:00
Johannes Meyer da7aa23820 Merge branch 'master' into bugfix/make-all-views-dashboard-compliant-7876 2015-04-20 15:20:23 +02:00
Johannes Meyer b68fd93529 Timeline: Add dashboard action
refs #7876
2015-04-20 15:00:01 +02:00
Johannes Meyer a3eb6e37f2 Tactical overview: Add dashboard action
refs #7876
2015-04-20 14:59:54 +02:00
Johannes Meyer 48f9cf61e7 Monitoring health view: Add dashboard action
refs #7876
2015-04-20 14:59:44 +02:00
Johannes Meyer a4f08067e4 Applicationlog: : Add dashboard action
refs #7876
2015-04-20 14:59:32 +02:00
Johannes Meyer 41222fd34e Service multiselection view: Add dashboard action
refs #7876
2015-04-20 14:59:20 +02:00
Johannes Meyer 4e27ff962c Host multiselection view: Add dashboard action
refs #7876
2015-04-20 14:59:05 +02:00
Johannes Meyer 48df225f98 Alertsummary: Add dashboard action
refs #7876
2015-04-20 14:58:47 +02:00
Johannes Meyer 0997eaf459 Host detail view: Fix that the list of services is missing all tabs
refs #7876
2015-04-20 14:56:30 +02:00
Johannes Meyer 8b18c5a60a Fix parameters to ignore when setting a filter for the ServiceList
refs #7876
2015-04-20 13:18:36 +02:00
Johannes Meyer 4b43fbe527 Host- and Service multiselection: Ensure dashboard compliance
refs #7876
2015-04-20 13:03:13 +02:00
Matthias Jentsch 423b92f8dc Remove gravity settings from servicegrid
refs #9025
2015-04-20 12:02:17 +02:00
Johannes Meyer 54a370ca22 Merge branch 'master' into bugfix/make-all-views-dashboard-compliant-7876 2015-04-20 11:15:04 +02:00
Johannes Meyer dbf471feac Use the helper to setup the FilterEditor widget
refs #7876
2015-04-17 16:21:14 +02:00
Johannes Meyer 14a555629d servicegrid: Ensure dashboard compliance
refs #7876
2015-04-17 16:20:29 +02:00
Johannes Meyer c099b7ddd7 eventgrid: Ensure dashboard compliance
refs #7876
2015-04-17 16:20:22 +02:00
Johannes Meyer 78e4df2ce9 monitoring health views: Ensure dashboard compliance
refs #7876
2015-04-17 16:20:06 +02:00
Johannes Meyer b9f9ea6142 service/show: Ensure dashboard compliance
refs #7876
2015-04-17 16:19:38 +02:00
Johannes Meyer b2246c2aff host/show: Ensure dashboard compliance
refs #7876
2015-04-17 16:19:30 +02:00
Johannes Meyer 58b93101c7 multiselect views: Ensure dashboard compliance
refs #7876
2015-04-17 16:18:56 +02:00
Johannes Meyer 7be00791a7 list/eventhistory: Ensure dashboard compliance
refs #7876
2015-04-17 16:15:58 +02:00
Johannes Meyer faa29e3dee list/hostgroups: Ensure dashboard compliance
refs #7876
2015-04-17 16:14:59 +02:00
Johannes Meyer 7ae7bf38c4 list/servicegroups: Ensure dashboard compliance
refs #7876
2015-04-17 16:14:46 +02:00
Johannes Meyer 2190e553be list/comments: Ensure dashboard compliance
refs #7876
2015-04-17 16:14:29 +02:00
Johannes Meyer b9249dac4e list/contactgroups: Ensure dashboard compliance
refs #7876
2015-04-17 16:14:13 +02:00
Johannes Meyer d725b2feb7 list/contacts: Ensure dashboard compliance
refs #7876
2015-04-17 16:13:56 +02:00
Johannes Meyer a09e41e3b8 list/notifications: Ensure dashboard compliance
refs #7876
2015-04-17 16:13:36 +02:00
Johannes Meyer 5f19ec1b2e list/downtimes: Ensure dashboard compliance
refs #7876
2015-04-17 16:13:22 +02:00
Johannes Meyer 29648191e4 list/services: Ensure dashboard compliance
refs #7876
2015-04-17 16:12:56 +02:00
Johannes Meyer 74cf3cf375 list/hosts: Ensure dashboard compliance
refs #7876
2015-04-17 16:12:35 +02:00
Johannes Meyer 073dc31128 Timeline: Ensure dashboard compliance
refs #7876
2015-04-17 16:11:06 +02:00
Johannes Meyer 3f092ffb2d show/contact: Ensure dashboard compliance
refs #7876
2015-04-17 16:10:49 +02:00
Johannes Meyer 9388944283 show/history: Ensure dashboard compliance
refs #7876
2015-04-17 16:10:21 +02:00
Johannes Meyer 5f4a61f36e Alertsummary: Ensure dashboard compliance
refs #7876
2015-04-17 16:09:50 +02:00
Matthias Jentsch 0974b70e0e Display service grid tooltips on the top
fixes #9025
2015-04-16 18:32:47 +02:00
Eric Lippmann 0f70701034 Use timeSince() in the monitoring list command
refs #6778
2015-04-15 15:46:12 +02:00
Eric Lippmann 796cbffbd7 Merge branch 'master' into bugfix/time-formatting-6778
Conflicts:
	modules/monitoring/application/views/scripts/show/components/notifications.phtml
2015-04-15 15:43:39 +02:00
Eric Lippmann 229e266daf Add new line between comment author and creation time in the detail views
refs #6778
2015-04-15 15:40:40 +02:00
Eric Lippmann e500715bda Use timeAgo() when displaying comments in the detail views
refs #6778
2015-04-15 15:33:44 +02:00
Johannes Meyer 675d070b86 Set the view property `compact' exactly once
refs #7876
2015-04-15 15:33:00 +02:00
Eric Lippmann 2440308699 Use timeSince() in the host groups view
Instead of prefixedTimeSince() which will be removed.

refs #6778
2015-04-15 15:22:26 +02:00
Eric Lippmann 9b9975bd73 Use timeSince() in the service groups view
Instead of prefixedTimeSince() which will be removed.

refs #6778
2015-04-15 15:21:19 +02:00
Johannes Meyer 5e92171ab7 Drop the `inline' view property, as it's not used anywhere 2015-04-15 15:15:03 +02:00
Eric Lippmann a6a9bd28eb Use timeSince() for the last status change in the service's detail view
Instead of using prefixedTimeSince() which will be removed.

refs #6778
2015-04-15 15:06:15 +02:00
Eric Lippmann b84452140c Use timeSince() for the last status change in the host's detail view
Instead of using prefixedTimeSince() which will be removed.

refs #6778
2015-04-15 15:02:27 +02:00
Eric Lippmann a4d815051c Add missing break statements in the comments list view 2015-04-15 14:59:30 +02:00
Eric Lippmann a8ce3abca7 Fix code compliance in the SendCustomNotificationCommandForm 2015-04-15 14:59:29 +02:00
Johannes Meyer 9ef414c9ed Add separator when listing downtimes in the detail view
fixes #9046
2015-04-14 09:20:43 +02:00
Johannes Meyer 638c00d685 Merge branch 'master' into feature/non-collated-ido-queries-8613 2015-04-13 15:55:32 +02:00
Johannes Meyer 644a386bf8 NotificationQuery: Use query column `notification_contact_name'
...instead of `notification_contact'.

refs #8613
2015-04-13 15:26:06 +02:00
Johannes Meyer 15399d77ce NotificationQuery: Use query column `service_description' instead of `service'
refs #8613
2015-04-13 15:25:10 +02:00
Johannes Meyer 96954ea9a1 NotificationQuery: Use query column `host_name' instead of `host'
refs #8613
2015-04-13 15:24:15 +02:00
Johannes Meyer 24e06e5bc0 Alertsummary: Remove another bunch of redundant query columns 2015-04-13 15:15:42 +02:00
Johannes Meyer c10617d409 Servicegroups: Use query column `servicegroup_name' instead of `servicegroup'
refs #8613
2015-04-10 16:28:57 +02:00
Johannes Meyer c59d5ac7d5 Hostgroups: Use query column `hostgroup_name' instead of `hostgroup'
refs #8613
2015-04-10 16:28:33 +02:00
Eric Lippmann 291c6bf167 Remove superfluous <br /> after state pending in the hosts overview 2015-04-10 15:36:09 +02:00
Eric Lippmann 19cae4b751 Don't show last status change for services if they're in state pending 2015-04-10 15:31:20 +02:00
Johannes Meyer 1f4b3aa8ea Fix host and service multiselection
refs #8613
2015-04-10 15:04:59 +02:00
Eric Lippmann 2854859a67 Use timeSince() for displaying status changes of services instead of prefixedTimeSince()
Note that only the services view excluded the prefix from time diffs when being displayed in the dashboard. I'll readd that for both hosts and services later on.
Further, note that only the hosts view excludes the date of the status change when in state pending. I'll add that for the services view too.

refs #6778
2015-04-10 14:27:34 +02:00
Johannes Meyer 1c32d8ebe5 DowntimeQuery: Add _name suffix to the query column `downtime_author'
...to indicate that it's a case-sensitive column.

refs #8613
2015-04-10 14:23:05 +02:00
Eric Lippmann d5427f03ab Use timeSince() for displaying status changes of hosts instead of prefixedTimeSince()
refs #6778
2015-04-10 14:22:06 +02:00
Johannes Meyer fda261bf22 Use case-sensitive query columns when filtering downtimes by object
refs #8613
2015-04-10 14:19:38 +02:00
Eric Lippmann 1dcb3b3ad2 Use timeUntil() for the comment expiration date and time
refs #6778
2015-04-10 13:20:41 +02:00
Eric Lippmann dc757e3b19 Use timeAgo() for the comment creation date and time instead of prefixedTimeSince()
refs #6778
2015-04-10 12:56:49 +02:00
Johannes Meyer 0fe59aa519 Revert "ContactQuery: Provide ci query columns for aliases and email addresses"
This reverts commit f00adc2138.

Conflicts:
	modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactQuery.php
2015-04-10 12:23:35 +02:00
Johannes Meyer 5ec4919aa6 Do not filter for `contactgroup' in case the concrete group name is known
refs #8613
2015-04-10 12:14:47 +02:00
Alexander A. Klimov a817d9070e Move setupSortControl() from Monitoring_ListController to Icinga\Web\Controller 2015-04-10 11:36:25 +02:00
Eric Lippmann df3caa61e9 Improve notifications view component for objects
The old view did not show a hyphen if the user lacked the permissions to send a notification and if viewing a host or service not currently in a problem state.
Further the tooltip for send notification was bad English and the view generated a superfluous <br>.
2015-04-10 10:46:19 +02:00
Eric Lippmann 5efc343f03 Add full stop to sentences in the notifications view component for objects
refs #6778
2015-04-10 10:28:17 +02:00
Eric Lippmann d6374d4770 Use timeAgo() instead of timeSince() for an object's last check
refs #6778
2015-04-10 10:27:57 +02:00
Eric Lippmann 613de61e6d Improve English for "The last one occured %s ago" in the notifications view component for objects
fixes #8950
2015-04-10 10:24:15 +02:00
Eric Lippmann 80ab64e2b4 Fix typos in the notifications view partial for objects 2015-04-10 10:21:54 +02:00
Eric Lippmann e6f070d068 Use timeAgo() instead of timeSince() when displaying object notifications
refs #6778
2015-04-10 10:20:10 +02:00
Eric Lippmann a84b3acee7 Fix "since since" in the monitoring health view
Because timeSince() now includes the prefix, the prefix has to be removed from the format string.

refs #6778
2015-04-10 10:19:10 +02:00
Eric Lippmann 44ee4cd609 Use timeAgo() instead of timeSince() in the monitoring health view
refs #6778
2015-04-10 10:14:22 +02:00
Johannes Meyer 8477859dc1 Fix that the user isn't being notified that no events were found for an object 2015-04-10 09:51:08 +02:00
Johannes Meyer f00adc2138 ContactQuery: Provide ci query columns for aliases and email addresses
refs #8613
2015-04-10 09:45:23 +02:00
Johannes Meyer 3c47ba11eb monitoring/show/contact: Require `contact_name' instead of `contact'
refs #8613
2015-04-10 09:39:39 +02:00
Matthias Jentsch 2efea214da Don't display piecharts for empty host and service sets
refs #8565
2015-04-09 17:16:14 +02:00
Matthias Jentsch f4c69395b1 Add missing database columns
refs #8565
2015-04-09 17:15:26 +02:00
Matthias Jentsch f2eb20945e Deduplicate service and host flags icon handling in multi-view
refs #8565
2015-04-09 15:52:03 +02:00
Johannes Meyer 3d09615851 Fix that the user isn't being notified that no events were found
empty() seems not work if subqueries are involved.
2015-04-09 15:30:21 +02:00
Johannes Meyer 044a15d113 Alertsummary: Do not fetch more columns than necessary.. 2015-04-09 14:29:26 +02:00
Johannes Meyer 2c38ccda5c EventHistoryQuery: Drop column `service_host_name'
refs #8613
2015-04-09 14:19:31 +02:00
Johannes Meyer 84a2727523 Eventhistory: Fetch object names using their columns with initial collation
refs #8613
2015-04-09 14:17:27 +02:00
Matthias Jentsch 0312d8d6da Add pie chart and state summary to command forms
refs #8565
2015-04-09 14:01:56 +02:00
Johannes Meyer 5372dfb7f1 Fetch a comment's author using `comment_author_name'
refs #8613
2015-04-09 13:07:50 +02:00
Johannes Meyer cb95f53dba CommentQuery: Fetch and display object names with their initial collation
i.e. `host_name' instead of `comment_host' alias `host'
and `service_description' instead of `comment_service' alias `service'.

refs #8613
2015-04-09 12:49:06 +02:00
Johannes Meyer 1e6f292910 Use `servicegroup_name' instead of `servicegroup' to filter services
refs #8613
2015-04-09 11:43:51 +02:00
Johannes Meyer e5eca97169 Use `hostgroup_name' instead of `hostgroup' to filter hosts and services
refs #8613
2015-04-09 11:43:21 +02:00
Matthias Jentsch 878ef05896 Fix "show all downtimes" links
refs #8565
2015-04-09 11:19:13 +02:00
Johannes Meyer 7d984665d6 Use `host_name' to decide whether to show a service's host or not
`host' might match multiple hosts even if no * is being part of the filter.

refs #8613
2015-04-09 11:12:09 +02:00
Johannes Meyer cee189a5fc Adjust command links so that they'll use `service_description'
...instead of `service'

refs #8613
2015-04-09 10:28:34 +02:00
Johannes Meyer b9aee47d1f Adjust command links so that they'll use `host_name' instead of `host'
refs #8613
2015-04-09 10:27:41 +02:00
Matthias Jentsch 06a44119de Fix formatting issue in service multi-view
refs #8565
2015-04-09 09:52:31 +02:00
Johannes Meyer 09ab601942 Require `service_description' instead of `service' to show a particular service
`service' implies that it is possible to provide case-less identifiers which is
*not* possible.

refs #8613
2015-04-08 16:49:52 +02:00
Johannes Meyer b93d18a0fc Require `host_name' instead of `host' to show or list particular objects
`host' implies that it is possible to provide case-less identifiers which is
*not* possible.

refs #8613
2015-04-08 16:25:29 +02:00
Johannes Meyer 13596ec70f ShowController: Remove obsolete use statements 2015-04-08 15:21:16 +02:00
Alexander A. Klimov 20b09d3bda Inherit from Icinga\Web\Controller rather than from Icinga\Web\Controller\ModuleActionController 2015-04-08 15:13:59 +02:00
Matthias Jentsch 9ac89edb86 Add filter to summary links
Add the multiselection filter as a base filter to the state summary, to ensure that the summary links only selected services.

refs #8565
2015-04-07 18:00:36 +02:00
Matthias Jentsch 028c3ba08c Fix list-all link in host multi views opened from a service-selection
refs #8565
2015-04-07 17:43:45 +02:00
Matthias Jentsch eeb5a38b6c Add section for problem hosts and services to multi-view
Add a section to handle all problems, in contrast to the already existing section for handling all unhandled problems.

refs #8565
2015-04-07 17:41:38 +02:00
Matthias Jentsch 1c5a091584 Generate filter in host and service lists
refs #8565
2015-04-07 16:29:10 +02:00
Alexander Klimov 967a2e82dc Use (only) "@return $this" in fluent interfaces' documentation 2015-04-07 14:24:11 +02:00
Matthias Jentsch 6c0f9cf6f5 Remove comment lists from multi-select views.
refs #8565
2015-04-02 16:51:09 +02:00
Matthias Jentsch 45a0982beb Add new tab to switch between host and service multi-selection
refs #8565
2015-04-02 16:44:05 +02:00
Matthias Jentsch 5619ac960c Add inline pies to host and service back to multi-select views
Add old inline pie code and visualize handled/unhandled state.

refs #8565
2015-04-02 16:25:20 +02:00
Eric Lippmann 5745c1fec4 Fix code style in the Perfdata view helper 2015-03-30 12:12:58 +02:00
Eric Lippmann 09d713be0d Fix PHPDoc of the Perfdata view helper 2015-03-30 12:10:58 +02:00
Eric Lippmann 8c46e5e285 Use View::translate() instead of t() in the Perfdata view helper
refs #7330
2015-03-30 12:08:26 +02:00
Eric Lippmann 83408ee21b Use Controller::translate() instead of mt() in the AlertsummaryController
refs #7330
2015-03-30 12:04:58 +02:00
Eric Lippmann be53f4f9bc Use Controller::translate() instead of t()/mt() in the ChartController
refs #7330
2015-03-30 12:04:05 +02:00
Eric Lippmann 820862d546 Use Controller::translate() instead of t() in the AlertsummaryController
refs #7330
2015-03-30 11:58:48 +02:00
Matthias Jentsch 5383999ef7 Add warning to links that open in a new window
Add warning on mouseover / focus as recommended by as recommended by WCAG20 G201

refs #7937
2015-03-19 10:49:28 +01:00
Thomas Gelf f038a89fa5 locale/it_IT: a few modifications, compile catalog 2015-03-13 17:06:42 +01:00
Davide Demuru 7ca7b2e141 locale/it_IT: refresh translation
Signed-off-by: Thomas Gelf <thomas@gelf.net>
2015-03-13 17:01:49 +01:00
Thomas Gelf 2c5c795057 locale/de_DE: a few strings for detail view 2015-03-13 16:55:01 +01:00
Thomas Gelf d82b73a2fe details - notifications: show a bell 2015-03-13 16:07:20 +01:00
Thomas Gelf 499b9b149a details - notifications: shorter link text 2015-03-13 16:06:19 +01:00
Johannes Meyer 44b1255bbc Do not open a new column when removing an acknowledgement 2015-03-13 14:13:09 +01:00
Johannes Meyer f4e5a7f666 Do not try to set a title on a set of tabs
That's not working anymore since the title related changes were reverted
2015-03-13 11:31:24 +01:00
Thomas Gelf edf55728cb monitoring/list: fix addcolumns VS addColumns
refs #8641
2015-03-13 09:07:02 +01:00
Johannes Meyer 99610bc1bd Avoid sub-tables when showing comments or downtimes in the detail view
fixes #8625
2015-03-13 08:32:50 +01:00
Eric Lippmann ce3c2507ef Show reachability in the host and service detail view
refs #6875
2015-03-13 00:26:45 +01:00
Eric Lippmann be041435d3 Merge branch 'bugfix/unnecessary-joins-8614'
fixes #8614
2015-03-12 16:47:10 +01:00
Marius Hein cb28f00c4d Merge branch 'master' into feature/custom-notification-command-8644 2015-03-12 16:45:57 +01:00
Marius Hein ddd280d57b Fix permission send-custom-notification
refs #8644
2015-03-12 16:40:32 +01:00
Eric Lippmann 53626ccfeb Merge branch 'master' into bugfix/unnecessary-joins-8614 2015-03-12 16:40:16 +01:00
Eric Lippmann 8563d5ed3f PHPDoc: Use @var instead of @type
Becasue of too many kittens PSR-5 backed off of deprecating @var.
So that's the way we go too.
2015-03-12 16:08:47 +01:00
Eric Lippmann 90971f2caf Revert "Merge branch 'feature/organize-headings-7976'"
This reverts commit ea2a17a76c, reversing
changes made to e72de8dfe1.

refs #7976
fixes #8647
2015-03-12 16:08:34 +01:00
Marius Hein ddc8dd5d4c Add command send custom notification to monitoring module
refs #8644
2015-03-12 16:08:22 +01:00
Matthias Jentsch 95a83a41bd Provide a link back to all selected objects in multi-views
refs #8565
2015-03-06 18:03:56 +01:00
Matthias Jentsch 266e781a93 Deduplicate Hosts and Services-Controller
Create functions in abstract class for filtering hosts and services, instead of reimplementing it in the controller.
2015-03-06 17:52:06 +01:00
Matthias Jentsch 1cfcb934b0 Deduplicate state summary
Use existing partials for rendering the state summary instead of a new one.

refs #8565
2015-03-06 17:30:59 +01:00
Matthias Jentsch 9c45e99b57 Add tiny statesummary to service multi-view
refs #8565
2015-03-06 16:13:00 +01:00
Matthias Jentsch 2591f055d8 Fix translation
Remove calls to deprecated translation function. Always use plural forms for commands in multi-view to indicate that this will cause multiple commands to be issued.

refs #8565
2015-03-06 15:22:14 +01:00
Matthias Jentsch 5c71f5a8ef Open list all links to the next container
refs #8565
2015-03-06 15:13:08 +01:00
Matthias Jentsch c2c9e49df4 Fix inconsistencies in text messages
refs #8565
2015-03-06 15:01:52 +01:00
Matthias Jentsch 4724eb907f Fix site layout of multi-views
Fix responsiveness and add icons for plugin output section.

refs 8565
2015-03-06 14:49:33 +01:00
Matthias Jentsch f91ce0cfa1 Fix delete comment command in host multi-view
refs #8565
2015-03-06 13:27:48 +01:00
Eric Lippmann cbf39a2d99 Use host_name and service_description columns in the downtime overview
refs #8614
2015-03-06 13:14:56 +01:00
Matthias Jentsch a077472226 Make tabs available in all host controller actions
refs #8565
2015-03-06 12:53:58 +01:00
Matthias Jentsch 9fc80ec34f Use more readable coding style in service multi-view
refs #8565
2015-03-06 12:45:29 +01:00
Matthias Jentsch 71534369ef Implement new layout for host multi-view
refs #8543
2015-03-06 12:31:34 +01:00
Matthias Jentsch f425704305 Fix service tooltip title
refs #8565
2015-03-06 09:48:42 +01:00
Matthias Jentsch cb0ca6d6ac Remove unused piechart code 2015-03-06 09:41:38 +01:00
Matthias Jentsch ef16ba5f48 Add commands for adding comments to services
refs #8348
2015-03-06 09:23:11 +01:00
Matthias Jentsch 860cc59155 Implement new layout for service multi-view
refs #8565
2015-03-05 18:32:38 +01:00
Johannes Meyer 507e5b43cc Show a form based autosubmit warning when toggling object features
refs #7935
2015-03-03 14:52:45 +01:00
Johannes Meyer d9fdcf036b Show a form based autosubmit warning when toggling instance features
refs #7935
2015-03-03 14:34:08 +01:00
Johannes Meyer 53e73161d8 Fix that the AcknowledgeCommandForm is opened in a new column 2015-03-02 18:45:38 +01:00
Johannes Meyer b9ac42b54d Drop CommandForm::getHelp() as being obsolete 2015-03-02 18:40:47 +01:00
Johannes Meyer a2f88dc60f Commands: Use native form title and description support where appropriate
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer 4ba281e7e8 Config: Use native form title and description support where appropriate
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer 2af83e7d72 Installation: Use native form title and description support where appropriate
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Johannes Meyer ea7b77eb72 Remove the required cue when disabling notifications globally
refs #7934
2015-03-02 18:40:46 +01:00
Matthias Jentsch 0f3c27f812 Fix event grid for dashboard 2015-03-02 12:27:27 +01:00
Johannes Meyer 7bb78330a9 Replace cancel icon with the trash icon...
...where the link's purpose is to remove something
2015-02-27 14:47:46 +01:00
Matthias Jentsch 89451f3086 Ensure that form ids are unique
Add an unique prefix to each Form- or FormElement id, unless id protection is disabled explicitly, to prevent id collisions between different containers.

fixes #8460
2015-02-25 18:00:28 +01:00
Alexander Fuhr 797d37735d Add .spinner class to CheckNowCommandForm submit button
refs #7968
2015-02-25 14:16:35 +01:00
Johannes Meyer 8e8bab0795 Do only escape a qlink's label manually if necessary 2015-02-24 11:35:25 +01:00
Johannes Meyer 907134cee2 Ensure that all link-like form buttons got proper titles
refs #8458
2015-02-24 09:03:47 +01:00
Johannes Meyer 956efe5ef9 Merge branch 'master' into feature/link-labels-8458
Conflicts:
	application/views/scripts/config/application.phtml
	application/views/scripts/config/module.phtml
	application/views/scripts/config/modules.phtml
	library/Icinga/Web/Widget/Dashboard/Dashlet.php
	modules/monitoring/application/controllers/TimelineController.php
2015-02-24 08:42:36 +01:00
Johannes Meyer cebaa47aa9 Hide the css-hidden link to extend the timeline from screen readers as well 2015-02-23 17:32:29 +01:00
Johannes Meyer be293f5e49 Add proper titles to the timeline
refs #8458
2015-02-23 17:31:24 +01:00
Johannes Meyer 52c17805c9 Add proper titles to the history view
refs #8458
2015-02-23 17:30:51 +01:00
Johannes Meyer bb5799434c Add proper titles to the contact view
refs #8458
2015-02-23 17:30:37 +01:00
Johannes Meyer 32e048693a Add proper titles to service multi selection view
refs #8458
2015-02-23 17:29:50 +01:00
Johannes Meyer 8991b7ed83 Add proper titles to the tactical overview
refs #8458
2015-02-23 17:29:22 +01:00
Johannes Meyer 18f6ff8702 Add proper titles to the servicegroups component view
refs #8458
2015-02-23 17:28:20 +01:00
Johannes Meyer 7247ea5191 Add proper titles to the hostgroups component view
refs #8458
2015-02-23 17:28:02 +01:00
Johannes Meyer 0d8bf462f5 Add proper titles to the downtime component view
refs #8458
2015-02-23 17:27:45 +01:00
Johannes Meyer 3a74ec3d09 Add proper titles to the contacts component view
refs #8458
2015-02-23 17:27:27 +01:00
Johannes Meyer 9793bd52c7 Add proper titles to the comments component view
refs #8458
2015-02-23 17:27:13 +01:00
Johannes Meyer 89ed498069 Add proper titles to the command component view
refs #8458
2015-02-23 17:26:56 +01:00
Johannes Meyer 25e2baa566 Add proper titles to the checkstatistics component view
refs #8458
2015-02-23 17:26:42 +01:00
Johannes Meyer 74360ee8e6 Add proper titles to the acknowledgements component view
refs #8458
2015-02-23 17:26:21 +01:00
Johannes Meyer 598294d2a2 Add proper titles to the servicesummary partial
refs #8458
2015-02-23 17:25:55 +01:00
Johannes Meyer f11ad1183a Add proper titles to the service list view
refs #8458
2015-02-23 17:25:23 +01:00
Johannes Meyer ebdf68550b Add proper titles to the servicegroups view
refs #8458
2015-02-23 17:25:02 +01:00
Johannes Meyer c4aa02c3f0 Add proper titles to the service grid
refs #8458
2015-02-23 17:24:46 +01:00
Johannes Meyer a64f546a71 Add proper titles to the host list view
refs #8458
2015-02-23 17:24:22 +01:00
Johannes Meyer 45e1406e2a Add proper titles to the hostgroups view
refs #8458
2015-02-23 17:23:57 +01:00
Johannes Meyer e0164e8bcb Add proper titles to the contacts view
refs #8458
2015-02-23 17:23:39 +01:00
Johannes Meyer 3aa1f7e58e Add proper titles to the contactgroups view
refs #8458
2015-02-23 17:23:26 +01:00
Johannes Meyer 1bcac55778 Add proper titles to the servicesummary component view
refs #8458
2015-02-23 17:23:09 +01:00
Johannes Meyer abcac2917c Add proper titles to the hostsummary component view
refs #8458
2015-02-23 17:22:52 +01:00
Johannes Meyer 96c7b22c16 Add proper titles to the host multi selection view
refs #8458
2015-02-23 17:22:07 +01:00
Johannes Meyer 676f10bb87 Fix week-label of the timeline 2015-02-23 17:11:23 +01:00
Johannes Meyer 77fa2f7c2b Add aria-label to the monitoring health's link to disable notifications
refs #8458
2015-02-23 17:10:52 +01:00
Johannes Meyer 5fd447394c Add proper title to the BackendConfigForms's jump link...
...and move it to the right of the respective form control

refs #8458
2015-02-23 17:09:37 +01:00
Johannes Meyer bd9d06574d Ensure that the link() view helper adds proper titles
refs #8458
2015-02-23 17:07:21 +01:00
Johannes Meyer 6eb638f6b3 Add proper titles to the list view's tabs
refs #8458
2015-02-23 17:00:30 +01:00
Johannes Meyer f48dbf1640 Add proper title to the timeline's tab
refs #8458
2015-02-23 16:59:47 +01:00
Johannes Meyer 1ef03a76f7 Add proper title to the monitoring health's tab
refs #8458
2015-02-23 16:59:13 +01:00
Johannes Meyer 7aacfcf907 Add proper title to the tactical overview's tab
refs #8458
2015-02-23 16:58:48 +01:00
Johannes Meyer 77b60588bc Add proper titles to the multi selection controller tabs
refs #8458
2015-02-23 16:57:32 +01:00
Johannes Meyer ebf8d183a7 Add proper title to the alert summary's tab
refs #8458
2015-02-23 16:57:06 +01:00
Johannes Meyer f6cbc17ff7 Add proper titles to all host/service tabs
refs #8458
2015-02-23 16:56:49 +01:00
Johannes Meyer 48286e0d59 Use View::translate() instead of mt() and t() ... 2015-02-23 16:42:25 +01:00
Marius Hein 316582c0d3 Header: Change position because of dashboard rendering
refs #7976
2015-02-23 15:35:56 +01:00
Marius Hein 62866e5fb1 Header: Add h1 to service grid
refs #7976
2015-02-23 15:13:47 +01:00
Marius Hein 060d1093e3 Header: Add h1 to host/show component
refs #7976
2015-02-23 15:13:18 +01:00
Marius Hein a037e5c4db Header: Add h1 to objects header
refs #7076
2015-02-23 15:12:19 +01:00
Marius Hein 70e5ccca37 Header: Add h1 to tactical overview
refs #7976
2015-02-23 15:03:11 +01:00
Marius Hein 26ec8bb9ba Header: Add h1 to host list
refs #7976
2015-02-23 15:01:42 +01:00
Marius Hein 3cc3341798 Header: Add h1 to service list
refs #7976
2015-02-23 15:00:28 +01:00
Marius Hein b8dbf9c809 Header: Add h1 to hostgroups
refs #7976
2015-02-23 14:57:26 +01:00
Marius Hein b6c05beaba Header: Add h1 to service groups
refs #7976
2015-02-23 14:54:02 +01:00
Marius Hein 7962c115ae Header: Add h1 to contact groups
refs #7076
2015-02-23 14:42:55 +01:00
Marius Hein 37568a7832 Header: Add h1 to contacts
refs #7976
2015-02-23 14:41:51 +01:00
Marius Hein cef20022b9 Commends: Add h1 to comments
refs #7976
2015-02-23 14:39:26 +01:00
Marius Hein b45897de22 Header: Add h1 to downtimes
refs #7976
2015-02-23 14:35:29 +01:00
Marius Hein 918ac21d6d Header: Add h1 to notifications
refs #7976
2015-02-23 14:30:09 +01:00
Marius Hein 2dda3be87b Merge remote-tracking branch 'origin/master' into feature/organize-headings-7976 2015-02-23 14:28:48 +01:00
Marius Hein 4d4c8b0836 Header: Add header to timeline
refs #7976
2015-02-23 14:28:22 +01:00
Marius Hein 03160ef81a Header: Add header to event history
Add header to the following widgets:

- FilterEditor
- SortBox

refs #7976
2015-02-23 14:23:56 +01:00
Marius Hein 6f2d428254 Event Grid: Add header
refs #7976
2015-02-23 12:24:24 +01:00
Marius Hein 84d1e6b3a3 Header: Add to alert summary
refs #7076
2015-02-23 12:20:45 +01:00
Marius Hein b6124d7371 Header: Remove skiplinks
Skiplinks are to much and confusing for other users. Better is to use
header navigation in screen readers.

refs #7076
2015-02-23 11:18:58 +01:00
Eric Lippmann e72de8dfe1 Disable Livestatus as backend
Livestatus is not feature complete yet. This commit has to be reverted once we've fully implemented Livestatus support.

refs #8254
2015-02-20 11:23:31 +01:00
Matthias Jentsch 2992bf3445 Always display tooltips in all charts
Make information about data types available to colorblind, when hovering
over the displayed data set

fixes #8364
2015-02-18 13:21:42 +01:00
Marius Hein 02777c58ac Header: Add one to Alertsummary report
refs #7976
2015-02-18 12:45:08 +01:00
Matthias Jentsch 28dfbe7e55 Support aria markup in SVG charts
Add "aria-labelled-by", "title" and "desc" to describe the svg charts in screen readers.
2015-02-17 17:41:05 +01:00
Marius Hein 32226418af Header: Add header to process/info
refs #7976
2015-02-17 16:12:41 +01:00
Johannes Meyer 2dea398f3b Mute all icons that are part of an anchor and add simple labels to such anchors
The labels I've added are probably just of temporary nature as it's not
defined yet how to handle link labels properly for screen readers. What
is sure is that all icons that are part of a link are not important for the
meaning of it as this is expressed by the link itself.

refs #8360
refs #8358
2015-02-16 11:02:09 +01:00
Johannes Meyer 27cb5e24db Ensure that all standalone icons have proper labels
refs #8358
2015-02-16 10:53:48 +01:00
Johannes Meyer 5321c2f9e5 Mute icons properly using the new automatic mechanisms of our view helpers
refs #8360
2015-02-16 10:52:42 +01:00
Marius Hein fdcad4928e Tinystatesummary: Adjust styles for summaries and headers
refs #7976
2015-02-12 15:07:44 +01:00
Johannes Meyer d37129dfed Remove the old and redundant config/show-configuration view script 2015-02-12 13:49:31 +01:00
Johannes Meyer 9232c5cf22 Add aria-hidden="true" to all icons that exist only for design reasons
refs #8360
2015-02-12 13:49:31 +01:00
Davide Demuru 3dee49a0cd fixed transaltions
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru be27ab4875 added compiled translation file
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Davide Demuru c068ab21af Added new monitoring.po for italian language
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-02-12 11:26:35 +01:00
Thomas Gelf 5bf89da6d7 PluginOutput: simplify code, add tab support
refs #8366
2015-02-09 15:38:43 +01:00
Eric Lippmann 6bae2e0a53 Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL 2015-02-04 10:52:27 +01:00
Matthias Jentsch 8f9e970360 Ignore negative values in reaction time
Negative values for reaction time make no sense in the reaction time chart. When the notification was acknowledged before it startet we assume a reaction time of 0.

fixes #8198
2015-02-04 09:55:39 +01:00
Eric Lippmann 5b5ad0acb9 monitoring/security: Add missing permission checks of command actions 2015-02-03 17:36:53 +01:00
Matthias Jentsch 2f254851e3 Fix pieChart layout and add indicator for truncated piecharts 2015-02-03 17:34:56 +01:00
Matthias Jentsch e8466ec7be Fix inlinePie borders and SVG sizes
Add white border to inline piecharts in the list, to make them more visible on mouse hovering. Set a default image size for the loaded svg charts.
2015-02-03 16:46:12 +01:00
Eric Lippmann 5b4fab0750 Add license header
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann 5fa2e3cfdc Revert "Add license header"
This reverts commit 338d067aba.
2015-02-03 16:16:26 +01:00
Eric Lippmann 338d067aba Add license header
fixes #7788
2015-02-03 15:51:04 +01:00
Eric Lippmann 946a903a39 Merge branch 'bugfix/Improve-tooltip-descriptions-8110'
fixes #8110
2015-02-03 12:38:59 +01:00
Eric Lippmann dd0638c5d0 monitoring: Improve tooltips for services command links
refs #8110
2015-02-03 12:35:06 +01:00
Eric Lippmann 31728fd024 monitoring: Improve tooltips for hosts command links
refs #8110
2015-02-03 12:34:22 +01:00