Remove duplicate colon from Size string

Change-Id: I23354aae9427183bb79e4b51b2c8c29b3519e7ae
Closes-bug: #1298991
(cherry picked from commit e1f32355cd57b82d69ce78ca88af88e4a937316e)
Don't ignore the HORIZON_CONFIG['user_home'] setting

Dashboard has its own splash, with a hardcoded get_user_home that
igonres HORIZON_CONFIG. This patch makes it use horiozn.get_user_home
which actually checks the user_home setting, and with the default
settings.py, uses dashboard's get_user_home anyways, but allows for
changing that default behavior.

Change-Id: Id2d957f0cd8fbbbbb8f2c053f0c5df4be177e18c
Closes-bug: #1301935
(cherry picked from commit ef2f59f09dd9c27b202a65b38ccf77165f7363a4)
Improve Host Aggregates handle method.

Added update conditions to the handle method (remove
and add hosts).
Previously, to perform an update, first all existing hosts
were removed and then all new hosts were added.
Now, the update method only
remove or add the changed hosts.
Added missing unit tests for the update.

Change-Id: I52acdd1226be504cf2d0cf029353dbf80e4aa01a
Closes-bug: #1287192
(cherry picked from commit 8f4331a6bdc12bb7632f2d170cc94176e0897fbf)
Merge "Remove duplicate colon from Size string" into milestone-proposed
Merge "Improve Host Aggregates handle method." into milestone-proposed
Cardinal interpolation error

-Seems like for the big numbers, d3 is interpolating
 data badly and it is creating loops in the chart.
 So quick fix is to switch to linear interpolation
 as default.
-Other interpolation can be set with settings.

Change-Id: I82c1514dce6034b3cbc7f95682356a08301482b7
Fixes-bug: #1295537
(cherry picked from commit 8bcc5e9703fa4db5e702685a584d2e91fbea7b4a)
Import translations from Transifex for Icehouse

* Import ~100% completed translations
  We have three languages: German, Serbian and Hindi in Icehouse :-)
* Update language list in openstack_dashboard settings.py
* Update English POT files

This commit also updates compiled PO files (.mo). There is
a discussion compiled PO files should be included in the repo
or not, but it is better to be unchanged in this release.

Update Transifex resource name in .tx/config for Icehouse.

Closes-Bug: #1300290
Change-Id: I0c378e885efc4ecdafdd5d6b027a514a5af5bb2f
Merge "Cardinal interpolation error" into milestone-proposed
Introduces escaping in Horizon/Orchestration

1) Escape help_text a second time to avoid bootstrap tooltip XSS issue

The "Description" parameter in a Heat template is used to populate
a help_text tooltip in the dynamically generated Heat form. Bootstrap
inserts this tooltip into the DOM using .html() which undoes any
escaping we do in Django (it should be using .text()).

This was fixed by forcing the help_text content to be escaped a second
time. The issue itself is mitigated in bootstrap.js release 2.0.3
(ours is currently 2.0.1).

2) Properly escape untrusted Heat template 'outputs'

The 'outputs' parameter in a Heat template was included in a Django
template with HTML autoescaping turned off. Malicious HTML content
could be included in a Heat template and would be rendered by Horizon
when details about a created stack were displayed.

This was fixed by not disabling autoescaping and explicitly escaping
untrusted values in any strings that are later marked "safe" to render
without further escaping.

Change-Id: Icd9f9d9ca77068b12227d77469773a325c840001
Closes-Bug: #1289033
Co-Authored-By: Kieran Spear <kispear@gmail.com>