Remove router actions from Admin panel

add-interface/set-gateway/create-router actions in Admin Router panel
are no longer needed since all of these operations now can be done by
regular users. Moreover, there is a bug that admin cannot add an
interface of other tenant to a router in Admin Router panel and the
behavior is confusing for users.

Consindering the above, this commit remove forms create/modifying
quantum routers. After the commit admin router panel just provides
the list of routers of all tenants and removes them.

Fixes bug #1153754

Change-Id: Ie17601b260fc6584ba21cd19dc9492bf16b267c1
Pass-in the initial value when performing a POST on Workflow Action. This fixes the call to self.changed_data, it allows django forms to be able to compare initial value with current value.

Fixes bug 1153697.

Change-Id: I21846487ada34f3b007a545bcdcba400bd044af5
Display port link between router and extra network

A port link between router and extra network was not displayed
with demo account. This commit fixed the bug. Also remove dead
link when port has no link.

fixes bug 1131082

Change-Id: I50c469e55e0b8435b95f03b191a04e27017fc37e
Fix circular dependencies in dashboard settings

Importing horizon.utils from dashboard local_settings.py to generate
SECRET_KEY results in a sequence of imports, and horizon.conf.default
module gets imported at some point. During initialization of default
HORIZON_CONFIG this module uses settings.LOGIN_REDIRECT_URL and
ugettext() call. Both of them need django settings to be ready to use,
therefore settings initialization starts again before it could finish.

Since Python processes module only when it is imported the first time,
this process stops, but the 'inner' settings object contains only
parameters that were set above the point of import of local_settings.
Therefore Django complains about missing SECRET_KEY when it processes
'inner' settings.

The fix moves the import of horizon.conf.default to
LazySetting._setup(). If keys of HORIZON_CONFIG obtained from
horizon.conf are not used within openstask_dashboard settings.py
or local_settings.py, the circular import won't happen.

Fixes bug #1154564

Change-Id: If63ab1920ecc8e646fd5b6cc52c106ae0876fa2d
Fix device name for example. Fixes bug 1152975

Change-Id: Ib83ae8945df054c1a5cb54d118061d428ac15cd1
Merge "Pass-in the initial value when performing a POST on Workflow Action. This fixes the call to self.changed_data, it allows django forms to be able to compare initial value with current value."
Merge "Remove router actions from Admin panel"
Merge "Fix device name for example. Fixes bug 1152975"
Implement configurable auto-fade for alerts messages.

The configuration takes what alert types would fade, the delay before
it fades and the fade out duration.

Fixes bug 1144820

Change-Id: I421ee52308613da72118a507ed8b8b574c176f68
Adding extensibility to workflow template file.

Fixes bug 1154358.

Change-Id: I8a2f9fc8fb65afb3290d998c5726ae3fec7c67fc
Merge "Display port link between router and extra network"
Merge "Fix circular dependencies in dashboard settings"
Correct the related tenant_id when getting quotas

QuotaUsage::_get_quota_data() always get the project quotas by the
requester's tenant_id, which was wrong.

Add a args "tenant_id" which point to the correct project when
getting its quotas.

Fix Bug #1130070

Change-Id: I82f080720235631c430d8a18a44ece013de60a3b
rm invalid args when updating quotas with nova api

  1. Remove invalid args "volumes" and "gigabytes" while calling
     nova.tenant_quota_update in UpdateProject and CreateProject
     workflows.

  2. Update related test cases.

Fixes bug 1155876 and fixes bug 1156198.

Change-Id: I3ee9e3b6b4f19452e42129f750bc4bbe0727e343
Adds docs for settings/configuration.

In addition to thoroughly documenting the settings and config
options for Horizon/OpenStack Dashboard, this clarifies some
misconceptions around how to enable Object Storage/Swift
and Netowrking/Quantum in the OpenStack Dashboard.

Fixes bug 1064412. DocImpact.

Change-Id: I85fc7592c55111f5bc69a7cdab49679eaf81c6ca
Merge "Correct the related tenant_id when getting quotas"
Merge "Adding extensibility to workflow template file."
Merge "rm invalid args when updating quotas with nova api"
Reduce duplicate definitions about quota sets

    Use unified definitions of "quota sets" instead of dispersed
    duplicated definitions.

Change-Id: I7de5bd77d187e7353c154ea89a8b259c309f0faa
Improve UX around "unauthorized" API exceptions.

Instead of blindly logging out the user when any API returns
a 401 or 403 response (which in most cases is due to a service
being down or misconfigured) we catch the error and inform the
user that they are not authorized for that data.

This is separate from being unauthorized for a dashboard or
panel in Horizon, since those are within our control and involve
security concerns around exposing admin functionalities to end
users. Those checks function as they have previously.

Fixes bug 1060426.

Change-Id: Ied800f10926ac5fb3b9ac1c1c26bbb4fa94a2557