6386 Commits

Author SHA1 Message Date
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
Johannes Meyer
52dcecfd08 ContactQuery: Change query column `contact_name' to be case sensitive
...and provide `contact' as case-insensitive alternative.

refs #8613
2015-04-10 09:46:41 +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
Eric Lippmann
f2e5066430 lib: Add DateFormatter for ICU date formatting
The DateFormatter class is supposed to handle locale-dependent date, time, and time diff (ago, since, until) formatting.

refs #6778
2015-04-10 09:44:38 +02:00
Johannes Meyer
3c47ba11eb monitoring/show/contact: Require contact_name' instead of contact'
refs #8613
2015-04-10 09:39:39 +02:00
Eric Lippmann
06830e035e Set default locale for the intl extension upon locale detection
refs #6778
2015-04-10 09:29:46 +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
ea874f8402 *historyQuery: Remove COLLATE from host_name' and service_description'
refs #8613
2015-04-09 15:29:01 +02:00
Johannes Meyer
51bf5cfbc8 *historyQuery: Drop redundant query columns
refs #8613
2015-04-09 15:13:59 +02:00
Johannes Meyer
9e79419eb1 EventHistoryQuery: Provide hostgroup_name' as alternative to hostgroup'
This can't be queried though until #7274 has been resolved.

refs #8613
2015-04-09 14:44:10 +02:00
Johannes Meyer
ec67c28629 DataView\EventHistory: Do not permit host' and service' to be queried
refs #8613
2015-04-09 14:41:10 +02:00
Johannes Meyer
b7e1c2d518 EventHistoryQuery: Remove COLLATE from the column `service_description'
refs #8613
2015-04-09 14:40:12 +02:00
Johannes Meyer
ae10e01ed6 EventHistoryQuery: Remove COLLATE from the column `host_name'
refs #8613
2015-04-09 14:39:47 +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
bc6a086ff8 DataView\Comment: Do not permit `comment_author' to be queried
refs #8163
2015-04-09 13:08:49 +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
21c76010d4 CommentQuery: Add `comment_author_name' as additional query column
refs #8613
2015-04-09 13:06:38 +02:00
Johannes Meyer
8ed1c8eeb6 DataView\Comment: Add `service_host_name' as allowed query column
refs #8613
2015-04-09 12:56:31 +02:00
Johannes Meyer
002b820835 CommentQuery: Provide service_host' additionally to service_host_name'
refs #8613
2015-04-09 12:55:57 +02:00
Johannes Meyer
480f5516d6 DataView\Comment: Do not permit querying host' and service'
refs #8613
2015-04-09 12:53:28 +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
Eric Lippmann
0baeb32751 Temporary disable timesince ui counter
refs #6778
2015-04-09 12:05:45 +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
Johannes Meyer
f7550f55c1 Permit to filter hosts and services by hostgroup_name and servicegroup_name
refs #8613
2015-04-09 11:41:56 +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