Commit Graph

57 Commits

Author SHA1 Message Date
ante
e5f1bf62ab Fixing SocialLoginSerializer 2015-01-03 19:04:50 +01:00
ante
54fb1de5d2 Python 3 fixes 2015-01-03 17:29:17 +01:00
ante
b4ed9b5f44 Making PasswordResetSerializer & PasswordResetConfirmSerializer compatible with DRF3
- validate_email - works with field value and not with dictionary of all values
 - raise exception or return serialized value
2015-01-03 16:49:27 +01:00
ante
4065952f70 Making SocialLoginSerializerPasswordChangeSerializer compatible with DRF3
- validate_access_token - works with field value and not with dictionary of all values
2015-01-03 15:05:40 +01:00
ante
59f482fd65 Making PasswordChangeSerializer compatible with DRF3
- validate_old_password - works with field value and not with dictionary of all values
 - validate - should not return None but raise ValidationError
2015-01-03 14:55:33 +01:00
ante
7984cb5f00 Test za DRF3 2015-01-02 09:04:29 +01:00
Mateusz Sikora
7b7e2d368b fix bug in PasswordChangeSerializer 2014-11-14 10:31:02 +01:00
Mateusz Sikora
e8a7b0bdf4 add old_password field in PasswordChangeSerializer, disabled by default 2014-11-12 11:51:22 +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
Marc Tudurí marctc@gmail.com
be6b65dc55 modified utils.py in order to work properly with python2 and python3 2014-11-06 09:15:54 +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
aac42af991 fix tests 2014-10-15 17:36:21 +02: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
6ecb6a7847 fix setting name 2014-10-09 10:49:20 +02:00
Mateusz Sikora
2b5942c4ac custom serializers settings 2014-10-08 13:19:34 +02:00
Mateusz Sikora
489bac6e1f comment out unused part of code in tests 2014-10-08 12:26:32 +02:00
Mateusz Sikora
4088081707 add social medial authentication tests, separate test urls 2014-10-08 12:19:15 +02:00
Mateusz Sikora
f134d8b1d6 remove unused utils.py 2014-10-08 10:29:22 +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
f0cd45f7be fix tests for django 1.7 2014-10-02 12:39:47 +02:00
Mateusz Sikora
ff9fd1c3c1 cleanup tests 2014-10-02 11:40:07 +02:00
Mateusz Sikora
34d3627c7c remove unused serializers.py form registration app 2014-10-02 11:31:33 +02:00
Mateusz Sikora
61cafa3cb6 fix tests for djnago 1.5 2014-10-02 11:23:52 +02:00
Mateusz Sikora
459d03e30d revised user details view 2014-10-02 11:18:23 +02:00
Mateusz Sikora
65b5caa3d0 typo 2014-10-01 16:36:34 +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
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
1d9379c43b remove unnecessary settings from tests 2014-05-06 13:08:15 +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
1cf6052a31 move definition of registration view and user profile model to runtest script 2014-05-05 17:57:47 +02:00
Mateusz Sikora
11cca48391 make compatible with django 1.5 2014-05-03 00:42:29 +02:00
Mateusz Sikora
7e24165c82 disable swagger docs for tests 2014-05-03 00:01:16 +02:00
Mateusz Sikora
d2f9261703 update test_settings 2014-05-02 23:55:39 +02:00
Mateusz Sikora
e32e125a65 missed file 2014-05-02 23:50:54 +02:00
Mateusz Sikora
02b1f3aa20 make 'python setup.py test' working 2014-05-02 23:47:28 +02:00