summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix hardcoded default acls to match chef-serverStephan Renatus2017-03-141-10/+6
| | | | | | | | | Due to a bug in oc-chef-pedant[1], we'd never noticed that this doesn't return what it should return to match chef-server. [1]: https://github.com/chef/chef-server/pull/1145 Signed-off-by: Stephan Renatus <srenatus@chef.io>
* release 5.3.1 to unbreak chef buildsv5.3.1Thom May2017-03-081-1/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* bumping version to 5.3.0v5.3.0Lamont Granquist2017-02-021-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* change require per hashie authorLamont Granquist2017-02-021-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* bump version to 5.2.0 for releasev5.2.0Lamont Granquist2017-01-231-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* favor metadata.json over metadata.rbLamont Granquist2017-01-231-6/+4
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Merge pull request #233 from chef/tm/support_bang_operatorLamont Granquist2016-12-142-3/+3
|\ | | | | support ! in searches
| * support ! in searchestm/support_bang_operatorThom May2016-08-022-3/+3
| | | | | | | | Signed-off-by: Thom May <thom@may.lt>
* | Release 5.1.15.1.1-releaseScott Christopherson2016-12-131-1/+1
| | | | | | | | Signed-off-by: Scott Christopherson <scott@chef.io>
* | Fix pagination with start parametersnls/fix-start-paginationNathan L Smith2016-12-051-21/+13
| | | | | | | | | | | | | | | | | | | | | | This builds on fixes added in #247 and additional tests added in chef/chef-server#1028. Handle the query parameters in the search method instead of the get method to make them more consistent and work properly when start values are given. Signed-off-by: Nathan L Smith <smith@chef.io>
* | Handle the start and rows parameters correctlynls/SPOOL-436/toomanyrowsNathan L Smith2016-12-041-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chef Zero would, on a search request using the "start" or "rows" parameters, always return all rows. This change makes it so only the correct number of rows are returned or the results start at the correct index. This change will make the tests added in oc-chef-pedant in chef/chef-server#1028 pass. Also update the Gemfile to use HTTPS URLs for Git sources, remove unused comments, and use the Chef Gem from RubyGems as the previous comment suggested. Signed-off-by: Nathan L Smith <smith@chef.io>
* | Fix a few chefstyle warningscontribTim Smith2016-09-224-11/+9
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 5.1.0jk/releaseJohn Keiser2016-09-071-1/+1
| |
* | remove create additions flaglcg/remove-create-additionsLamont Granquist2016-09-0240-63/+63
| | | | | | | | | | | | FFI_Yajl has never implemented this flag Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Revert "remove create additions flag"Lamont Granquist2016-09-0240-63/+63
| | | | | | | | This reverts commit c674dfeacf773579a2eb56cb3c02428268452b50.
* | remove create additions flagLamont Granquist2016-09-0240-63/+63
| | | | | | | | | | | | FFI_Yajl has never implemented this flag Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | store ACEs by client/usermp/SPOOL-340Marc Paradise2016-08-263-14/+52
| | | | | | | | | | | | | | | | | | | | | | Chef Server has the ability to return users and clients separately within an GET ACL request when `detail=granular`. To support that, we need to store them separately and determine if we want to present `actors` or `users` and `clients` at the time of the request. This change makes a reasonable best effort at capturing the creator type (user v client) correctly and uses that for determining its assignment in acls.
* | Bump version to 5.0John Keiser2016-08-241-1/+1
| |
* | Support clients and users fields in ACL PUT requestsmp/SPOOL-197Marc Paradise2016-08-232-2/+12
| |
* | Release 4.9.0tm/4_9_0Thom May2016-08-111-1/+1
| | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | Ensure that the cookbook version endpoint doesn't trip over itselfThom May2016-08-011-3/+7
|/ | | | Signed-off-by: Thom May <thom@may.lt>
* ChefStyletm/styleThom May2016-07-29102-1133/+1128
| | | | Signed-off-by: Thom May <thom@may.lt>
* Release 4.8.0v4.8.0Thom May2016-07-251-1/+1
| | | | Signed-off-by: Thom May <thom@may.lt>
* Load libraries recursivelytm/recurse_librariesThom May2016-07-251-1/+1
| | | | | | Fixes #161 Signed-off-by: Thom May <thom@may.lt>
* Merge pull request #224 from chef/lcg/rebase-101Thom May2016-07-192-1/+13
|\ | | | | Return HTTP 400 Bad Request on Solr parse error
| * Return HTTP 400 Bad Request on Solr parse errorlcg/rebase-101Steven Danna2016-07-192-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, chef-zero would return an HTTP 500 Internal Server Error when the Solr parser failed. Now, we return HTTP 400 with an error message identical to that of the Erchef server. Returning HTTP 400 also improves the end-user experience since knife returns more sensible error messages. Before this patch: > knife search nodes 'recipes:bar::bar' ERROR: Server returned error 500 for http://127.0.0.1:8889/search... After: > knife search nodes 'recipes:bar::bar' ERROR: knife search failed: invalid search query: 'recipes:bar::bar'
* | Merge pull request #222 from maxlazio/suppress_rescue_log_levelThom May2016-07-191-1/+1
|\ \ | | | | | | Set log level to debug in the rescue block.
| * | Set log level to debug in the rescue block.Marin Jankovski2016-07-071-1/+1
| |/
* | Merge pull request #204 from byplayer/feature/uri_escapeThom May2016-07-191-1/+2
|\ \ | | | | | | support URI specific character in file name
| * | support URI specific character in file namebyplayer2016-03-101-1/+2
| | |
* | | Merge pull request #175 from andrewdotn/masterThom May2016-07-191-4/+2
|\ \ \ | | | | | | | | Fix attempted fall-through in case statement.
| * | | Fix attempted fall-through in case statement.Andrew Neitsch2015-11-251-4/+2
| | | |
* | | | Merge pull request #171 from chef/lcg/chef-version-supportThom May2016-07-191-3/+7
|\ \ \ \ | | | | | | | | | | add patch to support chef_version
| * | | | add patch to support chef_versionlcg/chef-version-supportLamont Granquist2015-10-201-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | most of our metadata is the form of: key "value" but chef_version can be: chef_version ">= 12.3.1", "< 13.0.0" so we need a splat in method messing and need to shovel it into an array. relates to chef/chef#4081
* | | | | Merge pull request #158 from amazon/dash-search-fixThom May2016-07-191-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Fix scary search behavior on terms containing dash character
| * | | | | Fix scary search behavior on terms containing dash characterSergey Tuchkin2015-08-171-2/+2
| | | | | |
* | | | | | Merge pull request #139 from cl-lab-k/add_normal_tagsThom May2016-07-191-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | add normal tags with empty array
| * | | | | | add normal tags with empty arrayHIGUCHI Daisuke2015-06-021-1/+1
| | | | | | |
* | | | | | | Merge pull request #138 from kongslund/request-timeoutThom May2016-07-191-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Increase WEBrick request timeout to 300 seconds. Fixes #137
| * | | | | | | Increase WEBrick request timeout to 300 seconds. Fixes #137Jonas Kongslund2015-05-271-0/+1
| |/ / / / / /
* | | | | | | Merge pull request #109 from schrodinger/proxy-awareThom May2016-07-191-1/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Make ChefZero aware of load balancers
| * | | | | | | Make ChefZero aware of load balancersJoshua Kwan2014-12-151-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have some complex reasons to hide a ChefZero behind an nginx proxy. One problem that suddenly arose with this is that URLs returned by posting to /environment/foo/cookbook_versions use the protocol of the internal webrick which is always plain http. This causes the chef client to retrieve these urls on the https port but with an encrypted payload. Support this situation by using the HTTP_X_FORWARDED_PROTO CGI variable if it is available.
* | | | | | | | Merge pull request #106 from higanworks/disable_sslv3Thom May2016-07-191-0/+12
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | disable sslv3 and few unsecure options
| * | | | | | | disable sslv3 and few unsecure optionssawanoboly2014-11-271-0/+12
| |/ / / / / /
* | | | | | | Release 4.7.1v4.7.1Thom May2016-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thom May <thom@may.lt>
* | | | | | | Downgrade info log message to debugStan Hu2016-07-061-1/+1
| | | | | | |
* | | | | | | Release 4.7.0Tim Smith2016-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | | | Add external_authentication_uid to actors endpoint for queryingsaml/et-205kmacgugan2016-06-091-11/+21
| | | | | | |
* | | | | | | Release v4.6.2v4.6.2Steven Danna2016-04-281-1/+1
| | | | | | |
* | | | | | | Log responses only at debug log levelssd/log_response-at-debugSteven Danna2016-04-221-1/+1
| | | | | | |