Maciej Jaworski
3bcabe6b17
Update serializers.py
...
pepfix
2016-02-23 10:35:41 +00:00
Poderyagin Egor
cc9552adda
update for accept login users of CustomUserModel objects where doesn't exist username field and setted USERNAME_FIELD property
2016-02-17 08:35:47 +03:00
mariodev
7c8a34f700
Merge pull request #132 from asudoma/master
...
fix import complete_social_login
2016-02-08 08:12:52 +01:00
mariodev
00415301d6
Merge pull request #145 from mdentremont/topic/131
...
#131 : Do not raise 400 when resetting password for non-existing account
2016-01-14 23:53:31 +01:00
mario
7e85667208
Made e-mail options more extendible for PasswordResetSerializer
2016-01-14 23:42:02 +01:00
mario
ae8a26b708
Return token only when verification is mandatory
2016-01-11 22:33:14 +01:00
Mateus Caruccio
ccc261d57f
Merge branch 'master' of https://github.com/Tivix/django-rest-auth
2016-01-07 19:56:33 -02:00
mariodev
334a29c4d9
Merge pull request #151 from Tivix/pr/130
...
Refactored registration logic
2016-01-06 18:26:47 +01:00
mariodev
d63232224e
Merge pull request #150 from Tivix/pr/141
...
Ability to login using e-mail (without allauth)
2016-01-06 18:16:51 +01:00
mario
54eb54ad65
Cleaned up LoginSerializer codebase
2016-01-06 01:18:13 +01:00
mario
b12ed79bb1
Merge branch 'master' into pr/141
2016-01-05 22:32:38 +01:00
Tabatha Memmott
55fb36ec91
url change for tests
2016-01-05 11:46:01 -08:00
Tabatha Memmott
29669be296
Merge branch 'master' into developDemo
2016-01-05 08:08:17 -08:00
mario
073dd3e765
Fixed flake8 warnings
2016-01-05 15:09:31 +01:00
mario
99c4dc9d05
Brought back pass verification + added test
2016-01-05 14:56:11 +01:00
Tabatha Memmott
0e3fb4a5c9
closes PR #134 and adds same syntax to demo
2016-01-04 16:29:47 -08:00
Matt d'Entremont
d36a9bc1cb
#131 : Do not raise 400 when resetting password for non-existing account
...
- Do not raises validation error if email doesn't exist
- Update unit test
2016-01-04 10:17:47 -04:00
Mateus Caruccio
c9d55f768c
Add support for custom Token model
2016-01-02 15:59:06 -02:00
mario
ec91620550
Merge branch 'master' into pr/130
2016-01-02 17:32:40 +01:00
mariodev
4a56a9e7e5
Merge pull request #140 from Akay7/TestResetPass
...
Test reset pass
2015-12-22 11:57:01 +01:00
mario
4c8db510b0
Fixed test exception.
2015-12-22 09:28:35 +01:00
ron8mcr
f848c8b6fa
Merge remote-tracking branch 'Tivix/django-rest-auth/master'
2015-12-15 17:06:47 +07:00
Poderyagin Egor
bb2fb65f7d
Auth by email
2015-12-13 23:43:33 +03:00
Poderyagin Egor
a93b7f5cec
Added test case for reset by email in different case
2015-12-13 22:24:27 +03:00
Poderyagin Egor
9b7ede752b
Make email in password reset serializer Case unsensetive
2015-12-10 18:13:28 +06:00
mario
72062408aa
Reorganized test files
2015-12-04 09:32:03 +01:00
anyone_j
cc963ca1a1
fix import complete_social_login
2015-11-26 14:38:25 +05:00
ron8mcr
52f04ba224
Update tests and fix register serializer
2015-11-24 22:04:57 +07:00
ron8mcr
65b29d3515
None as success_url for complete_signup in RegisterView
2015-11-24 21:16:39 +07:00
ron8mcr
30fd6414ce
Explict Allow Any for register view
2015-11-24 21:07:20 +07:00
Roman Gorbil
10ae7acac9
Rewrite registration logic
2015-11-24 17:11:46 +07:00
mario
f3151ad5c0
Fixed try/catch in logout view
2015-11-23 22:52:59 +01:00
mario
d9b8f3faf6
Added non existing e-mail validation on password reset
...
+ small cleanup
2015-11-23 22:17:32 +01:00
ron8mcr
fac959ea80
raise_exception=True for views
2015-11-23 21:04:56 +07:00
mario
6ace9de268
Compatibility updates
...
+ removed some legacy code
+ added force_text for py3 support
2015-11-19 09:38:57 +01:00
Mateusz Sikora
315f6f2844
Merge pull request #118 from mdentremont/topic/py3-fix
...
Alter a statement to make it python3 compatible
2015-11-06 15:16:07 +01:00
Mateusz Sikora
3eaa491fb1
fix flake8
2015-11-06 14:09:47 +01:00
Mateusz Sikora
57a879f6c0
Merge branch 'master' of github.com:Tivix/django-rest-auth
2015-11-06 14:09:23 +01:00
Mateusz Sikora
60581fc375
fix issue with setting POST attribute in request
2015-11-06 14:07:12 +01:00
Karl Fleischmann
f1858e4ce4
Bypass AssertionErrors on nested Hyperlinked fields
...
Send request as context data to the UserDetailSerializer class, when
signing up. This way nested Hyperlinked serializer fields can be
correctly resolved.
2015-10-28 00:55:08 +01:00
Matt d'Entremont
7fbdcff5e0
Alter a statement to make it python3 compatible
...
- In python 3, filter returns an iterator instead of a list
- Thus bool(filter(...)) always evaluated to true on python3
- Convert the filter to a list comprehension to ensure it evaluated as
expected on python 3
2015-10-26 10:13:27 -03:00
Mateusz Sikora
ba5edbaf62
fix update_session_auth_hash for django <1.7
2015-10-19 10:12:25 +02:00
Bhaarat Sharma
48eb40ae47
adding not
2015-10-18 08:23:36 -04:00
Bhaarat Sharma
296a49a04b
Don't log the user out after change password - Django 1.7
2015-10-18 00:20:50 -04:00
mario
680f24e43d
Fix the optional deps for allauth.socialaccount
2015-10-04 12:41:07 +02:00
Nick Spacek
0ae97701c8
Adds check for optional deps in INSTALLED_APPS
...
Previously the serializers.py file relied solely on the presence of
allauth.socialaccount in the PYTHON_PATH to determine if its use was
required. This adds another check in the Django INSTALLED_APPS for the
allauth.socialaccount app, and then continues with the import if the app
has been added.
2015-10-01 09:51:25 -03:00
Philippe Luickx
c22b77724d
LoginSerializer allow_blank fix
2015-08-17 13:35:20 +03:00
Philippe Luickx
4cf33ff9fa
SocialLoginSerializer allow_blank fix
2015-08-17 13:34:59 +03:00
Mateusz Sikora
388314f831
fix flake8
2015-08-14 13:49:47 +02:00
Philippe Luickx
64ab8be2f0
catching incorrect input
2015-08-13 10:56:25 +03:00