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
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
Mateus Caruccio
c9d55f768c
Add support for custom Token model
2016-01-02 15:59:06 -02: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
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
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
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
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
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
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
mjaworski
a60df71c07
Flake8 style fixes
2015-04-28 10:22:08 +02:00
mjaworski
80a7988a9b
Django 1.8 compatibility fixes
2015-04-17 09:53:46 +02:00
Jeppe Vesterbæk
c615cd94aa
DRF 3 bug: get HttpRequest from DRF request object. Similar to issue #43
2015-02-25 16:52:51 +01:00
Lele Long
199a4989c5
Adjust for djangorestframework 3
2015-01-15 23:45:01 +08:00
Mateusz Sikora
01ffd4127b
support django-rest-framework v3.0
2015-01-09 12:05:14 +01:00
Mateusz Sikora
e9fee3aa92
Support custom UserDetailsSerializer for registration
2015-01-09 11:20:46 +01:00
Marc
b2d5c221c7
Support for custom UserDetailsSerializer on Register view
2014-12-18 16:52:28 +01:00
Mateusz Sikora
0fc4d56dae
add FAQ section in docs
2014-11-12 11:18:21 +01:00
Mateusz Sikora
059b0dcbab
make all endpoints browsable
2014-11-12 10:33:29 +01:00
Mateusz Sikora
bbc9eeee3a
make registration API browsable
2014-11-12 03:52:06 +01:00
Mateusz Sikora
5fd7ea5596
update demo project - still not finished
2014-10-15 17:32:19 +02:00
Mateusz Sikora
102fcedc82
move some test files outside app
2014-10-14 14:56:00 +02:00
Mateusz Sikora
989f3fa7af
minor fixes
2014-10-09 11:41:52 +02:00
Mateusz Sikora
85688940df
create base view and serializer for social authentication
2014-10-02 16:54:55 +02:00
Mateusz Sikora
34d3627c7c
remove unused serializers.py form registration app
2014-10-02 11:31:33 +02:00
Mateusz Sikora
08fcca9b48
veirfy email view and test
2014-10-01 16:34:51 +02:00
Mateusz Sikora
de1fb3d81f
registration with email verification:
...
- rebuild login view
- check email verification in LoginSerializer depends on allauth settings
- add test for registration with email verification
2014-10-01 15:31:10 +02:00
Mateusz Sikora
f14b3b03f7
django-registration replacement
...
- remove django-registration references
- integrate with django-allauth
- move all registration stuff to separated app
- update unit tests
2014-10-01 14:13:21 +02:00