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 #11035 - template preview feature
(cherry picked from commit de9e7adaa579db01d043d6a04a83c946a3d33850)
Fixes #10915 - Deleting a host removes all host specific overrides
(cherry picked from commit 674755f43684f76e6b23ca499a57153aad3db5e2)
Fixes #10438 - Removed trends:clean task, as it is no longer needed
(cherry picked from commit d933e388953ea5f4b89cb5f0a095251628e0d5cf)
Fixes #10867 - OpenStack boot_from_volume is true only when checked
(cherry picked from commit 776cff93637b006cb69063fecf142e776acd1378)
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 #10868 - use classify for a Symbol instead of humanize
(cherry picked from commit 707d9bdda6bb95cdaf6f77281ee5a16e2b5bc555)
Fixes #10729 - clear notifications on login
(cherry picked from commit 08fb737fc73113560e9881e48c6d02f6f1a60cc2)
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 #10727 - Added validation to require BMC Smart proxy in order to add BMC nic
Fixes #10633 - Associate architechture to OS during fact import
Fixes #10526 - Support for Cisco POAP
Refs #10720 - Use API v2 response for vm_compute_attributes
Fixes #10780 - factory girl examples for provisioning
fixes #10829 - non-admin user cannot update admin password
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 #6976 - Build default PXE menu should be POST request
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 #10715 - api build_pxe_default returns non-JSON message
The fix adds a new method `render_message` for responding with a statustext.
fixes #9301 - make puppet environment optional for hosts
fixes #10695 - don't seed initial taxonomies if there are any already
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 #3711 - usergroup name can't be null
fixes #10646 - disable NIC subnet taxonomy checks when feature's disabled
Fixes #10664 - map only physical interfaces in compute orchestration
fixes #10660 - taxonomies are able to have the same name for different classes
fixes #10397 - parse Windows Local_Area_Connection interface name
fixes #9031 - Add routes to view template_combinations per hostgroup / environment
fixes #10586 - make the 401 status comparison actually match.
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 #10439 - add tests for trends:reduce task to deal with additions
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 #10507 - wait for completion of update env request
When testing the multiple host environment update, the integration testsubmits the modal popup form and then the test ends. The server threadtakes some time to update all host envs, add audit entries etc, but in...
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 #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 #5568 - Improves performance of trends:clean rake task
Perform trend counter dupe counting within the database rather than in the Ruby code.
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 #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,...
Fixes #8333 - correct matcher values with multi-key matchers
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 #8566 - reorganized settings categories
fixes #9812 - Adds validation on override value, ensure match returns error if blank
fixes #10342 - adding :host_parameters_attributes to except list in template_used()
Fixes #9674 - Handle ProxyAPI exceptions on PuppetCA controller
fixes #10287 - provide helper methods for proxy features
fixes #7743 - ensure name is unique in scope of major and minor
Fixes #5554 - fixed hostgroup and fqdn validations in multiple matchers
Refs #3809 - Remove semicolon cop
fixes #9773 - correctly render template URL
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...
refs #10168 - fix test that created a duplicate primary interface
Subtle interaction between 4d5b979 and a5dc3e2, resulting in the testthat tried to add an interface to an unmanaged host duplicating the onethat was automatically added.
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...
fixes #10234 - Fix NIC taxonomies validation tests
Some of the tests in #9391 changed the way subnets should work regardingtaxonomies and some test data, this commit fixes that so tests are greenonce again.
Fixes #9391 - Added validation code to NIC, so it validates that host's location/org is compatible with the one set on NIC's subnet
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 #10123 - Tests API v2 external user groups
The addition of a .refresh call after create, update and delete, causedour tests to fail because of many failed calls to LDAP.We can just expect the method to return true as we're not testing therefresh functionality in these methods.
Fixes #10093 - VMware#create_vm calls clone_vm
Apply '.with_indifferent_access' to the args passed in to create_vm,ensuring symbol test for args[:image_id] succeeds when args["image_id"]is present.
fixes #9993 - Removes root password and partition table reqs unless build mode selected
Fixes #9884 - refresh deleted external usergroups
Fixes #9947 - restrict user taxonomies if none is set
Fixes #7615 - filter ignore current context
Fixes #9362 - Corrected CoreOS mediapath
Fixes #8812 - Pass model type so search_for is called on Host
At least on version 1.6.1, the absence of this second parameter leads to aruntime crash when it's time to validate if the current user (non-admin) isallowed to perform a power operation on given a host via the APIv2....
fixes #5909 - return r/w resources from authorized scope
Fixes #10002 - Add attribute ancestry to taxonomies API v2
Fixes #9957 - rename and fix auth source tests
Fixes #8106 - Dashboard rewrite to allow better customization
fixes #9778 - return r/w host when finding and associating to CRs
Fixes #9967 - make sure User.current is isolated
Fixes #9926 - do not always set LDAP encryption method
Fixes #8890 - Allow selection of plaintext "encryption" method for root password
Fixes #9618 - make identifier uniq per host
Fixes #8727 - DHCP validation does not fail on discovered leases