Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Releases: relekang/django-nopassword

v4.0.1

02 Apr 05:44
Compare
Choose a tag to compare

Set the default length of codes to 64. The setting NOPASSWORD_CODE_LENGTH is considered
deprecated.

v4.0.0

04 Mar 20:27
Compare
Choose a tag to compare

Feature

  • Support next in rest (deba82e)
  • Add NOPASSWORD_LOGIN_ON_GET setting (627267e)
  • Set default html_template_name in EmailBackend (0f46de1)
  • Add admin (81a184f)
  • Raise error when sending code without backend (8bfe372)
  • Use username field metadata for form/serializer fields (8d46122)
  • Add rest views (34c1a6b)

Fix

  • Use timezone.now() instead of datetime.now() (cf22def)
  • Rename LoginCodeRequestView to LoginView (44363c5)
  • Rename sms template (a8d1522)
  • Change login_code_request_email template extension (efecdcf)
  • Fix isort error (e349e5b)

Documentation

v3.0.1

14 Dec 07:29
Compare
Choose a tag to compare

Fix

Documentation

  • Made it so the documentation has all of the settings' default values (#75) @ataylor32

v3.0.0

11 Dec 20:47
Compare
Choose a tag to compare

Fixes

  • RemovedInDjango110Warnings in urls.py (#66)
  • Add namespace for urls (#69)
  • Upgrade twilio

BREAKING CHANGES:

  • This release adds namespacing to the urls of nopassword. You must change your includes
    to use a namespace. The default namespace is nopassword, however it can be changed
    with NOPASSWORD_NAMESPACE.

v2.1.1

09 Mar 20:37
Compare
Choose a tag to compare

Fix

  • Filter out tests from packages

v2.1.0

12 Aug 11:41
Compare
Choose a tag to compare

NoPasswordBackend now inherit from Django's ModelBackend. Thanks to @mjumbewu.

2.0.0

26 May 21:02
Compare
Choose a tag to compare
  • Support https in login links in emails
  • Use request.get_host() instead of SERVER_URL in login links
  • Add secure argument to send_login_code
  • Add host argument to send_login_code
  • Upgrade twilio to 4.4.0

Thanks to @smajda for making it happen

Numeric codes

04 Nov 11:34
Compare
Choose a tag to compare

Thanks to @gthomas

  • Add option for numeric login codes
  • Fix import bug, only import TwilioBackend in nopassword/backends/ini.py if twilio is installed

TwilioBackend

31 Oct 18:48
Compare
Choose a tag to compare
  • Add TwilioBackend
  • Support custom code lengths

1.0.0

03 Oct 13:38
Compare
Choose a tag to compare

Rename the app to nopassword: This means that from this version installed apps
in django should list nopassword not django_nopassword. In addition all imports
need to point to nopassword not django_nopassword.

The possibility to customize code delivery:
Most of the code in the EmailBackend has been moved to a new backend called
NoPasswordBackend. The latter is not meant to be used on its own, but it will
make it easier to create other backends similar to EmailBackend. With other
words, it has become easier to send the login codes with other technologies like
sms.

Verification of the user:
django-nopassword uses user.is_active() to determine whether a user is still
active or not. In this release we moved this into its own method,
NoPasswordBackend.verify_user, which makes it easier to create your own logic
to verify your users.

Django 1.7 support: Now it is tested and known to work with the released version
of Django 1.7. Earlier it had just support for the beta 3.

Migrations: Support for both Django 1.7 migrations and South migrations. To use
South it is necessary to use version the lastest version(1.0), since it is the only
version that looks for migrations in south_migrations.