Commit Graph

518 Commits

Author SHA1 Message Date
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
mariodev
52283aed70 Merge pull request #129 from ron8mcr/master
raise_exception=True for views
2015-11-23 20:55:08 +01:00
ron8mcr
fac959ea80 raise_exception=True for views 2015-11-23 21:04:56 +07:00
mario
d90717e9bd Added SO link to README.rst 2015-11-19 10:45:13 +01:00
mario
680bb56e99 Clean up demo codebase 2015-11-19 10:36:55 +01: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
8a6e13c1fe update travis config 2015-11-06 15:12:21 +01:00
Mateusz Sikora
51c7e78c45 disable travis cache 2015-11-06 14:20:30 +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
Mateusz Sikora
5afed21ab2 Merge pull request #119 from fleischie/master
Bypass AssertionErrors on nested Hyperlinked fields
2015-11-06 13:39:18 +01:00
Mateusz Sikora
77db2d8d64 change auth method demo app 2015-11-06 13:23:55 +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
Mateusz Sikora
6ba1916c48 Merge pull request #112 from Aerstone/master
Add support for keeping the user logged in after password change (Django 1.7+)
2015-10-19 09:52:22 +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
Mateusz Sikora
74fa6cdf38 Merge pull request #107 from nickspacek/fixes-optional-socialaccount
Adds check for optional deps in INSTALLED_APPS
2015-10-02 11:45:23 -04: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
Mateusz Sikora
d25df33a79 version 0.5.0 2015-08-20 11:28:45 +02:00
Mateusz Sikora
316d5c4233 Merge pull request #100 from philippeluickx/master
allow_blank required for optional paramaters in serializers
2015-08-17 12:37:33 +02: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
3527afccc6 Update README.rst 2015-08-14 15:20:20 +02:00
Mateusz Sikora
7d23048316 Update .travis.yml 2015-08-14 15:12:08 +02:00
Mateusz Sikora
1cdbc95dbb Merge pull request #85 from iraycd/patch-1
Added old password to Password Change
2015-08-14 13:59:53 +02:00
Mateusz Sikora
4d2c302ce2 Merge branch 'master' of github.com:Tivix/django-rest-auth 2015-08-14 13:51:00 +02:00
Mateusz Sikora
f9ef1ff4c5 Merge branch 'philippeluickx-development' 2015-08-14 13:50:09 +02:00
Mateusz Sikora
388314f831 fix flake8 2015-08-14 13:49:47 +02:00
Mateusz Sikora
1b667fa4ab Merge branch 'development' of https://github.com/philippeluickx/django-rest-auth into philippeluickx-development 2015-08-14 13:45:27 +02:00
Mateusz Sikora
cb27b9fef9 Merge pull request #97 from Greyvend/patch-1
Update installation.rst
2015-08-14 13:40:29 +02:00
Philippe Luickx
64ab8be2f0 catching incorrect input 2015-08-13 10:56:25 +03:00
Serge Mosin
17398ab363 Update installation.rst
Fixed urlpatterns section.
2015-08-11 20:22:10 +05:00
Mateusz Sikora
7f86c4ce02 Merge pull request #94 from alacritythief/master
Replaced request.DATA with request.data for compatibility with DRF 3.2
2015-08-10 12:15:14 +02:00
Philippe Luickx
5a6c8f549b bugfix 2015-08-10 11:24:21 +03:00
Philippe Luickx
02bf6fbe5b bugfix, request.DATA is deprecated, replaced with request.data 2015-08-07 14:31:33 +03:00
Philippe Luickx
ad94008503 appending all views with View 2015-08-07 13:54:45 +03:00
Philippe Luickx
4a3ea85f44 well, that was an easy cleanup, now it is nice and consistent 2015-08-07 13:46:18 +03:00
Philippe Luickx
bd193a1401 you can now login with email and password, without username 2015-08-07 13:43:21 +03:00
Philippe Luickx
74f2ffec7f now also accepting authorization codes from social login (e.g. facebook) 2015-08-07 13:26:57 +03:00
Philippe Luickx
8ea935ef40 conditional import 2015-08-07 11:25:40 +03:00
Andy Wong
dd3db28325 replaced request.DATA with request.data for compatibility with DRF 3.2 2015-08-06 13:49:26 -04:00
Nikolay Golub
a9d2a24011 Make names more consistent 2015-07-23 22:33:48 +03:00
Nikolay Golub
f43a6b8d58 move SocialAccount population to the separate method in the SocialLoginSerializer.
It makes easier to get the correct signup for custom user models, because application can subclass SocialLoginSeriaLizer and add required fields to the instance.
2015-07-23 22:22:39 +03:00
Ray Ch
ce81906f59 Note for old_password. 2015-05-23 01:28:40 +05:30