Added QueryCounter helper class for specs.
Snapshot creation disabled for Templates

Implemented the supports_snapshots? method

https://bugzilla.redhat.com/show_bug.cgi?id=1005285
Add modeling for template many-to-many tenant

In OpenStack, an image (TemplateOpenstack) can exist in more than one project
(CloudTenantOpenstack).  These migration and model changes allow an OpenStack
template to list the tenants it can be used in, and allows a Cloud Tenant to
list the templates associated with it.

The table is named "cloud_tenants_vms" to reflect the physical tables used in
for the join.

Despite the table name referring to the generic objects, the relationship is
purposefully restricted to Openstack templates and Openstack cloud tenants in
the association defined in the models.  This keeps the notion of the
many-to-many relationship restricted to the most specific level.

The relationship methods are named:

* TemplateOpenstack#cloud_tenants
* CloudTenantOpenstack#opentack_templates

Additionally, to facilitate keeping the relationship as specific as possible,
CloudTenant is now sublassed to CloudTenantOpenstack.  Since all of the existing
cloud tenants are only openstack tenants, the migration initializes all of the
CloudTenant records to have a type of CloudTenantOpenstack.
Treat date "from"/operator filters as dates, not times

Without this, the existing tests fail when run on a system that's east
of Greenwich.
Add support for Openstack SSL

Allow connections to Openstack to use SSL.

https://bugzilla.redhat.com/show_bug.cgi?id=1089727
https://bugzilla.redhat.com/show_bug.cgi?id=1140693
Smarthost templates removed from host view

https://github.com/ManageIQ/manageiq/pull/710#issuecomment-56865714
Allow default zone description to be changed

Removed the section of code that was blocking the default zone description
from being changed. Displayed the zone description when add/edit a ems.

https://bugzilla.redhat.com/show_bug.cgi?id=1098305
Add logging for Cruise Control Builds before preparing the database

[skip ci]
backport truncate until we've upgraded.

truncate was added in upstream in
9a4e183fe9f81365f7815c391512b3d46622d8c8
move AR::Base#truncate to manageiq repo

I'm not sure if this can be upstreamed, but it doesn't impede us from
upgrading, so we should remove it from our fork.
don't establish a connection for feature detection

we should avoid bringing up a connection too early in the boot process,
so just check the pg connection class directly
Add support for Version 5 XFS filesystems

This includes adding CRC fields to several on-disk
data structures including directory headers, as
well as allowing for a filetype field in the directory
entries.

Rubocop warnings in the code were fixed as well as
style issues pointed out by reviewers.
Fixed Catalogs and Catalog Items tree building

Ensured that all 3 trees in the Catalog Explorer, prior to the actual
tree building set these values - x_active_tree and x_active_accord for
the respective trees.
Setting these values is important for each tree as it ensures proper
tree building.
This was missing previously causing a crash when a user with permissions
 to only the 'Catalogs' accordion logged in.

https://bugzilla.redhat.com/show_bug.cgi?id=1130301
Added applies_to_method to parent Host & Cluster charts.

Added applies_to_method to chart for Parent Host and Cluster charts so charts side-by-side comparison charts match up. Also added CPU (%) chart to parent Host and Cluster yaml, this chart was added previously to VmOrTemplate yaml.

https://bugzilla.redhat.com/show_bug.cgi?id=1138449
Report editor: whitelist filter buttons.
Merge pull request #767 from martinpovolny/expredit_valid

Report editor: whitelist filter buttons.
Merge pull request #754 from brandondunne/enhance_test_build_output

Add logging for Cruise Control Builds before preparing the database
Set raw power state in pxe/iso provision

The power_state attribute on the VM was recently changed to read-only.  However,
pxe and iso provisioning in RHEV and VMware still set the power_state after
launch.

This is now changed to set the raw_power_state.  However, there's a bit of a
smell here because we're setting the "raw_power_state" to a non-raw value.

Can't think of a better way right now.

https://bugzilla.redhat.com/show_bug.cgi?id=1149195
Merge pull request #564 from bmclaughlin/disable-snapshot-creation-for-templates

Snapshot creation disabled for Templates
Merge pull request #766 from h-kataria/C&U_chart_comparison_fix

Added applies_to_method to parent Host & Cluster charts.