Commit Graph

75 Commits

Author SHA1 Message Date
Tobias Bengfort 62bb50307e use underscores for python functions 2021-06-23 12:15:50 +02:00
Tobias Bengfort 68e257d60e rename model to UserKey 2021-06-23 12:15:49 +02:00
Tobias Bengfort ba4e7f9a17 lint: fix boolean expressions 2021-06-23 12:15:25 +02:00
Tobias Bengfort f4d8934ef5 use JsonResponse 2021-06-23 12:15:25 +02:00
Tobias Bengfort 81675207d3 rm urlresolvers compat
has been removed in django 2.0

https://docs.djangoproject.com/en/1.10/internals/deprecation/#deprecation-removed-in-2-0
2021-06-23 12:15:25 +02:00
Tobias Bengfort daece24c6d use simplified URL routing syntax
was introduced in django 2.0
2021-06-23 12:15:25 +02:00
Tobias Bengfort f654debb98 rm compat for is_authenticated
was removed in django 2.0

https://docs.djangoproject.com/en/3.1/releases/1.10/#user-is-auth-anon-deprecation
2021-06-23 12:15:25 +02:00
Tobias Bengfort 3d133b3fff use *args, **kwargs with super() 2021-06-23 12:15:25 +02:00
Tobias Bengfort 714fb68a65 rm python2 compat code 2021-06-23 12:15:25 +02:00
Tobias Bengfort 84f93444a3 fix unused imports 2021-06-23 12:15:25 +02:00
Tobias Bengfort 34fcca57c8 avoid star imports 2021-06-23 12:15:05 +02:00
Tobias Bengfort 174dba2878 sort imports (isort) 2021-06-23 12:14:29 +02:00
Tobias Bengfort 0945561136 avoid local imports 2021-06-23 08:54:51 +02:00
Tobias Bengfort d54cd20d9b rm commented code 2021-06-23 08:54:51 +02:00
Tobias Bengfort 007872bd8a rm empty files 2021-06-23 08:54:51 +02:00
Mohamed ElKalioby 9c126f06b5 Applied Black 2021-06-22 17:12:12 +03:00
Mohamed ElKalioby 7a154cfa34 Releasing v2.2.0 2021-05-30 09:24:25 +03:00
Mohamed El-Kalioby 958775418d Allowing setting the redirect url and text 2021-05-28 16:38:27 +03:00
Mohamed El-Kalioby ef8287666c Closes #37 2021-03-02 19:44:05 +03:00
Mohamed ElKalioby 19563fe2b8 Fixes #37 2021-02-26 13:55:49 +03:00
Mohamed ElKalioby a94ad50b93 Adding Latest mfa 2021-01-20 16:05:08 +03:00
Mohamed El-Kalioby a577c80cc3 Final touches 2021-01-18 19:31:23 +03:00
Mohamed El-Kalioby 66cf103bca Fixes 2021-01-18 19:12:12 +03:00
Mohamed El-Kalioby 53f936a2c6 Testing Touch ID 2021-01-18 18:53:11 +03:00
Mohamed El-Kalioby 6f4c3e0486 closes #31 2020-12-09 07:45:20 +03:00
Mohamed El-Kalioby b66ae97a0d Bumped version to 2.0.5 2020-12-08 17:38:19 +03:00
Mohamed El-Kalioby 2ced125e9f closes #30 2020-12-08 17:29:14 +03:00
Mohamed ElKalioby becfc9e238 Upgraded to 2.0.3 2020-11-10 09:04:08 +03:00
nswain f3483868ed Use the ORM to perform migration query. 2020-09-09 17:32:09 -06:00
nswain f5218bdbdb Simplify migration script. 2020-09-09 13:16:28 -06:00
nswain d9bc0dd5fd Fix migration script. 2020-09-09 13:09:42 -06:00
nswain c34efd6ba9 Use decode method to decode the byte string instead of casting it to string and replacing the byte string syntax in the string. 2020-09-09 09:15:53 -06:00
nswain d48e464c16 Use DEFAULT_FROM_EMAIL instead of EMAIL_HOST_USER for the from email address if EMAIL_HOST_USER does not have an "@" sign in it.
Some email relay services require a username that is not an email address for the EMAIL_HOST_USER (e.g.: https://sendgrid.com/docs/API_Reference/SMTP_API/integrating_with_the_smtp_api.html)
2020-09-09 09:15:53 -06:00
nswain b5b308a757 Removes embedded bytestring syntax from email message body.
e.g.: "b'Hello user, here's your code: 81244'" -> "Hello user, here's your code: 81244"
2020-09-09 09:15:53 -06:00
Mohamed ElKalioby 56eb8821af Fixed Migration with SQLite 2020-08-28 19:10:34 +03:00
Mohamed ElKalioby e79411d04c Updted to fido2==0.8.1 2020-08-28 19:10:10 +03:00
Mohamed El-Kalioby d9590c0ea1 Merge pull request #18 from Aquaveo/html-and-style-fixes
Addresses several structure and style issues with TOTP and Email dialogs
2020-08-28 18:46:15 +03:00
nswain 55375f7002 Adds never_cache decorator to TOTP and Email start and auth views to prevent browser from caching previous codes. 2020-08-26 11:06:31 -06:00
nswain b6992d3ced Addresses several structure and style issues with TOTP and Email dialogs.
Added missing div tags that were causing style problems.
Reformatted HTML to make it easier to read.
Added whitespace above buttons on TOTP Add dialog.
Changed "6-digit" to "code" on email dialogs because number of digits varies.
2020-08-26 10:19:38 -06:00
Mohamed ElKalioby 3d37d0a51f closes #6 2020-06-18 18:54:20 +03:00
Mohamed ElKalioby a820206a24 Fix is_authenticated #13 2020-06-18 18:24:42 +03:00
Mohamed ElKalioby bc407ca39b Closes #14 2020-06-18 18:16:39 +03:00
John Spounias 91d08cdafc Fix for #8 2020-06-05 15:29:42 -06:00
Mohamed El-Kalioby 0b0a3230fa Closes #5
Move to True and False
2019-12-13 10:31:32 +02:00
Mohamed El-Kalioby 7800962eb6 Better Error Handling 2019-10-18 16:05:07 +03:00
Mohamed El-Kalioby 3ac3e101a3 Better Error handling 2019-10-18 14:31:19 +03:00
Mohamed ElKalioby 4c31e1815e Better Rechecking 2019-10-16 18:53:52 +03:00
Mohamed ElKalioby 64dafb8d2e Allowing Key Ownership flag 2019-10-16 14:45:20 +03:00
Mohamed ElKalioby 9086f47456 Setting Ownership of keys 2019-10-16 14:41:19 +03:00
Mohamed El-Kalioby 9555c7820b Moved to v1.6 2019-06-20 21:17:02 +03:00