show correct link to compute instances in stack resource overview tab

There are two related fixes in the stacks resource overview page.
First, any resource types for which horizon does not have a link for
were getting a URL of "None" in the uuid field, and with this
change the link is suppressed if it is None. The second part involves
adding compute resources to the resource mappings, so that the uuid
field for those links to the instance detail page.

Change-Id: Ib8d51b49ac51092a3d7db6d889f4427167e5adb0
Closes-Bug: 1322162
Work toward Python 3.4 support and testing

Change-Id: Ic4e5af990d5a3dc85de2f90ea41189cb4a5d99fa
render stack parameters in the correct order

Parameters in a heat template are now rendered in the order specified
in the "ParameterGroups" section. If this section is not available then
they are rendered unordered.

Change-Id: I3367b42c4c3037666b705cebf9cf67ccf0ce4fce
Closes-Bug: 1364567
Change page header heading to H1

Partially implements: blueprint detail-pages-ia

Change-Id: I42b58e73fd3990c5b5e197e5694eb77eeb42f77c
Fix locator typo in go_to_accesssecurity_page

Method is_element_visible expects locator that should consist of two
items -> missing '*'.

Partially implements blueprint: selenium-integration-testing

Change-Id: I1ec86cf37fe0e1dc4b3d68d884f60a2c04adb380
Unit test for floating ip quota exceeded

Change-Id: I7827af931e0e612bfc05ffec0a8d823a8d83c00b
Closes-bug: 1369653
Correct protocol/action initial values provided to UpdateRule

Currently protocol/action initial values in UpdateRule are incorrectly
formatted: neutron returns lowercase protocol/action strings but
UpdateRule form expects uppercase strings as initial values which
implies to reorder protocol/action choices to select the right initial
values.

This change corrects initial values provided to UpdateRule which allows
to remove the trick in UpdateRule.__init__ and initial protocol/action
values become translatable.

Change-Id: I7145dd591581a7e5e3fb0591518d0e1564f38c10
Document token hash algorithm option

With https://review.openstack.org/#/c/116509/ ,
django-openstack-auth will support a new option for the token hash
algorithm. This adds the documentation to Horizon's local settings
example file.

This is for security hardening. The token hash algorithm defaults
to MD5, which is considered too weak due to the potential for hash
collisions. Some security standards require a SHA2 hash algorithm to
be used.

DocImpact
SecurityImpact

Change-Id: I6774b9b7215d191259586e4721e357487bb777cd
Closes-Bug: #1174499
Fixes session timeout string in horizon

1) This patch fixes the session timeout string problem which
occurs when users clicks on the UI and Ui redirects the
user to the login page but without session timeout message.

2) This patch also fixes other cases of unnecessary logout
messages.

Closes-Bug: #1231355

Change-Id: I9824db44382247d64cc8c399eb5e855e818e8781
Fix concatenation in Database actions

Remove concatenation and pluralization issues from Terminate
Instance, Restart Instance, Delete User, Delete Database,
and Delete Backup actions.

Change-Id: Ic8f343e7ad03497591e154d92e78d637618bf5e9
partial-bug: 1307476
Fix concatenation in identity related actions

Fix concatenation and pluralization issues from
Delete Groups, Remove Users, Add Users, Delete
Projects, and Delete Domains actions.

Change-Id: I7ba06a1acd720165af23a6fb475d061d2cab0e8a
partial-bug: 1307476
Remove glyphicon-eye-open icon from Description

The glyphicon-eye-open icon is displayed in the Description section
of the 'Create User' and 'Update User' form under the Identify->Users
panel. This is because the no_autocomplete field has been set to
'True' for both the 'Create User' and 'Update User' forms. Enabling
this field causes an input of type="password" and name="fake_password"
to be added inorder to prevent Chrome v34+ from autofilling the form.

Change-Id: Ic628772112aae2d320d8d8342305c33d7ada6822
Closes-Bug: #1371787
Remove #noqa from django.conf.urls.include

We have one more import with #noqa: django.conf.urls.include that is also
commonly used in urls.py module and could be included to the list of
import exceptions. This change has also revealed one unused import.

Change-Id: I47cc582340625aac87ab0242b147e11ef1d9b38e
remove read-only network ID field from Edit Network form

Remove unnecessary field network_id from UpdateNetwork form.
Currently field is required to pass it to the
api.neutron.network_update method, but there is also
self.initial dict where the value can be get.

Closes-Bug: 1372348
Change-Id: I5cf9efa468d3f0a57d20e5ae54f74425d01ac606
Open Kilo development

Bump pre-version to 2015.1 to formally open master branch to Kilo
development.

Change-Id: I2ff0fb19a894cb6018807d667e233f4fa6dfa83c
Make Image Description an input field instead of a textarea

The glanceclient passes the value of the "Description" field as
HTTP headers to the API, completely unmodified.  If there are
newlines in the content, it corrupts the headers and creates havoc.

Encoding/decoding the results is not viable, since arbitrary (and
not necessarily controlled by anyone) clients can retrieve the data.  So as
a dodge, use a normal <input> field for Description instead of
<textarea> field, as newlines are not permitted in the former.

Closes-Bug: 1370732
Change-Id: I0231eaa693e7f36699fda6e011db8c976b639411
Display only reachable IP as Floating IP association target

In Neutron deployments some VM port can be unreachable from
external network and cannot be associated with floating IP.
It is confusing if these ports are listed in Floating IP
Associate form.

Change-Id: I2d8faf0dbf4490d198b883fe1becfd950b1b4d14
Closes-Bug: #1252403
Remove and deprecate dashboards config from settings file

Dashboards are now configured via the pluggable dashboard/panel
mechanism and the order can be specified in the pluggable config.
On the other hand, we have HORIZON "dashboards" and its tuple order
overrides the order specified in the pluggable config.
It is confusing to be able to configure the order of dashboards
in two places, and we no longer need to have "dashboards" config
parameter in settings.py and a sample local_settings.py.

* If HORIZON_CONFIG contains "dashboards" and update_dashboards
  is called, a deprecation warning will be displayed. It is useful
  to warn operators to change OpenStack Dashboard settings.

* HORIZON_CONFIG "dashboard" parameter itself still works and
  there is no chnage in the behavior, so it is a safe change
  and have no upgrade impact.

* This change also removes default_dashboard from settings because
  it can be configured via pluggable dashboard config too.

After removing "dashboards" config, the order of the dashboards
are now controlled by the order of openstack_dashboard/enabled and
"Identity" dashboard is displayed before "Settings" dashboard
in the navigation menu.

Closes-Bug: #1366270

Change-Id: Ifa35128691c4fa4843b3c3c051682392e59905a6
Override Error Message in Create Subnet Workflow

The Admin->Networks->Create Subnet and Project->Networks->Create Subnet
both inherited their error message from the Project->Create Network
workflow, this patch moves the error message into a instance variable
that can be overridden by sub-classes, and overrides it in the Create
Subnet workflow.

Change-Id: I87e9b89b68560291e389a24be86f788167c5d149
Closes-Bug: 1375783
Fix E127 errors in horizon/

E127 continuation line over-indented for visual indent

Partial-Bug: #1375931
Change-Id: Ib9ae85a767a85a360e5a720d8392a20069a8c873