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
Updated from global requirements

Change-Id: I884778c1168a8b4a3d307914faadebe8a2361e8e
Replace UserManager with None in tests

Don't access keystoneclient's UserManager in tests. This should be
considered private data of keystoneclient and is not actually used by
horizon tests.

Change-Id: I261e79b31dfc7388adb3dc63a3a5e54042f05e54
Closes-Bug: #1347236
(cherry picked from commit 821619fff324ba1bc3f697f585a0c350573f24a2)
Merge "Updated from global requirements" into stable/icehouse
Merge "Prevent error message when creating a user" into stable/icehouse
Merge branch 'stable/icehouse' of https://github.com/openstack/horizon into icehouse