summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* support ! in searchestm/support_bang_operatorThom May2016-08-022-3/+3
| | | | 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
| | | | | | |
* | | | | | | Bump version to 4.6.1v4.6.1John Keiser2016-04-141-1/+1
| | | | | | |
* | | | | | | Actually merge key data in user PUT responsejk/merge_more_betterJohn Keiser2016-04-141-1/+1
| | | | | | |
* | | | | | | Fix users endpoint in OSC compat mode to use a data store URLJohn Keiser2016-04-141-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | under /organizations (otherwise ChefFS will not understand it)
* | | | | | | Bump version to 4.6jk/bump-versionJohn Keiser2016-04-141-1/+1
| | | | | | |
* | | | | | | Fix bugs related to Array vs Enumerator vs Port for options[:port/host].Tyler Cloke2016-04-141-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [options[:port]].flatten does not do the right thing in the case that options[:port] is an Enumerator. options[:host] is not always an Array (can be a String).
* | | | | | | A bit more cleanup.Phil Dibowitz2016-03-221-0/+1
| | | | | | |
* | | | | | | Enable listening on more than one addressPhil Dibowitz2016-03-221-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you listen on :: you get all v6 addrs. If you listen on 0.0.0.0 you get all v4 addrs. There's no way to listen on both. Allow people to pass in multiple `--host`s
* | | | | | | Implemented GET /orgs/ORG/users/USER/keys(/key) endpoint recently added to ↵tc/org-scoped-user-keys-getTyler Cloke2016-03-156-8/+68
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | server.
* | | | | | Use json helpers instead of calling FFI_Yajl directlyapi-v1danielsdeleo2016-02-252-13/+13
| | | | | |
* | | | | | Implement APIv1 behaviorsdanielsdeleo2016-02-255-7/+66
| | | | | |
* | | | | | Move default keys logic into ActorDefaultKeyEndpoint; fix #putjr/pedant-keys-2Jordan Running2016-02-248-76/+118
| | | | | |
* | | | | | Make user and client keys endpoints pass Pedant specsJordan Running2016-02-2412-79/+470
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Implement ActorKeyEndpoint, ActorKeysEndpoint. - Implement user, client keys in `ActorEndpoint#delete`, `#put`. - RestBase - Fix RestErrorResponse exceptions to report actual `rest_path` instead associated with the failed data store operation instead of `request.rest_path`. - Move `json_response`, `already_json_response` args `request_version` and `response_version` into options hash; add docs. - DataError, RestErrorResponse: Pass useful message text to `super`. - RestRouter: Clean up logging - Print request methods, paths and bodies more readably for log_level >= INFO. - Pretty-print RestRequest objects (only printed when log_level == DEBUG). - Server: Change default log_level to `:warn` (to enable logging cleanup above). - `Rakefile`, `spec/run_oc_pedant.rb` - Consume RSpec, Pedant options from `ENV['RSPEC_OPTS']`, `ENV['PEDANT_OPTS']` (see `rake -D`). - Consume `ENV['LOG_LEVEL'` (see `rake -D`). - Clean up ChefZero::Server default opts and move duplicated logic to `start_chef_server` method.
* | | | | | fix necessary for metadata gemlcg/metadata-gemLamont Granquist2016-02-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there's a Kernel#gem method in ruby because someone thought that would be a great idea, kind of messes up method_missing when the method isn't missing...
* | | | | | Bump revision to 4.5.0jk/bump-4.5.0John Keiser2016-01-281-1/+1
| | | | | |
* | | | | | Fix container creation (was using wrong path)cd/run-acl-specsJohn Keiser2016-01-281-2/+1
| | | | | |
* | | | | | Make default policy ACLs look more normalJohn Keiser2016-01-271-9/+1
| | | | | |
* | | | | | Stop skipping ACL testsJohn Keiser2016-01-271-1/+0
| | | | | |
* | | | | | Restore creator into policy_group ACLJohn Keiser2016-01-271-1/+1
| | | | | |
* | | | | | Correct policy_groups default permissionsJohn Keiser2016-01-272-2/+10
| | | | | |
* | | | | | Treat policies and policy_groups as directoriesJohn Keiser2016-01-271-4/+3
| | | | | |