Commit Graph

49 Commits

Author SHA1 Message Date
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
Stephen Stack
be17865b00 registration: allow custom permission classes 2017-02-12 17:35:28 -06:00
Maxim Kukhtenkov
971072ae37 Add sensitive_post_parameters decorator to several views 2016-12-31 12:55:19 -08:00
Maxim Kukhtenkov
aa677d51c0 PEP8 cleanup and small text fixes 2016-12-21 14:08:56 -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
Bang Dao
d2917e9f3f refactor allow VerifyEmailView display data field in swagger 2016-12-09 16:53:09 +07:00
Maxim Kukhtenkov
83e200e576 Revert "allows registration throttle control" 2016-10-17 10:11:04 -07:00
mario
9df528f482 Changed confirm email url path + test fixes 2016-07-28 20:14:26 +02:00
mariodev
0ffc573482 Merge pull request #209 from vsevolod-kolchinsky/patch-1
allows registration throttle control
2016-07-18 08:14:11 +02:00
mariodev
c5e0382d25 Increased test coverage (#229)
* Added twitter login test

* pep8

* Fixes missing backend attr issue

* Refactored login process

* pep8

* Added more tests for twitter social login
2016-07-18 07:06:28 +02:00
mariodev
c4e7bdc77f pep8 2016-06-28 20:20:53 +02:00
mariodev
8a004bb48a Increased test coverage
+ minor fixes
2016-06-28 20:14:05 +02:00
vsevolod kolchinsky
2a0fa1ab4e allows registration throttle control 2016-05-05 09:03:34 +03:00
mariuccio
f9b6a6cd9f 'detail' keyword in success response messages 2016-03-31 10:58:14 +02:00
mjaworski
2572475971 fixed code quality 2016-03-01 11:51:01 +00:00
Jon Gregorowicz
4ba9841bc5 Merge changes 2016-02-29 08:01:39 -05:00
Jon Gregorowicz
1eb4b45e50 Fixing tests 2016-02-29 07:57:54 -05:00
Jon Gregorowicz
e3901516cb Merge branch 'master' into jwt-support
# Conflicts:
#	docs/changelog.rst
#	rest_auth/registration/views.py
2016-02-29 07:45:43 -05:00
Maciej Jaworski
aa839f97d2 Added missing import 2016-02-23 10:59:47 +00:00
Jon Gregorowicz
511329c30a Fixing merge tool induced file endings 2016-02-16 00:49:41 -05:00
Jon Gregorowicz
e3a1ba520e Added tests for JWT, fixed merge issues 2016-02-16 00:42:18 -05:00
Jon Gregorowicz
f8a9cc152d Merge branch 'master' into jwt-support
# Conflicts:
#	docs/configuration.rst
#	rest_auth/registration/views.py
#	rest_auth/tests/test_api.py
#	rest_auth/utils.py
#	rest_auth/views.py
2016-02-15 23:35:32 -05:00
Nicola Hauke
152b0a6fb6 Adds ugettext_lazy to more texts
Also adds a first german translation.
2016-02-02 15:29:16 +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
Jon Gregorowicz
19e234d1dc * Added support for REST_USE_JWT
* Added JWTSerializer
* Added JWT encoding support, based on django-rest-framework-jwt
* Tests for JWT authentication
2016-01-04 12:45:33 -05:00
Mateus Caruccio
c9d55f768c Add support for custom Token model 2016-01-02 15:59:06 -02: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
Mateusz Sikora
388314f831 fix flake8 2015-08-14 13:49:47 +02: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
Lele Long
199a4989c5 Adjust for djangorestframework 3 2015-01-15 23:45:01 +08: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
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
85688940df create base view and serializer for social authentication 2014-10-02 16:54:55 +02:00
Mateusz Sikora
08fcca9b48 veirfy email view and test 2014-10-01 16:34:51 +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