1
0
Fork 0
Commit graph

31 commits

Author SHA1 Message Date
Mahmud Abdur Rahman
26cb103c3a
fixed the "attachements" string
"attachements" was throwing the error on model admin. fixed the issue with removing the extra "e" from the string.
2024-04-16 23:06:16 +06:00
Willem Van Onsem
5d056a7699
boost efficiency of the ModelAdmin 2024-04-10 07:42:52 +02:00
George Cheng
0c6f6aa6ce Move the bulk get_new_mail to queryset 2020-07-26 14:21:21 +08:00
George Cheng
505bc8d1c9 Fix get_new_mail admin action.
Mailbox.get_new_mail returns a generator
which do not actually run if we do not iterate it.
2020-07-26 04:55:46 +00: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
Ivlev Denis
e2ba20d629 Add translation for action short descriptions 2017-07-09 13:33:56 +03:00
Lars Kruse
234ed00909 Add flake8 style check 2017-05-09 23:59:42 +02:00
Adam Dobrawy
ef88900787 Add last_polling to MailboxAdmin 2016-08-16 01:01:25 +02:00
Adam Coddington
d276f7e9a9 Adding envelope headers to the Admin interface. 2014-12-31 09:40:36 -06:00
Ariel Gerardo Ríos
ce7e17b50c Add file header and dummy HTML method. 2014-08-29 17:24:49 -03:00
Adam Coddington
79e189fb22 Always decode headers into unicode objects before assigning to model; fixes #12. 2014-04-22 15:49:49 -07:00
Adam Coddington
a6b4d3729a Removing 'body' from admin message display. 2013-08-04 19:57:28 -07:00
Adam Coddington
0f3cb09f94 Minor PR cleanup and reorganization. 2013-07-26 20:15:39 -07:00
Yuri Baburov
d06c64a487 Added subject decode 2013-07-25 17:56:05 +00: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
9cdb2d9d1b PEP-8 Cleanup. 2013-06-22 14:35:47 -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
32e4eb10fb Adding migration to clean up any potentially misplaced attachments. 2013-06-11 21:59:54 -07:00
Adam Coddington
79a1799da3 Updating admin to include new inlines for messages. 2013-06-06 01:21:04 -07:00
Adam Coddington
11eb186978 Adding 'resend message received' admin action. 2013-01-27 04:58:09 -08:00
Adam Coddington
895fcff4b7 Code cleanup; ensure no tb in the event of a very-long filename. 2013-01-20 16:51:10 -08:00
Adam Coddington
4546741c20 Merging in upstream changes from github. 2013-01-14 03:28:59 -08:00
Patrick Craston
2e484aaed8 Add admin support for attachments --display correctly 2013-01-15 12:27:32 +00:00
Patrick Craston
3c3e0f3d9b Add admin support for attachments --fix typo 2013-01-15 12:23:16 +00:00
Patrick Craston
00c14e9818 Add admin support for attachments 2013-01-15 12:21:49 +00:00
Adam Coddington
4a785a18ce Show 'read' date in admin for messages. 2012-12-07 11:08:17 -08:00
Adam Coddington
d43dc46a33 Removing 'references' entry. 2012-10-28 12:57:49 -07:00
Adam Coddington
9615568108 Modifying admin display; adding help text. 2012-10-28 12:41:36 -07:00
Adam Coddington
55fb2f607e Removing 'address' field from admin changelist. 2012-10-27 18:53:59 -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
Adam Coddington
413b60e35f Initial commit. 2012-06-27 20:45:01 -07:00