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

174 commits

Author SHA1 Message Date
fsboehme
2d66659574 Merge 76c5e0ea7c into 50282414aa 2015-04-15 10:05:37 +00:00
Adam Coddington
50282414aa Always re-open filefield before reading. 2015-04-13 20:20:11 -07:00
Adam Coddington
830343bf78 Always read file object in as bytes; fixes bug in which non-local file storage caused get_email_object to fail. 2015-04-13 20:13:24 -07:00
Adam Coddington
4037aac5e4 If no message was returned; continue. 2015-04-12 12:21:48 -07:00
Adam Coddington
c60b32aca5 Release 4.3.2; fixes IMAP transport on Python3k and adds integration tests. 2015-04-12 12:13:10 -07:00
Adam Coddington
abad769fd6 Fixing test discovery, adding functionality allowing one to restict
message gathering (via the IMAP transport) to only messages matching a
specified subject.

Fixes #49.
2015-04-12 12:11:49 -07:00
Adam Coddington
634f2f4b26 Adding basic integration tests. 2015-04-12 12:11:39 -07:00
Adam Coddington
e5d36cbabf Updating message migration for new verbose name; fixes #48. 2015-04-08 20:18:11 -07:00
Adam Coddington
fc24cb3595 Release 4.3.0; adds support for storing original email as file on-disk, adds functionality allowing one to specify a specific IMAP folder to use for consumption. 2015-03-26 23:11:34 -05:00
Adam Coddington
694a90141b Minor field display name change. 2015-03-26 23:02:08 -05:00
Adam Coddington
c7dd1ad3e7 Bumping version number to 4.3.0a2. 2015-03-23 19:53:48 -07:00
Adam Coddington
8ff331bdca #44: Adding south migration matching Django 1.7 migration. 2015-03-23 19:50:16 -07:00
Adam Coddington
440f31174f Merge remote-tracking branch 'ad-m/master' into 44_store_original_email 2015-03-23 19:42:06 -07:00
Adam Coddington
09a27148dc Release 4.3.0a; allowing one to specify a folder from which to collect imap messages. 2015-03-22 20:59:03 -07:00
Adam Coddington
2fa7e93a89 #46: Whitespace. 2015-03-22 20:57:07 -07:00
Adam Dobrawy
9a5e5f1dd9 Added upload_to in eml field in migration 2015-03-21 11:38:57 +01:00
Adam Dobrawy
2b40c9efd0 Fix typo in Message.reply 2015-03-18 10:11:34 +01:00
Adam Dobrawy
835986c96a Added random eml file name, removed getattr related to self.mailbox.from_email in Message.reply, fix docs - second round of pull requests 2015-03-18 09:56:52 +01:00
Dmitry
1862529f2a Update imap.py 2015-03-16 16:55:12 +03:00
Dmitry
fc1b3172b4 Update models.py 2015-03-16 16:52:25 +03:00
Adam Dobrawy
42d891bd8d Added storing original message in file 2015-03-15 02:16:27 +01:00
Adam Dobrawy
552e033655 Added test django_mailbox.tests.test_process_email.TestProcessEmail.test_message_reply 2015-03-15 00:42:57 +01:00
Adam Dobrawy
24138d1dc7 During reply update from_email only if not set 2015-03-14 18:23:19 +01:00
Adam Coddington
793f92cfcf Release 4.2.1; fixes #41: if no messages_ids, return before checking for small_message_ids. 2015-02-06 15:31:17 -08:00
Ben Segal
7fd5b02054 If no message_ids, return before checking for small_message_ids 2015-01-31 15:46:49 -08:00
Adam Coddington
c3cd5a28ae Version 4.2; adds 'envelope_headers' to admin. 2014-12-31 09:41:08 -06:00
Adam Coddington
d276f7e9a9 Adding envelope headers to the Admin interface. 2014-12-31 09:40:36 -06:00
Adam Coddington
413c492db3 Merge pull request #38 from patipatini/attachment_filename_encoding
Fix encoded attachment's filenames
2014-12-15 06:43:21 -08:00
Philippe
571f57d957 Fix encoded attachment's filenames 2014-12-15 14:50:14 +01:00
Felix Boehme
76c5e0ea7c Insert Message-ID header before send/store
ensures that in-reply-to finds the original message
2014-12-08 17:34:19 -08:00
Felix Boehme
33c9c32e7e Related object, mass mail utils
Added generic fkey on message in order to allow associating messages
with other objects
Added mass mail utilities that store outgoing messages (including link
to other object)
2014-12-08 14:54:03 -08:00
Adam Coddington
20d5c3956e Release 4.1.2; Added handling for processing unknown encodings. 2014-11-15 22:19:32 -08:00
Adam Coddington
f16d4f6d9c Minor tweaks to logging. 2014-11-15 22:18:19 -08:00
Adam Coddington
aa59199c9b Interpret unknown encodings as ASCII. Fixes #34. 2014-11-15 22:15:25 -08:00
Adam Coddington
e1b0763a46 Store 'Delivered-To' as 'to_header' when 'to' is unspecified. 2014-11-10 19:20:17 -08:00
Adam Coddington
df4c7196db Fix bug preventing south 1.0 from properly finding legacy migrations. Release 4.1.1 2014-11-09 21:55:21 -08:00
Adam Coddington
4eae6faf03 Given that 'classic' versions of django do not have a setup function: allow that to fail. 2014-11-07 19:12:30 -08: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
Adam Coddington
f8e70aa5d1 Attempting to narrow down the issue @rulzart is encountering.
Conflicts:
	django_mailbox/transports/generic.py
