[Merge] lp:~pskoli93/postorius/validation-fix into lp:postorius

Pavan Koli pskoli93 at gmail.com
Wed Apr 8 08:42:11 CEST 2015


The proposal to merge lp:~pskoli93/postorius/validation-fix into lp:postorius has been updated.

Description changed to:

While using the mass subscription option to subscribe many email ids, email ids such as '@gmail.com' are passing through.

Django validators have been used now to validate the email ids.

Also some changes have been made to the file postorius/src/postorius/forms.py. On leaving the Mail Host and Web Host column blank while creating a new domain, a message 'Please a domain name' used to get displayed which seems not to help much. Change has been made to now display 'Please enter a Mail Host' and 'Please enter a Web Host' if you leave that respective column blank.

Change has been added to the files postorius/src/postorius/models.py, AttributeError used to be thrown when 'EMAIL_CONFIRMATION_FROM' was not properly configured, now if 'EMAIL_CONFIRMATION_FROM' is checked if it's not present then 'DEFAULT_FROM_EMAIL' is checked. If both are not configured then ImproperlyConfigured error is thrown, it atleast conveys that there is a problem in configuration and not in the code.

For more details, see:
https://code.launchpad.net/~pskoli93/postorius/validation-fix/+merge/255461
-- 
Your team Mailman Coders is subscribed to branch lp:postorius.


More information about the Mailman-coders mailing list