fixes #4639 - array in lookup_value incorrectly displayed in form
(cherry picked from commit 801a90d196d363aadae7bf2be9347ff6e46e0471)
fixes #5132 hang when provisioning on ovirt 3.4
(cherry picked from commit 578e6f54462e785d6ae25cceb6fbdd6c21696cb8)
Conflicts: app/models/concerns/fog_extensions/ovirt/server.rb
Fixes #4680 - Don't append periods to unqualified unmanaged hosts
(cherry picked from commit 014c9ab5eb9bb9b8d655d48a8ccd540613390788)
Revert "Fixes #2270 - Detect all OpenStack IPs and test which allows SSH"
This reverts commit eb1bba78e89b21ac1e935c2cfd7dbf7c23e1c646.
In light of #4616 and #4710, further issues with this change were found whichmeans we need more time to solve it completely and ensure full cross-provider...
Revert "Fixes #4616 - Add a Fog mixin for looking up EC2 IP addresses"
This reverts commit 97c45d66a0066b6abbf486511aa4f93c67e52007.
fixes #4314 - ignore default scope ordering on host search by puppet class
(cherry picked from commit a44dd0943b5ccc2c2e9a0ce264e4b2f38b5edd4d)
Conflicts: app/models/concerns/hostext/search.rb
fixes #4626 - update Facter calls for 2.0 compatibility
(cherry picked from commit 312042b0ddd557fb42f67ba7424020b8dde72da2)
Conflicts: app/models/setting/general.rb app/models/setting/provisioning.rb
Fixes #4616 - Add a Fog mixin for looking up EC2 IP addresses
(cherry picked from commit 4963a970e3ee2a91835f4ab5a493179d96cdeedf)
fixes #4565 - puppet class free-text search is now significantly faster
(cherry picked from commit 0126385b4469accf2474ab3db0ef43f8d7b63558)
fixes #4442 - returning nil plays nice with try_to_login.
(cherry picked from commit a416bb573dedf6c34592afec17fbbec96691a5e6)
fixes #4485 prevents undefined method when cloning a host
(cherry picked from commit cdbbf1c231c9148d2b6ed252d920a8676c176702)
fixes #4524 - The logged in user should be the default one in create new hosts
(cherry picked from commit 19579f872c1b4a512500f8e07f0b066180574e4e)
fixes #4245 - return HTTP body for oVirt SSL CA certificate
(cherry picked from commit 2e417b5824b4e5283586119052aed7b4953e468e)
Fixes #2270 - Detect all OpenStack IPs and test which allows SSH
(cherry picked from commit 1b110b37dd4a332ee0682e33daaaa848da8bcad7)
fixes #4125 [Openstack] - host with auto assigned IPs can't be deleted
(cherry picked from commit fd3f24f8e05d8f4ab64bc61168fc4e0ead455025)
Fixes #4221: add :dependent => :destroy for compute profiles on compute resource
(cherry picked from commit 6e7682a967c9e3dc37d244146b22d7dc2cb7103e)
fixes #4307 New VMware VM creation does not respect NIC type selection
(cherry picked from commit 461e6b003bc00d6d62e20d8f1c5e5c860ebdaaba)
fixes #3496 vSphere: add support for selectable SCSI controller
(cherry picked from commit 41ee835f2c872d09cd09af2179ef3bc2327e6b02)
fixes #3980 - Compute profiles not rendering Openstack attributes correctly
(cherry picked from commit 88daf556e39ad9c0d3bdebbe9f88ce5ff49010f6)
fixes #3519 - taxonomies include authorization module
(cherry picked from commit 14fdd9046dd3b85979bf95b4d0019e00051e35c2)
fixes #4298 - ldap auth should accept parens in firstname or surname
(cherry picked from commit 3065cbc2df440c77e20abeed9fa525221fdcb12f)
fixes #2726 - smart class parameter override fails validation
(cherry picked from commit cfc2bb662f49d8216c2388ab35dd87af295474d0)
fixes #4234 - cannot edit host's puppet parameters
(cherry picked from commit 130f301a508ae31549145e5fa9b176f42dc20995)
fixes #4173 - don't update CR attrs when none available, taken from GH-1184
(cherry picked from commit ec4ff916ebefa8fc0d4ac41548d02407e7cf8fac)
fixes #2866 - Changing a hostgroup name doesn't update associated Smart Variable matchers
(cherry picked from commit 709ad8d6f425e0817d3faef2cc629af1458cb1c9)
fixes #3697, #3701 - more comprehensive field validations
(cherry picked from commit 4bae5cedb8ab562b6c397234c5cb1cfd604fde74)
Fixes #4032 - Use object.id for comparisons
(cherry picked from commit 409ce13e71b5a23178e109b0fb240fc2e2c6ff94)
fixes #3955 - added param_true? and snippet_if_exist template methods
(cherry picked from commit 3701a8d1c6d698ea8c57321eed2f87c74bd57728)
fixes #4023 - API v2 - compute resources partials should should attribute alias names and not database column names
(cherry picked from commit 8a0ffcfaa900079d628253ee7f9de2feec182914)
fixes #3867 - Wrong Compute Resource type shown on overview
(cherry picked from commit 2ebd2f227aef16da62c7884065bb9b47a846c9a3)
fixes #2231 - hostgroup deletion is restricted to hostgroups without children
(cherry picked from commit 8c68024ac619121312680ee8afc467857155e71d)
Fixes #4031 - change TFTP record on build flag change
fixes #3906 - Support for Junos ZTP
fixes #3099 - Adding parameters to locations and organizations
Fixes #3927 - Allow VMs to provision via user-data
fixes #3975 - add audit to classes Domain, Subnet, SmartProxy, Role, Usergroup, AuthSource, Image, Bookmark that were not audited
Fixes #3962 - Refactor class overwriting
fixes #3178 - add feature for compute profiles for hostgroups and hosts
fixes #3528 - Populate first name, last name, and email, if available.
fixes #1489 - add AIX family and facts importer support
fixes #3896 Retrieve OVirt CA certificate via same URL scheme as API URL by disabling SSL verification
refs #3930 - ensure a user can actually update itself.
fixes #3930 - refactoring of edit_self implementation.
fixes #3752 - move data population from migrations into seed script
fixes #2374 - added allocation option to libvirt VM
fixes #3339 - nested fact support, allow fact importers to be registered by plugins
fixes #3693 - API v2 - accept GET json format of object in PUT/POST requests to add/remove has_many associations
Fixes #3721 - Map OS family to a display variant
Fixes #3720 - Add description field to operatingsystem
refs #3067 - domain stripped from installation media hostname for Solaris
fixes #3832 - foreman supplies user for GCE images, fog expects username
fixes #3822 - updated Rackspace datacenter list
fixes #3794 - don't validate IP address that's later provided by a CR
fixes #2572 - FreeBSD unattended installation support via mfsbsd
fixes #3776 - change NAME_MAP to be a method
fixes #3018 - API v2 metadata for pagination, search, order in index collection json response
fixes #3737 - added PXEGrub specific PXE localboot template
fixes #3673 - auditing added to ptable w/ test
fixes #3698 - add image_id alias to server resource as form uses it
fixes #3493 - check if auto user reg is allowed for auth source
Fixes #3468 - Move token expiry to scope to avoid FK issues
fixes #3107 - enable sorting of hostgroups by label, sort by default
fixes #3516 - resource names (inc. domains) are now being parametrized when used to construct urls
fixes #3622 - smart proxy features are now being loaded dynamically
fixes #3312 - support /users/extlogin as a login page based on REMOTE_USER
Fixes #3569, #3210 - Use port from foreman_url for templates
fixes #3578 - minor SQL and whitespaces updates to the smart proxy class
Fixes #3196 - Switch tokens to default to on
Fixes #3182 - Make IP optional in some circumstances
fixes #3205 - Extract and refactor report importing logic
This patch extracts all report importing logic into seperate importer and status classes.long term this could allow:
1. aliases methods for async operations2. different types of reports imports (based on reporting type).
fixes #1830 - auto assign puppet proxy if its not defined upon facts/reports event
Fixes #3481 - Don't have to set a hostname for each interface, but it must be unique if it is set.
[REFACTOR] fixes #2967 - refactored Fact Importer
Based on Dmitri Dolguikh <dmitri@appliedlogic.ca> original patch.
- renamed original fact_importer class to fact_parser class- moved fact handling logic to its own fact_importer class- fact importer now assumes single-value facts...
fixes #3364 Add option to disable automatc host creation when a report is received
fixes #3138 - move CR library loading into initializers, only show available providers
fixes #2818 - validation of OS families in ptables
Fixes #3122: 'column reference id is ambiguous' no longer appears on dashboard and report screens
fixes #3249 - change regex syntax from start/end of line to start/end of string
fixes #3248 - missing N_() on validation messages
fixes #2741 - rails 3 syntax
fixes #3241 - default password is now MD5
fixes #3222 - nil the certname when handling certs if UUID certs have now been disabled
fixes #3206 - prevent any user including admin from creating lookup_value with fdqn= or hostgroup= if host/hostgroup does not exist
fixes #3134 - disable vSphere fields on host edit, fix clone behavior
fixes #3190 - Fix STI auditable_type - Audit should say updated Location/Organization rather than updated Taxonomy and ComputeResource should not use STI class
fixes #3048 - Non Admin user fails to override parameters when creating new host
fixes #3160 - sanitize host/host group names in lookup_value associations (CVE-2013-4386)
fixes #2756 - update setting descriptions at startup
Fixes #3177: a 'G' suffix is automatically appended to libvirt volume capacity value if none was specified
fixes #3106 - consistent sorting of common parameters by name
fixes #2975 added setting for using the shortname instead of FQDN for new virtual machines
Fixes #3144 Remove user_id and inherited_from
Fields user_id in model User and inherited_from in model UserRole areabsolutely superfluous as they are not being used anywhere and result inunnecessary lines of code and clutter in the database, which contains...
fixes #1244 - add smart proxy feature refresh link + API call
fixes #3091 - strip leading and trailing whitespace before_save on names of all objects
fixes #2810 - more restful API v2 JSON responses in puppetclasses
NOTE: breaking changes to API v2 api/lookup_keys does not exist, replaced by api/smart_variables and api/smart_class_parameters
fixes #3116 - add NIC selection for vSphere: E1000 and VMXNET 3
fixes #3089 - Updating settings causes settings page to load again within the page
fixes #3110 Association of vSphere VMs fails
fixes #3094 - reports search includes hostgroup and hostgroup_fullname
fixes #2764 - settings defined in settings.yaml file are now read-only