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

151 commits

Author SHA1 Message Date
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 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
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
Adam Coddington
b4c20bdf2e Reordering imports to match style guide. 2014-08-22 19:25:14 -07:00
Adam Coddington
7474cf0118 Prevent ImapTransport from raising exception when no messages are available. Fixes #24. Release 3.4.1. 2014-08-14 21:41:08 -07:00
Adam Coddington
8af7c676fb Remoing unaccessed 'fetch_contacts' function. 2014-06-01 14:26:30 -07:00
Adam Coddington
d1485d9cd5 Replacing print statements with logger.info 2014-06-01 14:24:34 -07:00
Adam Coddington
61b1e55c50 Minor stylistic changes. 2014-05-30 16:32:57 -07:00
Adam Coddington
91da5d3203 Merge remote-tracking branch 'alexlovelltroy/size_limiting' into issue_19 2014-05-30 16:31:13 -07:00
Alex Lovell-Troy
1efa1140a6 I'll get the 2to3 changes right someday 2014-05-29 23:47:48 -06:00
Alex Lovell-Troy
ec18a01880 Refactored the imap transport based on the tests
Testing the switch to uid-based IMAP calls required better testing
The better testing revealed some code that wasn't so pretty

I fixed the tests and the code
2014-05-29 23:41:11 -06:00
Adam Coddington
05c8d3ece8 Minor cleanup & a Python 3k fix. 2014-05-29 16:52:08 -07:00
Alex Lovell-Troy
ea793545d9 Update gmail.py 2014-05-29 07:31:14 -06:00
Alex Lovell-Troy
677e420dec Adding gmail to the mailbox types
and adding the type to models.py
2014-05-28 21:24:46 -06:00
Alex Lovell-Troy
29d36a493a Adding ability to limit messages by max size
Adding a new setting for maximum message size
 Adding method to limit a set of message uids by size
 Switching to IMAP uids so that we can trust that subsequent
 commands will use the same ids
2014-05-28 20:39:13 -06:00
Alex Lovell-Troy
cc4e72305d Adding gmail oauth2 authentication
python-social-auth is an optional dependency
2014-05-28 20:10:45 -06:00
Adam Coddington
0aa757955d Create archive folder if it does not exist. 2014-05-25 12:57:38 -07:00
Adam Coddington
02567acdc2 Minor alterations to @yellowcap's pull request submission:
* Using a query parameter argument (rather than the entire query string)
  to specify the folder into which e-mail messages should be archived.
* Duplicating the IMAP tests; this could probably be a bit more simply
  done, but we'll at least be verifying both archived and non-archived
  use cases.
* Simplifying some aspects of the documentation to include references
  to this new feature.
2014-05-25 12:35:20 -07:00
Daniel
0e0c6cf170 Added email archiving option to IMAP transport 2014-05-23 09:17:14 +01:00
Adam Coddington
3b2d60a903 Actually fixing Python 3 support; verified both IMAP and POP3. Fixes #13 (seriously this time). 2014-04-25 16:45:35 -07:00
Adam Coddington
2b90f08250 Merge branch 'master' of github.com:coddingtonbear/django-mailbox 2014-04-24 15:49:18 -07:00
Adam Coddington
002e33bd95 Refactoring imports for Python3 support. Fixes #13.
* Refactoring unicode payload handling of mis-encoded payloads.
* Uses six.moves.urllib to find proper urllib versions.
2014-04-24 15:44:45 -07:00
Adam Coddington
0f0628a742 Only expect additional space in Python 3.3+. 2014-04-22 17:13:41 -07:00
Adam Coddington
a2cf80ef99 Fixing header decoding such that it works properly under both Python 3.x and 2.x. 2014-04-22 17:06:17 -07:00
Adam Coddington
ef42c319e9 Updating yet another string for python3. 2014-04-22 16:24:16 -07:00
Adam Coddington
d871d41448 Fix test for Py3 support. 2014-04-22 16:06:34 -07:00