Remove docutils pin

This was added to work around bug 1091333.  A new sphinx has been
released and so this is no longer necessary.

Change-Id: I6ea61a3cc441dd1ca2ced7e2fd837a55b917f76d
Allow table actions to be displayed in a menu

This adds the ability for table actions to be placed into an
actions menu above the table in addition to the current
button only format. This ability is not implemented in any
existing horizon table but is mainly meant for those who
build on horizon with tables that might have many actions.

To use a table actions menu, add a list of table action
classes to the table Meta class using the table_actions_menu
attribute. For example, to display the Soft Reboot and
Terminate actions in a menu on the project instances table
add this attribute to the project instances table Meta class:

    table_actions_menu = (SoftRebootInstance, TerminateInstance,)

Implements: blueprint table-action-menus
Change-Id: I02cd52f06be3fa11dd5fe0b45c8cc1e3bff5efdb
Domain Role assignment to Users

Added Domain User step in the Domain Update workflow for managing
domain-role assignment to User.
Change-Id: I629449c635319e3a4292a4e2be35c5d9fc8a7cf9
Implements: blueprint user-domain-role-assignment
Not compressing a specific js bloc

There is a js inline block in _conf.html which seems to generate wrong
key in the offline manifest.

Since it's a small portion, there is no performance issue innot compressing it
and Offline compression works again

Change-Id: I6dd9095cb8ad6f024b886a6ba3b419c52cb41425
Closes-Bug: 1155765
Port details template missing some translation.

There were hard coded "None" and "No attached device" strings
in the port details overview template.

Change-Id: I9b3fe24742da3974506d99b51b37c88b7d1ea446
Closes-bug: #1362200
Imported Translations from Transifex

Change-Id: I27c9a275d8a703095dba87a66e459b6c5d8c9c69
Merge "Domain Role assignment to Users"
Merge "Not compressing a specific js bloc"
Merge "Imported Translations from Transifex"
Merge "Port details template missing some translation."
Quota error message should be more descriptive

forms.ValidationError will be raised if there are invalid quota values.
The error message would be like: Quota value cannot be less than the
current usage value: ram used: 512, instances used: 1.

Change-Id: I6734de7df6c146d647bbc89090d49a48e1b074ae
Closes-bug: 1274234
Map quota keys to translatable strings

Change-Id: I1446efad26b140bad04f6c2bddc4f8f980735d72
Related-bug: 1274234
Validate cores and ram when booting instance

There is no validating for cores and ram in creating instance workflow.
The user can submit the form even the requested cores or ram are exceed
the quota.

Change-Id: I25d49f709d120a6a56692b174e17969cba1c8065
Closes-bug: 1349370
Data Processing Adding support for Spark jobs

This patch adds support for Spark EDP jobs in the
data processing dashboard.  The changes are:
* Add Spark as a job type when creating jobs
* Add some help text for Spark job creation
* Hide appropriate configuration fields when
  launching a Spark job
* Making job type dropdown translateable

Change-Id: I90c0de2cd61110db67673efaec5c9b4ef7f1618f
Implements: blueprint data-processing-spark-support
Horizon changes for DVR

Feature completed :
1. Admin router panel
   + New "Distributed" column introduced.
   + New Field "Distributed" added on to
     router detail panel
2. Project router panel
   if logged in as "Admin"
   ======================
   + New distributed column introduced.
   + New Field distributed column added on to
     router detail panel.
   + New Router Field dropdown box introduced in
     create router form.
   if logged in as "nonAdmin"
   =========================
   + Router Type dropdown will be invisible for
     non admin.
   + Distributed information will be
     hidden from details panel.

implements: blueprint enhance-horizon-for-dvr

Co-Authored-By: Akihiro Motoki <motoki@da.jp.nec.com>

Change-Id: I995745dd72a8b750866c0977a7d7cf42036f716f
Allow to hide Y axis label

Allow to hide Y axis label and just show the lines.

Change-Id: Id79c9104104cf705e269aa97dc0748c0d976f46a
Closes-Bug: #1352269
Small SCSS fixes of overview charts

Seems like the last CSS changes broke our styles a bit.

Change-Id: I5caac9fc1eea972e2a619054d753b37fead27922
Enable changing volume type of a volume

Expose the functionality of the 'cinder retype' command in the UI.
It allows user to change the volume type of a volume whose status is
in-use or available when horizon's cinder API version is >= 2.

cinder retype is only supported starting cinder v2.

If enabled_backends is specified in /etc/cinder/cinder.conf,
retype is actually performed by a specific driver.
It depends on the drivers (backends) that are associated
with volume types.
Volume types are set through type-key extra specs.

If enabled_backends in cinder.conf is not specified, volumes are
created by LVM so retype is actually performaned in LVM.

During retype, if cinder finds it can not retype, it will check
if the migration policy is on_demand or never. If the policy is
is never, then cinder does not do anything, otherwise, it will
perform migration. By default, in the horizon retype dialog UI,
migration policy is never which is also the default
of the cinder cli command.

Currently in horizon cinder api default version is 1. In order to
test this functionallity, you need to update
openstack_dashboard/local/local_settings.py to have the "volume"
API to use version 2 so the "Change Volume Type" action menu
shows up for the volume. If local_settings.py is not available, you
need to copy the local_settings.py.example file, change it to
local_settings.py, update other necessary settings and also update
have the API version setting like the followings:

OPENSTACK_API_VERSIONS = {
    #"data_processing": 1.1,
    #"identity": 3,
    "volume": 2
}

Implements: blueprint volume-retype

Change-Id: Id8bc539e1849f5910df34d7b76cc250ec82f9671
Fix handling of missing external network

When an external network can't be found, project/routers/index.html will
result in a type error caused by calling exceptions.handle when no
exception is present.  In this case, an error message should be
displayed, and the missing-network should be indicated to the user.

Also added tests for this case.

Change-Id: I3aaa64de28738051ad84cc587fbb6cfd546f4662
Closes-Bug: 1220345
Merge "Remove docutils pin"