Commit Graph

702 Commits

Author SHA1 Message Date
Michael
a63a13ea05
Merge pull request #66 from jazzband/fixes-no-user
Fixes no-user issue
2020-05-11 19:44:26 -05:00
Michael
0be5b2dd15 Fixes no-user issue 2020-05-11 19:39:33 -05:00
Michael
1dd2019614
Merge pull request #64 from mohmyo/master
change validation order in PasswordResetConfirmSerializer
2020-05-11 02:07:12 -05:00
Mahmoud Adel
5f137da930 make token validation in PasswordResetConfirmSerializer is the first thing to do in validate() method 2020-05-10 18:05:30 +02:00
Jonas Lidén
b3758c9c26 Added swedish (sv) translations 2020-05-10 15:08:00 +02:00
Michael
bffec48e01 Adds centralized version store 2020-05-09 17:32:05 -05:00
Michael
a3955bca18
Merge pull request #59 from Pinzauti/italian_language
Added italian language
2020-05-07 20:01:53 -05:00
Francesco Pinzauti
3b0e95cee7
Compile italian language 2020-05-07 10:35:22 +02:00
Francesco Pinzauti
7b1bfecdd9 added italian language 2020-05-07 10:26:48 +02:00
Michael
e73dad7546
Merge pull request #55 from rafaelzl/master
Compile pt_BR language messages
2020-04-26 22:58:04 -05:00
Rafael Laranja
23bef47110 Compile pt_BR language messages 2020-04-26 09:52:10 -03:00
Michael
a2b8c9ca50
Merge pull request #52 from ranetpgit/master
Pass context to JWTSerializer and TokenSerializer
2020-04-21 19:28:20 -05:00
Ranet P
2602d66fef
Pass context to JWTSerializer and TokenSerializer 2020-04-21 18:17:57 +03:00
Michael
4a46807a1f Bumps version 2020-04-18 12:58:50 -05:00
Michael
9e04918c39
Merge pull request #46 from SerhiyRomanov/fix_missed_import_callable
Fix missed import_callable
2020-04-17 19:54:54 -05:00
Serhiy Romanov
64e07ec755 Fix missed import_callable 2020-04-17 11:27:24 +03:00
Michael
5d2e83c3e9
Merge pull request #39 from VolkerSchiewe/master
Add token endpoints from rest_framework_simplejwt to url config
2020-04-16 21:05:27 -05:00
Michael
3b7b607cbd
Merge pull request #43 from Pinzauti/url-to-path
Changed url to path in documentation
2020-04-16 21:01:30 -05:00
Francesco Pinzauti
4dcca58178 changed url to path 2020-04-16 15:38:03 +02:00
Michael
a190e036d2 Bug fixes related to Simple JWT integrations 2020-04-16 01:59:04 -05:00
Michael
3f61d483e8
Merge pull request #38 from necaris/fix/import-of-simplejwt
Don't _require_ rest_framework_simplejwt
2020-04-16 01:57:20 -05:00
Michael
d53c447e95
Merge pull request #41 from SerhiyRomanov/fix_REST_AUTH_TOKEN_MODEL
Use import_string for getting TokenModel instead of passing class
2020-04-16 01:56:33 -05:00
Michael
17e9230497
Update dj_rest_auth/urls.py
Co-Authored-By: Daniele Tricoli <eriol@mornie.org>
2020-04-16 00:28:14 -05:00
Michael
d882edcf10
Update dj_rest_auth/urls.py
Co-Authored-By: Daniele Tricoli <eriol@mornie.org>
2020-04-16 00:28:05 -05:00
Serhiy Romanov
5e8cca1633 Use import_string for getting TokenModel instead of passing class 2020-04-15 16:26:54 +03:00
VolkerSchiewe
8583c5597e Add token endpoints from rest_framework_simplejwt to url config 2020-04-15 10:44:54 +02:00
Rami Chowdhury
506912f832 Move import inside response method
This is not idiomatic, but I don't see another neat way to move it out
of the top level and still handle testing / other situations where the
settings are modified on-the-fly.
2020-04-14 15:20:43 -04:00
Rami Chowdhury
40208ea0b6 Don't _require_ rest_framework_simplejwt
Rather than importing it at the top level (which breaks dj-rest-auth
entirely if you aren't using JWTs and don't have the library installed),
only do the import if the user has the relevant setting enabled.
2020-04-14 13:26:52 -04:00
Michael
40125b15c4 Bumps version for release 2020-04-13 23:05:06 -05:00
Michael
275d1c4952
Merge pull request #28 from mjlabe/logout-blacklist-jwt-token
Refresh token not blacklisted on logout
2020-04-09 21:03:07 -05:00
Marc LaBelle
1c64c0d398 changed spacing for better readability 2020-04-09 21:03:41 -04:00
Marc LaBelle
91c052fe47 changed invalid or expired and blacklisted errors to 401 2020-04-09 21:00:48 -04:00
Marc LaBelle
d5d9c69aa3 check if blacklist is installed and warn user to delete client side if cookies and blacklist are not enabled 2020-04-09 20:53:04 -04:00
Marc LaBelle
b55fcc2361 deleted make file and adding testing section to README 2020-04-07 20:24:15 -04:00
Michael
058df2b1ce Bumps version 2020-04-06 20:39:11 -05:00
Michael
497d88c2ca
Merge pull request #32 from altjohndev/master
Fix JWTSerializer USER_DETAILS_SERIALIZER import
2020-04-03 20:45:33 -05:00
Jonathan Henrique Maia de Moraes
3304a6b3d3
Fix JWTSerializer USER_DETAILS_SERIALIZER import
Related to #30
2020-04-03 14:50:02 -03:00
Marc LaBelle
8b284f8adf fixed typo in 500 response 2020-04-02 10:07:23 -04:00
Marc LaBelle
8f97cbc617 added rest_framework_simplejwt.token_blacklist to settings for tests, return 500 if error occurs instead of raising, added unit tests for blacklist 2020-04-02 10:01:07 -04:00
Marc LaBelle
aaab91f82b updated exceptions to raise error if not not handled 2020-04-01 21:28:02 -04:00
Michael
f2a507802d
Merge pull request #29 from jazzband/revert-24-patch-1
Revert "Update documentation"
2020-04-01 18:41:49 -05:00
Michael
9180f3967a Revert "Update documentation"
This reverts commit 1c485bcbce.
2020-04-01 18:41:23 -05:00
Marc LaBelle
241011a353 attempt to blacklist token if no JWT_AUTH_COOKIE is found 2020-04-01 18:56:41 -04:00
Marc LaBelle
26b6e22043 blacklist refresh token on logout if REST_USE_JWT and added .idea to gitignore 2020-04-01 18:54:16 -04:00
Anuj Sharma
1c485bcbce Update documentation
Update documentation for `old_password` validation skip.
2020-04-01 02:19:46 -05:00
Michael
d9996a7529
Merge pull request #20 from anuj9196/master
Note in docs to add allauth urls if account email verification is man…
2020-03-30 21:36:44 -05:00
Anuj Sharma
3c896603ad
Update module name
Changed module name to `dj_rest_auth`
2020-03-31 07:57:14 +05:30
Anuj Sharma
de25807805
Note in docs to add allauth urls if account email verification is mandatory
Update docs to add `account_email_verification_sent` endpoint while using `registration`.

Without this endpoint, if email verification is set to **MANDATORY** , it gives error
```
Reverse for 'account_email_verification_sent' not found. 'account_email_verification_sent' is not a valid view function or pattern name.
```

This is a copy PR of [#577](https://github.com/Tivix/django-rest-auth/pull/577) in in upstream project.
2020-03-30 22:02:12 +05:30
Michael
68dbdf7e3e Fixes docs code sample 2020-03-28 14:24:21 -05:00
Michael
53ca547ed2 Updates RST Docs 2020-03-28 14:19:46 -05:00