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

365 commits

Author SHA1 Message Date
Adam Coddington
35ea317204 Bumping version number. 2013-07-26 20:24:29 -07:00
Adam Coddington
f48abb0d14 Adding missing import. 2013-07-26 20:18:49 -07:00
Adam Coddington
0f3cb09f94 Minor PR cleanup and reorganization. 2013-07-26 20:15:39 -07:00
Adam Coddington
9954b74eae Merging in changes from buriy:master (pr #5) 2013-07-25 18:45:22 -07:00
Yuri Baburov
d06c64a487 Added subject decode 2013-07-25 17:56:05 +00:00
Yuri Baburov
ac0f2153c0 Applied cleaned up fixes from Anders.Du (duyu) 2013-07-25 18:47:49 +01:00
Yuri Baburov
6697e848c8 Support for Django 1.4 with python 2.5, copied from
https://github.com/jhmaddox/django-precompressed/issues/1
("AttributeError: StringIO instance has no attribute 'name'")
2013-07-25 18:24:33 +01:00
Adam Coddington
a7dcb05b37 Adding target to travis.ci link. 2013-07-25 00:24:39 -07:00
Adam Coddington
384de32d85 Encode email message body into UTF-8 always when on Python 2; although I originally thought that this was a Python 2.6 thing, it looks like it might be some combination of platform/version, but bytes should always be fine. 2013-07-25 00:14:24 -07:00
Yuri Baburov
32968aa678 Support for Django 1.4 with python 2.5, copied from
https://github.com/jhmaddox/django-precompressed/issues/1
("AttributeError: StringIO instance has no attribute 'name'")
2013-07-22 18:16:28 +01:00
Anders.Du
491b489867 Fix the IndentationError in last commit. 2013-07-21 17:31:44 +08:00
Anders.Du
eca0b2caa4 * Add decoding for some encoded messages parts, i.e.
attachments' name, message header, etc.
* Remove overriding for MessageAttachment's __getitem__
  method, so we can call the members directly in django
  templates.

Signed-off-by: Anders.Du <ander.dy@gmail.com>
2013-07-19 23:39:41 +08:00
Adam Coddington
4e83ae8eb3 Updating documentation. 2013-06-24 00:20:08 -07:00
Adam Coddington
a3b1e12b25 Added tag 2.1.1 for changeset b5e4c7cfe0eb 2013-06-23 20:52:55 -07:00
Adam Coddington
198b994be8 Removing print statement. 2013-06-23 20:52:50 -07:00
Adam Coddington
78c9fc1987 Fixing header comparison. 2013-06-23 20:36:05 -07:00
Adam Coddington
d986008b4f Added tag 2.1 for changeset 4d72a7d6bb96 2013-06-23 20:27:52 -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
548cc66c52 Incorporating changes from @mancio's fork. 2013-06-22 17:44:55 -07:00
Adam Coddington
1d14b39889 Updating trove classifiers. 2013-06-22 15:59:46 -07:00
Adam Coddington
1b1af80177 Added tag 2.0 for changeset b28ec733884f 2013-06-22 15:56:12 -07:00
Adam Coddington
38b2a077ec Adding misplaced comma. 2013-06-22 15:46:10 -07:00
Adam Coddington
871d2983b8 Bumping version; adding python 3 support. 2013-06-22 15:43:32 -07:00
Adam Coddington
364a3061c2 Adding Python3 support. 2013-06-22 15:42:50 -07:00
Adam Coddington
4567312402 Adding Django 1.5, Removing Django 1.3 to versions tested on Travis.CI. 2013-06-22 15:09:29 -07:00
Adam Coddington
c58f6cdef7 Added tag 1.11 for changeset 225482213fb9 2013-06-22 15:08:17 -07:00
Adam Coddington
cb1e3cb90c Bumping version number. 2013-06-22 15:08:16 -07:00
Adam Coddington
3ea8689ec0 Encode message body to bytes prior to reconstituting e-mail message object. Added additional test to ensure that messages can make it the full cycle. 2013-06-22 15:06:53 -07:00
Adam Coddington
9cdb2d9d1b PEP-8 Cleanup. 2013-06-22 14:35:47 -07:00
Adam Coddington
9f77c9221a Removing unintended print message :-o 2013-06-22 14:28:00 -07:00
Adam Coddington
406989fc9e Merging in upstream changes. 2013-06-13 10:27:16 -07:00
Adam Coddington
cf543a0712 Merge pull request #3 from redtoad/master
Fix link to section in docs
2013-06-16 00:55:42 -07:00
Sebastian Rahlf
6da17053d4 Fix section reference in docs. 2013-06-12 08:50:25 +02:00
Adam Coddington
0213ad6548 Added tag 1.10.5 for changeset 44de11b0bce6 2013-06-11 22:32:17 -07:00
Adam Coddington
156b6fb418 Hide original body from email message display in admin; bumping version number. 2013-06-11 22:32:13 -07:00
Adam Coddington
c94e2c62a3 Added tag 1.10.4 for changeset 90842d55930e 2013-06-11 22:23:38 -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
7e957a7bcf Added tag 1.10.3 for changeset ebc459f02505 2013-06-11 22:04:24 -07:00
Adam Coddington
f6e1336eb8 Bumping version number. 2013-06-11 22:04:19 -07:00
Adam Coddington
98bec1f682 Do not remove M2M tables. 2013-06-11 22:04:05 -07:00
Adam Coddington
b50b204f9f Added tag 1.10.2 for changeset e3079f2062f5 2013-06-11 22:01:09 -07:00
Adam Coddington
8c9e6b76cb Bumping version number. 2013-06-11 22:01:06 -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
38c39ff5b5 Adding tag for 1.10.1 2013-06-06 01:21:58 -07:00
Adam Coddington
fc897d9b0b Bumping version number. 2013-06-06 01:21:23 -07:00
Adam Coddington
080b43ee14 Added tag 1.10.1 for changeset 70a8d9ea9802 2013-06-06 01:21:13 -07:00
Adam Coddington
79a1799da3 Updating admin to include new inlines for messages. 2013-06-06 01:21:04 -07:00
Adam Coddington
9eeb1159a3 Added tag 1.10 for changeset 4f9499c051da 2013-06-06 01:11:49 -07:00
Adam Coddington
6c1e769103 Bumping version number. 2013-06-06 01:11:28 -07:00