Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 30, 2012
  1. Comment in Resource and use self instead of classname

    Kevin Burke authored
  2. Change variable names and style guide changes

    Kevin Burke authored
  3. update comments and fit line in 80 chars

    Kevin Burke authored
  4. comment list resource constructor

    Kevin Burke authored
  5. Merge branch 'master' into fix-deep-paging

    Kevin Burke authored
  6. merge recent comments

    Kevin Burke authored
  7. refactor whitespace in tests

    Kevin Burke authored
Commits on Jun 24, 2012
  1. update readme examples

    Kevin Burke authored
  2. modify examples to show absolute path

    Kevin Burke authored
Commits on Jun 15, 2012
  1. @kyleconroy
  2. @kyleconroy

    Merge pull request #67 from kevinburke/fix-whitespace

    kyleconroy authored
    Remove trailing whitespace and add braces.
  3. @kyleconroy

    Merge pull request #66 from kevinburke/more-specific-tests

    kyleconroy authored
    Make tests more specific.
  4. @kyleconroy

    Merge pull request #65 from twilio/unset-static-curl-var

    kyleconroy authored
    Add PHP warning if user does not have curl defined
Commits on Jun 5, 2012
  1. Add tests to cover more expected library behavior.

    Kevin Burke authored
  2. Add two more tests for bad behavior.

    Kevin Burke authored
Commits on Jun 4, 2012
  1. Add deep paging support

    Kevin Burke authored
    Summary of changes:
    - Add an extra next_page_uri property to the Page and AutoPagingIterator
      classes. If specified, request this URI directly, instead of constructing it
      from the Page and PageSize properties.
    - Make each resource aware both of the HTTP client and of its URI
      representation
    - Remove or refactor extraneous functions
    - Inline functions that were only called in one place
    - Add tests for deep paging and to ensure only one copy of the HTTP client is
      created.
    - Remove all of the DataProxy classes. The idea is good but the extra layer of
      abstraction makes it difficult to get at the HTTP client making requests, and
      also to specify which URL you would like to load. In addition, the largest
      library use case is mutative - making calls or sending SMS - which you cannot
      cache.
    
    Conflicts:
    	tests/TwilioTest.php
  2. Remove trailing whitespace and add braces.

    Kevin Burke authored
  3. ignore intellij junk

    Kevin Burke authored
  4. Make tests more specific.

    Kevin Burke authored
    Specifically, stop allowing any() header. One of the tests was broken, and it
    was not caught because we were not checking post input from this function.
  5. Change boolean order to avoid extra !

    Kevin Burke authored
  6. Use getResourceName in all places it's useful.

    Kevin Burke authored
    requires setting instance_name in AvailablePhoneNumbers as it's different than
    a trimmed version of the resource name ("countries").
  7. Merge branch 'master' into deep-paging

    Kevin Burke authored
  8. Add deep paging and several refactorings.

    Kevin Burke authored
    Get rid of unused method calls. Remove the 'promoter' argument to
    AutoPagingIterator. Refactor other methods to avoid method call overhead.
  9. Check for curl extension instead of constant check

    Kevin Burke authored
  10. ignore intellij junk

    Kevin Burke authored
  11. Add failing deep paging test

    Kevin Burke authored
  12. update tests to anly allow specific headers

    Kevin Burke authored
Commits on Jun 3, 2012
  1. Add PHP warning if user does not have curl defined

    Kevin Burke authored
    The library *may* work anyway, however it won't work that well and you won't be
    able to make HTTP requests.
    
    Assumes if you are passing in your own http object, you may be using some
    different HTTP object and you are savvy enough to do what you want.
  2. Use the end() function instead of count() - 1

    Kevin Burke authored
  3. Ensure only one copy of the HTTP client exists.

    Kevin Burke authored
  4. Refactor schema into getResourceName

    Kevin Burke authored
    That was the only property that was being used. In addition,
    available_phone_numbers needs to overwrite this property so make it static.
  5. Remove whitespace diffs & add a comment

    Kevin Burke authored
  6. Merge branch 'master' into deep-paging

    Kevin Burke authored
  7. add back the sandbox resource

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