1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 18:43:22 +01:00

568 Commits

Author SHA1 Message Date
Michael Dowling
766f2dd7ee Adding an XML response location visitor. Adding a getKey() method to Parameter as a way to more easily get rename ?: name 2012-10-15 16:38:34 -07:00
Michael Dowling
b45b78999e Removing default value support from Collection (just use a tertiary condition instead). Perf improvement to Collection::get() 2012-10-15 16:38:34 -07:00
Michael Dowling
c4c5c95028 Moving Cookie related classes from Guzzle\Http to Guzzle\Plugin\Cookie 2012-10-15 16:38:34 -07:00
Michael Dowling
a7ebc1a406 Adding the ability to disable request validation and customize how responses are processed
Moving validation from Parameter to AbstractCommand
Renaming JsonBodyVisitor to JsonVisitor
Renaming Processor to Validator
Adding min/maxLength, minimum/maximum, and min/maxItems to Parameter to support valida JSON schema
Optimizing schema validation
2012-10-15 16:38:33 -07:00
Michael Dowling
34dbece2d7 Optimizing schema validation 2012-10-15 16:38:33 -07:00
Michael Dowling
5e361497d3 Using instance errors array 2012-10-15 16:38:33 -07:00
Michael Dowling
f0ce001726 Horrible optimizations to the JSON schema validation to limit the number of calls made when validating. Resulted in about a 35% speed improvement of a core feature that could potentially be called hundreds of times when sending complex requests. 2012-10-15 16:38:33 -07:00
Michael Dowling
2680137994 Adding responseType to be used in tandem with responseClass. Adding protective checks to not attempt to set undefined properties on service descriptions. 2012-10-15 16:38:33 -07:00
Michael Dowling
28b3dce0b6 Adding support for custom service description attributes through data properties 2012-10-15 16:38:33 -07:00
Michael Dowling
d4fa382f8b Adding the ability to cast integers to strings when a schema is meant to be a string (this can be disabled if needed). Adding comments and fixing an error message 2012-10-15 16:38:33 -07:00
Michael Dowling
cf0924471c Completely rethinking service descriptions
Getting rid of the Validation component and "Inspector"
Removing custom types from service descriptions
Using a JSON schema based approach to validation and normalization
Adding a lazy building of Parameters for Operaton objects
Using camel case for postFile and postFile
Adding models support to service descriptions
Adding support for $ref overwrites of models registered with ServiceDescriptions
Adding more meta information to service descriptions
Adding data property to operations
Adding service description property to operations. Adding an XML location used to serialize XML requests.
Restructuring how service description based command requests are serialized and how responses are parsed
Adding JSON response parsers
Adding the ability to skip recursive translations on JSON responses
2012-10-15 16:38:33 -07:00
Michael Dowling
465fc06506 Cleaning up docblocks 2012-10-15 16:38:32 -07:00
Michael Dowling
05e1fef820 Adding nested ApiParam support in structures. Removing XML builders.
- Adding nested parameter serialization support to json, query, and
  post_field locations.
