fixes #2231 - hostgroup deletion is restricted to hostgroups without children
fixes #3515 - API handles not found objects with 404
fixes #3752 - move data population from migrations into seed script
fixes #2983 - Add autosign#index to API v1 and v2 and remove from UI controller
fixes #3736 - users API uses login name as an identifying attribute
fixes #3577 - do not treat `params[:dryrun]` with value `false` as true
fixes #2951 - Host API documentation lacks compute_resource_id
fixes #3140 - API to allow importing of puppet classes
Fixes #3293 add FactoryGirl to tests
fixes #1244 - add smart proxy feature refresh link + API call
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 #2863 - restrict APIs to resources that a user is permitted to manage (CVE-2013-4182)
fixes #2728 - POST /api/hostgroups does not accept ancestry
fixes #2602 - scoped_search error when using postgresql
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 #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