fixes #11425 - adding lookup_value_matcher to host and hostgroup to make db schema more logical
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 #11187 - explicitly pass resource_type and permission to check
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 #11095 - lookup keys do not get saved to db on setter invokation
Fixes #10635 - Formalize deprecation warning
Fixes #10072: Support for user-data during image-based provisioning with libvirt (used for creating of Atomic libvirt VM)
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 #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 #10684 - re-adding missing code
fixes #6332 - skip taxonomy queries when features are disabled
fixes #10660 - taxonomies are able to have the same name for different classes
fixes #1510 - notification when host finishes building
Fixes #10583 - perform uniq in database instead of in memory when possible
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 #9170 - wrong nic order in libvirt domain
Fixes #9634 - creating a host with an interface and without os returns a validation message
Fixes #10379 - disables cloning if unattended mode is disabled
Fixes #9966 - More debug messages for matching nics from fog
Fixes #10307 - editing host with 'unattended: false' no longer results in error
fixes #10261 - update fog to 1.30.0
Fixes #7458 - allow searching hosts by their ip and mac addresses
fixes #10030 - use override method to display templates in folders
fixes #10287 - provide helper methods for proxy features
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 #10020 - add next-server/filename attrs to provision NIC DHCP record
A host's DHCP record used to be constructed with PXE attributes inOrchestration::DHCP, but moved to Nic::Managed during 43c4bd7. Nic::Manageddidn't add PXE attributes, so this commit adds these when provision? is set....
Fixes #9947 - restrict user taxonomies if none is set
refs #4521 - Openstack Compute Resource: Boot from Volume on new Host
fixes #8516 - removing the require 'fog' from the project, requiring only what we use
fixes #6568 - showing ovirt template version if applicable
fixes #7407 - puppet class parameters should be cloned in #clone
fixes #9775 - always load Encryptable when key's missing, log runtime warning
a59972c3 causes Encryptable to be loaded before the encryption_key.rbinitialiser and the majority of the class was skipped as the key was undefined.
Now Encryptable always loads, but logs at runtime if the key is unavailable,...
Fixes #6454 - Display error message when user_data is needed but not set
fixes #4424 - overriden attributes get overridden in the UI
Fixes #9657 - merge NICs from compute profile in host create API
- updated api docs for hosts and interfaces- host create/update api actions now merge interfaces from compute profiles- NIC type mapping extracted into a separate class- return full host detail after host update
Fixes #1536 - Foreman should check DHCP entries on build.
Fixes #9480 - multiple NICs integration with compute profiles
From users point of view:- interfaces setup in compute profiles is back- interface related compute attrs get merged into host NICs upon compute profile selection- NIC overview table displays details in the column "Type"...
Fixes #9147 - move managed checks to the start of the DHCP/DNS/TFTP orchestration checks
fixes #9551 - checking the encryption format so osx doesn't fail
fixes #9397 - Make usage of @host.operatingsystem in UnattendedController consistent
Changed all host.os to host.operatingsystem
Refs #3809 - Remove classcheck cop
Refs #3809 - Remove cop IndentationConsistency
Refs #3809 - Remove cops for empty lines
fixes #8953 - update IPA userclass param on realm update
fixes #9369 - tftp should send host, not self to get the boot files uri
fixes #9124 - fixes detection of hashed root passwords
A root password that started with "$" would not be hashed, and thereforewould end up being stored in clear text and inserted in clear text to the/etc/shadow file, which just won't work. This adds a bit more to the match...
Fixes #9160 - use provision interface for image based provisioning
Fixes #7456 - Extract primary interface from host
All host must have at least one primary interface and one provision (can...
Fixes #9097 - Fix typo in value_to_sql method
Fixes #9099 - Upgrade rubocop to 0.28.0
fixes #9025 - reflect on association for _name(s) methods
Refs #3809 - Enable cop BarePercentLiterals
refs #8428 - fix typo in audit's belongs_to user
Fixes #8796 - Fix to_gb size calculation and constentize
Fixes #7523 - Removed autocomplete search from id fields
fixes #8739 - use global setting when hostgroup root_pass is blank
A blank (not nil) root_pass on hostgroups was preventing correct inheritancefrom settings in both hosts and nested hostgroups.
root_pass was also being copied from parents/settings to hostgroups when they...
Fixes #8267 - accept template_url in call to foreman from proxy
fixes #8356 - refactor reset method for libvirt
Fixes #8428 - Connecting audits to existing users
Refs #3809 - Remove useless assignments
Fixes #5573 - os search definitions for host available in unattended=false mode
fixes #8363 - Sort VMware attributes alphabetically
Fixes #844 #5725 - correct hosts count in puppetclass
Refs #969 - Foreman-side changes for serving templates from the proxy
fixes #7586, #7734, #7172 - user preferences for receiving mail notifications
Adds a framework for user-selectable mail notifications. The work isstill done in ActionMailer classes and launch by rake in cron, however awrapper called MailNotification is used to provide RBAC and make the...
fixes #7982 - Parameterize Operatingsystem.title to avoid non-alphanumeric characters in title (and friendly_id)
fixes #8056 - replaces . (dot) in params with - (hyphen)
Fixes #746 - Generate all the Host template when click on Build to avoid errors during installation
Fixes #8043 - Statistic links to OS
Fixes #2089 - Add network configuration to ENC
Fixes #6710 - unicode characters in url parameters
Original methods to_param defined on resources called name.parameterizeto get rid of url-unsafe characters. This function unfortunately alsostripped off unicode characters.
Changes:- parameterization extracted into a separate module Parameterizable...
Refs #3809 - Use parentheses in method definitions
Refs #3809 - Fix a few rubocop TODOs
Refs #3809 - Remove rubocop TODOs
Removed the following TODOs so that cops for these will run from now on:
Lint/AmbiguousOperator, DefEndAlignment, DeprecatedClassMethodsEnsureReturn, RequireParentheses, Void, BlockAlignment, EndAlignment,UselessAccessModifier,...
Fixes #7624: validation for location and organization long names instead of an error
fixes #4672 - added template_name template variable
fixes #3902 - [Openstack] allow selection of internal networks
This patch allows the user to select the internal network when deployinga new instance in openstack.
In Grizlly, this was done automaticilly, with a nasty side effect, thatall internal networks would get assigned (didnt see that as i had only...
fixes #2127: added support for root password hashing other than MD5
Fixes #6695: Adding two OS parameters with same name should raise an error
fixes #5896 - Set Compute Resource's 'Console passwords' option in API
Fixes #7164: Cannot create a domain that starts or ends with '.'
Fixes #6468 - Allow filtering/searching by active user
Fixes #7418 - fixed capitalization for some AR errors
Fixes #5692 - correct counts in cached_counters
Fixes #7041: fixed incorrect belongs_to mappings
:conditions reference columns from the local (to the relation) table,while the condition is applied to the remote side of the association.The condition can be removed, as it's redundant anyway.
Fixes #5929 - Taxonomy filter obey permissions
With this patch you can assign permissions like assign_organizations andassign_locations to particular user so that they can then assigntaxonomiesonly from set of taxonomies granted by their filters.
Global users would be still able to assign any taxonomy to a resource as...
fixes #7035 - expand column name for Rails 3.2.8 compat in Puppet class search
fixes #5119 - ensure GCE can list images.
Fixes #6830 - Add host search on compute_resource_id used in 1.5 auth migrations
fixes #3272 - allow 'admin' account to be removed and replaced
[REFACTOR] refs #6229 - extract validation to a method
this enables plugins (e.g. katello) to override the validation whenrequried.
fixes #5994: Power and Console buttons are available to non-admin users with appropriate permissions