fixes #5679 - change CR identifier to name to fix has_many association lookup
fixes #6358 - Update LookupValue fqdn matchers when a host is renamed
fixes #5753: Engines can now override autocomplete path used in FiltersHelper
Fixes #6285 - Settings API does not parse incoming values to correct data type
fixes #4564 - has_ancestry definition should be removed from hostgroup.
fixes #6496 - Added :match helper method to saferender
fixes #6498 simplified eval statement
fixes #6501: pin jquery-ui-rails
fixes #5414: LDAP + TLS is not LDAP + TLS but LDAP + SSL and changed port automatically on check
Fixes #6099 - Bubble Fog::Errors up to Host
fixes #5235: it's impossible to create filters with invaid searches
Usergroups can be linked to an LDAP auth_source. This allows usergroups
to be on sync with its equivalent LDAP usergroup.

Relation between auth_sources and usergroups

Tests, validations, and actual LDAP queries

Rake task to periodically refresh LDAP user groups

Adding LDAP users is done through User.where, not iterating through all possible users

Migration for groups/user OU, recursive usergroup search

Non recursive LDAP rake task

Check against LDAP aliases, or other empty results

Remove code from other branch

Remove Users OU because its irrelevant with Ldap_fluff

Ldap_fluff added to Gemfile

Refactor to use ldap_fluff and server type

Refresh usergroups on user login

Refresh ldap task in package

Rescue refresh usergroups errors

External LDAP usergroups

Refresh external usergroup LDAP

Wrong usergroup validation

Removed breakpoint

Fixed tests for external usergroups

refresh permission

Skip validation if non ldap usergroup

Factories for auth_source_ldap, remove anon queries

Use send for private method in test

New tests for ldap, will fail because of ldap_fluff

Min version ldapfluff

Update required ldap_fluff version

Remove anon queries

ExternalUsegroups rewrite

LDAP logic moved to ldap_fluff'

Fix tests to pass with latest refactor to ldap_fluff

It's necessary to keep an authenticated connection to query

update_usergroups is public

Rebased against latest develop

Add/remove users methods back in model