Commit Graph

148 Commits

Author SHA1 Message Date
Mikela Clemmons 4269205c3f added DiscoverRunner for django 1.7 and above 2014-09-21 10:42:27 -07:00
Mikela Clemmons 6b1bc44fa2 removed django-dev with 2.6 2014-08-25 13:30:46 -07:00
Mikela Clemmons 51c2581a27 removed django dev from 2.6 since django dropped support 2014-08-25 13:28:03 -07:00
Mikela Clemmons 8dc84e675d added updated to req and setup and test 2014-08-25 13:03:36 -07:00
Mikela Clemmons cc06cf0b26 fixed views to use content type 2014-08-25 12:42:35 -07:00
Mikela Clemmons 11a63b0321 added settings for proper middleware 2014-08-25 12:17:44 -07:00
Mikela Clemmons 31cb8bcdcc Revert "added httprequest fixes"
This reverts commit 3b7ebe9f00.
2014-08-25 12:16:12 -07:00
Mikela Clemmons 4a5ba08082 added app_label 2014-08-25 10:39:30 -07:00
Mikela Clemmons 7ab7a17531 made models use old table names 2014-08-22 14:34:09 -07:00
Mikela Clemmons d2ea6049da changed name and added label so far this hasnt solved the issue 2014-08-22 13:38:40 -07:00
Mikela Clemmons c1ba135253 added apps.py and updated init so far its failing 2014-08-22 13:27:38 -07:00
Mikela Clemmons 3b7ebe9f00 added httprequest fixes 2014-08-22 12:45:50 -07:00
Evan Culver 6b5bc0d3ad #56 - Uncomment an assertion in scope tests. It was commented out whilst adding support for Django 1.6. 2014-03-18 14:22:39 -07:00
Evan Culver a7d7e0ffa4 Merge pull request #71 from Tictrac/bugfix/single-access-token-refresh
Fixes #70. Prevent multiple access tokens from being returned.
2014-03-17 15:06:43 -07:00
Eleni Lixourioti 3a6a844259 Fix get_access_token failing on single tracker mode after token refresh (#70). 2014-03-17 13:58:13 +00:00
Evan Culver 9ae7e652af Removing django 1.3 from tox and travis-ci matrices since it's no longer officially supported. 2013-12-18 12:29:47 -08:00
Evan Culver 1534655420 Fixing silly bug in test wrapper's django version detection. 2013-12-18 12:28:36 -08:00
Evan Culver af585ce74f #55 - Update travis-ci config to include Django 1.6. 2013-12-18 11:22:18 -08:00
Evan Culver cdf4c8bd93 Django 1.6 detection for test wrapper script. 2013-12-18 11:21:09 -08:00
Evan Culver 3e769546e4 Merge pull request #56 from eculver/compat/django-1.6
Support for Django 1.6.
2013-12-18 09:30:02 -08:00
Evan Culver 7fb926f3c8 #55 - Removing another unnecessary import. 2013-12-18 09:28:09 -08:00
Evan Culver 9dfcfe73cc #55 - Removing unnecessary imports. 2013-12-18 09:22:28 -08:00
Evan Culver bc90f37620 #55 Adding Django 1.6 to tox coverage matrix. 2013-12-18 09:15:26 -08:00
Evan Culver 5d6259e33a #55 - Fallback to simplejson in older versions of Django. 2013-11-26 09:56:11 -08:00
Evan Culver 10adf8c66a Fixes #55 - Handle non-list/non-tuple form field values for scope introduced in Django 1.6 2013-11-21 15:05:05 -06:00
Evan Culver 8a97e5e2e6 #51 #53 - Support for model serialization/deserialization. This addresses the issues in Django 1.6 involving new session storage backend behavior. 2013-11-21 14:26:02 -06:00
Evan Culver 0623e98a97 Fix #26 by checking for invalid data before attempting access. 2013-11-16 20:06:17 -08:00
Evan Culver 2c345f2f5b Merge pull request #50 from caffeinehit/pr/48
Implement OAUTH_DELETE_EXPIRED setting
2013-11-06 10:45:56 -08:00
Evan Culver 0c0236b389 Use `constants` instead of going directly through settings when invalidating tokens and grants. This also replaces 'clean' with 'delete' for the new setting to be more clear as to what's being done under the hood. 2013-11-05 15:17:44 -08:00
Ross McFarland 9049d6350f implement OAUTH_CLEAN_EXPIRED, clean as you go
this avoids keeping around unneeded/no-longer usable objects. it's optional
defaulting to False, the current behavior.

adds a setting OAUTH_CLEAN_EXPIRED that optionally cleans out objects as
they're expired which should keep the size of the grant, access, and refresh
token tables in check.

once grants are used they are deleted. and once a RefreshToken is used both
it and its corresponding AccessToken are deleted.
2013-11-03 13:07:10 -08:00
Evan Culver 74312ebec8 Adding a License section to README. 2013-10-25 19:01:33 -07:00
Evan Culver d53a9fbcb1 Fixes #32 - Add `token_type` to access token response to conform to section 4.2.2 of the OAuth 2.0 specification. 2013-10-25 18:25:27 -07:00
Evan Culver a6bbb29916 #29 - Remove trailing slash that was causing installs to fail on Windows. 2013-10-25 16:23:16 -07:00
Evan Culver 5113cf5441 Merge pull request #31 from gotche/master
Add index to AccessToken.token
2013-10-25 16:14:02 -07:00
Evan Culver dcee7bc4c9 Addressing #28 by replacing the BSD license reference with MIT to match what's in the repo. 2013-10-25 15:44:46 -07:00
Evan Culver 9f2523347b Bumping version to 0.2.7-dev to avoid ambiguity in an established package. 2013-10-25 15:23:50 -07:00
Evan Culver f92c725113 Clean up and PEP8 for #41. 2013-10-25 15:23:50 -07:00
Adam Charnock 69a7c3e2e3 Public and private clients can now have different expiry times
Public clients often wish to have shorter expieration times
2013-10-25 15:23:50 -07:00
Adam Charnock 64609c0e33 Not sending a refresh_token to public clients requesting password_grants 2013-10-25 15:23:50 -07:00
Adam Charnock ad7d4f22e1 Removing need to client_secret during password grants for public clients
As discussed in issues #21 and #25. This provides a more rigerous check
of the circumstances required for the client_secret to forgone.
2013-10-25 15:23:50 -07:00
Evan Culver cdce08d257 Merge pull request #14 from dulaccc/fix-imports
Improve cross python compatibility issues with little imports
2013-10-22 11:21:21 -07:00
Evan Culver d5579633b7 Minor formating tweak to last README change. 2013-10-21 11:54:50 -07:00
Evan Culver 0faa2157af Adding link to new mailing list in README. 2013-10-21 11:53:16 -07:00
Evan Culver 1e7f1fce52 Fixing minor typo in README. 2013-10-21 11:53:03 -07:00
meili 69cd068a91 Add index to AccessToken.token
Without an index, the retrieval of the access tokens performs a full table scan, and after just a few couple of thousands tokens it will significantly affect the performance.
2013-08-08 21:34:29 +02:00
Alen Mujezinovic 04ab258e63 Updated docs/conf.py to use the test project for settings 2013-06-14 16:19:42 +01:00
Alen Mujezinovic 7945c81cd5 Tests updates
* Removed Django 1.2
* Don't run dev tests on travis
2013-06-14 16:09:55 +01:00
Alen Mujezinovic efaa2379e7 Don't test 1.6 yet 2013-06-14 15:57:35 +01:00
Alen Mujezinovic 335bbd2e71 Travis updates 2013-06-14 15:55:40 +01:00
Alen Mujezinovic 6d68d0225a Merge remote-tracking branch 'dulaccc/improve-doc'
Conflicts:
	docs/api.rst
	provider/__init__.py
2013-06-14 15:43:43 +01:00