foremancommunity-templatesforeman_api
Fixes #12461 - Compute profile is properly selected.
Fixes #11643 - [API] Add preview template to host
Fixes #11307 - Add host count to hostgroups
Fixes #12478 - don't update :attached_to if parsed :attached_to is nil
fixes #12342 - unsaved (new or cloned) hostgroups keep their puppetclasses
Unsaved hostgroups didn't respond correctly to individual_puppetclassesbecause that method expects some objects to be saved in the DB. In caseof selecting a new environment, that lead to puppetclasses disappearing....
fixes #12194 - join fact tables multiple times for each search term
scoped_search usually generates a new inner join for each search termwhen searching through a key/value table layout to correctly search forhosts via multiple facts. Since the change to ext_method in 3f8e6c33, a...
Fixes #12457 - Use .exists? to check subnet exists on Rails 4
On app/models/subnet.rb, the method `self.import` uses `iffirst(:conditions => attrs)`. It no longer is an alias for`find(:first, *args)` but now it just fetches the first Xrecords (`first(X)`). `.exists?` is a suitable equivalent
Fixes #12441 - validate uniqueness for nic identifier and host
fixes #12458 - escape values in fact searches to prevent SQL injection
fixes #11943 - only send built mail when host is installed
View revisions
Also available in: Atom