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
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
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
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"
Merge "Fix keystone warnings while building docs"
Merge "Remove warnings when generating docs"
Merge "Add text to the Create Volume dialog's Type menu"
Merge "Accept translated exceptions in exceptions.handle"
Delete debug statement in js file

In file horizon/static/horizon/js/horizon.tabs.js and file
horizon/static/horizon/js/horizon.heattop.js there are some
useless debug statement(console.log(xxx)).

Change-Id: Ie9a7c0e69410a6028298a485d170272551f0c506
Merge "Sort security group rules by protocol and port"
Imported Translations from Transifex

Change-Id: Idb58dbfd1c77c691debfc64feb625357b1d98917