Return the correct ec2 access/secret when generating ec2rc.sh.

Fixes bug 1014185

Horizon was returning the 1st ec2 pair instead of the one
linked to the tenant for users in multiple tenants.

Change-Id: Ie392b58a776f2fe7dfdbe22d8558c88e96e37082
Ensure existing image properties are not deleted

Fixes LP #1014226

Passing the X-Glance-Registry-Purge-Props: false
header to the image_update Glance client method
prevents previously-set image properties from being
marked deleted.

Change-Id: I91e927f8c95205cae11bad0d93361f1c9951d62d
Adds warning banner for admin users in project dash.

This is a bandaid until the underlying bugs in Nova get fixed.

Fixes bug 968696.

Change-Id: I735453482023dabc28069a4a8796aa43001f1891
Merge "Adds warning banner for admin users in project dash."
Updated status messages after launching multiple instances

fixed strings so that they are localized

Bug#960040

Change-Id: I558d942e828570233f4ea43d910820dab7cadbd0
Make Horizon timezone-aware.

This systematically replaces anyplace that deals with dates or
times in Horizon with Django's timezone-aware machinery, and
enables timezone support in settings.

The assumption is that the server time should *always* be UTC.

TO DO: Add a setting for allowing the user to change their preferred
timezone display and add timezone indicators anywhere times are
displayed to the user.

Implements blueprint timezones. Also fixes bug 927974.

Change-Id: I5e462ba86e64b97b46873a017f87f328acee1b1d
Login/Logout redirects with Django variables

The login/logout url patterns now use
the Django LOGIN_URL and LOGOUT_URL

The default redirect url after a successful login
now uses as default the Django LOGIN_REDIRECT_URL
with possible override using HORIZON_CONFIG.user_home
in settings file. There are 3 cases:

* no user_home in settings.HORIZON_CONFIG - uses
Django LOGIN_REDIRECT_URL
* user_home = None in settings.HORIZON_CONFIG -
will default to the primary dashboard(the current
fall-back behavior)
* user_home = 'something' - it will be used to
determine the actual redirect url

Fixes bug 980434

Patch Set 2:
Restored the previous behavior - splash page('/')
redirects to /nova or /syspanel, depending on the user,
while /home/ will redirect to the 'user_home' setting
(or LOGIN_REDIRECT_URL if user_home is not set).
The same logic will be applied after user logs in.

Change-Id: I28e25566199393382639da9ca2022d1850f25a94
Reduced height of modal dialog textareas in dashboard

Bug #1016317

Change-Id: Iaab30398f2a667b5a38b5f99f6b84870b43b3331
Use horizon's panel template loader.

Moves the panel templates into their respective panel's directories.
This tightens the grouping of logically-related elements and reduces
the need to duplicate the entire dashboard structure in the dashboard's
templates directory.

Implements blueprint use-template-loader.

Change-Id: I05ffb6a96f4909c1285beda7874ccfa96404547f
Merge "Updated status messages after launching multiple instances"
Merge "Login/Logout redirects with Django variables"
Merge "Ensure existing image properties are not deleted"
Merge "Return the correct ec2 access/secret when generating ec2rc.sh."
Forcing Horizon to use PEP8 1.1

Until we have time to upgrade to 1.3 and
deal with all of the new whitespace
requirements that comes with it.

Change-Id: I3b1b28c6e96e50bae45db4e4999d6144774d93ed
Corrections for stricter pep8 checking.

Updates the code to reflect stricter pep8 checking standards
for pep8 1.3+. Also adds a pep8 config file to silence
unnecessary indentation errors.

Removes the "reverse bugfix" monkeypatch since Django 1.4 is
now required.

Implements blueprint upgrade-pep8.

Change-Id: I7343321627d8ccd1598f39323821133168a645cc
Tweaking admin warning dialog HTML.

Change-Id: I7a252bd9b265dea9245d1b7673946c2bfad07902
JavaScript Refactor.

Cleans up Horizon's JavaScript to make it properly modular and
well-organized.

Adds unit tests written in QUnit for some of the JS modules
as a starting point for the JS test framework. You can visit
/qunit/ with DEBUG=True in your settings to access the JS
test runner.

Fixes bug 961509.

Change-Id: Ica33765660d0ed80f22c71bc96f122c3fc8b80cc
Fix Project Overview link to use instance_id

Fixes Bug #1003299

Tenant Usage API has been updated to include
instance_id in the response (bug 1003093). The
link has been updated to used instance_id.

Change-Id: I9d5fcf120b1e5966a5e019e5b17dea7806f20650
Fixing Amazon Image Creation

When Amazon disk_format images were created through
Horizon, it would fail as the container_format is
expected to be the same as the disk_format by
Glance, otherwise it can be 'bare'

Fixes bug #1017066

Change-Id: Id8af433e5d37e945244aa30727a0a2ab18e706d9
Merge "JavaScript Refactor."