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
Fix timezones in line chart

Ceilometer gives us UTC and works with UTC, we should honor that
in line chart, cause we are just passing samples there.

Hover detail of sample should show localized time.

Change-Id: I83c23a13eb27b71e71268bc7b99c0ce0fdd1d59a
Closes-Bug: #1359690
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 downloading a keypair

This patch fixes the invalid error which user gets when downloading
a keypair that wasn't saved from the keypair download link from the
keypair download page.

When user clicks the download link, i just sending that to a different
url and then deleting the keypair and then again creating it with
same name.

Change-Id: I4f9166f112487a500d23f9cc98b98660be2ebe55
Closes-bug: #1182797
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
[Sahara] Added ability to specify security groups for node group

Known issues:
1. Security groups added to the same page as general parameters. Page
   is a little overloaded now. Will improve this later.

Change-Id: Ieb224ea4db2adc46073b86e7181981ea598c9a8f
Blueprint: cluster-secgroups
Closes-Bug: #1364659
Upgrade and unbundle jquery-ui

Upgrade jquery-ui to >=1.10.1 and unbundle it to an xstatic package.

Since versions 1.10 and 1.11 use different directory structure, there is
a small conditional in the settings, using different paths depending on
the version.

Change-Id: If5116ec33cdb31b045d5c1c21b9640b38ff05f5e
Closes-bug: #1367720
Blueprint: remove-javascript-bundling
Job Execuiton form improvement

The form controls are now aligned using bootstrap 3 classes. JS parts
updated to work with new layout.

Closes-Bug: #1373160

Change-Id: Id768349b132c91851839bfd208e955ddc6954b41
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
Fix concatenation in Network and Router actions

Remove concatenation and pluralization issues from Delete
Network, Delete Subnet, Delete Router Rule, Clear Gateway,
and Delete Network Profile

Change-Id: I0898b446abd79672b43b55be62dba6250a4fdd58
partial-bug: 1307476
Fix concatenation in more misc actions

Remove concatenation and pluralization issues from Evacuate
Host, Sell Puppies (renamed from Delete Puppies.  I cannot
condone the deleting of virtual puppies.), Delete Continer,
Delete Object, Delete Stack

Change-Id: Ia6eb39cb2d736345afbdb3bfce8cb61bb2586871
partial-bug: 1307476
Persist usage start and end dates in the session

This patch adds the usage start and end dates to the user's session
so they are saved while navigating between pages.

Closes-Bug: #1373651
Change-Id: I3046b5533eb96f85fb2f90e63b3ff84360ad14c4
Add HA mode support for Neutron router

HA (high availability) mode support is one of the important topics in
Neutron Juno, and this patch adds HA router mode support to Horizon.

This commit also changes the default value of enable_distributed_router
in the example local_settings.py to False. In Juno release of Neutron,
the distributed router and L3 HA mode cannot be enabled at the same
time and only L3-agent deployment with L3 Router service plugin
support both features. Thus I believe it is reasonable to make both
options default to False to avoid unnecessary confusions to operators.

Closes-Bug: #1370110
Change-Id: I77b0292b761f08b4580846f6d58443f7df9a1f6b