1284884 Overlogging of failed container delete

Currently, when a user tries to delete a non-empty container, an
exception is raised and logged. There really is no need to log this
exception. Instead, the user should be given the error message (which
they are today) and the browser should redirect them back to the
referring page.

Change-Id: If18cee000ec5ac1c741b62e72002139dd087e272
Closes-Bug: 1284884
Fix delete button interface in network topology view

In the Network Topology panel, there is a pop-up for the router which
includes a 'Delete Interface' button for each port on the router.
Clicking this button does not actually delete the port.

The fix add a tab_group render in iframe.html, since the view
can actually be a TabView.

Change-Id: I274f5165ca31841cb2a2f89ab196a740c2644df6
Closes-Bug: #1282811
Do not render port template if device has no port

Change-Id: Iacefbba64ee0cc534c3129a1c4b28025294c6b08
Closes-Bug: #1321974
replace dict.iteritems() with six.iteritems(dict)

According to https://wiki.openstack.org/wiki/Python3 dict.iteritems()
should be replaced with six.iteritems(dict).

Change-Id: Ia2dcabbd071e1fcdf111ba83573785989a77aef0
Improve extend volume form

Add the current volume size to the extend volume form

Remove the progress bar when the volume status is error_extending

Change the success message to an info message when the extending
is in progress

Change-Id: Ic6bd00af393d1f74b2db1a9114b848aa5fe4bbc7
Closes-Bug: #1290544
Closes-Bug: #1318723
Admin Hypervisor table - change order of columns

Swap the order of the columns show
'Used | Total' instead of vice versa.

Closes-Bug: #1328267

Change-Id: I0e85bcc79e1e0e2aefc841ff213ca025cfb9b847
Accept translated exceptions in exceptions.handle

If an exception with a translated message is thrown into
horizon.exceptions.handle, a UnicodeEncodeError is thrown in logging calls.

Also added in a test for this behavior.

Change-Id: I0bc71477d836daa0e27cdb10646b748fdc963f5d
Closes-Bug: 1284827
Sort security group rules by protocol and port

When adding new rules to a security group, it is useful to have the
rules sorted consistently across page reloads. This patch ensures
that the rules are sorted by protocol first, then by port. It is still
possible to manually sort the table using the client side capabilities,
but by default the table is now sorted by protocol and port, server
side.

Change-Id: I36d29461a8437f5689425706a7faae3399c6bf23
Closes-bug: #1326132
Database Launch Form shouldn't autocomplete

The form element on the Database Launch page should have the attribute:
autocomplete="off" set.

I finally found the mechanism to add attributes to workflow-forms, so
please ignore my first change-set.  :-)

Change-Id: I3f7f4a24580bd2fa5a40ed673a8d33d81e6e9659
Closes-Bug: 1316226
Add text to the Create Volume dialog's Type menu

The first value in the "Type" dropdown menu of the Create Volume dialog
was empty. This causes some confusion to the user because there was not
enough information as to why the value was empty or what would happen
when creating a volume with the empty type.

Adding text "No volume type" to the first value of the dropdown menu
explains that there will be no volume type associated with the volume
at creation time.

Closes-Bug: #1325701
Change-Id: Iaff5d413d4abe9c59d48a679094ea37930abc4c1
Display Horizon version number in System Info page

This patch adds the Horizon version number at the bottom of System
Info page.

Change-Id: I81514d1c99a32cd8161a65535638c235c2cfc317
Closes-Bug: #1261431
Update customizing docs, css was replaced by .less

Docs still refer to style.css, but we're using horizon.less
for ages now. The docs should reflect that. The size of the logo
changed as well.

Change-Id: Ib4fc0624cc71e226895c7cef1567948d7f82d277
Remove warnings when generating docs

Sphinx generates a warning about having too few underlines under the
title "ADD_ANGULAR_MODULES". The generated docs are still correct
(title is generated with an underline), so this change only needed
to eliminate the warning messages.

Change-Id: I18e4cdfcb97bcb08ede98f921de1f975d9a64cf5
Closes-Bug: #1329562
Merge "Update customizing docs, css was replaced by .less"
Fix keystone warnings while building docs

When building the documentation via run_tests.sh, doc/source/conf.py
explicitly sets the DJANGO_SETTINGS_MODULE environment variable,
overriding any existing value that it already has. Furthermore, it sets
it to point to a settings file that does not use keystone v3, which
is expected by the tests (and is the source of the warning).  Note that
when running unit tests via run_tests.sh, a different settings file is
supplied which DOES use keystone v3.

Change the doc/source/conf.py to only set DJANGO_SETTINGS_MODULE if it
is not already set.  Change tox.ini and run_tests.sh to set
DJANGO_SETTINGS_MODULE to the same settings file used by the unit tests,
with keystone v3 support.

Change-Id: Ib297e4188f2426cf575300998bc9d50f36e48f4f
Closes-Bug: #1257725
Merge "Admin Hypervisor table - change order of columns"
Fix version display position on system info page

Current the version info position is absolute, so it may cover On
the table when there are lots of items in the table. Fix this by
making the version info relative.

Change-Id: I82cf36a6a50ff790f954aeee83ab2e4d61eadd69
Closes-bug: 1331685
Merge "Fix keystone warnings while building docs"
Merge "Remove warnings when generating docs"
Merge "Add text to the Create Volume dialog's Type menu"