Add logging handler for openstack_auth in the tests

Without it, log output below ERROR level can also be displayed in the
tests output.

Change-Id: I342b20fc26468a41843496f11db3e0079b50505c
Closes-Bug: #1218462
(cherry picked from commit 8665768523f0afa057a485a7b0194c4b71e3a627)
Use escapejs filter on JavaScript strings

The escapejs filter will correctly escape single quotes from JavaScript
strings which may otherwise trigger syntax errors. In this case, the
issue was visible using the French translation.

Also removed a trailing paranthesis coming out of nowhere.

Change-Id: I25001815e17be5afa8eb28cc28c5423e3dcd973c
Closes-Bug: #1311047
(cherry picked from commit bc6f40b51d53682054cc4ba28b55b5045d6c8605)
add missing references to policy files

In local_settings.py.example, there were references
to policy files missing. When changing policy file
location, those are required.

Change-Id: I60e2271bb9d323f484524a448d28e40a5ace69b3
Closes-Bug: #1315739
(cherry picked from commit 8d020e9f771f912cb8e54344d6c6f278e53117cf)
Fix pseudo-folder content listing

Change-Id: Ib01eaea0493a294daed7032e6f9f82c2a0e8798a
Closes-Bug: #1312222
Closes-Bug: rhbz#1094783
(cherry picked from commit dceb2cc8d6f0f02e1f741d82097861a950cd951b)
Merge "Use escapejs filter on JavaScript strings" into stable/icehouse
Merge "add missing references to policy files" into stable/icehouse
Merge "Add logging handler for openstack_auth in the tests" into stable/icehouse
Updated from global requirements

Change-Id: I133c26e6e879a3dc407bc687005828fe4130043a
Fix the dot overlaps with the table border in Availability Zones table

Add space between the dot and table border in Availability
Zones table.

Change-Id: Ic4107c446b015eb72a54496a7a7ef6e2b0a53554
Closes-bug:#1309381
(cherry picked from commit 9456d69e02139c5cf891069a997ae03def0d242a)
Image uploads should always happen in the background

Sufficiently large image uploads into Glance from Horizon can cause
timeout errors, since the image upload needs to complete before the
view can render, and such activities can cause browser timeouts.
Since the webserver already has the file, and close-to-open semantics
should prevent cleanups from losing any data, just send it in a
background thread, the same way as if you told Horizon to fetch it
from a remote location.

Change-Id: Ia056367032e0d08edf6f36a8e9f900fddba85fdf
Closes-Bug: 1322399
Closes-Bug: 1325787
Merge "Fix the dot overlaps with the table border in Availability Zones table" into stable/icehouse
Fix formatting of heat exceptions

Heat now consistently formats error messages in returned HTTP json
and heatclient HTTPException makes every attempt to capture these
messages.

This means that the safest way to display an error or validation
message from Heat is to rely on the existing behaviour of
Horizon's exceptions.handle.

Change-Id: I80cdb67df87cb5192f220bc78a156d6e4113112f
Closes-Bug: #1241395
(cherry picked from commit 2c7db077b265c25573bfef73586a539fa639f65f)
Updated from global requirements

Change-Id: Iacd2e003769f832bdf9f287dd6c827fd0d8584a6
Fix issues with importing the Login form

The Login form lives in openstack_auth.forms and should be directly
imported from that file.

Change-Id: I42808530024bebb01604adbf4828769812856bf3
Closes-Bug: #1332149
(cherry picked from commit 345ccc9d503e6e55fe46d7813958c0081cc1cffe)
Bump stable/icehouse next version to 2014.1.2

Change-Id: Id7181755d3609c0ae91c2402b34f2de02c06a1f0
Merge "Fix issues with importing the Login form" into stable/icehouse
Prevent error message when creating a user

keystone changed behaviour and didn't add the user
to the specified role. Now it does; this patch
prevents an exception popping up without breaking
with previous versions.

Change-Id: I115a5126b70ae3c7733aa065bf55104f88cc42e5
Closes-Bug: #1260439
(cherry picked from commit f5ded29d9a73db4c225cbfb664e7d85e5aa0996b)
add httplib2 explicitly to requirements.txt

On Ubuntu 14.04+ whatever dark magic was installing httplib2 into
the venv for unit testing, is no longer doing it, as httplib2 was
not an explicit requirement.

It is clearly used in the code, and a dependency, so be explicit
about it.

Change-Id: I373b87dd4af414d58680d34c4de626ffa953cf57
(cherry picked from commit f712ed04ccb49e832142944d579e89fb7c14d394)
Fix multiple Cross-Site Scripting (XSS) vulnerabilities.

 * Ensure user emails are properly escaped

User emails in the Users and Groups panel are being passed through the
urlize filter to transform them into clickable links. However, urlize
expects input to be already escaped and safe. We should make sure to
escape the strings first as email addresses are not validated and can
contain any type of string.

Closes-Bug: #1320235

 * Ensure network names are properly escaped in the Launch Instance menu

Closes-Bug: #1322197

 * Escape the URLs generated for the Horizon tables

When generating the Horizon tables, there was an assumption that only
the anchor text needed to be escaped. However some URLs are generated
based on user-provided data and should be escaped as well. Also escape
the link attributes for good measure.

 * Use 'reverse' to generate the Resource URLs in the stacks tables

Closes-Bug: #1308727

Change-Id: Ic8a92e69f66c2d265a802f350e30f091181aa42e
adapt to python-novaclient-2.18.0

Novaclient renamed HTTPNotImplemented to HttpNotImplemented
and changed the attribute code to status in exceptions

This change should make the code work on newer and older versions.

Closes-Bug: #1340596
(cherry picked from commit 322004f8480e40af5e77ed843ff803005d5af27c)

Conflicts:
	openstack_dashboard/dashboards/project/instances/console.py
	openstack_dashboard/test/test_data/exceptions.py

Change-Id: Ifef6c4c1b2924b03df00f427cfe3e6a7f415e569