aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/helpers
Commit message (Collapse)AuthorAgeLines
* Strip line end spaces in emails.Matthew Somerville2016-06-07-2/+2
|
* Stop using Text::Wrap to wrap email bodies.Matthew Somerville2016-06-07-14/+14
| | | | | | | | | | | If we don't do this, the default quoted-printable encoding will make sure the lines are physically wrapped anyway. format=flowed could be an alternative, but I think "=" acting as a quasi-hyphen is somewhat nicer than every line ending with "=20". A better solution could be quoted-printable doing soft wrapping only at word breaks, making each line be readable though end with a " =", but that didn't seem worth the effort involved.
* Use only one templating system for emails.Matthew Somerville2016-05-25-2/+2
| | | | | | | Historically, emails sent offline (alerts, questionnaires, etc) used a different templating system from those sent by the website (e.g. login emails), though the newer system was also being used for the site name and signature of offline emails.
* Refactor email handling to use Email::MIME alone.Matthew Somerville2016-03-30-62/+51
|
* Updates to cpanfile and code for perl 5.20/5.22.Matthew Somerville2016-03-23-11/+25
| | | | | | | | | | | | | | | | | | | | The following modules had bugs that have been fixed for working in recent perls: * List::MoreUtils * Guard * PadWalker * aliased * URI * Convert::NLS_DATE_FORMAT The CGI module was removed from core in 5.20, so include it in the snapshot (I don't think it's actually used, but is a dependency). "{" needs to be escaped in regular expressions, and ~~ should not be used. Fix some tests that expect e.g. a certain hash ordering, to use sorted output or better comparisons.
* Remove unnecessary shebang lines.Matthew Somerville2016-01-22-2/+0
|
* Allow attachment of emails in email_sendHakim Cassimally2015-10-06-9/+120
| | | | Required by Zurich for mysociety/FixMyStreet-Commercial#675
* Change default email indentation to none.Matthew Somerville2014-03-17-15/+14
| | | | | This is very old, no-one seems to want/need it any more, and more than one reuser does not want it. Fixes #715.
* Update some tests to work around small changes in some underlying modules.Matthew Somerville2013-05-07-13/+4
|
* update test to use DO_NOT_REPLY_EMAIL conf option for from email addressStruan Donald2013-01-04-1/+1
|
* Make sure Message-ID is set on outgoing messages.Matthew Somerville2011-08-03-1/+2
|
* Fix session cookie test, and test based on contact_name that might change.Matthew Somerville2011-06-09-1/+3
|
* Improve email headers in emails sent.Matthew Somerville2011-06-07-6/+13
|
* Fix email test.Matthew Somerville2011-06-02-2/+2
|
* Use correct email address in test.Matthew Somerville2011-05-03-2/+2
|
* Don't hardcode email addressEdmund von der Burg2011-04-05-2/+5
|
* use .txt suffix on email templatesEdmund von der Burg2011-03-23-2/+2
|
* Change emails to use construct_email from mySociety::Email for encoding and ↵Edmund von der Burg2011-03-03-16/+37
| | | | line wrapping
* Check that UTF8 in emails worksEdmund von der Burg2011-03-03-0/+4
|
* Simple email sendingEdmund von der Burg2011-03-02-0/+48