Introduce tool Duplicate Blocker and its spec
Fix amazon provisioning by hiding cloud quota

Currently, only Openstack has the notion of cloud quota.  However, the view that
decided whether or not to show cloud quota during provisioning based the
decision on whether or not the current workflow was a cloud workflow.

The decision needs to be more fine grained for now.  Instead of only checking
for a cloud workflow, the view now checks specifically for an openstack
workflow.

https://bugzilla.redhat.com/show_bug.cgi?id=1127459
Fix tenant column on pre_prov partial

In cases where both amazon and openstack images are available in the "Select and
Image" table in the _pre_prov partial, the table shows up with uneven rows.
This is caused by amazon not having tenants whereas openstack does have tenants.

Originally, the logic for showing the table column header would arbitrarily
include the header based solely on the first template in the list to be shown.
Now, the column header is shown if any of the templates in the list can show a
cloud tenant.

Also, the logic for showing the table cell is based on whether the table tenants
header is shown.

Additionally, the logic for showing the data inside the table cell is based on
whether the template in the current column can respond_to the `cloud_tenant`
method.

https://bugzilla.redhat.com/show_bug.cgi?id=1127459
Fixed a typo in assert_privileges call.
Set current tag assignments to blank when tag/category has been deleted from table.

- To prevent a crash in UI when category/tag that chargeback is currently assigned to is deleted from table, set current assignments to blank.
- Added spec tests to verify the fix.

https://bugzilla.redhat.com/show_bug.cgi?id=1129289
Don't allow to set service retirement date to the past

This fix initializes the dhtmlXCalendarObject when setting
service retirement date in such a way that it would not
render past days as selectable.

This effectively disallows to select a date in the past
for service retirement.

https://bugzilla.redhat.com/show_bug.cgi?id=1124555
Added support to copy objects with new name under same domain.

- Added support to be able to copy a single automate Class/Instance/Method with a new name under same domain.
- Made model changes to copy methods to call appropraite method when copying objects.
- Added New name text field on copy form that is only displayed when a single object is selected to copy and under a same domain. Also added a read only field "From Domain" to show user which domain they are copying object from. Changed label "Domain" on Domain pull-down to "to Domain".
- Added spec test to verify copy as feature.

https://bugzilla.redhat.com/show_bug.cgi?id=1129802
Merge pull request #382 from h-kataria/fixed_typo_in_assert_privileges_call

Fixed a typo in assert_privileges call.
specs for miq_ae_password model
Report: do not offer PDF w/o generator installed.
Minor view haml style fixes.
Addressed rubocop comments.

- Changed copy method to expect options hash instead of individual parameters to address rubocop comment.
- Fixed any spec tests that broke with changes to address rubocop comments.

https://bugzilla.redhat.com/show_bug.cgi?id=1129802
better key not found error message
Merge pull request #396 from h-kataria/automte_copy_as

Added support to copy objects with new name under same domain.
Merge pull request #398 from martinpovolny/pdf_mail

Report: do not offer PDF w/o generator installed.
Merge pull request #346 from kbrock/miq_ae_password_specs

Better v1_key not found error, plus miq_ae_password_spec
Merge pull request #388 from h-kataria/chargeback_rates_fix

Set current tag assignments to blank when tag/category has been deleted ...
Added default setting for Cloud Provider Quadrants

Added setting value of Yes to DEFAULT_SETTINGS for Cloud Provider Quadrants in Configuration => Settings

https://bugzilla.redhat.com/show_bug.cgi?id=1114086
Include full copyright text for circuit breaker in LICENCE.txt
Workaround for Fog Swift bug

This patch works around a bug in Fog where, if Swift is unavailable, Fog will
throw an unexpected error instead of simply indicating that the service is
unavailable.

This patch will have to suffice until we can get a patch into Fog and update to
the latest community version.

https://bugzilla.redhat.com/show_bug.cgi?id=1130309