Added button Add Interface on Network Topology tab

On the Network Topology tab, when a router is selected a new
button was added to allow it connect with different networks.
This change was made following the most simple mechanism that
I could find, please check if it is the correct behavior.

Change-Id: Ia08c5f22e3237fc4e90767a8becfe6413d754b04
Closes-Bug: #1288779
Copy the selected file name in the object name field.

In the containers panel, when uploading a object, if the user
selects a file and the object name field is empty, copy the
file name in the object name field. The filename string is
saved in the file input as a attribute for comparison of any
future changes to the file input.

Moved the file input to improve the UX

Change-Id: I608ebd572a745780fb59af852b182d75ab300ce7
Closes-Bug: #1319888
Co-Authored-By: Robert Mizielski <robert.mizielski@cloudwatt.com>
Remove unused load of sizeformat

In the template, we needn't to load sizeformat.

Change-Id: I0e4dde9bcbea0ddfbb0c5d7ff6171af4c528e9eb
Fix Updated At label

Change the column labels on the Compute, Cinder, and Network system
info panels to Last Updated from Updated At.

Closes-Bug: #1324625
Change-Id: Ic69c63c39a9743184f3a9cfdc7fe9e9b97bc7e97
Add a table customisation example to the docs

Change-Id: I5f4f7195aff21f10317969ee537485a033284df9
Closes-Bug: #1324982
Specify a Network During Database Instance Create

We need to provide a way for users to specify a network during
Database Instance Creation.

Without this, if we're using neutron, the database instance that
comes up does not have a network attached, and consequently the
user doesn't have a way to connect to the Database instance.

Closes-bug: 1331766
Change-Id: I51b9e8fa94196cc6c7fd3b20334f40c690dc216d
Raise sane error when failing to modify security group

Horizon catches and propagates recoverable exceptions back to the
user.  This code previously caught all exceptions and then raised
Exception (with an unhelpful message), which Horizon propagated as an
even less helpful message.  By raising the error as a
novaclient.exception.ClientException, we give Horizon a fighting
chance of passing a useful (but sanitized) error message to the user.

This changes the message the user sees from:

Error: There was an error submitting the form. Please try again.

To:

Error: Unable to modify instance "test10".
Error: Failed to modify 1 instance security groups

The error condition can be simulated by trying to modify security
groups on a suspended instance.

Closes-Bug: #1329888
Change-Id: I38d9977d6d20dfeddbb77b1a7e63e74597bf7331
Adding link_attrs to column.

Add the ability to attach attributes to a column containing a link via
the link_attrs property.

The new link_attributes parameter will eventually replace the less
general link_class attribute.

Co-Authored-By: Davide Guerri <davide.guerri@hp.com>
Change-Id: Iea79aec970a2fe8711a9f5a8b973407df88dcdec
Implements: blueprint add-attribute-links
Closes-Bug: #1298533
Add OS_REGION_NAME to openrc

The openrc file that is downloaded from Horizon is missing the
OS_REGION_NAME setting. This causes issues in environments that have
multiple regions. If the Region is none, ensure that it is unset after
sourcing the rc file to avoid and empty variable. This fix also cleans
up some language in the generated openrc file.

Change-Id: Ieab0b13afd79158c6bf603891164f01aff3aabf3
Closes-Bug: #1334791
Make xvfbwrapper import dependent on the selenium imports

It will not be required unless Selenium is also present.

Change-Id: I9da1c596ad68b68c3ce4e8cd215646209dbaebe7
Closes-Bug: #1336243
add Previous link to Admin > Images table

The Glance API supports a sort direction which we can use to paginate back

The Prev href tag contains a marker id of the first item in the table.
When clicked, a GET API call is made, passing in this marker and the sort_dir='asc'
This will return the previous page's data.  Then we have to re-sort the data because
it is ordered backwards.  We use the default sort_key='created_by' for this.

Once the patch #1252649 is restored, we can add the same behavior to Project > Images.

If we are able to get the consistency across the APIs to include the sort_dir, then we can
bring Prev to the other project tables as well.  There are some blueprints to enhance
API capabilities in this area.

Change-Id: I3e7c6a2db595838dbdff595dc8f0fdda288b6bcf
Partial-Bug: #1263142
Partial-Bug: #1282987
Partially-implements: blueprint pagination-add-prev-link
Container:improve 'Copy Object' help description

Modified the sentence as per the triaged hint.

Change-Id: Ic52f689e8bfab7233cbeaad0897c2ee492027ffd
Closes-bug: #1334474
Making compute services status fields consistent

Other tabs in the system info view have status and state values
capitalized. Adding capitalization to make compute services tab
consistent.

Closes-Bug: #1324720

Change-Id: I1db8dca82e301c9393bf34a403cd4dfbd7021871
Imported Translations from Transifex

Change-Id: Ifd237301a37c807e1e9c2c09b782d9bced515e0a
Reinstate highlighting of selected container in Containers view

The AJAX updating of the containers is the culprit here in a couple of ways.

Firstly, the AJAX update (the short-circuit in MultiTableView.construct_tables)
doesn't have the context from the URL which indicates which of the rows should
be highlighted. This is because the current_item_id is only set on the
navigation table in the case where the whole browser is being rendered, rather
than just part of it. Shifting setting that attribute to all cases allows
lower-level access to the attribute.

Secondly, the handling of the AJAX update (in DataTable.maybe_preempt)
doesn't check the row it creates to see whether it should be selected.

Change-Id: Ibecb761a4bde25c1ea4e33a581dd0586ecc42ea0
Closes-bug: 1299828
Unbundle jquery from horizon using xstatic

Instead of bundling the jquery.js code with horizon,
we use the xstatic and xstatic-jquery s dependencies
that provide us with the packaged files.

This patch partially implements blueprint remove-javascript-bundling
Further patches will follow.

Change-Id: I395f1c64f2341d4d6847d4f7e648d6c03eb85988
Merge "Making compute services status fields consistent"
Adding plugins panel for Sahara

The plugins panel is used to show the various
hadoop flavors/versions that are supported by the
underlying Sahara API.
* also added basic panel tests
This code was originally from:
https://github.com/openstack/sahara-dashboard

Change-Id: Ib0c95334a5122529fddbfd9c0cd0d0c06e0c8ad3
Partial-Implements: blueprint merge-sahara-dashboard
Co-Authored-By: Nikita Konovalov <nkonovalov@mirantis.com>
Co-Authored-By: Dmitry Mescheryakov <dmescheryakov@mirantis.com>
Correct styles for workflow update members step

This patch applies the .dropdown-fix class to the update
members step instead of applying it to the whole workflow

Change-Id: I2ed28f211847d079e011f59ac2694402860bbb19
Closes-Bug: #1336264
Merge "Copy the selected file name in the object name field."