Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

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

    Kevin Burke authored
    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
  2. Merge branch 'master' of github.com:twilio/twilio-php

    Kevin Burke authored
  3. Add Aaron Foss to AUTHORS

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

    Kevin Burke authored
    Missing an ending parens in the conference TwiML example.
  2. @aaronfoss

    Update docs/usage/twiml.rst

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

    Kevin Burke authored
    Minor documentation fixes
  2. @lukewaite
Commits on Sep 2, 2012
  1. add alex chan to AUTHORS

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

    Kevin Burke authored
  2. @alexcchan
Commits on Aug 22, 2012
  1. Ignore more directories in package.php

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

    Kevin Burke authored
  2. Don't update the URI when updating a resource

    Kevin Burke authored
    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.
  3. Add failing test

    Kevin Burke authored
  4. Document travis_install file

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

    Kevin Burke authored
  2. Resolve merge conflict

    Kevin Burke authored
  3. Make retryAttempts a protected object var

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

    Kevin Burke authored
  2. Add comments and fix formatting

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

    Kevin Burke authored
    Delete the other two helper functions. Works with all versions of PHP 5
  2. Document new Queue behavior

    Kevin Burke authored
  3. Add tests for new Queue behavior.

    Kevin Burke authored
  4. Finish implementation of Queue

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

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

    Kevin Burke authored
  3. Remove unnecessary helper function

    Kevin Burke authored
  4. Move retry logic to the business level

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

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

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

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

    Kevin Burke authored
    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.
  4. Fix participants code example

    Kevin Burke authored
  5. Add working conference participants example

    Kevin Burke authored
Something went wrong with that request. Please try again.