Fixes #11258 - validation handles blank provider
(cherry picked from commit 3b27c173467c3ab4b53e844913cfd559b78d44ac)
Fixes #11231 - Correctly stubbify global parameters
(cherry picked from commit fe74835256fc0baab8daad6411d865f9e807be3c)
Fixes #10133 - Prevent deadlocks when fixing counter_cache
(cherry picked from commit 7fad1fa0e253e793511df1cde24d8b1885d640c4)
Fixes #10929 - Add removed widgets to dashboard
This commit allows users to re-add widgets. At this point it's onlypossible to recover removed widgets by clicking on "Reset to default".
To do this I populate the 'Add widgets' list by getting a diffbetween the current widgets and the available ones. The code calls any...
fixes #11095 - lookup keys do not get saved to db on setter invokation
(cherry picked from commit c6b4236846decc58583143f30d537a27b4848953)
Fixes #11187 - explicitly pass resource_type and permission to check
fixes #11122 - initialize ENCRYPTION_PREFIX only once
(cherry picked from commit b131eda1464e57b978007e9dd5c5daeb5b90af10)
Fixes #11035 - template preview feature
(cherry picked from commit de9e7adaa579db01d043d6a04a83c946a3d33850)
fixes #5630 - fixes VMWare clone from template fails if VMWare is in foreign language
(cherry picked from commit e7d21bf01f2b9eee19b808c4ea320ddfd9c33b3d)
Fixes #10915 - Deleting a host removes all host specific overrides
(cherry picked from commit 674755f43684f76e6b23ca499a57153aad3db5e2)
Fixes #11023 - Pass identity_endpoint to Openstack Fog 1.32.0
(cherry picked from commit f69f741a91f4e01f8ef1efbc74970a288b6557c6)
Fixes #10867 - OpenStack boot_from_volume is true only when checked
(cherry picked from commit 776cff93637b006cb69063fecf142e776acd1378)
fixes #10216 - sort report log messages in natural order
(cherry picked from commit 671b0b4409e2ac732613ad2af5d4cd4432f39333)
Fixes #10928 - Default dashboard widgets for new users
(cherry picked from commit ad00a1094bce4dd7e33ed1c06eaf4b7b9902d150)
Fixes #10635 - Formalize deprecation warning
(cherry picked from commit 319d1ffbed54f2c9eb988d132ec1586fb4d7c428)
Fixes #10963 - partition table can't access os ids
(cherry picked from commit 5fc2aed63fa0ab78432bbf91dbfd61c2543dfc97)
Fixes #10607 - match bonds based on identifier only
(cherry picked from commit 7be20b248502eb8682008e1c6b03fef71da4f73d)
Fixes #10888 - skip attached_to updates if identifier was blank
(cherry picked from commit db6d6b8b7d0d2e90e27d4c23308e5db26abd3820)
Fixes #10740 - ignore auditing of all models in migrations
Fixes #10899 - removes deprecated smart proxies scopes code
Fixes #10727 - Added validation to require BMC Smart proxy in order to add BMC nic
Fixes #10633 - Associate architechture to OS during fact import
Fixes #10849 - remove hidden template fields on submit
Fixes #10526 - Support for Cisco POAP
Fixes #10072: Support for user-data during image-based provisioning with libvirt (used for creating of Atomic libvirt VM)
Fixes #10887 - Removed debug statement from clear_cache
fixes #10861 - Remove unused columns from the hosts table
fixes #10829 - non-admin user cannot update admin password
Fixes #10409 - Rails 4 compatible changes with Rails 3
Fixes #4551 - GCE provisioning support
Enable provisioning of VMs through Google Compute Engine. Volume-wise,this is currently limited to creating a VM with an attached disk thatcontains the image specified. Future enhancements should includechoosing any available disks to auto-attach the VM and not force the...
fixes #10787 - load fog extensions based on available CRs
Previously fog_extensions loaded inside one large rescue LoadError, soif fog-libvirt wasn't installed, it would fail part way through. Nowcheck which providers are loaded, and only extend those. Moved loading...
Fixes #10656 - Prevent audits on counter cache update
fixes #10627 - apply host taxonomy scope to facts/report joins
Previous changes to perform a join onto hosts with authorisation resultin a query such as Report.joins(:hosts), which ignores anydefault_scope on Host::Base. This commit explicitly passes taxonomy...
Fixes #10713 - improved backtrace logging
Fixes #7096 - Adds STI to templates
This commit converts Ptables to be just another type of Template so itgets the same features as ConfigTemplate. ConfigTemplate was renamed toProvisioningTemplate to reflect UI and the name under it's commonly known.
fixes #10720 - Adds API to get host vm attributes
This exposes an API to fetch a host's vm_compute_attributes,such as vmware cpus and memory. It lives at a separate endpointbecause it involves a fetch for data from the compute resource,and may have different performance characteristics than the database.
fixes #9301 - make puppet environment optional for hosts
Fixes #10566 - allow identifier modifications that do not change interface type
Fixes #9187 - Overrideable empty class parameters don't validate default value
Fixes #10487: Add custom logging support
This change moves away from the Rails logger to the 'logging' gemto support more configurability of logging. Further, this allows forthe creation of custom loggers that plugins can then create duringregistration (with `logger`) or through settings....
Fixes #9299 - Windows installation media works without bcd patching
Fixes #10684 - re-adding missing code
fixes #10646 - disable NIC subnet taxonomy checks when feature's disabled
fixes #6332 - skip taxonomy queries when features are disabled
fixes #10660 - taxonomies are able to have the same name for different classes
Refs #6518 - Use #find instead of #select #first to choose a BMC proxy for the subnet
Enumerable#find more idiomatic in Ruby, and since it stops at the first match itmay be marginally faster.
fixes #10151 - Unable to get resourcePool
Fixes #10584 - Replace sort.uniq with uniq.sort
fixes #1510 - notification when host finishes building
Fixes #10583 - perform uniq in database instead of in memory when possible
fixes #8597 - escape slashes for ptable URL parameters
fixes #9873 - generate unique alert mails for each user group member
To create distinct mails, new Mailer instances are required instead of usingthe same one - else, the last message changes the previous ones. The recipientlist is now determined in the ReportImporter, and the MailNotification helps...
Fixes #10288 - prevent audits on update of puppetclass total hosts counter
Fixes #10535 - building a token instead of creating it until host is saved
Fixes #10402: add to_bool function for converting to boolean.
This commit adds a to_bool function for casting values to booleanas well as an example usage.
http://projects.theforeman.org/issues/10402
fixes #10528 - lookup value should allow false and 0 values
fixes #10482 - get external user group members only once during refresh
fixes #1213 - Get email reports of audit changes
fixes #10509 - add toggle for LDAP usergroup updating
fixes #10493 - disable usergroup sync on login when $login is used
fixes #4769 - fix deprecation warning while syncing LDAP attrs
Fixes #9170 - wrong nic order in libvirt domain
Fixes #10442 - dry up host managed logic
Fixes #9634 - creating a host with an interface and without os returns a validation message
Fixes #9613 - foreman_url can't be blank
fixes #10492 - permission name should be unique and not scoped by resource_type
fixes #10406 - add LDAP instrumentation and extra logging
Fixes #10379 - disables cloning if unattended mode is disabled
Fixes #9966 - More debug messages for matching nics from fog
Fixes #10212 - validate DNS name uniqueness of interfaces
Fixes #8525 - Rename "Mail" to "Email" in user preferences
fixes #10403 - resync names of unmanaged hosts to their primary NIC
MoveHostNicsToInterfaces previously ignored unmanaged hosts, but theyneed migrating too. Updated the existing migration to migrate both,then for existing hosts, add a new migration to ensure all primary NIC...
Fixes #10307 - editing host with 'unattended: false' no longer results in error
fixes #10437 - remove incorrect/duplicate hash statements
fixes #10261 - update fog to 1.30.0
fixes #10298 - handle destroyed but present interfaces
When deleting a host and DHCP orchestration is removing reservations for NICs,it generates a dhcp_record that contains next-server data. Determining thenext-server IP causes the primary interface to be fetched for DNS resolution,...
Refs #10337 - Update Host searches to use outofsync_interval
Refs #3809 - Remove nested ternary and nil checking
Fixes #7458 - allow searching hosts by their ip and mac addresses
Fixes #10382 - Allow lowercase IPMI provider
Fixes #10263 - Encrypt LDAP password in db
This commit includes a rake task to encrypt all encryptable resources.A helper function can be used to add more encryption tasks easily.
Fixes #10337 - Added setting out of sync duration
Fixes #5649 - unattended_url validation fix
fixes #10343 - only log cache deletion failures when saving settings
Fixes #10305 - complete handling for cloudinit-like in vsphere feature
fixes #10030 - use override method to display templates in folders
Fixes #8566 - reorganized settings categories
fixes #9812 - Adds validation on override value, ensure match returns error if blank
Fixes #10194 - help text for token_duration setting
fixes #10287 - provide helper methods for proxy features
Fixes #7335 - Refactor taxonomy form, display "select all" checkbox only if permitted
fixes #7743 - ensure name is unique in scope of major and minor
refs #5554 - revert string change, save unnecessary retranslation
fixes #9240 - in case of hash with indifferent access, serialize as hash
Fixes #5554 - fixed hostgroup and fqdn validations in multiple matchers
Refs #3809 - Remove semicolon cop
fixes #8817 - look up reports with all joins from host scoped_search
This changes the optimisation in d50c799 which caused errors for users withhost filters referencing tables other than hosts.
When retrieving all reports joined with authorised hosts, the nested joins need...
Fixes #10186 - find host NICs on vsphere using Network Distributed PortGroup
fixes #10168 - delegate fqdn/shortname to primary interface
Fixes #10111 - Use a dummy primary interface for unmanaged hosts
Unmanaged hosts require a host interface due to delegation of networkingattributes, and some others like 'name'. Since unmanaged hosts do notnecessarily have an interface associated (unless created through puppet...