Fixes #3650, #11600 - Compute Resource availability_zones, flavors, security_groups API v2 endpoints
fixes #11415 - using the correct method for classification caster
fixes #3145 - host with a lot of parameters quicker
Fixes #10782 - global host status
Plugins can add their own substatuses. These are automatically...
fixes #10832 - separating lookup keys into puppet and variable
Refs #3809 - Enable Rails delegate cop
Fixes #10731 - Allow matches to merge with default values
fixes #10232 - moving validations and casting out of lookup key and value
Fixes #11206 - plugin API now expose default role permissions
Refs #3809 - Enable cop Style/IfUnlessModifier
Refs #3809 - Enable cop Style/AlignArray
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 #6854 - Api status allowed for all users
Fixes #11035 - template preview feature
Fixes #11012 - Making Puppet menu cosistent
Refs #3809 - Style/blocks cop enabled
Fixes #10635 - Formalize deprecation warning
Fixes #10785 - force encoding for encrypted fields
Fixes #10409 - Rails 4 compatible changes with Rails 3
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 #10736 - Add permission specific logger
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 #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 #6332 - skip taxonomy queries when features are disabled
fixes #10397 - parse Windows Local_Area_Connection interface name
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 #8333 - correct matcher values with multi-key matchers
Refs #3809 - Remove nested ternary and nil checking
Fixes #10289: default root password hash is SHA256 now
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 #5909 - return r/w resources from authorized scope
Fixes #8106 - Dashboard rewrite to allow better customization
Fixes #8890 - Allow selection of plaintext "encryption" method for root password
fixes #8516 - removing the require 'fog' from the project, requiring only what we use
Fixes #9842 - rename the register method which deprecates the old one
Fixes #9787 - correctly typecast default values
JSON and YAML default values were double typecasted, once by activerecord and then by value_of_key method.
Fixes #9673 - treat YAML and JSON lookup keys as strings
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 #7505 - Changed the way trends are stored in the DB. Now they are stored as intervals
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 #9593 - replace .all.map(&:<attr>) with .pluck(:attr)
fixes #9551 - checking the encryption format so osx doesn't fail
fixes #9334 - reverse the order of 'hosts/provisioning setup' sub-menu
Refs #3809 - Remove cop emptyliteral
Refs #3809 - Remove classcheck cop
Refs #3809 - Remove cop IndentationConsistency
Refs #3809 - Remove cops for empty lines
Fixes #9104 - allow disabling of interface updates
fixes #9030 - Adds support to clone config template via api
Refs #3809 - Enable cop StringConversionInInterpolation
Fixes #8052 - allows erb in array and hash params
Fixes #7456 - Extract primary interface from host
All host must have at least one primary interface and one provision (can...
fixes #8993 - handle FreeBSD patch releases better
Fixes #8922 - authorized_smart_proxy_features should not fail if not implemented
Fixes #8934: Allow plugin menu items to disable turbolinks for their links.
fixes #8484 - make SmartProxyAuth concern more useful to plugins
Fixes #8796 - Fix to_gb size calculation and constentize
fixes #8590 - handle missing 'config' when listing vSphere VMs
Fixes #8551 - use most specific matcher for inherited hostgroups
Host recieves correct smart_class_parameter value when multiple overrides forinherited host groups exist for parameter.
Fixes #7525 - don't fail on structured facts
Fixes #7233 - Drop Ruby 1.8.7 and revert Ruby 1.8.7 specifics
Refs #3809 - Remove useless assignments
Fixes #8325 : Enhance the plugin object to use the gem path to understand where the plugin is installed
Fixes #4478 - API documentation localized
fixes #8281 - remove id-name parameterization from puppetca
Refs #3809 - fix shadowing outer local variables
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 #3260- Allows puppet to manage value of smart class parameter that can be overrided
refs #746 - fix string interpolation ordering
Fixes #746 - Generate all the Host template when click on Build to avoid errors during installation
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 #3309 - Support deep merging of hash and array structures in smart class parameters
fixes #3492 - API v2 nested routes for each controller
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 #7819 - Windows facts returned from kernelrelease
https://tickets.puppetlabs.com/browse/FACT-341 operatingsystemreleasereturns anon-numeric value since facter 2.0. Commit now reads windows opel version fromkernelrelease fact.
fixes #7163 - on host's edit page, show the source for the value of puppet class parameters.
fixes #7608 - Override all puppetclass parameters in one click
Fixes #7738 - logout_url is nil by default for all SSO backends
fixes #7737 - no specific logout URL needed, will go directly back to login.
Fixes #6549 - Add :tests_to_skip to plugin registration block
Fixes #7591 - changed Sign out to Log out to fix inconsistent terminology around Login vs Sign Out
refs #2127 - instantiate exception and pass i18n arg correctly
fixes #2127: added support for root password hashing other than MD5
Fixes #7592 - flipped the order of logged-in user menu
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 #2232 - speed up Host view via AJAX
Fixes #7418 - fixed capitalization for some AR errors
fixes #7299 - do not display 'Mismatches Report' button when no view-host
fixes #7213 - exclude plugin permissions from seeds test
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 #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 #3809 - Add rubocop to check Ruby code
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.