1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-10 06:48:19 +02:00
Commit graph

14 commits

Author SHA1 Message Date
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
Adam Coddington
4b70cf6f21 Fixing bad migration; keeping migration for rebuilding associations as a management command. 2013-06-11 22:23:27 -07:00
Adam Coddington
98bec1f682 Do not remove M2M tables. 2013-06-11 22:04:05 -07:00
Adam Coddington
7d1153a8eb Use a predictable ordering. 2013-06-11 22:00:39 -07:00
Adam Coddington
32e4eb10fb Adding migration to clean up any potentially misplaced attachments. 2013-06-11 21:59:54 -07:00
Adam Coddington
af2f37a247 Remove M2M relationship between MessageAttachment and Message. 2013-06-06 01:03:16 -07:00
Patrick Craston
2fd9664295 Add south migration for message attachment model 2013-01-15 12:28:32 +00:00
Adam Coddington
af58c324f5 Adding unread/read flagging for individual messages. 2012-11-27 19:01:49 -08:00
Adam Coddington
77acc09e2f Allow specification of from e-mail on mailbox model. 2012-10-28 12:25:37 -07:00
Adam Coddington
188ac8093b Removing 'References' table; default django mail sending methods do not allow multi-line headers (which are required for setting references). 2012-10-28 12:03:31 -07:00
Adam Coddington
5c619d98b8 Adding migrations supporting new model design. 2012-10-27 18:09:23 -07:00
me@adamcoddington.net
ff39cff80d Adding active/inactive mailboxes, adding outgoing/incoming mail tracking, changing field names, tracking in-reply-to and references. 2012-10-09 05:52:04 +00:00
me@adamcoddington.net
24c2a98d81 Adding migration for handling incoming messages; adding exim4 scripts for routing messages to django_messages.
--HG--
branch : exim4_pipe
2012-10-08 15:24:42 +00:00
Adam Coddington
413b60e35f Initial commit. 2012-06-27 20:45:01 -07:00