Fixes #11704 - consider no reports as warning if reports are expected
fixes #11610 - removing a bunch of N+1 queries from the migration
fixes #8521 - fix classes accessors, copy overrides on host clone
The various 'classes' accessors that are used in the UI for displayingthe Puppet classes tab only really worked for saved objects, so they'rechanged to work better on an unsaved cloned object. Tests now check...
fixes #10589 - removing N+1 queries from after_save callbacks when changing hostgroup
fixes #11341 - update fog to 1.34.0
Fixes #11663 - Empty lookup value not validated when use_puppet_default is checked
Fixes #11696 - remove unused code
Fixes #10782 - global host status
Plugins can add their own substatuses. These are automatically...
Fixes #11407 - Uppercase logins from LDAP break external user group sync
On LDAP the login can contain uppercase chars, for instance, "FOO". Howeverwhen we log in Foreman for the first time and have that account auto-created,we can login using "foo". After that, our login will be saved as "foo" on...
Fixes #11428 - External user groups refresh shouldn't be case sensitive
group_list in ldap_fluff returns a list of lowercase LDAP GIDs.When AuthSourceLdap tries to run update_usergroups to refresh the externaluser groups, it will try to match these lowercase gids with external user...
Fixes #11673 - accept integer value when setting the integer via API
Fixes #11650 - show global parameter value inherited from parent taxonomy
fixes #10832 - separating lookup keys into puppet and variable
Refs #3809 - Enable Rails delegate cop
Refs #3809 - Stabby lambda syntax for oneliners
I started by spotting log.rb which didn't have a lambda wrapping itsdefault scope, as needed by Rails 4. Since the style guide and mostRails 4 documents used the stabby lambda, I turned on the cop so that we...
Fixes #11630 - Enable management of nics in compute profiles without libvirt network
fixes #11570 - returning 'dependent destroy' to lookup values
fixes #11619 - only check template changes when persisted
Fixes #11031 - ignore identifiers of interfaces being destroyed
Fixes #10731 - Allow matches to merge with default values
fixes #11425 - adding lookup_value_matcher to host and hostgroup to make db schema more logical
Fixes #9704,#9705 - ability to customize vmware VM on image-based provisioning
Allows applying the changes form the form to the VM when cloning froma template.
Depends on https://github.com/fog/fog/pull/3570
Fixes #11451 - Changed bookmark name to be unique per controller.
fixes #10130 - availability zones should be available in open stack
Fixes #11282 - Search on numeric facts is broken if using "~"
Fixes #11379 - Audit search for hostgroup/OS title
Before this commit, hostgroup and OS could only be searched by name,which is impractical as names are not unique. As we do on Hosts search,I've added hostgroup_title and os_title as keys to search on /audits.
Fixes #11303: Allow scoped search by name for permissions.
This both provides this functionality and fixes an issue with creatingfilters using hammer. Hammer attempts to search for a permission byname using scoped search syntax when creating a filter with the...
fixes #10232 - moving validations and casting out of lookup key and value
fixes #11274 - Unable to get resourcePoo
Cluster attribute full_path makes sense when there are intermediate folders (both between vCenter/datacenter and datacenter/cluster). There was a bug/typo in fog (https://github.com/slivik/fog/pull/1) and after it is merged this should work.
fixes #10997 - update fog to 1.33.0
Fixes #11187 - explicitly pass resource_type and permission to check
Fixes #4419 - rearranging smart class parameters edit form
Fixes #10248 - cloning volume information for virtual machines
fixes #11250 - Remove uniqueness check from subnet network addresses
Fixes #1453 - add use_image and jumpstart helpers to Host jail
Fixes #11258 - validation handles blank provider
Fixes #7167 - names of settings marked for translation
Fixes #11231 - Correctly stubbify global parameters
Fixes #9591 - Added support for "inherit" state.
Fixes #10133 - Prevent deadlocks when fixing counter_cache
fixes #11122 - initialize ENCRYPTION_PREFIX only once
Refs #3809 - Enable cop Style/IfUnlessModifier
Fixes #11150 - Allow searching of facts as types other than string
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 #5897 - when user doesn't have an email, email isn't required
fixes #11120 - migrate websockets setting when readonly in settings.yaml
Fixes #11035 - template preview feature
fixes #5630 - fixes VMWare clone from template fails if VMWare is in foreign language
fixes #11121 - initialise websockets_encrypt after dependencies
When settings.yaml (SETTINGS) is used to set websockets_encrypt to true,the key and cert need to be initialised first for its key/certvalidation to pass.
fixes #11095 - lookup keys do not get saved to db on setter invokation
Fixes #10915 - Deleting a host removes all host specific overrides
Fixes #9603 - fixed websockets_* set of settings
Fixes #11023 - Pass identity_endpoint to Openstack Fog 1.32.0
Fixes #10867 - OpenStack boot_from_volume is true only when checked
Refs #3809 - Style/blocks cop enabled
fixes #10216 - sort report log messages in natural order
Fixes #10803: Return nil if no resource_type when creating a filter.
In some instances, such as during DB seed, when a filter is beingcreated for the first time the before_validation callback tobuild_taxonomy_search is triggered. Since, the filter hasn't been...
Fixes #10928 - Default dashboard widgets for new users
Fixes #10635 - Formalize deprecation warning
Fixes #10963 - partition table can't access os ids
fixes #10959 - gravatar should be opt-in not opt-out
Fixes #10607 - match bonds based on identifier only
Fixes #10888 - skip attached_to updates if identifier was blank
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