1
0
Fork 0
Commit graph

252 commits

Author SHA1 Message Date
Adam Dobrawy
72cb0ea706 Avoid "settings.DATABASES is improperly configured. Please supply the NAME value." 2018-04-21 07:27:48 +02:00
Thomas Chamberlin
33b48b2f73 Bug fixes for Django versions 1.8 and 1.9
These are versions in which a "compatibility mode" is in place for argument handling, and things didn't work quite the way I expected
2018-03-09 17:02:50 -05:00
Thomas Chamberlin
b5d5207cd8 Bug fixes to support Django 1.7 2018-03-09 16:36:39 -05:00
Thomas Chamberlin
e151006582 Fixed bug in mailbox_name argument and added unit tests
This is an optional positional argument, and thus needs to have nargs='?' set
2018-03-09 15:35:38 -05:00
Thomas Chamberlin
7b536046a9 Updated management command's argument handling for Django 1.8\+
It appears that Django switched from optparse to argparse in Django 1.8. In Django 1.10 it appears that the compatibility mode for optparse-style managemnt commands was removed, and thus these were broken

https://docs.djangoproject.com/en/1.11/internals/deprecation/#deprecation-removed-in-1-10

https://docs.djangoproject.com/en/1.11/releases/1.8/#extending-management-command-arguments-through-command-option-list

https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/
2018-03-09 14:45:43 -05:00
Adam Dobrawy
e0687380a1 Cache email object in Message (#148)
* Cache email object in Message

* Email object cache flush in some tests
2018-03-09 10:10:07 -08:00
Adam Dobrawy
2b2bdb9825 Use generator in Mailbox.get_mail to limit memory leak (#149)
* Use generator in Mailbox.get_mail to limit memory leak

* Fix generator support in tests/base.py
2018-03-09 10:09:45 -08:00
Adam Coddington
25399db82f Bump version: 4.7.0 → 4.7.1 2018-02-09 00:13:54 -08:00
Adam Dobrawy
7eecb0d41d Fix text content with text attachment (#170)
* Add tests case for text content with text attachment

* Fix parsing text message with text attachment
2018-02-09 00:13:39 -08:00
Adam Coddington
dfad0f8f9c Bump version: 4.6.0 → 4.7.0 2018-01-15 21:45:37 -08: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 Coddington
0374cbd4cd Bump version: 4.5.4 → 4.6.0 2017-10-15 14:23:50 -07:00
Adam Dobrawy
9f8d653ada Add python_2_unicode_compatible in models 2017-07-11 08:17:17 +02:00
Adam Dobrawy
0001a077fb Drop print in test 2017-07-09 21:38:11 +02:00
Adam Dobrawy
cedef9d81c Fix PY3 compatibility of compression 2017-07-09 20:47:48 +02:00
Adam Dobrawy
aa9f230558 Add support to compression of original messages 2017-07-09 20:38:29 +02:00
Ivlev Denis
00c21dd878 Fix Russian translation 2017-07-09 18:04:22 +03:00
Ivlev Denis
4ccb0bb702 Add Russian translation 2017-07-09 13:38:08 +03:00
Ivlev Denis
29fa6faad5 Add verbose_name for models 2017-07-09 13:34:50 +03:00
Ivlev Denis
e2ba20d629 Add translation for action short descriptions 2017-07-09 13:33:56 +03:00
Ivlev Denis
147c05d74a Add application config 2017-07-09 13:32:32 +03:00
Adam Dobrawy
89b2d3a105 Merge pull request #137 from sumpfralle/master
Fix handling of missing 'content-transfer-encoding' header
2017-05-10 14:19:28 +02:00
Lars Kruse
234ed00909 Add flake8 style check 2017-05-09 23:59:42 +02:00
Lars Kruse
e4a8a05f3d Fix handling of missing 'content-transfer-encoding' header
Closes: #136

Python's email module raises a KeyError if the header
'content-transfer-encoding' is missing:
  https://bugs.python.org/issue27321
2017-05-09 23:28:19 +02:00
Adam Dobrawy
ce6ce6b5dd Flush repository after consume email - close #128 2016-12-26 01:12:14 +01:00
Adam Dobrawy
251b12161c Fix grammar of Mailbox.last_polling.help_text 2016-08-16 07:18:51 +02:00
Adam Dobrawy
fc05ee6505 Fix backward compatibility to django<1.5 in Mailbox.get_new_mail 2016-08-16 01:10:55 +02:00
Adam Dobrawy
ef88900787 Add last_polling to MailboxAdmin 2016-08-16 01:01:25 +02:00
Adam Dobrawy
e8bcd56727 Add tests to update Mailbox.last_polling 2016-08-16 01:00:52 +02:00
Adam Dobrawy
086bcd3acd Add Mailbox.last_polling model field 2016-08-16 01:00:26 +02:00
Adam Dobrawy
e610f93341 Add test for message with long content (#109) 2016-08-03 10:11:20 -07:00
Adam Coddington
3fe3ce05ca Bump version: 4.5.3 → 4.5.4 2016-07-28 17:50:10 -07:00
Adam Dobrawy
f32c0dd245 Fix parse UTF-8 filename - close #104 2016-06-30 15:43:08 +02:00
Adam Coddington
e364369643 Bump version: 4.5.2 → 4.5.3 2016-06-20 21:18:07 -07:00
Adam Coddington
f524031965 [#100] Do not insert unix 'From' header in saved messages. 2016-06-20 21:16:23 -07:00
Adam Coddington
9048ee4d34 Bump version: 4.5.1 → 4.5.2 2016-06-01 12:58:08 -07:00
Adam Coddington
6f9c4a1166 [#99] Fixes a bug that would prevent upload-to path being srtptime'd. 2016-06-01 12:57:48 -07:00
Steeve Chailloux
456233e16b [migration] add missing migration from b4a3cdc 2016-05-24 00:55:21 +02:00
Adam Coddington
a4bf5b6a99 Bump version: 4.5.0 → 4.5.1 2016-05-18 13:01:13 -07:00
Adam Coddington
d75d838e26 [#97] Do not attempt to convert filename top unicode if no filename was available. 2016-05-18 12:57:56 -07:00
Adam Coddington
b378e6dcb9 Bump version: 4.4.9 → 4.5.0 2016-05-15 12:09:26 -07:00
Steeve
7198404efd python3 support for rfc822.parseaddr (#95) 2016-05-15 12:08:27 -07:00
Steeve
8a73076427 add imaps STARTTLS support (#94)
* add imaps STARTTLS support using +tls

* documentation on STARTTLS
2016-05-15 12:05:11 -07:00
Adam Coddington
6510dd2edb Release 4.4.9; fixes handling of encoded filenames. 2016-05-14 23:50:17 -07:00
Adam Coddington
5b1ed1c66f Properly decode encoded filename headers. Fixes #96. 2016-05-14 23:37:49 -07:00
Adam Coddington
1c29cefa08 [#96] Fixing handling for unicode filename retrieval on python 2. 2016-05-14 23:31:55 -07:00
Adam Coddington
a00f837150 Return unicode-converted filename only if a response was returned. 2016-05-14 22:29:23 -07:00
Adam Coddington
5134b38060 [#96] Adding example email having a koi8r-encoded filename. 2016-05-14 22:26:58 -07:00
Adam Coddington
276917c6e6 [#96] Decode attachment filenames into unicodes. 2016-05-14 22:19:03 -07:00
Adam Coddington
b4a3cdc843 Switch from nose to py.test. 2016-05-14 22:06:32 -07:00