foremancommunity-templatesforeman_api
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 #15336 - Enables proper deletion of Orgs
Prior to this commit if you had an Org/Location with a host and tried tothe delete the Org. You would end up with an error that looks like
<Org> is used by <Host> (RuntimeError)
Basic error is these 2 areas...
Fixes #7568 - Use attr_accessible for Rails 4 upgrade
Refs #11846 - Specify join_tables for taxonomies
Missed this as part of the previous fix for 11846. As a brief reminder,it's necessary to specify the join table for habtm associations on Rails4, and it doesn't hurt on Rails 3, so we should do it before the upgrade.
Fixes #11650 - show global parameter value inherited from parent taxonomy
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...
Refs #3809 - Remove cops for empty lines
Fixes #8401: n+1 query on group parameters host edit
Hostgroup tries to eager load the group parameters but there's an errorin the code that renders the eager loading useless.
Fixes #4613 - Remove duplicate scoped search from taxonomies
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...
View revisions
Also available in: Atom