summaryrefslogtreecommitdiffstats
path: root/kittystore/scrub.py
Commit message (Collapse)AuthorAgeFilesLines
* Protect against badly encoded attachment namesAurélien Bompard2013-10-151-1/+1
|
* Guard against unknown charsets in plain-text messagesAurélien Bompard2013-09-091-2/+6
|
* The scrubber should always return unicodeAurélien Bompard2013-09-091-1/+1
|
* Clean up pipermail attachments from email.contentAslak Knutsen2013-03-201-3/+8
| | | | | | | | | | 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-15/+12
| | | | | Or they will be added before the email is in the database, violating foreign-key constraints.
* Pylint passAurélien Bompard2012-10-261-7/+3
|
* Fix a few licensesAurélien Bompard2012-10-251-1/+1
|
* Implement necessary methods for pipermail compatibilityAurélien Bompard2012-10-221-5/+3
|
* First PyLint passAurélien Bompard2012-10-121-2/+2
|
* Remove unused imports in the scrub moduleAurélien Bompard2012-10-121-17/+2
|
* Adapt to the i18n filename bugAurélien Bompard2012-10-031-2/+9
| | | | See: https://bugs.launchpad.net/mailman/+bug/1060951
* Fix text attachment handlingAurélien Bompard2012-10-031-0/+1
|
* Use the email.utils.unquote functionAurélien Bompard2012-10-021-2/+2
|
* Handle non-ascii chars in filenameAurélien Bompard2012-10-021-3/+4
|
* Improve charset handlingAurélien Bompard2012-10-021-48/+39
| | | | And store attachment encoding in the database.
* Fix header decoding and associated testsAurélien Bompard2012-10-021-0/+15
|
* Improve scrubbingAurélien Bompard2012-10-011-20/+24
| | | | | - 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-91/+6
|
* Integrate the scrubber into the storeAurélien Bompard2012-09-261-3/+8
|
* Refactor the scrubbing functionAurélien Bompard2012-09-251-449/+288
|
* Port the scrubbing function from Mailman 2.1Aurélien Bompard2012-09-241-0/+530
The function works without crashing, I still need to implement save_attachment(), add the required DB tables and wire everything together.