Permalink
Commits on Sep 13, 2012
  1. Bump version to 3.7.2

    Kevin Burke committed Sep 13, 2012
Commits on Sep 12, 2012
  1. Verify SSL with a standard CA cert whitelist

    Uses the cacert.pem file generated by Mozilla, and curated here:
    http://curl.haxx.se/docs/caextract.html
    
    Tested extensively on a dev box.
    
    Fixes #88
    Kevin Burke committed Sep 12, 2012
  2. Merge branch 'master' of github.com:twilio/twilio-php

    Kevin Burke committed Sep 12, 2012
  3. Add Aaron Foss to AUTHORS

    Kevin Burke committed Sep 12, 2012
Commits on Sep 7, 2012
  1. Merge pull request #87 from aaronfoss/master

    Missing an ending parens in the conference TwiML example.
    Kevin Burke committed Sep 7, 2012
  2. Update docs/usage/twiml.rst

    Missing an ending parens.
    aaronfoss committed Sep 7, 2012
Commits on Sep 6, 2012
  1. Merge pull request #86 from lukewaite/master

    Minor documentation fixes
    Kevin Burke committed Sep 6, 2012
Commits on Sep 2, 2012
  1. add alex chan to AUTHORS

    Kevin Burke committed Sep 2, 2012
Commits on Aug 28, 2012
  1. Merge documentation fix from 'alex/master'

    Kevin Burke committed Aug 28, 2012
Commits on Aug 22, 2012
  1. Ignore more directories in package.php

    This way they won't be included in the pear download
    Kevin Burke committed Aug 22, 2012
Commits on Aug 16, 2012
  1. Bump version to 3.7.1

    Kevin Burke committed Aug 16, 2012
  2. Don't update the URI when updating a resource

    An InstanceResource would overwrite its URI if properties were retrieved or
    updated on the object. However the URI returned from the API already has
    '.json' appended to it, so when the library tries to also append .json, the
    extension has been appended twice.
    
    This is a similar bug to #71.
    I have checked to try and make sure it cannot appear under any other
    circumstances in the library.
    Kevin Burke committed Aug 16, 2012
  3. Add failing test

    Kevin Burke committed Aug 16, 2012
  4. Document travis_install file

    Kevin Burke committed Aug 16, 2012
Commits on Aug 6, 2012
  1. Bump version to 3.7.0

    Kevin Burke committed Aug 6, 2012
  2. Resolve merge conflict

    Kevin Burke committed Aug 6, 2012
  3. Make retryAttempts a protected object var

    Kevin Burke committed Aug 6, 2012
Commits on Aug 5, 2012
  1. Bump version to 3.6.0 and add change note

    Kevin Burke committed Aug 5, 2012
  2. Add comments and fix formatting

    Kevin Burke committed Aug 5, 2012
Commits on Aug 4, 2012
  1. DRY up request retry logic with call_user_func

    Delete the other two helper functions. Works with all versions of PHP 5
    Kevin Burke committed Aug 4, 2012
  2. Document new Queue behavior

    Kevin Burke committed Aug 4, 2012
  3. Add tests for new Queue behavior.

    Kevin Burke committed Aug 4, 2012
  4. Finish implementation of Queue

    Add support for dequeuing members and creating new Queues. Document an existing
    method.
    Kevin Burke committed Aug 4, 2012
Commits on Aug 3, 2012
  1. Initial work on Queue.

    Needs more testing, but I suspect it may be complete
    Kevin Burke committed Aug 3, 2012
  2. Remove retryAttempts from TinyHTTP constructor

    Kevin Burke committed Aug 3, 2012
  3. Remove unnecessary helper function

    Kevin Burke committed Aug 3, 2012
  4. Move retry logic to the business level

    Also write a bunch of tests for the retry logic. Reverts TinyHTTP to the master
    version.
    Kevin Burke committed Aug 3, 2012
  5. Remove Content-Type check

    Not needed anymore as we try to parse the body as JSON.
    Kevin Burke committed Aug 3, 2012
Commits on Jul 31, 2012
  1. s/numAttemps/numAttempts.

    Don't understand how PHP didn't care before, and did the right
    thing anyway, but let's be explicit.
    Kevin Burke committed Jul 31, 2012
  2. Correctly handle retries

    The old code would retry forever, this checks the number of retries
    left correctly
    Kevin Burke committed Jul 31, 2012
  3. Retry 1 time if 500, and better Content-type check

    Sometimes the API will return Content-Type: text/html when a 500 server error
    occurs. This handles this failure case by trying to decode the body as JSON,
    then throwing a RestException if the json_decode fails.
    
    In addition, 500 text/html errors are often transient, and retrying the request
    will succeed. Modify the TinyHttp client to retry requests one time if they
    resulted in a 500 error, bringing this library in line with the twilio-ruby
    library.
    
    Add tests for the new decoding behavior.
    
    Refactor URI building code in Twilio.php and avoid branching based on whether
    the query parameters are empty or not.
    Kevin Burke committed Jul 31, 2012
  4. Fix participants code example

    Kevin Burke committed Jul 31, 2012
  5. Add working conference participants example

    Kevin Burke committed Jul 31, 2012