Permalink
Switch branches/tags
Nothing to show
Commits on Mar 2, 2012
  1. Require 'hex-util.

    psanford committed Mar 2, 2012
    It provides encode-hex-string.
Commits on Jan 18, 2011
  1. oauth-url-retrieve: Accept a cb-data parameter for the async callback

    bpeel authored and psanford committed Sep 2, 2010
    The url-retrieve function has a callback data parameter that gets
    passed to the async callback if it's specified. This adds a similar
    optional parameter to oauth-url-retrieve. The parameter is useful
    because elisp doesn't support closures so there's no other convient
    way to pass back data to the callback.
  2. Don't use curl for asynchronous requests

    bpeel authored and psanford committed Sep 2, 2010
    This changes the order of the 'cond' section in oauth-url-retrieve so
    that it checks whether an asynchronous callback is passed before
    checking whether to use curl. When curl is used the request becomes
    synchronous and the callback is ignored so the callback parameter
    should take precedence.
Commits on Dec 28, 2010
  1. Added oauth_callback to request header.

    psanford committed Dec 28, 2010
    This is a required parameter in the final RFC (5849)
    that was optional in previous drafts.
    
    It is set to oob by default.
Commits on Dec 4, 2010
  1. Fix hmac-sha1 error msgs show the error object.

    psanford committed Dec 4, 2010
    Thanks to github.com/leoliu for the patch.
Commits on Aug 25, 2010
  1. Update readme.

    psanford committed Aug 25, 2010
  2. Add native support for oauth_verifier.

    psanford committed Aug 25, 2010
    Removed the callback functionality as it served the same
    purpose prior to 1.0a spec.
Commits on Aug 18, 2010
  1. Added README for github.

    psanford committed Aug 18, 2010
  2. Merged patch from Anthony Garcia.

    psanford committed Aug 18, 2010
    The previous code assumed there would always be a linebreak after the token
    data, this breaks code trying to auth at providers such as statusnet.
Commits on Apr 25, 2009
  1. Added a callback for after authorization for doing non standard actions.

    psanford committed Apr 25, 2009
    This is specifically for yammer which added a nonstandard step
    because of http://oauth.net/advisories/2009-1. Hopefully oauth
    will get fixed so we can drop this.
Commits on Jan 31, 2009
  1. Removed yammer.el.

    psanford committed Jan 31, 2009
    The yammer library has been moved to its own repository:
    http://github.com/psanford/emacs-yammer/tree/master
Commits on Jan 25, 2009
Commits on Jan 20, 2009
  1. Added method to curl args.

    psanford committed Jan 20, 2009
    This allows for actions besides GET and POST
    (i.e. PUT and DELETE).
Commits on Jan 19, 2009
  1. Fixed curl command escaping issues.

    psanford committed Jan 19, 2009
    Use (call-process) instead of (shell-command-to-string)
    for dispatching to curl so that we don't run into
    shell special character issues.
    
    Changed (url-hexify-string-upcase) to (oauth-hexify-string).
    OAuth has fewer unreserved chars than urls.