Fixes #23930 - PXELinux loader is now preferred
Fixes #19789 - fix Layout/SpaceAroundOperators cop
Fixes #22855 - Add full breadcrumbs functionality
Fixes #19787 - Fix Layout/SpaceAfterComma cop
Fixes #19840 - Fix Rails/ReadWriteAttribute cop
Fixes #19839 - Fix Rails/Present cop
Fixes #22331 - Fix Rails/Presence cop
Fixes #19832 - Fix Rails/FindBy cop
Fixes #15634 - RancherOS support
New OS support.
Fixes #23012 - allow OS release in safemode
This is needed for CoreOS provisioning templates.
Fixes #22918 - Audit all taxonomies assignments
We need to move all audited definitions to top of models because allconcerns can use audit_associations call which relies on audit beingalready activated.
Fixes #21643 - fix and move nfs_visibilty.js to webpack
Fixes #19844 - fix Security/Eval cop
Fixes #19700 - update rubocop rules
The following changes have been made:
- Performance/RedundantMerge:changes lines such as:```not_found_message.merge! :message => options```to:```not_found_message[:message] = options```
- converts str.match() to str =~ ()...
Fixes #13772 - orchestration now uses app logger
fixes #16792 - don't modify AR record attributes in-place
Rails 5 may call #freeze on strings passed in as an attribute duringvalidation, so attributes must not be edited in-place with gsub! andsimilar methods.
fixes #17574, #17364 - update scoped_search to 4.x
scoped_search's sort() now accepts a replacement for params which isfiltered in an overridden Foreman sort helper, permitting additionalparameters used in Foreman's index pages.
Replaces :in and :alias in search definitions with preferred keywords.
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 #17354 - test and improve idempotency of OS fact parser
Fixes #16652 - UEFI Grub2 support for non-intel archs
Fixes #16416 - Enable reterive password_hash from templates
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...
fixes #3917 - replace protected_attrs with strong parameters
Filtering of attributes has moved from the protected_attributes gem tostrong parameters in controller concerns, to be in line with currentRails recommendations.
Concerns are shared between UI and both API controllers and list the...
Fixes #12193 - Stop using counter_cache for host[group] counts
This is aimed to prevent deadlocks caused by Rails' implementation ofcounter_cache that is hit when multiple hosts are created or updated atthe same time. An added benefit is that the counters will now display...
Refs #3809 - Turning on the AndOr cop
Fixes #15439 - improved error reporting for media
Refs #3809 - Turning on some rubocop cops
Fixes #15009 - Make the method boot_files_uris public
fixes #12962 - Add Xenserver to list of supported OS families.
Templates are included in community-templates repo.
fixes #12791 - allow access to boot_files_uri and medium in safe_mode
Fixes #12919 - allows mass assignment of provisioning_template from os
Fixes #12911 - Turning on 0.35.1 cops
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 #7568 - Use attr_accessible for Rails 4 upgrade
Fixes #11846 - Specify join_table and foreign keys for habtm associations
Rails 4 does not figure out these associations automatically and itwon't find the tables. Instead, we have to specify join tables for habtmassociations. This is a Rails 3 compatible change.
Refs #3809 - Stabby lambda syntax for oneliners
I started by spotting log.rb which didn't have a lambda wrapping itsdefault scope, as needed by Rails 4. Since the style guide and mostRails 4 documents used the stabby lambda, I turned on the cop so that we...
Fixes #10526 - Support for Cisco POAP
Fixes #10656 - Prevent audits on counter cache update
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 #7743 - ensure name is unique in scope of major and minor
Fixes #9339 - Changed the OS sorting to title
Title uses the full string, not only the name part.
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 #6884 - Installation media without $minor generate broken $version
$version is generated with the major version and a dot, producing pathslike foo.bar/x64/7. which don't exist. For CentOS at least we want to generatea path without the dot. The default values for these media have been changed too.
Refs #3809 - Enable cop StringConversionInInterpolation
Refs #8857 - Styling fixes for coreOS boot_files_uri
fixes #8857 - refactor Debian boot_files_uri into parent class to match CoreOS
fixes #7652 - Implements CoreOS OS support
Fixes #8414 - extracts validators from models
Also cleans up some unused validators looking for trailing whitespacethat is stripped by the StripWhitespaces concern.Tried to make some sense from unmatching regexps and validation errormessages. Some validations might need a different regexp to check for what...
fixes #7982 - Parameterize Operatingsystem.title to avoid non-alphanumeric characters in title (and friendly_id)
fixes #7331 - delete unassigned os default templates
Fixes #7933 - OS api responses miss field title
Refs #3809 - Use parentheses in method definitions
Refs #3809 - Fix a few rubocop TODOs
fixes #4386 - gem friendly_id to simplify find by id, name, label, etc
fixes #2127: added support for root password hashing other than MD5
Fixes #6695: Adding two OS parameters with same name should raise an error
Fixes #215: Parameters can be saved without a value
fixes #6636, #6657, #6694 - add field length validations, extend audit field length
fixes #6432 - add validation for attributes missing :presence => true and remove duplicate validation messages 'can't be blank'
Fixes #3377 - Add altlinux support
[REFACTOR] refs #6229 - extract validation to a method
this enables plugins (e.g. katello) to override the validation whenrequried.
fixes #6355 - OS free text search shouldn't search associations
refs #4305 - add support for OracleLinux
Fixes #4976 - ensure the process is really running inside a rake task
fixes #4256 - makes columns sortable in the UI
fixes #4201 - update operating system by label, use description or fallname otherwise
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #3906 - Support for Junos ZTP
fixes #1489 - add AIX family and facts importer support
Fixes #3721 - Map OS family to a display variant
Fixes #3720 - Add description field to operatingsystem
fixes #2572 - FreeBSD unattended installation support via mfsbsd
fixes #2818 - validation of OS families in ptables
fixes #2741 - rails 3 syntax
fixes #2985 - remove #as_json method from AR models since rabl views used for API
fixes #2932 - add find_by_fullname for Operatingsystem
fixes #2837 add an interface to add repositories to kickstart, cleanup similar methods
fixes #2801 - remove LOWER in default_scope of models that could cause PG error
Add Gentoo operating system
fixed #2474 - Foreman Exceptions are not initalized correctly
fixes #2422 Rails 3.2: before_destroy / dependent => :destroy ordering
fixes #2421 added missing has_many :hostgroups and missing :dependent => destroy
fixes #2393 - Couple of models broken with audited 3.0.0
this is not a fix for the mass assignment problem, rather just to solve immedient packaing issue upstream.
a follow up on mass assignment should be done via another commit.
add SLES and SLED to Suse family
Feature #2368 - use N_ for model validators
As per https://github.com/grosser/fast_gettext/wiki/activerecord
Feature #2368 - i18n extracting strings
fixes #2254 - Add STI to hosts table
Signed-off-by: Joseph Mitchell Magen <jmagen@redhat.com>Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
fixes #1988 - CRUD Actions for nested parameters for host, domain, hostgroup, os
e.g.
GET /api/domains/6/parametersPOST /api/hosts/6/parametersPUT /api/hostgroups/6/parameters/100DELETE /api/operatingsystems/6/parameters/100
feature #1906 add Trend information
Signed-off-by: Amos Benari <abenari@redhat.com>Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
require_nfs_access method should not be a private method.
audit as twitter and versions for template.
This also closes #1377 as it offer versions and diff view of the tempates.
it is not ideal, but it should handle the most common case for now,where we should open other feature requests to support all of the ideas in #1377
wip audits upgrade
fixes #1669 - epel is now a snippet.
This adds another method to install the epel repo, as a snippet,allowing users to customly change the url, in case that it doesn't fittheir needs or if the url changes again.
to use, simple use:
<%= snippet "epel" %>
adds ec2 provisioning support fixes #1223
- added progress bar for instance creation- minor fixes for certname based deployments- added ssh provisioning support to orchestartion, which utilize finish scripts by default- added images support (part of the vm compute tab)...
fixes #1620 - Basic support for Archlinux
fixes #1254 - initial support to pxeboot windows
WIP rails3 migration