summaryrefslogtreecommitdiff
path: root/chef-server-api
Commit message (Collapse)AuthorAgeFilesLines
* Removing /cookbooks/_latest cookbook endpoint and fix the sort order of ↵Nuo Yan2011-02-102-14/+3
| | | | versions returned by CookbookVersions.cdb_list
* update cukes for the API changeNuo Yan2011-02-092-2/+2
|
* CHEF-2028 API change on /cookbooks and /environments/:env_id/cookbooksNuo Yan2011-02-082-10/+20
|
* make webui url generation more robust and also configurableDaniel DeLeo2011-02-052-2/+11
|
* fix html page at root for chef-server-apiDaniel DeLeo2011-02-057-39/+62
|
* Refactor SolrQuery adding a from_params class methodSeth Falcon2011-02-041-10/+2
| | | | | | SolrQuery search method refactored in deferred-memoize style. Return value of search method now matches hash needed to pass to Merb display().
* update features infrastructure for chef-expanderDaniel DeLeo2011-02-032-2/+2
|
* remove libxmlDaniel DeLeo2011-02-031-3/+0
|
* move solr querying logic from chef-solr into chefDaniel DeLeo2011-02-031-3/+3
|
* Fix CHEF-1292/PL-538: make JSON.parse/to_json default recursion depthTim Hinderliter2011-02-021-1/+1
| | | | | | | | | much higher than default of 19; wrap JSON with Chef::JSON (obj.to_json becomes Chef::JSON.to_json(obj); JSON.parse becomes Chef::JSON.from_json; JSON.pretty_generate becomes Chef::JSON.to_json_pretty); monkey-patch Merb::Request to handle this; override Merb::Controller.display to use this; many other modifications to to_json/from_json calls to use Chef::JSON
* changes to search controller to accomodate SOLR constructor changes,Tim Hinderliter2011-02-021-3/+4
| | | | cribbed from platform
* add api endpoint to list recipes available for environment policyDaniel DeLeo2011-01-282-0/+7
|
* fix block binding/precedence error. whitespace purgeDaniel DeLeo2011-01-211-16/+17
|
* fix run list expansion in view code to use correct environmentDaniel DeLeo2011-01-201-1/+1
| | | | | of course, it seems fair to ask if we should be expanding run lists in views...
* More fixes for CHEF-1292: updated comments, refactored feature tests. AddedTim Hinderliter2010-11-241-4/+9
| | | | some require's
* Fix CHEF-1292/PL-538: make JSON.parse/to_json default recursion depthTim Hinderliter2010-11-222-2/+45
| | | | | | | | much higher than default of 19; wrap JSON with Chef::JSON (obj.to_json becomes Chef::JSON.to_json(obj); JSON.parse becomes Chef::JSON.from_json; JSON.pretty_generate becomes Chef::JSON.to_json_pretty); monkey-patch Merb::Request to handle this; override Merb::Controller.display to use this; many other modifications to to_json/from_json calls to use Chef::JSON
* Remove stale require of metadata/versionSeth Falcon2010-11-181-1/+0
|
* Replacing tabs with two spaces.Christian Paredes2010-11-086-6/+6
|
* Use Chef::Version instead of Gem::Version in nodes controller CHEF-1818Seth Falcon2010-11-021-10/+22
| | | | | | | Also fix cookbook version handling in nodes controller This was broken, probably from some merge work that didn't get tested. Respecting versions in dependencies still not wired up.
* bump the version to 0.10.0.beta.0Nuo Yan2010-11-011-2/+2
|
* revise per environment data structureNuo Yan2010-11-012-2/+2
|
* enable search for environment objects and complete the knife environment ↵Nuo Yan2010-11-011-1/+1
| | | | from file feature
* restrict cookbook loading to environment versionssdelano2010-11-011-93/+35
|
* return all cookbooks available for an environmentsdelano2010-11-011-1/+8
|
* Return 412 if we can't load a dependent cookbookThom May2010-11-011-1/+5
|
* Convert index_recipes to return *all* recipesThom May2010-11-011-6/+4
| | | | | | | | This changes the API somewhat; rather than just an array of recipes (which is bust because recipes may only exist in certain versions of cookbooks) you get a hash back: cookbook -> version -> recipes. Change the only two places that use _recipes to DTRT
* Implement versioned dependenciesThom May2010-11-011-15/+22
|
* Fix bug where we'd explode if we encountered non-recipe items on the run listThom May2010-11-011-2/+1
|
* Add satisfy_all functionThom May2010-11-011-10/+30
| | | | | This function takes a cookbook and a list of version constraints and attempts to return a single cookbook that satisfies those constraints
* Ensure the list of versions is sortedThom May2010-11-011-2/+2
| | | | Satisfy "latest" correctly, so we can use this everywhere
* implement dependency version matching for cookbooksThom May2010-11-011-1/+26
|
* Serve the correct cookbook versionThom May2010-11-011-8/+15
| | | | | | This is pretty YAGNI right now - it doesn't deal with versioned dependencies at all, but allows you to put "recipe[foo,1.2]" on the runlist and get the foo cookbook at version 1.2 on the node.
* MethodNotAllowed when modifying _default envsdelano2010-11-011-2/+2
|
* make the default environment immutablesdelano2010-11-011-0/+2
|
* roles in environments API endpoint in the environments controllerNuo Yan2010-11-012-3/+8
|
* create the default environment on server startupsdelano2010-11-011-0/+3
|
* fix backward compability for rolesNuo Yan2010-11-011-0/+6
|
* roles API work for the environmentsNuo Yan2010-11-012-1/+26
|
* more roles environment workNuo Yan2010-11-011-0/+1
|
* fix the /environments/:id/nodes controller (typo)sdelano2010-11-011-1/+1
|
* environments cookbooks apisdelano2010-11-013-13/+20
|
* work on knife node list -E ENV and its API, using the couch view approachNuo Yan2010-11-012-0/+12
|
* don't load node twice when fetching it's cookbookssdelano2010-11-011-14/+6
|
* Move update logic from environments controller to environment model objectSeth Falcon2010-11-011-3/+2
|
* Move update logic from roles controller to role model objectSeth Falcon2010-11-011-5/+1
|
* Move update logic from nodes controller to node model objectSeth Falcon2010-11-011-7/+1
|
* Make update of a node save chef_environmentSeth Falcon2010-11-011-0/+1
| | | | | | | Note: we should consider refactoring so that the logic for updating an existing node from another node lives in the node class. Then the addition of chef_environment would not have had to touch the nodes controller at all.
* specify cookbook versions in environment modelsdelano2010-11-011-0/+1
|
* sanitize whitespace and update license yearsdelano2010-11-011-7/+7
|
* display correct URI on environment createsdelano2010-11-011-1/+1
|