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

30 commits

Author SHA1 Message Date
abtin
eac0d5ce3e increase max_length of Mailbox.uri
in some cases like Office365 the 255 limit could be exceeded.
2026-06-23 16:29:39 +02:00
Pascal F
0f82c95ca0
Make eml field Blankable 2023-12-17 06:27:45 +01:00
Adam Dobrawy
2b2b7d6392 Modernize syntax, drop Python EOL, drop drop Django<1.11, upgrade TravisCI config to v1, add Python 3.8 & Django 3.x 2019-11-09 19:23:08 +01:00
Steven Kosyra
8d14fe7745 missing migrations added 2019-02-19 15:54:11 +01:00
Adam Dobrawy
55bf24b199 Add missing migrations 2018-04-21 07:39:50 +02:00
Denis
7252295601 Django 2.0 Preps - on_delete=models.CASCADE in models & migrations (#153)
* Update models.py for django 2.0

on_delete=models.CASCADE on all relationships

* on_delete=models.CASCADE in 0001_initial.py

Django 2.0 preps
2017-12-05 07:53:18 -08:00
Adam Dobrawy
251b12161c Fix grammar of Mailbox.last_polling.help_text 2016-08-16 07:18:51 +02:00
Adam Dobrawy
086bcd3acd Add Mailbox.last_polling model field 2016-08-16 01:00:26 +02:00
Steeve Chailloux
456233e16b [migration] add missing migration from b4a3cdc 2016-05-24 00:55:21 +02:00
Will Horne
af4c6d9747 Add migration to resolve inconsistency between python2 and python3 strings 2015-07-20 16:12:27 -07:00
Adam Coddington
e5d36cbabf Updating message migration for new verbose name; fixes #48. 2015-04-08 20:18:11 -07:00
Adam Dobrawy
9a5e5f1dd9 Added upload_to in eml field in migration 2015-03-21 11:38:57 +01:00
Adam Dobrawy
42d891bd8d Added storing original message in file 2015-03-15 02:16:27 +01:00
Patrick Craston
2d82c00c5b convert migrations to work with Django 1.7, add Django 1.7.1 to travis test matrix 2014-11-07 17:35:34 +00:00
Michal Adamczyk
8aef745832 fix migration 0014, set no_dry_run=True 2013-11-25 21:13:32 +01:00
Adam Coddington
88d122c421 Base64-encode message body when storing in DB.
* Since Django requires that the content stored in a TextField be unicode, we
  need some way to encode the message safely.  In situations before where
  a single-byte non-7-bit-clean encoding were used, django-mailbox could
  explode when writing the message copy to the database; this should ameliorate
  that problem.
* Reverts earlier changesets' encoding normalization.
2013-07-26 22:13:29 -07:00
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