1
0
Fork 0
Commit graph

284 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
Adam Coddington
5dc7c7d84a Bump version: 4.9.0 → 4.10.0 2024-04-15 20:15:06 -05:00
Willem Van Onsem
5d056a7699
boost efficiency of the ModelAdmin 2024-04-10 07:42:52 +02:00
Akshet Pandey
f91b4ee544 supress errors during close 2024-02-28 14:10:01 -08:00
Akshet Pandey
fbaa378e59 Close connections after we are done with them 2024-02-28 11:42:21 -08:00
Pietro
7570a0d37a
Update django_mailbox/models.py
Co-authored-by: Pascal Fouque <pfouque@users.noreply.github.com>
2023-12-27 00:40:48 +01:00
Pietro Mingo
21faa22404 MailboxAttachment __str__ change 2023-12-24 12:53:18 +01:00
Pietro
dd37322a61
Merge pull request #273 from martinmanzo/master
Close attachments
2023-12-23 21:01:28 +01:00
Pietro
997bed0164
Merge pull request #230 from rmlt/fix_message_rfc822_attachments__based_on_master
Fix message/rfc822 attachment processing
2023-12-19 22:43:59 +01:00
Pascal F
0f82c95ca0
Make eml field Blankable 2023-12-17 06:27:45 +01:00
Pascal Fouque
3c6f3830b3
Fix malformed setting DJANGO_MAILBOX_DEFAULT_CHARSET #267
Fix malformed setting DJANGO_MAILBOX_DEFAULT_CHARSET
2023-12-17 06:04:11 +01:00
Pascal F
7d2396bf56
Remove south migrations 2023-12-12 06:07:35 +01:00
Pietro
1be4a79152
Merge pull request #271 from arneatec/master
Bulgarian translation
2023-12-10 23:48:43 +01:00
Adam Coddington
a41768c160 Bump version: 4.8.2 → 4.9.0 2023-12-09 19:11:20 -08:00
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
Martin Manzo
7e250b2504 Close attachments 2023-08-11 10:33:45 -03:00
Arneatec
13a8b87d9c Initial Bulgarian translation 2023-06-12 18:41:18 +03:00
Robersillo
8f42cea164
Update utils.py
Fixing DJANGO_MAILBOX_default_charset error, it does not detect the settings in django correctly because one part is in lower case.
Changed to DJANGO_MAILBOX_DEFAULT_CHARSET.
2023-04-25 19:06:36 +02: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
Miłosz Jerkiewicz
5bd961fae6 Fix message/rfc822 attachment processing 2020-08-05 12:30:00 +02: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