- Removing XML builders and only using JSON/arrays.
- Removing dot notation for classes, filters, and types.
- Updating validation filters to allow callers to get the default option using a static method.
- Removing annotation support from commands and using a static method instead.
2012-10-15 16:38:32 -07:00
Michael Dowling
1e724b1fa0 Updating Collection and bumping version number 2012-10-15 16:38:32 -07:00
Michael Dowling
0141b24b04 Cleaning up backoff code and adding an additional test. Fixing bug that caused any ApiParam with a filter to be set to an empty string, which caused the parameter to be applied to a request 2012-10-15 16:37:51 -07:00
Michael Dowling
523af11d2f [Http] Making the type of HTTP response checks faster
Using a default log template when null or an empty string is provided
Removing the next and makesDecision methods from the backoff strategy interfaces.
Using call_user_func in callback strategies so that array() callbacks are supported.
Listening for request.sent with the LogPlugin so that even error responses are logged.
Renaming getExponentialBackoffInstance to getExponentialBackoff
2012-10-15 16:37:51 -07:00
Michael Dowling
b61bd91191 Using a Doctrine ArrayCache when no cache is provided to the cache plugin 2012-10-15 16:37:51 -07:00
Michael Dowling
0e54bf303d [Backoff] Fixing the backoff plugin so that there is now a delineation between decision making strategies and calculating strategies
Moving the truncated backoff strategy up in the default exponential backoff chain
2012-10-15 16:37:50 -07:00
Michael Dowling
f652e2c3b0 Removing "type": "component" from composer.json files 2012-10-15 16:37:50 -07:00
Michael Dowling
91f1e3473f [Http] Adding setBody() to Response
Adding a shared MessageFormatter that expands log templates. Using in
LogPlugin and in BackoffLogger.
Making LogPlugin simpler and easier to customize.
2012-10-15 16:37:50 -07:00
Michael Dowling
158e22996b [Cache] Fixing ZF2 cache adapter 2012-10-15 16:37:50 -07:00
Michael Dowling
5429ec0dc3 Adding a more robust and extendable cache plugin 2012-10-15 16:37:50 -07:00
Michael Dowling
2393ca43a1 Cache plugin updates 2012-10-15 16:37:50 -07:00
Michael Dowling
4e59b5404f Adding a much more robust backoff plugin 2012-10-15 16:37:49 -07:00
Michael Dowling
b110d184c6 Fixing broken test 2012-10-15 16:37:49 -07:00
Michael Dowling
2de3507c53 Renaming ExponentialBackoffPlugin to BackoffPlugin 2012-10-15 16:37:49 -07:00
Michael Dowling
4c12cc079f Working on breaking the project into components each with its own composer.json file 2012-10-15 16:37:49 -07:00
Michael Dowling
95e1a464e3 Adding an iterator component 2012-10-15 16:37:48 -07:00
Michael Dowling
e1a5cde525 Renaming snake_case variables to camelCase 2012-10-15 16:35:13 -07:00
Glenn Pratt
fffc167cce Fixes #145: Match .prefix cookied domain names to parent, block subdomain match of TLD cookies except .local. 2012-10-15 17:40:51 -05:00
Michael Dowling
0ed797ec53 Tagging 2.8.7 v2.8.7 2012-09-30 13:48:10 -07:00
Michael Dowling
d23fabc762 [OAuth] Removing token and token_secret from required params. Only adding to auth header if a value is set. Closes #143 2012-09-30 01:18:07 -07:00
Michael Dowling
e6fe489fe8 [Http] Adding the ability to remove POST parameters from OAuth signatures. Closes #135 2012-09-29 18:30:46 -07:00
Michael Dowling
6bcb1460ea [Http] Fixing the CURLM_CALL_MULTI_PERFORM issue when checking for cURL
exceptions. Closes #141
2012-09-29 14:49:05 -07:00
Michael Dowling
aa493c416e Minor tweak 2012-09-26 22:22:15 -07:00
Felix Jodoin
cee0805d10 fixes Request::getInfo for when curl.debug is disabled 2012-09-25 14:49:13 +00:00
Michael Dowling
a6ffb081e9 Fixing pear package building 2012-09-24 22:06:44 -07:00
Michael Dowling
78c38226be Attempting to get PEAR working once more... 2012-09-23 22:12:23 -07:00
Michael Dowling
3cb5fcdaee Adding a PEAR packaging task 2012-09-23 21:15:06 -07:00
Michael Dowling
244c61eceb Hardening request and response processing to account for missing parts 2012-09-20 13:28:06 -07:00
Michael Dowling
46d50a31cc Stripping out the path to a file in the Content-Disposition of a POST file. Addresses #55. 2012-09-20 11:31:33 -07:00
Michael Dowling
2fa1b69eac [Http] Cookie fix now uses the ParserRegistry. Cleanin up. 2012-09-13 11:02:51 -07:00
Gordon Franke
982dcbfab5 use CookieParser for request::getCookies 2012-09-13 15:47:24 +02:00
Michael Dowling
e850c7ddba [Service] Fixing config file aliases for JSON includes 2012-09-07 10:24:07 -07:00
Michael Dowling
0318412538 [Service] Adding removeParam() to ApiCommand 2012-09-06 20:02:10 -07:00
Jeremy Lindblom
ddc7e0530b Merge pull request #132 from jeremeamia/feature/improve-iterator-factory
Improved the iterator factory
2012-09-06 12:41:06 -07:00
Jeremy Lindblom
a71e3625c7 Improved the iterator factory so that it can look for iterators in multiple namespaces 2012-09-06 12:39:50 -07:00
Michael Dowling
60a7cbfd08 Updating changelog for 2.8.6 2012-09-05 16:39:52 -07:00
Michael Dowling
93e2405749 Tagging 2.8.6 v2.8.6 2012-09-05 16:30:30 -07:00
Michael Dowling
6300bd983a [Service] Fixing problems with custom service builders
Injecting ArrayServiceBuilder objects into {Json,Xml}ServiceBuilders
Caching instantiated service builder factories due to them being used
recursively
2012-09-05 16:25:18 -07:00