Display a message on the login page

In some cases, particularly when having to log the user out after
performing some action (e.g. password change), we want to display a
friendly message on the login screen to explain to the user why they
have been redirected to the login page.

This adds a function to do so, and uses it in a couple of places:
 - When updating one's own password using the Settings panel
 - Session time out
 - HTTP 401

Change-Id: Ie53c5552159304e1f1304ac6211b3accfd9aa623
Implements: blueprint messages-on-login-page
Custom CA certificate for verifying SSL connections

The various OpenStack client libaries support specifying a SSL
certificate that should be used to verify the SSL-connection, but
this option was not exposed in the horizon options. This patch
implements that. Note that although some clients do implement a
cacert-parameter, they do not necessarily actually verify the
certificate (Swift).

Change-Id: I9dfbd48a0d96103421da7d884e839d591a90cab1
Implements: blueprint ssl-cacert
Make Image Service image formats configurable

Allow configuration of the available image formats
for image creation (corresponds to a feature added
Glance).

Incidentally fixes a test issue where the domain_get
call wasn't being properly stubbed out.

Fixes bug 1216157

Change-Id: Ifc72915d34767ce83f9d85b92ddeae0c2c00b8c6
Moves SECRET_KEY generation to base settings.py file

By putting the fallback SECRET_KEY generation into the base
settings.py file we can ensure there is always a SECRET_KEY
even if local_settings.py doesn't exist. All this really does
is move the current default in local_settings.py into
settings.py.

This fixes the failures during docs building, etc. due to
SECRET_KEY not being set.

Contains a few changes to fix errors/warnings during
docs building as well.

Fixes bug 1188622 and fixes bug 1178663.

Change-Id: I5d945deba7062fe42bcee2e7636ca4a8f4607a31
update neutronclient to 2.3.0 minimum

Change-Id: I84e8087ba557d69d7fc35029f8c1b741f1e326a3
Merge "Custom CA certificate for verifying SSL connections"
Fixing typos for Resource Usage page

- fixing few typos for resource usage page

NOTE: it needs to go in H3, not RC1 because I am
changing the translated strings.

Change-Id: Ib684424e4cfd4a2437fc53186d07bf977c18086c
Do not run preemptive actions twice

When table action is preemptive , it needs to run
only once, before the table data is loaded.

Fixes bug 1182661
Change-Id: Ibb7ed5f97f64cfc9e56b317ed9d4b5e8cbf8cc8c
Remove spaces from translatable strings

This patchset removes some unnesessary spaces form strings
in load balancers details pages that will be localized.

Fixes bug 1220686

Change-Id: I216394028876045ba29b5b7cc75ca2495c4a855c
Merge "Make Image Service image formats configurable"
Merge "Fixing typos for Resource Usage page"
Merge "Remove spaces from translatable strings"
Add Cisco N1K plugin support in Horizon

This adds Horizon capability to configure and
use network profiles and policy profiles
on the Cisco Nexus 1000V to be used with
networks and instances as is done via neutron
CLI.

To turn on the new dashboard the local_settings
file needs to turn the profile_settings NEUTRON
config variable to cisco.

TODO items include creating a better palate
of unit tests that will run not only when
the cisco n1k subplugin is being used but
in default setting as well.
Need to remove the conditional statements
in the unit tests and make it inclusive.
Additionally need to get a better solution
for how the dashboard/panel registration will
work. Should it be a boolean or check for vendor
specific names.
Also some cleanup and refactoring of commonly
used code everywhere.

Implements: blueprint horizon-cisco-n1k

Change-Id: If6e797ac28c8486cfa92e02742c409d193d9ec84
Merge "Moves SECRET_KEY generation to base settings.py file"
Merge "update neutronclient to 2.3.0 minimum"
PEP8 E121 has been resolved

Change-Id: I6ad2704100447c5a3be12c2ebeec824726e3bd0b
Partial-Bug: #1085346
Merge "Add Cisco N1K plugin support in Horizon"
Merge "Display a message on the login page"
Merge "Do not run preemptive actions twice"
Merge "PEP8 E121 has been resolved"