Commit Graph

43 Commits

Author SHA1 Message Date
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
Girish
22667230bb passing on the context/request to serializer 2016-04-14 12:54:50 +01:00
Maxim Kukhtenkov
e8cd780ae2 Remove unreachable code in LogoutView 2016-03-07 18:21:11 -05:00
mjaworski
2572475971 fixed code quality 2016-03-01 11:51:01 +00: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
mariodev
ef56efc0c8 Merge pull request #152 from caruccio/logout-on-get
Allow logout on GET
2016-02-26 13:38:01 +01: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
Mateus Caruccio
70a4dc9a13 Allow logout on GET 2016-01-09 01:11:35 -02: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
mario
f3151ad5c0 Fixed try/catch in logout view 2015-11-23 22:52:59 +01:00
ron8mcr
fac959ea80 raise_exception=True for views 2015-11-23 21:04:56 +07: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
mjaworski
a60df71c07 Flake8 style fixes 2015-04-28 10:22:08 +02:00
Mateusz Sikora
8182a33c66 #23 - add test case to cover solcial auth for existing user 2015-02-27 13:56:29 +01:00
Mateusz Sikora
01ffd4127b support django-rest-framework v3.0 2015-01-09 12:05:14 +01:00
Mateusz Sikora
059b0dcbab make all endpoints browsable 2014-11-12 10:33:29 +01:00
Mateusz Sikora
644c4d28e1 Merge branch 'master' of github.com:Tivix/django-rest-auth 2014-10-24 15:52:17 +02:00
Mateusz Sikora
5825fae048 define permission classes inside views 2014-10-24 15:52:07 +02:00
Mikkel Madsen
81f435125b Fix app_settings import
The url paths
```
    url(r'^rest-auth/', include('rest_auth.urls')),
    url(r'^rest-auth/registration/', include('rest_auth.registration.urls')),
```
Weren't working for me, I kept getting an ImportError `No module named 'app_settings'`.
This fixes that issue for me on Win7 x64, Python 3.4, Django 1.7
2014-10-20 16:58:53 +02:00
Mateusz Sikora
2b5942c4ac custom serializers settings 2014-10-08 13:19:34 +02:00
Mateusz Sikora
a7be2d178b password reset and password change refactoring 2014-10-07 15:08:08 +02:00
Mateusz Sikora
85688940df create base view and serializer for social authentication 2014-10-02 16:54:55 +02:00
Mateusz Sikora
ff9fd1c3c1 cleanup tests 2014-10-02 11:40:07 +02:00
Mateusz Sikora
459d03e30d revised user details view 2014-10-02 11:18:23 +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
Mateusz Sikora
4c611afd7f add REST_SESSION_LOGIN setting, v0.2.5 2014-08-27 14:05:07 +02:00
Mateusz Sikora
c863cfb0e6 move PasswordResetForm as an attribute of PasswordReset view class 2014-08-19 13:24:03 +02:00
Mateusz Sikora
ee1aedbe23 add serializer_class attribute to UserDetails view 2014-07-09 16:43:03 +02:00
Mateusz Sikora
445c211ebe make UserProfile fully optional; version 0.2.3 2014-07-08 11:36:59 +02:00
Mateusz Sikora
0a1d239374 v0.2.2: support projects without user profiles and set defaul registration backend 2014-07-03 19:56:02 +02:00
Mateusz Sikora
44e0f33b25 make IS_TEST not required, enhancement in Login view 2014-05-30 11:17:25 +02:00
Mateusz Sikora
6993e98282 test for password reset process 2014-05-06 00:53:06 +02:00
Mateusz Sikora
d33bbc8021 enhancements in PasswordResetConfirm and Register views 2014-05-05 21:01:23 +02:00
Mateusz Sikora
11cca48391 make compatible with django 1.5 2014-05-03 00:42:29 +02:00
Silin Na
93a3de57ff Created AUTHORS, MANIFEST.in, and setup.py.
+ Revised README.md.
+ AutoPEP8 rest_auth python files.
2014-04-30 13:55:04 -07:00
Sumit Chachra
e1c577d4fd First commit. 2014-04-30 12:52:05 -07:00