summaryrefslogtreecommitdiffstats
path: root/kittystore/test/test_scrub.py
Commit message (Collapse)AuthorAgeFilesLines
* Clean up pipermail attachments from email.contentAslak Knutsen2013-03-201-0/+7
| | | | | | | | | | When loading an archive from pipermail, attachments are described in the email body as "-- next part --" pr attachment. This is noise for the reader and should not be part of the email.content displayed to the user. The complete original message can still be seen in the raw view.
* Don't let the message scrubber add attachmentsAurélien Bompard2012-11-171-65/+46
| | | | | Or they will be added before the email is in the database, violating foreign-key constraints.
* First PyLint passAurélien Bompard2012-10-121-0/+3
|
* Adapt to the i18n filename bugAurélien Bompard2012-10-031-8/+29
| | | | See: https://bugs.launchpad.net/mailman/+bug/1060951
* Fix text attachment handlingAurélien Bompard2012-10-031-1/+3
|
* Handle non-ascii chars in filenameAurélien Bompard2012-10-021-0/+21
|
* Improve charset handlingAurélien Bompard2012-10-021-11/+11
| | | | And store attachment encoding in the database.
* Fix header decoding and associated testsAurélien Bompard2012-10-021-0/+12
|
* Improve scrubbingAurélien Bompard2012-10-011-22/+7
| | | | | - don't escape HTML contents, it's the frontend's job - don't insert placeholder text when scrubbing attachments.
* Add some basic unit tests for the scrubberAurélien Bompard2012-09-281-0/+106