Fixes #844 #5725 - correct hosts count in puppetclass
Fixes #7369 - External user groups update on login
Refs #3809 - fix shadowing outer local variables
Fixes #7971 - DHCP hostname commutative conflict fix
Refs #969 - Foreman-side changes for serving templates from the proxy
Fixes #8091: connect-src accepts WSS
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 #4463 - use unattended URL for hostgroup provisioning
fixes #7982 - Parameterize Operatingsystem.title to avoid non-alphanumeric characters in title (and friendly_id)
Fixes #3260- Allows puppet to manage value of smart class parameter that can be overrided
ref #8056 - Unit tests for to_param
Fixes #746 - Generate all the Host template when click on Build to avoid errors during installation
Fixes #2089 - Add network configuration to ENC
Fixes #8005 - Convert allowed NIC types to strings
- allowed NIC type classes need to be registered now- api for interfaces use lowercase human readable values for defining types- fixed output of api's create action to the standard format
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...
Fixes #7562- reducing number of reports created by test to stop sigkill during test
Fixes #3309 - Support deep merging of hash and array structures in smart class parameters
Fixes #7733 - Remove hosts.yml fixtures and use FactoryGirl instead
Refs #6549: Ensure tests to skip exist to avoid too deep stack.
fixes #7331 - delete unassigned os default templates
fixes #7985 - add support for ws:// in secure headers
fixes #7898 - ensure that format can respond to json / yaml
fixes #4439 - ensure user logins are handled case insensitively
fixes #7372 - API v2 - accept PUT/POST requests with wrapped root node to add/remove has_many associations of child nodes
fixes #7907 - Allow images from gravatar on secure headers
refs #7861 - remove trailing whitespace
fixes #7805 - Add several security related HTTP headers - security hardening.
refs #7876 - my_organizations/locations tests
Fixes #7884 - Display Fog errors on vm operation
Fixes #5139 - leftovers subscribe_to_all_hostgroups
Remove user_xxx unnecessary tables and notices
Update subhostgroups removed
Fixes for migration of foreign keys
Remove users from compute_resource fixture
Remove table notices after fk are removed for pg/mysql
Fixes #7401 - Add support for bonds
Renames physical_device to attached_to and move the virtual deviceform out of BMC.Extends the form for Bond devicesAllow configuration of bonds in KS templateParsing of Bond interfaces from factsMac address is required only for physical devices
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 #2321 - remove new puppet creation option
refs #7608 - i18n fixes, tests, use POST for action + only display link if authed
fixes #7163 - on host's edit page, show the source for the value of puppet class parameters.
fixes #4672 - added template_name template variable
fixes #6856 - API v2 - more efficient import puppetclasses for single environment
Fixes #6549 - Add :tests_to_skip to plugin registration block
Fixes #7572 - remove rundeck from core
Foreman rundeck is now a plugin available in https://github.com/theforeman/foreman_host_rundeck
fixes #4386 - gem friendly_id to simplify find by id, name, label, etc
Fixes #7393 - searching users by role_id not supported
fixes #5811 - Validates emails to RFC 5322 specification
Fixes #6999 - protect user logout against CSRF requests (CVE-2014-3590)
To avoid CSRF, logout is changed to be a POST request soprotect_from_forgery checks the CSRF token. However, in Rails 3 the onlystrategy available is to nullify the session of the attacker....
Fixes #6695: Adding two OS parameters with same name should raise an error
fixes #7257 - all facts returned if host has no facts
fixes #5896 - Set Compute Resource's 'Console passwords' option in API
Fixes #7450 - do not mark non-required fields
If validation is conditional we don't mark fields as required bydefault. Also fixes disabling by override using :required option.
Fixes #7164: Cannot create a domain that starts or ends with '.'
refs #7038 - use n_() for plural support, use Rails style length message
Fixes #7437: validation instead of PGError when host group title is exactly 256 characters
fixes #3544 - Editing an oVirt compute resource allows changing the type, which is unsupported
Fixes #6468 - Allow filtering/searching by active user
Fixes #5541 - disallow taxonomy assignment
If a filter resource does not support taxonomy assignment, we don'tallow to assign them to filter.
Fixes #1592: making report::expire faster and without errors
fixes #7430 - Adds subnet mask validation
Fixes #6874: Integers in settings can be up to 8 digits to avoid bigint out of range error
Fixes 4642: Fix intermittent test failures on rundeck functional tests
Fixes #3085: Request to be able to clone host groups via API
Fixes #7038: No error when hostgroup name exceeds 245 characters
Fixes #7329 - Correctly validate HostConfigGroup
fixes #7213 - exclude plugin permissions from seeds test
fixes #7314 - Set settings explicitly instead of stubbing Settings
Fixes #5692 - correct counts in cached_counters
fixes #7336 - editing compute resource should not clear existing attributes from the form
refs #6161 - Add test to make sure override is marked on create
Fixes #4596 - Change parent of host group via AJAX
Reparenting host groups requires submitting the form to see the changesnowadays, this fix makes the host group model inherit all propertiesfrom the parent and show them in real time.
fixes #4375: provisioning no longer loops when using oVirt + compute profile
fixes #7253 - change nil admin field on users to false, matches usergroups
When the admin field was nil, admin_changed? in user model validations canevaluate to true if the field changed from nil to false.
Fixes #3840 - Removes unused Signo related code
Fixes #7344 - ignore saving errors during fact parsing
Fixes #6444 - add support for virtual NICs
Extend additional interface details refs #2240
NIC facts parsing change and we create interfaces in Foreman accordingto facts we recieve.
Subclasses does not define their own attributes and serialize them toattrs hash. All BMC attributes are extracted to separate columns so it's...
fixes #4111 - Add image user data flag to API
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 #7066 - add back $login interpolation for LDAP service account usernames
In cases where an LDAP connection is required outside of the context of userauthentication (e.g. validation of external user group name), an error isthrown. Users are recommended to use dedicated service accounts for this...
Fixes #6831 - expire topbar cache for admin on taxonomy updates
Fixes #3976 - Add all view_ permissions to viewer user role
This PR tests that there is a match between foreman access control andpermissions seeded by the db script. It also checks all seeded view_permissions are part of the viewer role.
Fixes #4350 - Allow any format for role name
fixes #6205 Changed regex to parse CNs from SSL DNs on separator chars
Fixes #6998 - Accept native true for overwrite parameter to host API.
Fixes #6756 - exposes vmware resource pools and folders through the API
Fixes #6476 - oVirt VM association with multiple interfaces
Fixes #6608 - expose disk usage info through available_storage_domains API
fixes #6696 - API v2 - specify 'host' as the key in which parameters will be wrapped rather than Host::Base
Fixes #6400 - Show * next to required form fields
fixes #6964 - replace default scope that hides users with explicit scope
Fixes #6560 - Extract puppet parsing logic
Fixes #6962 - Use as_admin instead of find_by_login for usergroup tests
Fixes #6891: Taxonomies couldn't be seeded after initial run of seeds.
On a clean run of seeds, a seed prior to the taxonomies sets User.current.On subsequent runs, errors are thrown since User.current is not thrownand taxonomy creation expects this.
Fixes #5734 - API for external groups management
fixes #6861 - provide a way to detect host group provisioning
fixes #6881 - check if in rake when validating template changes
Fixes #6446 - Forbidding non-json POST/PUT requests in v2
Fixes #6566 - renaming a node now resets the certname on provision
If use_uuid_for_certificates is true, reuse the certname UUID value.If false, then reset the certname if it does not match the hostname.
Fixes #6620: Allow plugins to define a file to be included in test_helper.
For some plugins additions to the test_helper are needed to allowthe test suite to pass. This checks if a file test/support/foreman_supportexists and requires it after all the Foreman test setup is done.
Fixes #813 - External usergroups can be linked to an LDAP auth source
Fixes #6786 - Handle error when no taxonomy params get sent
Basically, no organization params are getting sent as the bug reporter is notusing json and not using wrapped params. You can also test this by doing:
curl -X POST http://localhost:3000/api/v2/organizations...
Fixes #215: Parameters can be saved without a value