Commit Graph

238 Commits

Author SHA1 Message Date
Mahaffey
ff87c9baac spacing 2018-02-05 16:21:44 -05:00
Mahaffey
077d868493 Added logic to not include username in the Login and UserDetail Serializer when: ACCOUNT_USER_MODEL_USERNAME_FIELD is None 2018-02-05 16:19:49 -05:00
Maxim Kukhtenkov
a3057b7aa1 Flake8 fix - unused import 2018-01-20 20:25:58 -05:00
Maxim Kukhtenkov
c009bb9975 Change conditional import from allauth.socialaccount 2018-01-20 20:10:18 -05:00
Maxim Kukhtenkov
bcd6ab4401 Update configs and changelog for version 0.9.3 + additional fixes 2018-01-19 19:44:31 -05:00
Maxim Kukhtenkov
6a84d85d91 Add change in documentation and tests for social connect 2018-01-19 18:29:38 -05:00
Maxim Kukhtenkov
fed6b9840c Refactor social connect views and serializers
# 347
2018-01-18 21:08:41 -05:00
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
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
Michael K
3a2a256821 Fixes import path for django's reverse 2017-12-04 15:02:36 +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
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
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
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
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
bIgBV
98306a35c1 Pass request in the context when initializing LoginSerializer 2017-06-24 18:50:50 +05:30
Jacob Rief
90219295a4 return user object from upstream method invocation 2017-05-30 09:26:16 +02: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
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
mpuhacz
50325ddb4f polish translation 2017-03-11 12:10:55 +01:00
Maxim Kukhtenkov
469e4af82b Compile translations 2017-03-05 22:02:28 -08:00
Maxim Kukhtenkov
5b94deb5c5 Merge pull request #300 from Cahersan/master
Added Spanish translations
2017-03-05 21:55:25 -08:00
Maxim Kukhtenkov
48dba428d8 Merge pull request #308 from joaoricardo000/master
Added djangorestframework-jwt as test requirement, and typo
2017-03-05 21:45:56 -08:00
Maxim Kukhtenkov
955ff3a280 Change retrieving user details serializer to avoid import error
#309
2017-03-05 21:37:14 -08:00
Stephen Stack
be17865b00 registration: allow custom permission classes 2017-02-12 17:35:28 -06:00
Joao Ricardo
60a585339b Fix typo on test variable name 2017-01-29 13:17:33 -02:00
Carlos
09a30742f7 Added Spanish translations 2017-01-13 11:49:02 +01:00
Maxim Kukhtenkov
971072ae37 Add sensitive_post_parameters decorator to several views 2016-12-31 12:55:19 -08:00
Maxim Kukhtenkov
951f3ce284 Compile translations and small text fixes 2016-12-22 11:57:23 -08:00
Maxim Kukhtenkov
aa677d51c0 PEP8 cleanup and small text fixes 2016-12-21 14:08:56 -08:00
Maxim Kukhtenkov
5bcf31f545 Remove redundant required=True from serializer fields 2016-12-21 13:47:24 -08:00
Maxim Kukhtenkov
9df9608631 Add get_queryset method to UserDetailsView due to issue with Swagger
#275
2016-12-21 11:40:18 -08:00
Maxim Kukhtenkov
e81ed716ec Add verification e-mail sent message
#240
2016-12-21 11:31:04 -08:00
Maxim Kukhtenkov
a673db87f8 Merge pull request #200 from mariuccio/master
'detail' keyword in success response messages
2016-12-21 11:12:59 -08:00
Maxim Kukhtenkov
592ea78edc Merge pull request #289 from squallcs12/refactor/allow-VerifyEmailView-work-with-swagger
Make VerifyEmailView display data field in swagger
2016-12-21 11:05:28 -08:00
Maxim Kukhtenkov
5ec3b73dec Merge pull request #284 from Akay7/RussianLanguage
Russian language
2016-12-10 13:52:13 -05:00
Maxim Kukhtenkov
d20a601fdd Merge pull request #286 from Tivix/jwt-serializer-with-custom-user-model
JWT serializer with custom user model
2016-12-09 10:12:52 -05:00
Bang Dao
d2917e9f3f refactor allow VerifyEmailView display data field in swagger 2016-12-09 16:53:09 +07:00
Maxim Kukhtenkov
f200b8d6f0 Remove redundant required=True from serializer fields
`required=True` is default setting
2016-12-07 21:47:07 -05:00
Maxim Kukhtenkov
f79537de77 Update API endpoints docs and docstring
https://github.com/Tivix/django-rest-auth/issues/280
2016-12-07 19:12:01 -05:00