Commit Graph

714 Commits

Author SHA1 Message Date
Aleksi Häkli
8a4afe746c
Implement connect social accounts functionality
Add serializers and views for connecting accounts with minimal
specialization of the existing django-rest-auth interfaces.

Also add viewset which enables listing social account infmration
via the REST API for social authentication driven client applications.

Resolves #347 in GitHub.
2018-01-18 16:56:42 +02:00
Maxim Kukhtenkov
a892ca3fa5 Upgrade requirements for demo project 2017-12-16 16:48:34 -05:00
Maxim Kukhtenkov
5e6c5a75ea Changes in demo project settings for Django 2.0 compatibility 2017-12-05 12:39:57 -05:00
Maxim Kukhtenkov
98d5ce314f Fix unit tests 2017-12-05 00:39:32 -05:00
Maxim Kukhtenkov
7ad440f7a2 Remove Django 1.10 from tests and move imports to top of the file 2017-12-05 00:23:37 -05:00
Maxim Kukhtenkov
fcca39643e
Merge pull request #391 from michael-k/patch-1
Run tests against Django 2.0
2017-12-05 00:20:31 -05:00
Michael K
3a2a256821 Fixes import path for django's reverse 2017-12-04 15:02:36 +01:00
Michael
864aa60f92 Run tests against Django 2.0
https://www.djangoproject.com/weblog/2017/dec/02/django-20-released/
2017-12-04 15:02:36 +01:00
mario
ed16455712
Merge pull request #386 from ducheneaut/patch-1
Prevent double-validation in LoginSerializer
2017-11-27 08:15:33 +01:00
Nic Ducheneaut
8bd8d604ff
Prevent double-validation in LoginSerializer
Modified branching statement to prevent double-validation when using "email" as the authentication method with Allauth.
2017-11-25 14:10:44 -08:00
mario
658664a7d4 Merge branch 'master' into pr/367 2017-11-12 10:36:13 +01:00
mario
ee791a402e
Merge pull request #367 from philippeluickx/d/pre_existing_acounts_check
Checking for pre-existing accounts
2017-11-12 10:35:36 +01:00
mario
f89471f980 pep8 cleanups 2017-11-12 10:32:27 +01:00
mario
a670fa9687
Merge pull request #372 from sloria/test-py36
Test against Python 3.6
2017-10-31 21:20:05 +01:00
mario
1b51eb8732
Merge pull request #380 from Tivix/travis-conf-fixes
Travis conf fixes
2017-10-31 18:27:42 +01:00
mario
2c1649daf1 fix: revert setup.py changes 2017-10-31 17:13:57 +01:00
mario
be2ac99a34 fix: changed travis.yml and setup.py configuration 2017-10-31 16:34:29 +01:00
mario
e4c04528a2 Merge pull request #373 from sloria/versioning-compat
Handle extra args and kwargs in all POST endpoints
2017-10-25 14:56:40 +02:00
Steven Loria
b34250ec94
Handle extra args and kwargs in all POST endpoints
This fixes compatibility with DRF's versioning
2017-10-24 20:14:12 -04:00
Steven Loria
05e5c647fa
Test against Python 3.6 2017-10-24 19:51:45 -04:00
Philippe Luickx
945008d326 Checking for pre-existing accounts from a different flow when using social connect 2017-10-05 12:06:05 +03:00
Maxim Kukhtenkov
42d039b473 Fix urlpatterns format in docs 2017-10-03 10:17:48 -04:00
Maxim Kukhtenkov
7e708d9ca7 Update configs and changelog for version 0.9.2 2017-10-02 15:52:33 -04:00
mario
30c89b1cc6 chore: added new test case for custom permission classes + general test module cleanups 2017-10-02 21:38:06 +02:00
Maxim Kukhtenkov
8afba8ca16 Merge pull request #341 from bIgBV/add-request-to-context
Pass request in the context when initializing `LoginSerializer`
2017-10-02 12:57:07 -04:00
Maxim Kukhtenkov
7a0fa017d3 Add MANIFEST.in change from #335 to master branch 2017-10-02 12:31:02 -04:00
Maxim Kukhtenkov
d16ec273e6 Merge pull request #366 from sobolevn/patch-1
Updates README.rst with svg badges
2017-10-02 11:56:54 -04:00
Nikita Sobolev
99b68b2914 Updates README.rst with svg badges 2017-10-02 18:46:47 +03:00
Maxim Kukhtenkov
53398f8727 Merge pull request #327 from blablacio/user-details-serializer-context
Pass context to user defined USER_DETAILS_SERIALIZER
2017-10-02 11:26:37 -04:00
Mateusz Sikora
b124aaf273 Merge pull request #334 from jrief/fixes/bypass-user-object
return user object from upstream method invocation
2017-09-21 09:43:41 +02:00
Grigoriy Beziuk
46fd16700a also for cookie deletion 2017-06-30 14:23:56 +03:00
Grigoriy Beziuk
2672263100 Merge pull request #2 from gbezyuk-on-software/master
LoginView.get_response modified in order to respect rest_framework_jwt.JWT_AUTH_COOKIE setting
2017-06-30 14:04:58 +03:00
Grigoriy Beziuk
18e98d333b Merge pull request #1 from Tivix/master
merge upstream
2017-06-30 14:04:02 +03:00
Grigoriy Beziuk
6da0703b0d LoginView.get_response modified in order to respect rest_framework_jwt.JWT_AUTH_COOKIE setting 2017-06-30 13:59:10 +03:00
David Gunter
9d1f65eedc Merge pull request #338 from verkaufer/jwt_docs_fix
Update JWT Support documentation
2017-06-28 11:36:04 -07:00
bIgBV
98306a35c1 Pass request in the context when initializing LoginSerializer 2017-06-24 18:50:50 +05:30
David Gunter
f0175b4aac Update JWT Support documentation to explain how the library uses django-rest-framework-jwt to handle token encoding. 2017-06-15 16:30:21 -07:00
mario
606858fba7 Merge pull request #336 from Vitiell0/patch-1
Add step to remind user to migrate their database
2017-06-12 17:34:31 +02:00
Daniel Vitiello
8981317b1c Add step to remind user to migrate their database
I didn't do this and spent a while tracking down errors with CSRF and Token Validation.
2017-06-04 16:54:03 -05:00
mario
eb9e6eb05a Merge pull request #331 from nattyg93/patch-1
Fix docs settings typo
2017-05-31 19:10:45 +02:00
Jacob Rief
90219295a4 return user object from upstream method invocation 2017-05-30 09:26:16 +02:00
Nathanael Gordon
937162bd97 Fix docs settings typo 2017-05-17 23:36:09 +10:00
Maxim Kukhtenkov
cbda9ee075 Add Django 1.11 to Travis CI 2017-05-15 10:36:19 -04:00
mario
13863991ca Merge pull request #321 from mpuhacz/polish-translation
polish translation
2017-05-14 21:52:27 +02:00
Vladislav Manchev
052094d43c Pass context to user defined USER_DETAILS_SERIALIZER 2017-04-26 23:20:10 +02:00
Maxim Kukhtenkov
8c58782e30 Change requirements in setup.py: allauth is only required for tests 2017-03-20 19:28:32 -07:00
mario
dd3eb3e8c6 fix: few fixes for #312 2017-03-19 21:21:32 +01:00
mario
e665b95643 Merge pull request #312 from swstack/custom-registration-permissions
Custom registration permissions
2017-03-19 13:24:31 +01:00
mpuhacz
bf96f6ab8e polish translation 2017-03-11 15:50:27 +01:00
mpuhacz
d0d348bf6b polish translation 2017-03-11 12:33:25 +01:00