Commits

Author Commit Message Labels Comments Date
Vladimir Mihailenco
Add some logging
Vladimir Mihailenco
Only encode GET parameters
Vladimir Mihailenco
Fix query handling for non-http urls
Vladimir Mihailenco
Cleanup API
David Larlet
As suggested by @toastdriven, specifying raw_id_fields in admin is better for performances
David Larlet
Retrieveing fixes from @ditto's fork: better error handling
David Larlet
Updating to the latest version of python-oauth2, modifications mainly related to https://github.com/simplegeo/python-oauth2/commit/c9ce81bfb436c06d8048a16be445b6678ebef151
David Larlet
Add a test when the consumer doesn't provide a callback URL and remove the old stores.py file which lead to confusion, refs #1
David Larlet
Adding one more test, to verify params in the authorize view
David Larlet
Recent switch to uuid generate keys of 32 chars (vs. 16 before), default KEY_SIZE switched to 32, you'll need to alter your table if you update your existing code. Tests switched to postgresql because sqlite doesn't verify fields' constraints...
David Larlet
Switching to uuid to generate random keys
David Larlet
Switching to python-oauth2 thanks to the work done by Thomas Johansson on django-piston. Most of the work is done (tests pass) but it requires some cleanup, try it at your own risk!
David Larlet
Fix #5, add comments for the reuse of signatures in tests, thanks again @mohangk
David Larlet
Fix #4, oauth_callback_confirmed now returns 'error' if not True, not anymore hardcoded to ease debugging
David Larlet
Can't find a way to fix tests in a clean way with custom content_type and Django's test Client, at least tests are not anymore broken...
bdb
make this work with multipart
bdb
Allow settings to override default lengths.
Mark Lee
oauth_provider.views: Ensure that HttpResponseBadRequest is imported.
David Larlet
Link the test user to the consumer in tests, fix #2. Thanks Matthieu Tourne.
David Larlet
This is a STRONGLY recommended update.
David Larlet
Give a way to know if the authorization succeed or not to the callback view, you can now test on passed args if there is a token or an error. Thanks Toby White.
David Larlet
Partly revert previous commit, authorize_access wasn't evaluated as a boolean.
David Larlet
More robust authorize access test. Thanks Toby White.
David Larlet
Fix a bug, request.environ only exists in a WSGI environment. Thanks Toby White.
David Larlet
Add a way to restrict signature methods (to avoid plaintext for instance). Thanks Toby White.
David Larlet
Do not restrict callback url scheme and add a setting to blacklist some callback url hostnames. Thanks Toby White.
David Larlet
Allows consumer key & secret to be zero length (null=True, blank=True) - this is fine according to the OAuth spec, see
David Larlet
Use the MAX_URL_LENGTH constant, thanks for the reminder Toby White
David Larlet
Update documentation/test's warnings.
David Larlet
Handle 1.0a out-of-band case the right way, inspired by Toby White's fork. Note: never lie in your tests, cheater.
  1. Prev
  2. Next