Permalink
Commits on Aug 6, 2014
  1. version bump to 0.8.4

    themattharris committed Aug 6, 2014
  2. cacert.pem refresh and reference link

    themattharris committed Aug 6, 2014
Commits on May 18, 2014
  1. dev version header

    themattharris committed May 18, 2014
  2. Support for for multipart requests to prevent deprecated warnings in …

    …PHP 5.5. (Issue #168). Props: shiki
    themattharris committed May 18, 2014
  3. Merge branch 'shiki-curlfile-support' into dev

    themattharris committed May 18, 2014
  4. Merge branch 'curlfile-support' of https://github.com/shiki/tmhOAuth

    …into shiki-curlfile-support
    themattharris committed May 18, 2014
Commits on May 17, 2014
  1. Provide an option allowing CURLOPT_SSLVERSION to be specified. (Issue #…

    …177). Props: troykelly
    themattharris committed May 17, 2014
  2. Update curl options to handle methods beyond GET and PUT. (Issue #162

    …and #176). Props: jamesvl
    themattharris committed May 17, 2014
  3. Merge branch 'jamesvl-master' into 0.8.4

    themattharris committed May 17, 2014
  4. Merge branch 'master' of https://github.com/jamesvl/tmhOAuth into jam…

    …esvl-master
    themattharris committed May 17, 2014
  5. version bump

    themattharris committed May 17, 2014
Commits on Apr 23, 2014
  1. Fix sending of requests apart from GET and POST.

    Some new API calls require a PUT. Also allows DELETE calls to be made.
    
    This ought to resolve Issue #162 as well.
    jvlGrab committed Apr 23, 2014
Commits on Nov 27, 2013
  1. Added support for `CurlFile` for multipart requests to prevent deprec…

    …ated warnings in PHP 5.5.
    
    Example call:
    
        $client->request('POST', 'https://api.twitter.com/1.1/statuses/update_with_media.json', array(
          'status' => ‘Posting a photo’,
          'media[]' => new CurlFile(‘my-file.jpg’),
        ), true, true);
    shiki committed Nov 27, 2013
Commits on Aug 19, 2013
  1. Version 0.8.3

    - allow setting of CURLOPT_HTTP_VERSION. (Issue #150) Props: kashum
    - define __DIR__ if it's not defined already. (Issue #145) Props: kashum
    - prepend a blank space to the beginning of strings in multipart requests so that curl doesn't try and process them as a file. (Issue #46)
    themattharris committed Aug 19, 2013
Commits on Jun 15, 2013
  1. Version 0.8.2

    - fix backwards compatibility with `$tmhOAuth->config['user_token']` and `$tmhOAuth->config['user_secret']`
    themattharris committed Jun 15, 2013
  2. Version 0.8.1

    - prioritize `$tmhOAuth->config['token']` and `$tmhOAuth->config['secret']` over `$tmhOAuth->config['user_token']` and `$tmhOAuth->config['oauth_secret']`
    - consider `$tmhOAuth->config['use_ssl']` as well when setting +SSL in the useragent
    - update readme and composer description
    themattharris committed Jun 15, 2013
Commits on Jun 14, 2013
  1. Version 0.8.0

    - update cacert.pem with certificate data from Mozilla as of: Sat Dec 29 20:03:40 2012
    - in `$tmhOAuth->url` don't prepend the host name if the URL begins with `http`
    - in `$tmhOAuth->url` remove multi-slashes
    - rename tweets to messages in streaming metrics
    - rename user_token and user_secret to token and secret so that it matches the oauth parameter names
    - remove change history and publish to the wiki instead: <https://github.com/themattharris/tmhOAuth/wiki/Change-History>
    - removed `tmhUtilities.php` as it's only used in the examples
    - add application only auth support
    - create request helper methods for unauthenticated, user and apponly requests.
    - refactor `prepare_params` to support new auth methods
    - introduce `reconfigure` method for updating the tmhOAuth configuration. (Issue #118). Props: philsturgeon
    - don't set the default timezone. (Issue #125). Props: mbeccati
    - introduce `bearer_token_credentials` for app only auth.
    - `$tmhOAuth->config['v']` is ignored. instead specify the API version in the path you pass to `$tmhOAuth->url`
    themattharris committed Jun 14, 2013
Commits on Feb 20, 2013
  1. Version 0.7.5

    - tidying up of composer.json. (Issue #112) Props: ceeram
    themattharris committed Feb 20, 2013
  2. Version 0.7.4

    - corrections to composer.json to support packagists requirements. (Issue #110)
    themattharris committed Feb 20, 2013
Commits on Feb 19, 2013
  1. Version 0.7.3

    - add support for making requests with the host header being different to the request host.
    - ensure headers with the same key do not overwrite each other in $tmhOAuth->response['headers'].
    - removed examples submodule in favor of examples including tmhOAuth, rather than tmhOAuth including examples
    - made it so that if param values are sent to $tmhOAuth->request as an array (key -> array()) then $tmhOAuth->prepare_params will now implode them using ','
    - fixed composer. (Issue #99). Props: rasa
    - fixed PHPDoc. (Issue #47). Props: trante
    - instead of void, $tmhOAuth->curlit now returns 0 if 'prevent_request' is set
    themattharris committed Feb 19, 2013
Commits on Nov 1, 2012
  1. Version 0.7.2

    - use DIRECTORY_SEPARATOR for multi-environment support. (Issue #80) Props: whallz
    - tidied up the curlHeader function to use explode instead of substr and store the keys in the format they are returned from the API
    - removed content-length hack as it isn't needed if CURLOPT_POSTFIELDS is initialized on all POSTs
    - removed the expects header hack as Twitter no longer requires it to be there
    - introduce composer.json. (Issues #39, #77, #85) Props: akandels, conradkleinespel, dguyon, kud, philsturgeon, willdurand
    - added support for specifying custom headers when using $tmhOAuth->request. (Issue #98)
    committed with themattharris Nov 1, 2012
Commits on Oct 27, 2012
  1. Version 0.7.1

    - set content-length to 0 explictly to avoid a bug between libcurl and Twitter (Issue #94)
    - allow initialization without a configuration array (default config to array())
    - prevent ->url allowing double slashes in paths
    themattharris committed Oct 27, 2012
Commits on Oct 7, 2012
  1. add examples as a submodule

    committed with themattharris Oct 7, 2012
Commits on Sep 5, 2012
  1. fix readme markup

    committed Sep 5, 2012
  2. readme updates, including addition of @tmhOAuth

    committed with themattharris Sep 5, 2012
Commits on Sep 4, 2012
  1. Version 0.7.0

    - changed version numbers to x.y.z format
    - stronger method scoping (public and private)
    - Typo fix in depenencies. (Issue #42) Props: tantek
    - Only lowercase the host and scheme, and not path, in prepare_url. (Issue #56) Props: uzyn
    - Fixed a number of PHP warnings by changing some tmhUtilty methods to static. (Issue #52) Props: DrayChou
    - Raw headers and response body are now available as `$tmhOAuth->response['raw']`
    - Moved the examples to their own repository <https://github.com/themattharris/tmhOAuth-examples>
    - Removed the `noexamples` branch as master does not contain examples anymore
    - Introduced `$tmhOAuth->config['timezone']` and set `date_default_timezone_set`. (Issue #70) Props: iamctodd
    committed with themattharris Sep 4, 2012
Commits on Apr 3, 2012
  1. Merge pull request #42 from tantek/patch-1

    typo
    committed Apr 3, 2012
  2. typo

    tantek committed Apr 3, 2012
Commits on Mar 12, 2012
  1. Bump version numbers

    themattharris committed Mar 12, 2012
  2. Merge pull request #36 from kud/patch-1

    Error on recognizing https
    committed Mar 12, 2012
Commits on Mar 2, 2012
  1. was not being added to the request array

    themattharris committed Mar 2, 2012