5933 Commits

Author SHA1 Message Date
Matthias Jentsch
f4c0b35eff Remove unused code 2015-04-13 17:55:41 +02:00
Matthias Jentsch
16b9c73436 Do not destroy all global on mailto link clicks
Only call the cleanup code on the unload event, beforeunload is only for asking for confirmation.

fixes #7759
2015-04-13 17:55:41 +02:00
Johannes Meyer
36fed03764 Do not log that the logging configuration is invalid on every request
Instead, log those messages *everytime* a subsequent message is being
logged.

refs #8957
2015-04-13 17:11:42 +02:00
Johannes Meyer
67ad575cf5 Set the configured logging level even if the configured logging type is invalid
refs #8957
2015-04-13 17:09:49 +02:00
Johannes Meyer
46296dce95 Merge branch 'feature/non-collated-ido-queries-8613'
resolves #8613
2015-04-13 15:55:53 +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
9cc5469305 NotificationQuery: Provide case-insensitive filter column `contact'
refs #8613
2015-04-13 15:33:33 +02:00
Johannes Meyer
29f05bf878 NotificationQuery: Provide case-insensitive filter column `service'
refs #8613
2015-04-13 15:33:19 +02:00
Johannes Meyer
3653ec810a NotificationQuery: Provide case-insensitive filter column `host'
refs #8613
2015-04-13 15:32:52 +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
edaa51c41d Merge branch 'bugfix/incorrect-db-privilege-checks-8707'
fixes #8707
2015-04-13 14:18:27 +02:00
Johannes Meyer
a21d54460d DbTool: Fix that all mysql privileges were checked regardless of their context
refs #8707
2015-04-13 14:17:18 +02:00
Johannes Meyer
e0891aedca DbTool: Add mysql context identifiers for the REFERENCES privilege
Though this privilege is not in use until mysql version 5.7.6 it is registered
as privilege in the privilege tables in earlier versions.

refs #8707
2015-04-13 14:13:02 +02:00
Johannes Meyer
d038a2795d Wizard: Differentiate between privileges required to create and setup a db
Fixes the bug that if a database and a login are already existing and only
the schema needs to be set up, which is possible using the resource's login,
the user is required to provide another login with the seemingly missing
privileges.

refs #8707
2015-04-13 14:10:24 +02:00
Johannes Meyer
5c61405a9a Revert "Setup: Fix that the mysql privilege checks are not working in the wizard"
This reverts commit 1835479738ab1a45a0892c6b3dd301d27059e58e.
Operator precedence is a damn useful thing, if known by the developer...
2015-04-13 10:27:10 +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
Johannes Meyer
e7c1e552a5 EventgridQuery: Make filter column `servicegroup' case-insensitive
...and add a case-sensitive query column.

refs #8613
2015-04-10 16:01:22 +02:00
Johannes Meyer
ea16d45aa3 EventgridQuery: Make filter column `hostgroup' case-insensitive
...and add a case-sensitive query column.

refs #8613
2015-04-10 16:01:09 +02:00
Johannes Meyer
42e93ffb63 DataView\Eventgrid: Add missing query and filter columns
refs #8613
2015-04-10 15:58:55 +02:00
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
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
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
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
Johannes Meyer
fda261bf22 Use case-sensitive query columns when filtering downtimes by object
refs #8613
2015-04-10 14:19:38 +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