Fixes #24022 - unattended error input is UTF-8 friendly (#5761)
Fixes #23626 - Move autosign to build queue
Fixes #21007 - new unattended action 'failed'
Fixes #19781 - Fix Layout/LeadingCommentSpace cop
Refs #23177 - id is not used for unattended order
Fixes #23177 - unattended warning on multiple MACs
Fixes #23081 - Fix Style/SafeNavigation cop
Fixes #19894 - Fix Style/RedundantParentheses cop
Fixes #23123 - Fix Rails/ActiveRecordAliases cop
Fixes #22756 - Allow provisioning based on MAC address
Fixes #22615 - template rendering is kept inline
fixes #22411 - unattended: render template macros from plugins
fixes #22444 - do not serve templates with expired token
Fixes #20957 - Replace alias_method_chain with Module prepend
Deprecated in Rails 5.0 and will be removed in 5.1. Some instances ofclasses overwriting existing methods can be handled with `super`, otherconcerns or modules are changed to use prepend instead of include....
Fixes #20951 - Replace render :text with :plain
Fixes #19173 - build notification succeeds with expired token.
fixes #17395 - use admin user for load_template_vars
When `load_template_vars` is called from before_action, the current usermust already be set to ensure caching of parameters inside Host#paramsis done with consistent permissions. Otherwise when Foreman::Renderer's...
Fixes #17296 - Add setting access_unattended_without_build
Fixes #17343 - set deep munge config off
deep_munge was introduced as a solution to keepRails secure by default which results in'empty array becomes nil in params'.Thats why, set deep_munge config off in application.rb.Also, added changes which will cast param argument to string...
Fixes #16318 - PXE templates now work in safemode (#3783)
pxe_kernel_options added to safemode
Fixes #12634 - New HW Model flag pxe_loader
Implementation of
https://github.com/theforeman/rfcs/blob/master/text/0001-PXE-Booting-UEFI.md
In short, new host/hostgroup flag PXE loader is added to specify TFTPDHCP filename and Foreman now orchestrates all PXE-capable templates...
Refs #3809 - Using defaults for AndOr cop
fixes #15720 - rename *_filter to *_action
The older 'filter' name is changing in Rails to 'action' and is beingdeprecated.
Fixes #15490 - adding view_host filter and better msg
Users who are logged in with permissions to view some hosts are able topreview provisioning templates for any host by specifying its hostnamein the URL, as the specific view_hosts permissions and filters aren't...
Refs #3809 - Turning on the AndOr cop
Fixes #15599 - Unattended controller can access host params (#3629)
Refs #3809 - Turning on some rubocop cops
Fixes #6958 - supports in nested hostgroup in default PXE menu
The host group interface provides the opportunity to nest hostgroups,with host groups inheriting parameters from parents.when the default PXE menu is created however,this nesting is not replicated, and only the final element...
fixes #13039 - remove TemplateKind DB calls from UnattendedCtlr
UnattendedController created actions/methods during initialisation perknown TemplateKind, relying on the DB being populated. This causedordering issues when a plugin loaded the controller in a test...
Fixes #7230, #12021 - Upgrade to Rails 4.1.5
This commits upgrades Rails to Rails 4.1.5. See a description of thechanges included here, and go to the pull request in GitHub to see moredetailed explanations:
Fixes #11643 - [API] Add preview template to host
Fixes #11035 - template preview feature
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 #10471 - use Rails' force_ssl
fixes #9397 - Make usage of @host.operatingsystem in UnattendedController consistent
Changed all host.os to host.operatingsystem
Refs #3809 - Remove cops for empty lines
fixes #9358 - match unattended template requests against provision interface
fixes #9362 - Add mediapath support to CoreOS
Fixes #7456 - Extract primary interface from host
All host must have at least one primary interface and one provision (can...
Fixes #8838 - Replace HTTP error codes with human-readable symbols
fixes #7652 - Implements CoreOS OS support
Fixes #8267 - accept template_url in call to foreman from proxy
Refs #3809 - Remove useless assignments
Refs #3809 - Use parentheses in method definitions
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 #4672 - added template_name template variable
fixes #4386 - gem friendly_id to simplify find by id, name, label, etc
fixes #6861 - provide a way to detect host group provisioning
Fixes #3377 - Add altlinux support
fixes #5436 - provisioning templates are world accessible
fixes #1809 - foreman realm integration
fixes #4268 - don't search for host with nil IP on hostname spoofing
fixes #359 - hostname spoofing for unattended installation templates
Fixes #4020 - enable @static to work on all OS template types
fixes #3906 - Support for Junos ZTP
fixes #3752 - move data population from migrations into seed script
fixes #2572 - FreeBSD unattended installation support via mfsbsd
fixes #3239 - pxelinux spoofing on postgres now works
fixes #2837 add an interface to add repositories to kickstart, cleanup similar methods
Fixes #2576 - Add optional update of Host.ip from built request
fixes #2631 - fix remote code execution via controller name (CVE-2013-2121)
Feature #2368 - i18n extracting strings
upgrade foreman to rails 3.2.13
This commit updates from rails 3.0.x to 3.2.x, main changes include:
Users who uses foreman in production, make sure that you now compileyour assets, e.g...
fixes #2202 - add all unassigned actions to appropriate permissions
fixes #2076 Windows provisioning template generation fails
Add organization and location to foreman.
This feature allows foreman to provide multi location, multi tenant andmulti organizations capablities.
the idea is that resources within foreman (e.g. hosts, subnets, users,environments etc) can belong to one or more locations and organization,...
fixes #1917 Solaris Sparc provisioning templates fix
Use tokens for discovery of host identity during installation
- fixes #1069- fixes #1720- refs #969
fixes #1799 moved REMOTE_ADDR verification to settings
fixes #1737 - make sure mac based matching are case insensetive
Return a HTTP 500 when we fail on handle_ca (fixes #1725)
fixes #1619 - X-Forwarded-For multiple IPs
Add AIF pxe type - refs #1620
code smell
fixes #1175 - PXELinux does not render with spoof
fixes #1446 - expire idle web sessions
fixes #1357 - Provisioning Snippets broken after rails3 upgrade
WIP rails3 migration
fixes #1208 - Unauthenticated IP spoofing should not be allowed
fixes #1058 Adds support for OpenSuSE provisioning
fixes #898 - remove old search leftovers across the app
Fixes #820 - Intel Solaris support
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>
fixes #903 - Show resulting provisioning options at the Host edit screen
fixes #899 - There are numerous typos and formatting issues with the code
Fixes #609 - Orchestrate puppetca operations
This also includes adding support for a puppet smart-proxy target typeand providing migration supportUpdated to provide backward compatability for host and hostgroup objectsNow terminates the build and incorporates other fixes...
Fixes #664 - smart-proxy features
Now provides feedback on the smart-proxy connection and query
Fixes #632 - Adds the ability to generate a PXE menu containigprovisioning template and hostgroup combinations on smart proxies
Fixes #631 - Adds the ability to set default values for hostgroups, whichare automatically applied when creating a new host (and selecting thathost group), and allows for templates to be rendered with those defaulthostgroup values
Fixes #626 - Render error directly in case of sandbox rendering, so can tell what went wrong
fixes #604 - making safemode template rendering configurable
Fixes #263 - Refactored Foreman to use correct singular and pluralization of medium/media
Fixes #469 - Changing templates to be rendered within a safemode/sandbox
Fixes #378 - Adds support for multiple configuration templates
Configuration templates (Kickstart, preseed, syslinux, gpxe etc) can nowbe saved in the database directly.
Each template is associated with valid operating systems (unless if its asnippet which can rendered via all other templates) and a possible...
minor refactoring to unattended controller to include constants for filters
fixes #470 - Add gpxe scripts support
Ensures that all anonymous actions are allowed - refs #366
Fixes #298 - Add tests to unattended controller
Fixes #284 - Use MAC address if IP doesn't exist when tftp booting
Added support for Debian-based distributions for automatically populating TFTP directory.