1
0
Fork 0
django-mailbox/django_mailbox
Adam Coddington 5f289289ce Major refactor of message attachment handling; no longer stores verbatim
message copy in database.

Bumping version number to 2.1

* Walks through incoming message, write attachments to disk as they are found,
  and alters message body removing actual attachment body, and adding
  header 'X-Django-Mailbox-Interpolate-Attachment' referencing the ID of the
  stored attachment.
* When calling ``get_email_object``, will walk through stored message, and
  're-hydrate' the message by finding said headers, searching for the
  appropriate record in the MessageAttachments table, and rebuild the message
  object as closely as possible.

Minor fixes:

* Properly collect text/plain content from any part of the message; previously
  would only check the message's first level of payloads, now walks through
  all payloads, building a string of all text/plain content.
* Remove use of deprecated `assertEquals` message.
2013-06-23 20:27:50 -07:00
..
management Fixing bad migration; keeping migration for rebuilding associations as a management command. 2013-06-11 22:23:27 -07:00
migrations Major refactor of message attachment handling; no longer stores verbatim 2013-06-23 20:27:50 -07:00
tests Major refactor of message attachment handling; no longer stores verbatim 2013-06-23 20:27:50 -07:00
transports PEP-8 Cleanup. 2013-06-22 14:35:47 -07:00
__init__.py Initial commit. 2012-06-27 20:45:01 -07:00
admin.py Major refactor of message attachment handling; no longer stores verbatim 2013-06-23 20:27:50 -07:00
models.py Major refactor of message attachment handling; no longer stores verbatim 2013-06-23 20:27:50 -07:00
runtests.py Adding tests. 2013-01-19 00:26:58 -08:00
signals.py Initial commit. 2012-06-27 20:45:01 -07:00