fixes #3752 - move data population from migrations into seed script
fixes #3280 - authenticate returns true for API requests when login:false
fixes #3693 - API v2 - accept GET json format of object in PUT/POST requests to add/remove has_many associations
fixes #3491 - API v2 rabl templates base, main, show for each controller
fixes #2983 - Add autosign#index to API v1 and v2 and remove from UI controller
fixes #3646 - API v2 change default root name for api json single object response to no root node but make it configurable
fixes #3137 - API v2 - show error if optional nested object does not exist for nested route
fixes #3018 - API v2 metadata for pagination, search, order in index collection json response
fixes #3011 - default root node name for api collections json response to :results but make it configurable
fixes #3736 - users API uses login name as an identifying attribute
fixes #3510 - plugin interface for registering a plugin, updated menu system
fixes #2763 - correcting doco links
fixes #3017 - split APIv2 controllers from v1 parents
fixes #3597 - removing rr gem, make tests consistent by using just mocha
fixes #3566 - exposes orchestration tasks via the API at /api/orchestration/id/tasks
fixes #3577 - do not treat `params[:dryrun]` with value `false` as true
fixes #2951 - Host API documentation lacks compute_resource_id
fixes #1830 - auto assign puppet proxy if its not defined upon facts/reports event
fixes #3140 - API to allow importing of puppet classes
Fixes #3293 add FactoryGirl to tests
fixes #3111 - v2 API calls to /api/[class]/[object]/parameters/[parameter] return wrong object
fixes #1244 - add smart proxy feature refresh link + API call
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 #3101 - list available images for CRs, add iam_role field to images API
Fixes #2984 - API v1/v2 StatisticsController and remove JSON from UI controller
fixes #2400 migration to remove orphaned records and add foreign keys constraints to database tables
fixes #2969 - remove all legacy api code in UI controllers, add deprecation response
fixes #3046 - add NIC CRUD, power and boot operations API
Fixes #2414 - Move puppet report processing code to the report processor
This creates a API route for POST:/api/reports which matches the GETformat for reports. Tests are updated, with the report model testsmoving to the puppet-foreman module (along with the report fixtures).
fixes #2863 - restrict APIs to resources that a user is permitted to manage (CVE-2013-4182)
Refs #2414 - Remove Puppet from facts API and Settings
Reports are still in progress and will come in a later PRDB schema is updated to not need puppet/rails
fixes #2142 add Smart Parameters and Smart Class Parameters to API v2
fixes #2728 - POST /api/hostgroups does not accept ancestry
fixes #2602 - scoped_search error when using postgresql
fixes #2539 - added API puppetrun access permission and test
fixes #2553 let setting admin attribute on user creation
fixes #2550 Puppetclass search_by_host doesn't return all classes for an unknown host
Tests for puppetclass API searches on nonexistent hosts
Puppetclass search_by_host does not fail if Host does not belong to any Hostgroup
Puppetclass search_by_host query looks for distinct puppetclasses instead of pruning them afterwards...
refs #2400 clean up tests so there are no orphaned foreign keys
fixes #2378 - added Minitest and other code cleanups
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 #2250 API v2 add/remove puppetclasses from hosts and hostgroups
fixes #2299 - Parameters Controller (API v2) can reset parameters (delete them all)
fixes broken build
one extra / unused test was added by mistake
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
fixes #2239 API v2 CRUD for locations and organizations and added nested loc/org
v2 api for configuration_templates and template_combinations
fixes #1814 - converts sp_* attributes into a BMC interface class
this patch also includes the following
fixes #1890 api host status
fixes #1834 to get foreman running under ruby 1.9.3
added compute resource actions and tests
host routes api changes squashed
Fix inter-test dependencies
After the thread clean-up, some tests were failing because theyimplicitly expected User.current to be set. Stating the dependenciesexplicitly.
added template_kinds controller to api
set apiadmin user in headers before api controller tests
smart proxies api - filtering by proxy type
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.
Fixed array structure in API v1 user controller test
used media/show partial and added to tests
added dns_id, dhcp_id, tft_ip attributes even though they are nested as children to be consistent with current api
typo on index.json.rabl for environments.
added missing s char
Subnets API
a bunch of fixes to get functional tests running under 1.9.2
added environment API
api v1 - domains controller
api v1 - added media and dashboard controllers
api v1 - config templates
api v1 - Users controller and tests
- split api routes to separate routes file- better detection of permission failure in model- fix ApiConstraints- catch bad routes in api and return json- render home#index links from restapi- fixed resource params recognition
api v1 - fisrt version of bookmarks controller
Fixed bookmark tests (API v1)
api v1 - Authorization
api v1 - architectures controler and tests
api v1 - tests for operating systems controller
api v1 - fixing permissions
cleanups in base controller
api v1 - render errors with rabl
better detection of permission failure in modelfix ApiConstraintscatch bad routes in api and return json