Permalink
Switch branches/tags
Nothing to show
Commits on Apr 28, 2012
  1. Merge pull request #3 from xrg/xrg

    oauth: narrow on exception handling
    committed Apr 28, 2012
Commits on Apr 18, 2012
  1. oauth: narrow on exception handling

    It is generally not advisable to use "except:" in python, because it would
    catch "KeyboardInterrupt" and "SystemExit", meant only to be caught at
    main() level. Only catch the ones we really expect to see, let others
    propagate up the stack.
    
    Also, when computing the HMAC, we shall not retry w/o hashlib in the case
    that first hashing has gone wrong. This confuses the error message between
    a missing import and a bad supplied hash.
    xrg committed Jan 2, 2012
Commits on Oct 20, 2009
  1. Fix for big timestamps. Thanks Zed Shaw!

    git-svn-id: https://oauth.googlecode.com/svn/code/python@1134 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Oct 20, 2009
Commits on Sep 29, 2009
  1. Python: changes to setup.py for version.

    git-svn-id: https://oauth.googlecode.com/svn/code/python@1130 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Sep 29, 2009
  2. Python: changes to setup.py for version, description, and license.

    git-svn-id: https://oauth.googlecode.com/svn/code/python@1129 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Sep 29, 2009
  3. Python: easy_install thinks 1.0a is a pre-release of 1.0. Changing th…

    …e version number to attempt to trick it.
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@1128 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Sep 29, 2009
Commits on Sep 23, 2009
  1. Python: updated version in setup.py and pushed to pypi

    git-svn-id: https://oauth.googlecode.com/svn/code/python@1127 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Sep 23, 2009
Commits on Sep 17, 2009
  1. Python - to support 1.0, do not throw errors for missing 1.0a paramet…

    …ers. Thanks to Toby White for the patch and Mike Malone for confirming.
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@1124 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Sep 17, 2009
Commits on Aug 13, 2009
  1. Python lib 1.0a support. Very basic and hurting for tests. Thanks and…

    … John L. Scarfone.
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@1092 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Aug 13, 2009
Commits on Jul 10, 2009
  1. Nicer way to manipulate the OAuth header. Thanks Toby White.

    git-svn-id: https://oauth.googlecode.com/svn/code/python@1068 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jul 10, 2009
  2. Added MIT license to both server and consumer in example as well.

    git-svn-id: https://oauth.googlecode.com/svn/code/python@1067 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jul 10, 2009
Commits on Jun 4, 2009
  1. Python: fix for making sure the default ports are at the end of the s…

    …tring before stripping them. Thanks Brad Choate.
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@1044 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jun 4, 2009
Commits on Jun 3, 2009
  1. Python: exclude default port numbers form url normalization according…

    … to section 9.1.2. Thanks Toby White for the fix.
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@1042 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jun 3, 2009
Commits on May 19, 2009
  1. python lib: added MIT license

    git-svn-id: https://oauth.googlecode.com/svn/code/python@1011 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed May 19, 2009
  2. removed unneeded check for blank consumer key. Spec allows for blank …

    …keys anyways. Thanks Toby White.
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@1009 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed May 19, 2009
Commits on Apr 20, 2009
  1. removed extra timestamp param for example lookup_nonce... not sure wh…

    …y this was there in the first place
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@963 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Apr 20, 2009
Commits on Apr 8, 2009
  1. Use docstrings, capitalized comments, double line space between class…

    …es and 80-char indenting. Thanks me@stechz.com!
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@935 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Apr 8, 2009
Commits on Feb 25, 2009
  1. removed extra line?

    git-svn-id: https://oauth.googlecode.com/svn/code/python@904 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Feb 25, 2009
Commits on Feb 20, 2009
  1. handle unicode a little better in param normalization

    git-svn-id: https://oauth.googlecode.com/svn/code/python@898 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    andyster@gmail.com committed Feb 20, 2009
Commits on Feb 18, 2009
  1. comments about the fake-ness of the example code

    git-svn-id: https://oauth.googlecode.com/svn/code/python@897 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Feb 18, 2009
Commits on Jan 25, 2009
  1. programming error:P fix for r852

    git-svn-id: https://oauth.googlecode.com/svn/code/python@861 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jan 25, 2009
Commits on Jan 14, 2009
  1. small change

    git-svn-id: https://oauth.googlecode.com/svn/code/python@852 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jan 14, 2009
  2. build_signature_base_string() method of OAuthSignatureMethod_PLAINTEX…

    …T now returns key, raw. Fix for #45. Thanks james.henstridge and David Larlet
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@851 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jan 14, 2009
  3. python: fix for typo #56

    git-svn-id: https://oauth.googlecode.com/svn/code/python@850 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jan 14, 2009
  4. python: support for python 2.2, fix for #59, needs to be tested in 2.…

    …2. Thanks kunalmshah.userId!
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@849 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jan 14, 2009
  5. fix for #43, don't encode callback right away. Thanks dinkumator and …

    …Hiroaki.Kawai!
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@848 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jan 14, 2009
  6. fix for #31, thanks ashish.tonse

    git-svn-id: https://oauth.googlecode.com/svn/code/python@847 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jan 14, 2009
Commits on Dec 3, 2008
  1. adding setup.py so that this can be installed more easily

    git-svn-id: https://oauth.googlecode.com/svn/code/python@819 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    andyster@gmail.com committed Dec 3, 2008
Commits on Jul 17, 2008
  1. quick fix of a bug related to using {}

    git-svn-id: https://oauth.googlecode.com/svn/code/python@601 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    andyster@gmail.com committed Jul 17, 2008
Commits on Jul 8, 2008
  1. python lib: issue #19 content-type header for example SimpleOAuthClie…

    …nt. Thanks jesse.myers!
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@590 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jul 8, 2008
  2. python lib: from ticket #16, catch OAuthError specifically when fetch…

    …ing the request token in the server. Thanks larlet!
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@589 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jul 8, 2008
  3. python lib: fix for #16, applied patch plaintext.signature.ampersand.…

    …diff. Thanks atregoubenko!
    
    git-svn-id: https://oauth.googlecode.com/svn/code/python@588 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jul 8, 2008
Commits on Jun 8, 2008
  1. python lib: use indexes for urlparse for < 2.5

    git-svn-id: https://oauth.googlecode.com/svn/code/python@573 f7ae4463-c52f-0410-a7dc-93bad6e629e8
    committed Jun 8, 2008