Skip to content

WIP: Drop browserid and use django-allauth

Simon Hanna requested to merge thelinuxguy/postorius:allauth into master

Django-allauth provides access to numerous social logins including persona. Persona is going to be shutdown in November 2016, so browserid will become useless. Since allauth supports persona, the transition should go without any problems. Allauth supports adding multiple emails to one account, so synchronization between postorius and mailman will be needed.
Allauth supports signals. Currently the signals are used when emails are added or confirmed.

The branch is already working, it's marked as WIP mainly to gather feedback and implement missing features.
This branch depends on !92 (closed). Otherwise endless redirect loops can occur.

Changes include:

  • Drop browserid
  • Add dependency on django-allauth
  • Remove AddressConfirmationProfiles
  • Allow changing password
  • Allow resetting the password

Needs to be done:

  • Allow removal of emails
  • Allow deletion of accounts
  • Synchronize the databases of postorius and mailman
  • Add templates for email confirmation, password reset, etc
  • Update tests

Merge request reports