Fixes #4419 - rearranging smart class parameters edit form
Fixes #10656 - Prevent audits on counter cache update
Fixes #9187 - Overrideable empty class parameters don't validate default value
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 #4424 - overriden attributes get overridden in the UI
fixes #7764 - add quirks mode to JSON.dump
Refs #3809 - Remove cops for empty lines
Fixes #8052 - allows erb in array and hash params
Refs #3809 - Remove useless assignments
Fixes #3260- Allows puppet to manage value of smart class parameter that can be overrided
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
Refs #3809 - Use parentheses in method definitions
Fixes #5692 - correct counts in cached_counters
Fixes #3300 - extract translations on new smart variable page
fixes #6636, #6657, #6694 - add field length validations, extend audit field length
Fixes #6633: Smart variables and smart class parameters can have the same parameter name
fixes #1902 - audit changes to lookup keys and values/overrides
fixes #4682 - smart variable for a puppet class not showing in UI
fixes #4639 - array in lookup_value incorrectly displayed in form
fixes #4256 - makes columns sortable in the UI
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #3693 - API v2 - accept GET json format of object in PUT/POST requests to add/remove has_many associations
fixes #3516 - resource names (inc. domains) are now being parametrized when used to construct urls
fixes #3249 - change regex syntax from start/end of line to start/end of string
fixes #3248 - missing N_() on validation messages
fixes #2741 - rails 3 syntax
fixes #2810 - more restful API v2 JSON responses in puppetclasses
NOTE: breaking changes to API v2 api/lookup_keys does not exist, replaced by api/smart_variables and api/smart_class_parameters
fixes #3090 - new puppetclass creation fails when adding smart variable
fixes #2985 - remove #as_json method from AR models since rabl views used for API
fixes #2945 - extend AR to add getter/setters *_name(s) for has_many/belongs_to associations
fixes #2142 add Smart Parameters and Smart Class Parameters to API v2
fixes #2478 - smart-variable in ENC stopped working
fixes #2220 - Suport hostgroup puppet classes parameters inheritance.
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 #2254 - Add STI to hosts table
Signed-off-by: Joseph Mitchell Magen <jmagen@redhat.com>Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
Make sure we're not merging nil in to_json
Options argument might be nil. Therefore it fails when trying to call {}.merge(options) (for example when recording examples with apipie).
removed class_name from all relationships that has_many :through as its invalid.
It seems like we hit a rails bug, where the joins were incorrectly created,once removed, it was generated correctly.
reviewing the docs again, say that its ignored with hmt relation, so removing anyway.
fixes #1834 to get foreman running under ruby 1.9.3
fixes #2003 - Improve Parameterized classes values retrieval time
This patch adds a new classification class whichtries to fetch all values at once
The initial implementation cared about a name / value at a timehowever getting all at once (e.g. during a puppet ENC call) is much more...
This commit adds most of the functionality required for API v1
The overall goal was to extract the existing JSON responseoverall controllers, and to move them to a seperate name space.
fixes #1028 - show and override puppet class parameters in the host form.
removed lower() on default_scope to get tests to pass in postgresql
fixes #1887fixes #1839
refs #832 do not force smartvars order saved if they are the default or not sent over the wire.
refs #832 - making sure that ENC values cast - skipped this patch somehow
fixes #832 - adds parameterized class support
Credits:This patch is based on the original work of Olivier Favre<olivier@yakaz.com> many many thanks!
fix smartvar api output
code smell
WIP rails3 migration
fixes #1148 - CRUD on lookup values via the API
fixes #1128 - Ability to match on Parameters in Smart Variables
fixes #322 Ability to add custom variables and multiple values resovledin a dynamic Hierarchally order
This commits introduces the ability to define variables per puppetclass.
additionally, each class can have multiple values, depends on the hostwhich is requesting that variable....
Fixes #670 - Adds proper json support for most CRUD operations
fixes #208 - use nested_attributes for lookup parameters
fixes #141 - add support to extlookup kind of queries through foremanusage:wget -q -O - "http://foreman/lookup?key=ntpserver&order[]=my.domain&order[]=common" if you want it in YAML, just add:wget -q -O - "http://foreman/lookup?key=ntpserver&order[]=my.domain&order[]=common&format=yml"