Commit Graph

499 Commits

Author SHA1 Message Date
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
Matt d'Entremont
1d9c2d647e #86: Add missing dependencies to setup.py
- Add django-allauth as an extra, and update documentation
- Ensure django-allauth and responses are present when running tests
2016-01-04 10:29:50 -04:00
Matt d'Entremont
d36a9bc1cb #131: Do not raise 400 when resetting password for non-existing account
- Do not raises validation error if email doesn't exist
- Update unit test
2016-01-04 10:17:47 -04:00
Mateus Caruccio
57e7fb998f Merge branch 'custom-token' of github.com:caruccio/django-rest-auth into custom-token 2016-01-02 16:00:55 -02:00
Mateus Caruccio
c9d55f768c Add support for custom Token model 2016-01-02 15:59:06 -02:00
mario
ec91620550 Merge branch 'master' into pr/130 2016-01-02 17:32:40 +01:00
Mateus Caruccio
eb61b24087 Add support for custom Token model 2016-01-02 12:38:05 -02:00
mariodev
4a56a9e7e5 Merge pull request #140 from Akay7/TestResetPass
Test reset pass
2015-12-22 11:57:01 +01:00
mario
4c8db510b0 Fixed test exception. 2015-12-22 09:28:35 +01:00
mario
23eb6e5be5 Added coverage_html to .gitignore 2015-12-22 09:27:17 +01:00
mariodev
7bd7924801 Merge pull request #143 from Tivix/issue_116_fix_csrf_tokens_email_login
fix demo by add csrf and modify account settings
2015-12-22 08:46:01 +01:00
Will Liu
4d9e33e9a8 fix demo by add csrf and modify account settings
In response to Issue 116 at https://github.com/Tivix/django-rest-auth/issues/116
* Add csrf_token tags on demo templates (was returning CSRF page)
* Update settings file for the demo login (was returning message that email was required when template only shows username and password fields)
2015-12-21 16:32:53 -05:00
mariodev
991178a9d5 Merge pull request #142 from Tivix/update-demo-rst
Update demo.rst
2015-12-21 18:56:10 +01:00
Will
411cc298b3 Update demo.rst
With requirements file of django >= 1.7.0, change command of `syncdb` to `migrate` (`syncdb` is deprecated).
2015-12-21 11:01:41 -05:00
ron8mcr
f848c8b6fa Merge remote-tracking branch 'Tivix/django-rest-auth/master' 2015-12-15 17:06:47 +07:00
Poderyagin Egor
bb2fb65f7d Auth by email 2015-12-13 23:43:33 +03:00
Poderyagin Egor
a93b7f5cec Added test case for reset by email in different case 2015-12-13 22:24:27 +03:00
Egor
56773d8618 Merge pull request #1 from Tivix/master
Update
2015-12-13 21:58:58 +03:00
mariodev
4889cb5518 Merge pull request #138 from tomcounsell/patch-1
Update installation.rst
2015-12-11 12:33:37 +01:00
Tom Counsell
fb435fbea4 Update installation.rst 2015-12-11 18:08:39 +07:00
mariodev
41946d16a0 Merge pull request #137 from Akay7/PasswordResetCaseUnsensetive
Make email in password reset serializer Case unsensetive
2015-12-10 13:25:01 +01:00
Poderyagin Egor
9b7ede752b Make email in password reset serializer Case unsensetive 2015-12-10 18:13:28 +06:00
mariodev
f1e96be7e6 Merge pull request #133 from Tivix/cleanup_tests
Reorganized test files
2015-12-04 09:46:33 +01:00
mario
afcf2a5043 Fixed reqs path for travis 2015-12-04 09:43:17 +01:00
mario
72062408aa Reorganized test files 2015-12-04 09:32:03 +01:00
anyone_j
cc963ca1a1 fix import complete_social_login 2015-11-26 14:38:25 +05: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
mario
b8c3ae9c68 version 0.6.0 2015-11-24 08:40:41 +01:00
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