1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-26 11:05:28 +01:00

25 Commits

Author SHA1 Message Date
Michael Dowling
a8089fdc5e [Common] Adding a "cache." prefix to cache settings 2012-04-18 17:16:39 -07:00
Michael Dowling
6191c4f766 [Common] Adding a CacheAdapterFactory so that you can generate cache adapters in your service config files 2012-04-18 16:56:58 -07:00
Michael Dowling
eabe684b22 [Common] [BC] Renaming ZendLogAdapter to Zf1LogAdater. Adding a Zf2LogAdapter. Renaming ZendCacheAdapter to Zf1CacheAdapter. Adding Zf2CacheAdapter to support Zend Framework 2 caching.
Updating the cache interface to allow passing options to cache methods.
Removing the constructor and removing getCachedObject from CacheAdapterInterface.
Adding a ClosureCacheAdapter.
[Service] Adding the ability to use magic call method behavior for executing commands by name.  Closes #39.
[Tests] Fixing a logging unit test so that it does not spit out to stdout
Separating test dependencies from Guzzle deps by adding a composer-test.json.
Adding unit testing capabilities to the Guzzle phar files.
Updating travis-ci script to use new composer file and adding code coverage to travis runs
[Build] Fixing guzzle-min.phar warning that tried to load index.php
Adding a test-init phing target to help getting setup for testing.
Fixing composer run in travis
2012-04-14 18:49:51 -07:00
Michael Dowling
2ca59100ff Fixing broken test 2012-01-27 10:42:37 -06:00
Michael Dowling
4c46e77015 Guzzle 2.0
Adopting composer for dependency management
Updating LICENSE, travis build file, making better use of git ignores, and remove unused build target
Removing @author tags.  Use the commit history for a changelog.
Moving files from build folder to /
Adding min build target to product a Guzzle only phar with no autoloader
[Common] Accepting ZF1 or ZF2 cache in ZendCacheAdapter
[Common] Optimizing Stream wrapper and EntityBody abstractions.
[Common] [Http] Migrating from Guzzle event system to the Symfony2 event dispatcher
[Common] Moved Inflector and Inspector to Service namespace
[Http] Simplifying Guzzle\Guzzle curl detection
[Http] Removing Guzzle\Http\Pool and now using Guzzle\Http\Curl\CurlMulti
[Http] The helper methods from Guzzle\Http\Message\RequestFactory have been removed to prevent confusion and encourage developers to use Guzzle\Http\Client to create requests.
[Http] Clients can now send one or more requests in an array using the send() method, so the batch() method was removed.
[Http] Updating curl multi to allow blocking calls while sending other transfers
[Http] Making the Request::hasHeader method more intuitive.  Guzzle\Http\Message\AbstractMessage::hasHeader() now returns true if the header is found using exact matching.  If the header is found using a regex or case-insensitive match, then it will return the name of the found header.
[Http] Removing content-type guessing from EntityBody based on file extension and solely using finfo.
[Http] Adding basic auth plugin
[Http] Cleaning up CookieJar and CurlMulti
[Http] Removing custom rawurlencode from QueryString because PHP 5.3 now properly deals with tilde characters.
[Http] Minor optimization to parsing messages in RequestFactory
[Http] Adding Guzzle\Http\Client for developers that don't need commands or service descriptions
[Http] Making it easier to set a global User-Agent header for a Guzzle\Http\Client
[Http] Fixing the discrepancies between the ClientInterface and Guzzle\Http\Client
[Http] Adding the ability to set and retrieve tokenized headers from Requests and Responses
[Service] Ditching NIH filters and using the Symfony2 validator
[Service] Moving most service building logic to the ServiceBuilder::factory method so that it is easier to build custom config readers.
[Service] Allowing deep nested command inheritance.
[Service] Cleaning up Inflector caching.
[Service] Getting rid of concept of can_batch because everything is now sent in parallel.
[Service] Adding a JSON description builder.
[Service] Cleaning up ResourceIteratorApplyBatched.
[Service] Removing caching stuff from ServiceBuilder because the data being cached is extremely fast to generate.
[Service] Added a method to serialize the ServiceDescription in case a ServiceDescription needs to be cached in an application.
[Service] Making description builders use static methods.
[Service] Adding support to include other description files for XML and JSON description builders.
[Service] Adding support for filters to ApiCommands
[Service] Using {{}} instead of $. to reference other services as a dependency for another service
2012-01-14 13:57:05 -06:00
Michael Dowling
3946b93bbf [Tests] Getting code coverage back to 100% 2011-11-13 16:46:37 -06:00
Michael Dowling
b5f0507a0c [Tests] Adding .travis.yml
Removing logging from node server
Fixing history plugin test
Fixing bzip2 test
Fixing timestamp test
2011-11-13 13:30:34 -06:00
Michael Dowling
503c16668e [Tests] Adding `@server annotation to tests that require access to the node.js server. If you cannot install node.js, use phpunit --exclude-group server` to run the other tests. 2011-11-12 19:31:00 -06:00
Michael Dowling
17b4ac50d6 Cleaning up the EventManager class. Using spl_object_hash as event keys. 2011-08-28 00:06:08 -05:00
Michael Dowling
a7ae469671 Removing verbose docblock headers from every class 2011-07-07 17:17:28 -05:00
Michael Dowling
a6f5e6a194 Removing /src from generated Phar file. Removing deprecated assertType calls from PHPUnit tests. 2011-04-13 12:44:53 -05:00
Michael Dowling
782b323893 [Common] Adding a Monolog log adapter. Fixing the ZendLogAdapter and updating logging unit tests. Adding Monolog as a submodule and adding to to the test bootstrap. 2011-04-12 22:57:12 -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
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
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
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
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
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
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
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