2014-10-14 19:29:51 -07:00
Will
1406d465d6 Adjust usages of get_query_set to get_queryset 2014-09-06 19:18:47 -07:00
Will
bd56716e74 Fix deprecation warnings after Django 1.7 upgrade 2014-09-06 16:31:12 -07:00
Ariel Gerardo Ríos
826d0b1d88 Fix test methods for new accessors. 2014-09-01 15:31:29 -03:00
Ariel Gerardo Ríos
c1bfc9b3a8 Extracts inner method to process multiple content types. 2014-09-01 15:31:13 -03:00
Ariel Gerardo Ríos
6d73301f0d Add property to fetch HTML body message. 2014-09-01 15:30:30 -03:00
Ariel Gerardo Ríos
ce7e17b50c Add file header and dummy HTML method. 2014-08-29 17:24:49 -03:00
Ariel Gerardo Ríos
305d1c5c38 Add translation support to field names and help texts. 2014-08-29 16:08:01 -03:00
Ariel Gerardo Ríos
4f400fab48 Add some spaces between constants and imports. 2014-08-29 15:39:49 -03:00
Adam Coddington
db6190a295 Cleaning up management commands for PEP-8 and consistency. 2014-08-22 20:02:58 -07:00
Adam Coddington
591f1545c8 Decode from ASCII with replacement if errors are encountered while gathering text. Fixes #20. 2014-08-22 19:46:39 -07:00
Adam Coddington
dad65d802c Wrap added \Deleted flag in parentheses. Fixes #23.
Apparently the IMAP specification expects that the +FLAGS argument be
surrounded by parentheses; although some e-mail backends (like Gmail)
will accept the +FLAGS argument without surrounding the \Deleted flag
in parentheses, many (reasonably) follow the specification much more
closely.  This problem was first noted in report #23.

Searching for other examples of mail deletion, I've found several
Stack Overflow articles in which people are attempting the same task,
and each either uses `imap.store` without surrounding '\Deleted' in
parentheses, or uses `imap.uid` *while* surrounding '\Deleted' in
parentheses:

* http://stackoverflow.com/questions/1777264/using-python-imaplib-to-delete-an-email-from-gmail
* http://stackoverflow.com/questions/3180891/imap-deleting-messages
2014-08-22 19:27:36 -07:00