summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Continuing to refactor oauth1 to use Request objects internally.use_request_objectsDavid Gouldin2012-05-122-21/+25
|
* Merge remote-tracking branch 'origin/master' into use_request_objectsDavid Gouldin2012-05-121-1/+1
|\ | | | | | | | | Conflicts: oauthlib/oauth1/rfc5849/__init__.py
| * v0.1.3Idan Gazit2012-05-061-1/+1
| |
* | More porting of internal metods to use Request objects. Some tests are still ↵David Gouldin2012-05-011-14/+15
|/ | | | broken.
* Fix unicode leaksIdan Gazit2012-05-011-1/+1
| | | | | | Wrap stdlib quote, unquote, urlencode in versions that protect the internal usage of unicode. All data going out is encoded as UTF-8, and the results are read back in and decoded from UTF-8.
* Remove unused importIdan Gazit2012-05-011-1/+0
|
* PEP8 police raidIdan Gazit2012-05-011-4/+1
|
* Refactor utility methods, improve robustness of OAuth1 Client.signIdan Gazit2012-05-013-50/+37
| | | | | | | | | * Move quote, unquote, urldecode to oauthlib.common * Use urldecode for extract_params * Simplify request logic: store body and decoded_body instead of body_has_params * Document steps in Client.sign * Properly validate requests in Client.sign
* Regex fixIb Lundgren2012-04-261-3/+4
|
* Decode urlencoded properlyIb Lundgren2012-04-261-0/+17
|
* Fix the failing tests.Caleb Brown2012-04-251-2/+2
| | | | | | * Order of values returned from client.sign() were changed * Call to Client.get_oauth_signature() in Server.check_request_signature() needs to take a Request()
* Update testcases with valid outputsIdan Gazit2012-04-241-2/+2
|
* Merge branch 'master' into features/request_objectIdan Gazit2012-04-232-22/+78
|\ | | | | | | | | | | | | Conflicts: oauthlib/oauth1/rfc5849/__init__.py oauthlib/oauth1/rfc5849/parameters.py oauthlib/oauth1/rfc5849/signature.py
| * Removing now-unneeded utf8_str.David Gouldin2012-04-201-10/+0
| |
| * Normalizing as much as possible to unicode, pulling in non-unicode functions ↵David Gouldin2012-04-202-17/+13
| | | | | | | | from stdlib modules as unicode-safe variants in utils.
| * Revert "Add support to OAuth1 for including body in the base string based on"Caleb Brown2012-04-191-30/+11
| | | | | | | | | | | | This reverts commit ae386c2154f65054427f33419bf17b6feda563d5. Will be replaced in favour of passing a 'content_type' parameter.
| * Add support to OAuth1 for including body in the base string based onCaleb Brown2012-04-181-11/+30
| | | | | | | | | | | | | | | | encoding. Section 3.4.1.3.1. (Parameter Sources) in rfc5849 indicates that multipart bodies are excluded from the base string when generating the signature.
| * Update the tests. Strengthen the unescape and escape tests and add moreCaleb Brown2012-04-182-5/+21
| | | | | | | | server tests.
| * Fix a bug in oauth1.signature.collect_parameters preventing unescaping.Caleb Brown2012-04-181-0/+50
| |
| * urllib.unqoute doesn't take 'safe' as an arg. Add a test and fix.Caleb Brown2012-04-181-4/+8
| |
* | Make method signatures in parameters.py consistentIdan Gazit2012-04-231-12/+19
| | | | | | | | | | | | | | * Use oauthlib.common.extract_params * replace _add_params_to_qs with _append_parms * remove no-longer-needed order_params decorator * Yes I know this breaks tests right now :(
* | Add Request representationIdan Gazit2012-04-231-0/+74
|/
* Updating oauth1 parameters.prepare_headers in order to apply more of the ↵David Gouldin2012-04-141-21/+21
| | | | spec language to documentation.
* PEP8 cleanup and fix OAuth2 import pathsIdan Gazit2012-04-112-11/+8
|
* Move OAuth2 utils to their proper homeIdan Gazit2012-04-111-0/+0
|
* Merge branch 'master' of github.com:idangazit/oauthlibIdan Gazit2012-04-111-0/+57
|\
| * Merge pull request #16 from ib-lundgren/oauth2_utilsIdan Gazit2012-04-111-0/+57
| |\ | | | | | | Utility methods for OAuth2
| | * Utility methods for OAuth2Ib Lundgren2012-03-311-0/+57
| | |
* | | PEP8 cleanup of OAuth2 bitsIdan Gazit2012-04-111-35/+33
|/ /
* | Move oauth2 bits to their new homeIdan Gazit2012-04-111-0/+0
| |
* | Merge pull request #17 from ib-lundgren/oauth2_tokensIdan Gazit2012-04-111-0/+84
|\ \ | | | | | | Bearer and MAC token support
| * | Bearer and MAC token supportIb Lundgren2012-03-311-0/+84
| |/
* | Restructuring to provide parity between code/tests, oauth1/oauth2.David Gouldin2012-04-077-14/+8
| |
* | Merge pull request #15 from ib-lundgren/oauth2_namespaceDavid Gouldin2012-03-311-0/+0
|\ \ | | | | | | OAuth 2 draft 25 initial
| * | OAuth 2 draft 25 initialIb Lundgren2012-03-311-0/+0
| |/
* | generate_token test was not runningIb Lundgren2012-03-311-2/+2
|/
* Merge branch 'master' of https://github.com/idangazit/oauthlib into ↵Ib Lundgren2012-03-241-11/+26
|\ | | | | | | duplicate_keys
| * Added control hmac keyIb Lundgren2012-03-241-1/+2
| |
| * Merge branch 'master' of https://github.com/idangazit/oauthlib into hmac_testIb Lundgren2012-03-241-2/+15
| |\
| | * Added RSA TestIb Lundgren2012-03-151-2/+15
| | |
| * | Extracted out string constantsIb Lundgren2012-03-241-12/+4
| | |
| * | Updated HMAC testIb Lundgren2012-03-151-5/+14
| |/
* | Allow empty strings and duplicate keys in queryIb Lundgren2012-03-161-18/+27
|/
* Updating tests to reflect changes in handling headers.David Gouldin2012-03-132-28/+44
|
* Fixing a broken prepare_form_encoded_body test.David Gouldin2012-03-131-2/+4
|
* testing the parsing of auth headersDaniel Greenfeld2012-03-131-1/+32
|
* Test on urlencode utils functionDaniel Greenfeld2012-03-131-1/+23
|
* Test fix.Daniel Greenfeld2012-03-131-2/+4
|
* Adding a test on generating tokensDaniel Greenfeld2012-03-131-0/+13
|
* Adding a test for nonce generationDaniel Greenfeld2012-03-131-1/+9
|