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

266 commits

Author SHA1 Message Date
Pascal F
7fde5f7165
Support for Django 5.0 and python 3.12 + Fix CI (#277)
* Upgrade to last Django & Python supported versions

* flake8 fixes

* Add CI

* Add final version of Django 5.0
2023-12-09 19:01:53 -08:00
Jace Manshadi
462fdd3e49
updating location of logic for getmail command (#264)
* moving logic for processing all the new emails from all mailboxes to a method under Mailbox so it can be called from other modules

* moving logger lines into handle method as requested
2023-01-24 06:08:47 -08:00
Pietro Mingo
cefbcdebd2
Office365 API mailbox support (#251)
* Update models.py, __init__.py, and office365.py

* Update setup.py

* Office365Transport properties

* Update .gitignore

* wrong folder stage

* Update models.py

* Update office365.py and models.py

* office365 implementation

* Update office365.py

* clear code

* fix import

* Update readme.rst

* archive and delete

* fix and documentation

* removed build folder

* missing archive

Co-authored-by: Pietro Mingo <p.mingo@intac.it>
Co-authored-by: Serafim Bordei <s.bordei@intac.it>
2023-01-16 13:23:38 -08:00
Adam Coddington
40263b6670 Bump version: 4.8.1 → 4.8.2 2020-12-06 18:11:32 -08:00
Adam Dobrawy
5abc1981dc
Add tests docs to CI and fix docs warning (#238)
* Add tests docs to CI and fix docs warning

* Switch to storing environment variables in travis outside of secure vars.

* Force a rebuild.

* Force a rebuild.

* Run integration tests just once per test run.

* Minor updates.

* Nevermind; this test class covers more than just integration tests.

* Attempting to fix docs build via https://stackoverflow.com/questions/61711710/runtimeerror-class-not-set-defining-abstractbaseuser-as-class-django-co\#comment112739057_63045563

* Minor docs fix.

Co-authored-by: Adam Coddington <me@adamcoddington.net>
2020-12-06 18:10:15 -08:00
George Cheng
b3c38be70e refine inferitance 2020-07-26 14:22:40 +08: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
Adam Dobrawy
f9b0a27e5f Bump version: 4.8.0 → 4.8.1 2019-10-15 05:18:23 +02:00
Adam Dobrawy
0650bacbea Merge branch 'master' of github.com:coddingtonbear/django-mailbox 2019-06-11 10:07:45 +02:00
Adam Dobrawy
f8cec488ea Bump version: 4.7.1 → 4.8.0 2019-05-24 03:27:07 +02:00
Steven Kosyra
8d14fe7745 missing migrations added 2019-02-19 15:54:11 +01:00
Adam Dobrawy
55bf24b199 Add missing migrations 2018-04-21 07:39:50 +02:00
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