Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | autofixing whitespace cops | Lamont Granquist | 2016-02-05 | 1 | -7/+5 |
| | | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment | ||||
* | Update all auth email address from opscode.com and getchef.com to chef.io. | Noah Kantrowitz | 2016-02-02 | 1 | -4/+4 |
| | | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi" | ||||
* | Replace all Opscode copyrights with Chef Software. | Noah Kantrowitz | 2016-02-02 | 1 | -1/+1 |
| | | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi" | ||||
* | Copyright year update for 2016 and massive cleanup. | Noah Kantrowitz | 2016-02-02 | 1 | -1/+1 |
| | | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g" | ||||
* | add deprecation warnings | Thom May | 2016-01-18 | 1 | -0/+2 |
| | |||||
* | Use double quotes by default | Thom May | 2016-01-14 | 1 | -12/+12 |
| | | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing. | ||||
* | Unnecessary capitalization | Tim Smith | 2015-10-18 | 1 | -1/+1 |
| | |||||
* | Added versioned Chef Object API support code and repaired Chef::User.create. | tylercloke | 2015-06-05 | 1 | -0/+1 |
| | | | | Also added Chef::User.create V1 API support. Chef::User.create will attempt to use V1 of the server API, and if it fails, it will fall back to V0. | ||||
* | Extract socketless client and add specs | danielsdeleo | 2015-04-01 | 1 | -145/+0 |
| | |||||
* | Extract Chef Zero code out to chef zero, re-enable socket listening | danielsdeleo | 2015-04-01 | 1 | -26/+4 |
| | |||||
* | Hoist socketless chef-zero support into Chef::HTTP | danielsdeleo | 2015-04-01 | 1 | -33/+1 |
| | | | | | | Was hoping to avoid this, but there are multiple subclasses of Chef::HTTP that interact with the server, which all must support socketless mode. | ||||
* | Initial socketless local mode | danielsdeleo | 2015-04-01 | 1 | -1/+199 |
| | |||||
* | CHEF-5100: | Lamont Granquist | 2014-03-27 | 1 | -0/+4 |
| | | | | | | - Enable Content Validation Check for Chef::HTTP::Simple - Tidy up debug logs / comments - More specs. | ||||
* | CHEF-5041: fix middleware order | Lamont Granquist | 2014-03-27 | 1 | -1/+1 |
| | | | | | | - the middleware for the *responses* are applied in reverse order, so that the ValidateContentLength middleware must come *AFTER* the Decompressor when we initialize them. | ||||
* | ensure Chef::REST does not modify options in-place | Joseph Anthony Pasquale Holsten | 2014-02-25 | 1 | -0/+1 |
| | |||||
* | - Adding X-Remote-Request-Id to the set of headers for every request from ↵ | PrajaktaPurohit | 2014-02-07 | 1 | -1/+5 |
| | | | | | | | | | | CCR and knife that will be sent to erchef - Each knife request has a different X-Remote-Request-Id, where as it remains the same for all requests originating from the same chef-client run. - Adding and fixing tests | ||||
* | rename ValidateResponse to ValidateContentLength | Lamont Granquist | 2014-01-27 | 1 | -2/+2 |
| | |||||
* | adding validation of content-length field | Lamont Granquist | 2014-01-23 | 1 | -0/+2 |
| | |||||
* | add a doc comment on the purpose of raw_http_request | jamesc | 2013-11-20 | 1 | -0/+3 |
| | |||||
* | raw_http_request was aliased to send_http_request, which is below the | jamesc | 2013-11-17 | 1 | -3/+15 |
| | | | | | | | level of the middleware being applied. This patch makes raw_http_request behave like request, except the only middleware that is applied is the AuthN for talking to the chef server | ||||
* | REST#raw_http_request needs to be public for legacy use | danielsdeleo | 2013-10-23 | 1 | -0/+2 |
| | |||||
* | Use API SSL policy w/ Chef::REST | danielsdeleo | 2013-10-16 | 1 | -0/+5 |
| | |||||
* | Use new Chef::ServerAPI API class in upload/download/diff | John Keiser | 2013-10-09 | 1 | -4/+6 |
| | |||||
* | CHEF-4515: upload sometimes inflates JSON. Fix by using true raw version of ↵ | John Keiser | 2013-10-09 | 1 | -7/+5 |
| | | | | Chef::REST | ||||
* | Fix Chef::HTTP dependence on subclass methods | danielsdeleo | 2013-10-08 | 1 | -1/+1 |
| | |||||
* | Move streaming requests to generic HTTP class | danielsdeleo | 2013-10-08 | 1 | -91/+7 |
| | |||||
* | Express stream handling via middlewares | danielsdeleo | 2013-10-08 | 1 | -2/+20 |
| | | | | | | | | (This is an intermediate commit for review-ability purposes). Streaming downloads to files is core functionality that needs to go in the base HTTP class, so remove special casing from middlewares for decompressing responses. | ||||
* | remove duplicate method from subclass | danielsdeleo | 2013-10-08 | 1 | -8/+0 |
| | |||||
* | Refactor HTTP streaming to reuse base implementations | danielsdeleo | 2013-10-08 | 1 | -30/+22 |
| | |||||
* | Remove leftover methods from subclass | danielsdeleo | 2013-10-08 | 1 | -9/+0 |
| | |||||
* | HTTP client creates request objects. | danielsdeleo | 2013-10-08 | 1 | -0/+19 |
| | | | | | | | Changes the structure of HTTP requests so that we create an HTTP client object and then ask it to make requests. This allows for easier customization of the HTTP client object, in particular enabling use to make use of persistent connections. | ||||
* | Remove references to authenticator from base HTTP class | danielsdeleo | 2013-10-08 | 1 | -0/+8 |
| | |||||
* | Extract HTTP cookie handling to middleware | danielsdeleo | 2013-10-08 | 1 | -1/+3 |
| | |||||
* | Move HTTP components into chef/http | danielsdeleo | 2013-10-08 | 1 | -7/+9 |
| | |||||
* | Extract good parts of REST to HTTP base class | danielsdeleo | 2013-10-08 | 1 | -176/+18 |
| | |||||
* | DRY middleware application | danielsdeleo | 2013-10-08 | 1 | -6/+18 |
| | |||||
* | Add authentication and GZIP headers back to streaming requests | danielsdeleo | 2013-10-08 | 1 | -7/+13 |
| | |||||
* | move http authenticator to its own file | danielsdeleo | 2013-10-08 | 1 | -64/+5 |
| | |||||
* | Extract HTTP authentication to a class | danielsdeleo | 2013-10-08 | 1 | -38/+82 |
| | |||||
* | move decompressor and model inflator to their own files | danielsdeleo | 2013-10-08 | 1 | -127/+13 |
| | |||||
* | extract HTTP response compression to a class | danielsdeleo | 2013-10-08 | 1 | -68/+103 |
| | |||||
* | Move error message parsing to JSON component | danielsdeleo | 2013-10-08 | 1 | -53/+47 |
| | |||||
* | Extract JSON content type handling to a class | danielsdeleo | 2013-10-08 | 1 | -16/+45 |
| | |||||
* | Normalize whitespace on all files | Seth Vargo | 2013-09-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into file-refactor | sersut | 2013-05-31 | 1 | -1/+0 |
|\ | | | | | | | | | Conflicts: lib/chef/exceptions.rb | ||||
| * | CHEF-3535: Do not need all of chef/platform | Bryan McLellan | 2013-05-24 | 1 | -1/+0 |
| | | | | | | | | | | We only needed #windows? for CHEF-3535, which is now in chef/platform/query_helpers.rb from 3b373784 due to CHEF-4157/CHEF-4153. | ||||
| * | require 'chef/platform' from lib/chef/rest.rb | Phil Dibowitz | 2013-05-24 | 1 | -1/+1 |
| | | |||||
* | | Remove binmode property from file / remote_directory resources and always ↵ | sersut | 2013-05-30 | 1 | -1/+1 |
| | | | | | | | | operate in binmode. | ||||
* | | Merge branch 'master' into file-refactor | sersut | 2013-05-14 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | Conflicts: spec/unit/knife/configure_spec.rb spec/unit/provider/remote_file_spec.rb | ||||
| * | [CHEF-4157] split Platform to prune dep graph | danielsdeleo | 2013-05-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Many files/classes depend on Chef::Platform just to use the `windows?` method. The part of Chef::Platform that maps providers to platforms has very heavy dependencies (which may trigger circular deps when loading some files) which are not needed for most users of Chef::Platform. |