Michael Dowling
6e02eee711
[Http] Removing the MultipartFormData class cURL will handle this better
2011-03-28 22:50:19 -05:00
Michael Dowling
55523cf8bf
[Http] Removing readChunked from EntityBody as this is handled by cURL
2011-03-28 22:44:40 -05:00
Michael Dowling
a1adbca83f
[Http] Removing the functionality that determined if a file should be compressed based on extension. Adding more extensions to the mime type map.
2011-03-28 22:42:33 -05:00
Michael Dowling
930494c795
[Common] [Http] Adding coverage to Collection. Not forcing a request to be set to new in order to send it again.
2011-03-28 21:23:03 -05:00
Michael Dowling
7c0c64efbf
[Http] Removing CurlConstants class
2011-03-28 21:00:21 -05:00
Michael Dowling
675c979094
[Service] Cleaning up Command API
2011-03-28 00:36:17 -05:00
Michael Dowling
1dce958700
[Service] Removing extraneous code from Guzzle\Service\ServiceBuilder
2011-03-28 00:10:12 -05:00
Michael Dowling
229aace559
[Common] Improving the performance of Guzzle\Common\Inspector
2011-03-27 17:46:59 -05:00
Michael Dowling
8d266bb314
[Common] Removing the ability to skip cache in the Inflector. Adding a cap to the number of items that can be cached by the Inflector.
2011-03-27 17:08:35 -05:00
Michael Dowling
08d18f6187
[Tests] Adding more tests to ensure that commands are processed as they complete
2011-03-25 17:23:52 -05:00
Michael Dowling
2c9d2ad266
[Service] Processing the result of a command in a command set as soon as the requests issued by the command completes instead of waiting for all of the commmands in the set to complete.
2011-03-25 16:26:58 -05:00
Michael Dowling
1a7953c57a
[Http] Updating cookie jars and the cookie plugin to store cookies in jars with a single cookie per row to make storing, retrieving, and updating cookies easier. When a cookie version 2 is encountered with multiple cookie values in one Set-Cookie header, the cookie will be broken up into multiple cookies for the cookie jar.
2011-03-24 22:45:55 -05:00
Michael Dowling
b15cf68883
[Common] [Service] Adding a method to the event manager to get the priority level that an observer was attached at. Attaching observers to requests created by client in the same order that the observers were attached to the client
2011-03-24 11:20:38 -05:00
Michael Dowling
620e13057c
[Http] [Service] Adding more coverage to Url. Fixing CookiePlugintest. Allowing XML based commands to extend previously defined commands.
2011-03-23 17:24:36 -05:00
Michael Dowling
da781d6202
[Common] [Http] Performance enhancements. Adding a match flag to Collection operations instead of determining how a key should match.
2011-03-23 14:19:14 -05:00
Michael Dowling
cf58b2c82e
[Http] Only adding CURLOPT_FOLLOWLOCATION to cURL handles if open_basedir is not set
2011-03-22 22:42:33 -05:00
Michael Dowling
fd0b13140c
[Http] Only checking if CURLOPT_TIMEOUT_MS is set if the version of curl is > 7.16.2. Storing a cached version of curl_version in Guzzle\Guzzle to speed up any checks on curl_version information.
2011-03-22 16:58:15 -05:00
Michael Dowling
f53d169978
[Http] [Service] Better handling in the RequestFactory to generate entity enclosing requests using various body variable types. Passing an API command to a concrete command class when working with service descriptions. Adding more tests.
2011-03-22 11:23:06 -05:00
Michael Dowling
43f3b213f2
[Tests] Updating the class attribute of the test XML service description
2011-03-21 23:05:00 -05:00
Michael Dowling
be9519e75d
[Tests] Fixing PHPUnit @covers annotation
2011-03-21 09:50:16 -05:00
Michael Dowling
cc0e767df2
[Tests] Fixing the enableClientDebug method
2011-03-20 20:18:01 -05:00
Michael Dowling
12da52bf7c
[Service] Adding the ability to get the short form name of a command by calling getName() on a command object
2011-03-20 19:16:47 -05:00
Michael Dowling
6ef91c5e13
Syncing up the command interface and abstract command class. Removing extraneous methods. Coding standards updates.
2011-03-20 18:46:47 -05:00
Michael Dowling
8cd23cefb1
[Service] Removing service descriptions from concrete command based clients. Only use a service description if your client uses dynamic commands. Dynamic commands and concrete commands can be used in the same client-- Client::getCommand will look to see if a service description has been set and if it contains the command by name, then the client will see if a concrete command class matches the supplied name using inflection. Removing caching stuff from client factory methods. Removing client builders as a factory can handle it.
2011-03-20 17:51:54 -05:00
Michael Dowling
5000972453
[Service] Removing the need to create builders. Giving clients back their constructor and removing the docblock annotation magic from clients. Using a factory method for every client with a custom constructor so that the service builder will be able to convert an array of parameters into a client. Simplifying service builder and services.xml.
2011-03-18 14:04:57 -05:00
Michael Dowling
58bce23cf9
[Service] Moving docblock annotations for services into the builder and giving clients back their constructors.
2011-03-17 22:37:20 -05:00
Michael Dowling
d472fa5cf2
[Http] Making the cookie plugin act more like a browser; not url encoding cookie values. Adding the ability to extract cookies from redirect responses. Adding the previously received request to the request event notification issued when a new status line is received.
2011-03-16 15:31:16 -05:00
Michael Dowling
f236e8080d
[Http] [Service] Adding better support for OPTIONS requests and determining if a method is allowed on a resource
2011-03-15 20:09:25 -05:00
Michael Dowling
587b61d161
[Http] Updating readme. Adding helper method to Guzzle\Http\Message\Response to check if the response is of a certain Content-Type. This helps when the Content-Type header contains the mime-type and charset.
2011-03-13 20:56:52 -05:00
Michael Dowling
9844615293
[Http] Allowing Guzzle\Http\Url to build relative URLs. Adding the ability to combine URLs, check if a URL is absolute, and add to the already set path of a URL.
...
[Service] Allowing simpler Guzzle\Service\Client objects to be created (removing the requirement of a ServiceDescription and CommandFactory). Allowing the first argument of the clientss constructor to be an array or collection of config data, or, when a string is used, be just the base url of the web service. Adding get, head, delete, put, and post helper methods to the client, and adding support for Spring-like REST templates for clients. Clients can now create requests that extends the base URL of the client.
2011-03-13 18:37:02 -05:00
Michael Dowling
d5ffdace8a
[Http] Cleaning up Request. Using an onComplete callback function rather than a class for processing requests when they complete. The default onComplete handler will throw an exception when an unsuccessful response is received.
2011-03-11 17:11:27 -06:00
Michael Dowling
8c5bef47b1
[Http] [Service] Making the default request factory use static methods. Adding common HTTP method helper methods to the request factory. Renaming Client::getRequest() to Client::createRequest(). Renaming some methods of the RequestFactory. Changing the interface of Client::createRequest() to use a string or array and proxy calls to the default request factory. The createRequest method can be overridden in sub-classes if you need to use custom request objects.
2011-03-11 13:52:26 -06:00
Michael Dowling
4c0e52a1c7
Moving injector code to Guzzle\Guzzle. Moving Stream\StreamHelper to Stream. Request docblock updates. Renaming the event for releasing curl handles to be more in line with other request.curl events. Renaming some Pool methods. Revamping the log plugin to use bitwise operators to control log settings. LogPlugin can now log cURL debug information and will include redirect responses.
2011-03-10 19:51:50 -06:00
Michael Dowling
dd76c259e0
[Service] Moving the Guzzle\Service\Builder\ServiceBuilder up one namespace level.
2011-03-09 17:09:40 -06:00
Michael Dowling
24483db994
[Common] [Http] Renaming CacheAdapter to Cache. Removing Logger and just using LogAdapters for the LogPlugin. Moving LogAdapters into the Common\Log namespace. Removing Common\Filter\Chain as signal slots are now used instead. Adding tests for Collection::isRegex(). Removing NullIterator in favor of a more versatile NullObject.
2011-03-09 16:52:28 -06:00
Michael Dowling
8f2df68a4a
[Common] [Http] [Service] Removing AbstractPlugin and just relying on regular signal slot observations for the built in plugins. Removing plugin logic from Clients. Adding administrative events for observers: event.attach, event.detach. Consolidating the ExponentialBackoffPlugin into one class. Moving CookieJars into the Http namespace.
2011-03-08 22:17:28 -06:00
Michael Dowling
e4af51748a
[Common] [Service] [Tests] Allowing anonymous functions to subscribe to the EventManager. Removing the create request chain from Clients and instead relying on signal slots. Updating tests to reflect this change.
2011-03-08 10:04:48 -06:00
Michael Dowling
3c0984f03e
[Common] [Http] [Service] Renaming the Subject namespace to Event. Removing the redundant behavior of signal slots vs intercepting filters for emitting events from requests and clients. Updating the SubjectMediator to become EventManager and simplifying how it emits events to observers.
2011-03-07 22:21:33 -06:00
Michael Dowling
83a6f47f94
[Service] Coding standards. Renaming command methods on CommandSetException
2011-03-06 20:32:20 -06:00
Michael Dowling
2e82038612
[Tests] Ensuring that the correct class was instantiated when using the assumed DefaultBuilder
2011-03-03 23:16:27 -06:00
Michael Dowling
6da9185742
[Service] Using the DefaultBuilder when no builder is specified in a client configuration
2011-03-03 23:13:56 -06:00
Michael Dowling
308f88338b
[Http] [Tests] Coding standards. Implicitly using EntityBody::factory() when setting EntityEnclosingRequest body. Adding cookies instead of replacing when using addCookie on a Request. Allowing multiple headers of the same name to be set on a Response when using the Response::factory(). Allowing multiple values to be set on a QueryString when using __toString() (aggregators will typically modify keys when they have multiple values, but Cookie sometimes needs to set multiple values using the same key). Allowing Cookie to have multiple values of the same key. Updating CookieJars so that they can store multiple cookies of the same name. Updating CookiePlugin to better handle multiple cookies of the same name
2011-03-02 23:55:31 -06:00
Michael Dowling
b8972d8385
[Service] [Tests] Cleaning resource iterator apply batched. Adding multi-service option to phpunit.xml so that services can contain mutliple clients and still determine the location of a mock response file
2011-03-01 17:13:09 -06:00
Michael Dowling
170e588f54
[Tests] Allowing mock response files to be in a different directory
2011-03-01 10:18:23 -06:00
Michael Dowling
d2efa79cae
[Tests] Refactoring the way in which the service description XML file is loaded so that it allows Service modules to use a custom service.xml file in its test suite
2011-03-01 00:17:15 -06:00
Michael Dowling
284e39be4b
Using the latest version of the Symfony2 UniversalClassLoader
2011-02-28 22:58:15 -06:00
Michael Dowling
6584ae411e
Removing third party services from main repository. Refactoring tests to account for the absence of third party libaries-- using mock objects in their place. Fixing a bug in Inspector that would miss injection delimiters at the beginning of a string. Fixing a bug in ResourceIteratorApplyBatched that caused some resources to skipped when sending batch data to the callback.
2011-02-28 22:30:22 -06:00
Michael Dowling
d8a1277c69
Guzzle - PHP framework for building REST webservice clients
2011-02-27 22:32:13 -06:00