6569 Commits

Author SHA1 Message Date
Johannes Meyer
8b2c0191c4 EventgridQuery: Remove COLLATE from query column `service_description'
refs #8613
2015-04-10 15:54:55 +02:00
Johannes Meyer
904e91bfa9 EventgridQuery: Remove COLLATE from query column `host_name'
refs #8613
2015-04-10 15:54:18 +02:00
Eric Lippmann
291c6bf167 Remove superfluous <br /> after state pending in the hosts overview 2015-04-10 15:36:09 +02:00
Johannes Meyer
629becf2cc DataView\Servicegroup: Add missing query and filter columns
refs #8613
2015-04-10 15:35:24 +02:00
Johannes Meyer
4bc3afaca4 ServicegroupQuery: Make query column `servicegroup_alias' case-insensitive
refs #8613
2015-04-10 15:34:55 +02:00
Johannes Meyer
fdd6a4d59b ServicegroupQuery: Remove COLLATE from query column `servicegroup_name'
...and add a case-insensitive alternative called `servicegroup'.

refs #8613
2015-04-10 15:34:28 +02:00
Johannes Meyer
055cd61421 ServicegroupQuery: Remove COLLATE from query column `service_desription'
refs #8613
2015-04-10 15:32:47 +02:00
Johannes Meyer
a17c2eddb7 ServicegroupQuery: Remove COLLATE from query column `service_host_name'
refs #8613
2015-04-10 15:31:51 +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
26f0b46516 ServicegroupQuery: Remove COLLATE from query column `host_name'
refs #8613
2015-04-10 15:31:09 +02:00
Johannes Meyer
f61370f55a DataView\Hostgroup: Add missing query columns
refs #8613
2015-04-10 15:21:18 +02:00
Johannes Meyer
69e520a514 HostgroupQuery: Remove COLLATE from query column `host_name'
refs #8613
2015-04-10 15:20:19 +02:00
Johannes Meyer
9f075e0691 HostgroupQuery: Remove COLLATE from query column `hostgroup_name'
refs #8613
2015-04-10 15:19:55 +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
92634a1921 DowntimeQuery: Provide case-insensitive filter column `service_host'
refs #8613
2015-04-10 14:25:53 +02:00
Johannes Meyer
5ccf6a7efa DowntimeQuery: Remove redundant query columns
refs #8613
2015-04-10 14:25:26 +02:00
Johannes Meyer
0f0727491e DowntimeQuery: Make query column `author' case-insensitive
refs #8613
2015-04-10 14:24:53 +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
5a46821d91 Rename timeago, timesince and timeuntil CSS classes to time-ago, time-since and time-until
refs #6778
2015-04-10 14:19:08 +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
b8efe01170 CustomvarQuery: Remove COLLATE from query columns
...and provide case-insensitive filter columns alternatively.

refs #8613
2015-04-10 12:56:18 +02:00
Johannes Meyer
0628efb4cd ContactgroupQuery: Make query column `contact_email' case-insensitive
refs #8613
2015-04-10 12:27:44 +02:00
Johannes Meyer
638eda7773 ContactgroupQuery: Make query column `contact_alias' case-insensitive
refs #8613
2015-04-10 12:27:24 +02:00
Johannes Meyer
0fe59aa519 Revert "ContactQuery: Provide ci query columns for aliases and email addresses"
This reverts commit f00adc2138158dd2c5c75b881aff5fc34cae7d70.

Conflicts:
	modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactQuery.php
2015-04-10 12:23:35 +02:00
Johannes Meyer
03c8de5d7b ContactgroupQuery: Provide case-insensitive filter column `service_host'
refs #8613
2015-04-10 12:20:28 +02:00
Johannes Meyer
31a05a3ec0 DataView\Contactgroup: Add missing query columns 2015-04-10 12:19:19 +02:00
Johannes Meyer
a51b93ebfb DataView\Contactgroup: Do not permit querying case-insensitive columns
refs #8163
2015-04-10 12:17:52 +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
Johannes Meyer
71c013178e ContactgroupQuery: Make query column `contactgroup_alias' case-insensitive
refs #8613
2015-04-10 12:14:11 +02:00
Johannes Meyer
6536878d5d ContactgroupQuery: Remove COLLATE from query column `contact_name'
refs #8613
2015-04-10 12:13:23 +02:00
Johannes Meyer
1dc16a1ab6 ContactgroupQuery: Remove COLLATE from query column `contactgroup_name'
refs #8613
2015-04-10 12:12:50 +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
Eric Lippmann
3ec6caa15b lib: Add timeAgo to views
refs #6778
2015-04-10 09:56:39 +02:00
Eric Lippmann
7f73c6ae29 Use DateFormatter in our Format util for time ago, since and until
Note that time diff formatting now always includes the prefix using the functions timeAgo, timeSince and timeUntil.
I'll remove the related prefixed* functions later on and implement it as parameter to the functions listed above.

refs #6778
2015-04-10 09:51:15 +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
3d7e418032 ContactQuery: Provide case insensitive filter column `service_host'
refs #8613
2015-04-10 09:50:26 +02:00
Johannes Meyer
6d03b2fe8f DataView\Contact: Add missing filter columns
refs #8613
2015-04-10 09:49:47 +02:00
Johannes Meyer
0ec1a18844 ContactQuery: Fix query column `service' not referencing a service's name
refs #8613
2015-04-10 09:48:22 +02:00