Fixes #10248 - cloning volume information for virtual machines
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 #9591 - Added support for "inherit" state.
Fixes #11013 - Added common table css classes to the tables
Refs #3809 - Enable cop Style/AlignArray
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 #4830 - Added a new template to show when no trend data is collected.
Fixes #10550 - Settings API will not update when value parameter is missing
Fixes #11011 - notifications are removed when window is changed
fixes #5897 - when user doesn't have an email, email isn't required
Fixes #11089 - Adapt tests to Rails 4
This commit contains all changes to tests in branchhttps://github.com/theforeman/foreman/pull/2055 that I found to beretrocompatible with Rails 3. The more of these we can get in, the lesscode we will have to review for Rails 4, and the more relevant it will...
Fixes #11035 - template preview feature
fixes #11095 - lookup keys do not get saved to db on setter invokation
Fixes #10915 - Deleting a host removes all host specific overrides
Fixes #8343 - Consolidated code paths, and removed unnecessary DB calls for parent object
Fixes #11078 - Substitute find_all_by by where to comply with Rails 4
This commit takes away all instances up to this point of find_all_by toimprove Rails 4 compatibility. They are substituted by .where calls.
Fixes #10356 - changed the POST/PUT RABL template to be the same as the GET template
HTTP response code standardized to 201 on create.
Fixes #10438 - Removed trends:clean task, as it is no longer needed
Fixes #11025: Allow skip test runner to run through Jenkins test task.
The Jenkins CI gem implements its own custom test runner. When tryingto use a custom test runner in the jenkins environment, this testrunner needs to be inherited from and included as the last argument....
Fixes #10867 - OpenStack boot_from_volume is true only when checked
Refs #3809 - Style/blocks cop enabled
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 #10785 - force encoding for encrypted fields
fixes #10868 - use classify for a Symbol instead of humanize
fixes #10952 - remove empty test files
Fixes #10729 - clear notifications on login
Fixes #10607 - match bonds based on identifier only
Fixes #10888 - skip attached_to updates if identifier was blank
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...