fixes #4639 - array in lookup_value incorrectly displayed in form
(cherry picked from commit 801a90d196d363aadae7bf2be9347ff6e46e0471)
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"