Check the display name for volumes on AJAX polls.

If a volume is created from the CLI without a name,
its displayed name on the Dashboard will be its id.

Change-Id: I806df643d7a2e0e93db673ea9718fe30927d930e
Implements: Display name check for unnamed volumes
Fixes: bug #1070042
Catch another breakage, when cinder is unavailable

During review of backporting avoid cinder calls, this
has been discovered and should be applied to master branch.

Fixes bug 1098146

Change-Id: I74c7fabd31ed333fc9f44ec92b2c391dd7c9b9ef
Allow setting nova quotas to unlimited

To set a quota to unlimited it is set to -1

Fix bug 1082489

Change-Id: I8e79873742b5dbe54c309e480c65bbe304d5eb61
Don't update count on tables without a summary row

The horizon.tabs javascript was updating the last row of any <table>
in the tab when the focus was changed to a different tab, stomping
over the last row of the table.

This commit limits updates to tables with the .datatable class,
and adds a class to the updated <span> in affected templates
so it can be selected a little more unambiguously.

Fixes bug #1080513.

Change-Id: I1b778bdc77887dcf540c96c2ab8be239bc13258c
Merge "Allow setting nova quotas to unlimited"
Horizon escapes special characters in openrc.sh

Adding the safe filter makes it possible to have tenant names with
special charaters rendered into the openrc.sh file without escaping
those characters.

Added a new unittest for templates

Change-Id: I56ec047da467b721bd1b57d2c97d05717e83f468
Clarify the ambiguity of the "more actions" dropdown.

Adds the word "More" to the dropdown toggle to clearly indicate
what the arrow is for. Also disables line-wrapping between the
primary action and its dropdown toggle. Removes the individual
hacks for the widths of various tables.

Change-Id: I74c03a9cd0655457f85332c9c7d31ef3ae15059e
make long tenant names look better

Change-Id: Ifd3bb8ba0a7a367e31794c7cc82bef40e2c83d20
Fixes: bug 1057137
Merge "Don't update count on tables without a summary row"
Allow insecure authentication

Pass through the value of OPENSTACK_SSL_NO_VERIFY from settings.py to
keystoneclient. This allows connecting to servers with self-signed
or otherwise invalid certificates for testing purposes.

Bug #1100131

Change-Id: I281fae400c1311af32e279083f51fba95e0e326c
Absolute limits of -1 should be treated as unlimited

-1 were interpreted literally, causing quota-related calculations to
show as overquota instead of unlimited

Fixes bug #1098480

Change-Id: I52377c690c5169f63624959711fce7566d59f9af
Prevent column summation if no non-None cells

Change-Id: I96ec5f5c6391c9234f79ad751b5c1671eda393ef
Use default_if_none rather than default filter

Zero is a valid summation for a column, so only default to
a hyphen when a summation is explicitly None.

Change-Id: Ib523657ca46f9f2563ddb82cb2a3b64d9458979d
Adding extensibility to data_table template file

bug 1098740

Change-Id: I16525165f3e064cb6b9f19cfffb9afa21a3d6f75
Extend offline-compression context

When using offline compression, all context information needs to be
available in order to generate matching compressor output.

Change I84807f6ca0d9769d25b942c151c1a83501648a0a introduced references
to HORIZON_CONFIG, so add it to the predefined list of context for
offline compression as well.

Change-Id: I44ee139626f0eac6fa34f9136926a1a626498039
Merge "make long tenant names look better"
Improves some UX details

Adds underline style to sortable column headers
in tables with more than one item.

Changes 'Click here to show only VNC' string
with 'Show only VNC' and adds underline style.

Substitute 'Unpause' with 'Resume' in Instances dropdown and
'Unpausing' with 'Resuming' in Task column on update.

Change-Id: I903722191d9c511b9961a666d0e644dbf87111b5
Fixes: Adds usability improvements
Bug: #1100418
Merge "Adding extensibility to data_table template file"
Remove |safe from openrc.template

Review I56ec047da467b721bd1b57d2c97d05717e83f468 added |safe to
the TEMPLATE_NAME variable in order to allow special characters for
tenant names but it turned out to be a security issue as explained in
one of the comments.

This reverts commit 3a9b0da489030eaacc6cc0416f92192b74783ac8

It's still an issue to discuss as referenced in bug 1100042

Change-Id: I919a56ac799e3358bf3d56af3c6083814e97c98d
Fix attributes processing in ActionMetaclass

ActionMetaclass.__new__() creates a class object twice. At first,
it uses DeclarativeFieldsMetaclass.__new__() only to get a side effect
of gathering form fields to base_fields, and then it uses type.__new__()
to create the resulting class object. Dropping the first created class
object results in ignoring all that DeclarativeFieldsMetaclass.__new__()
does with it (currently, it adds a 'media' attribute).

This change uses the class object returned by
DeclarativeFieldsMetaclass.__new__() adding Meta options to it,
thereby fixing the issue.

Change-Id: Ia4ee0e7187846ea13c04505cbbe7b999c2044871