-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updating location of logic for getmail command #264
updating location of logic for getmail command #264
Conversation
…a method under Mailbox so it can be called from other modules
@@ -4,27 +4,10 @@ | |||
|
|||
from django_mailbox.models import Mailbox | |||
|
|||
|
|||
logger = logging.getLogger(__name__) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is where I put this, but could I convince you into moving these two logger lines into the handle
method below so importing this module is side-effect free?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done with f531c78
@coddingtonbear thanks for merging 😄 Do I need to submit another PR to bump the versions or will you do that yourself? |
No, no, I can sort that out! Thanks for taking the time to put together a patch, @modernNeo! |
Hi @coddingtonbear , when do you think you will get around to releasing the patch? |
* Fix message/rfc822 attachment processing * 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 * Office365 API mailbox support (coddingtonbear#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> * updating location of logic for getmail command (coddingtonbear#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 * 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. * Initial Bulgarian translation * Close attachments * Support for Django 5.0 and python 3.12 + Fix CI (coddingtonbear#277) * Upgrade to last Django & Python supported versions * flake8 fixes * Add CI * Add final version of Django 5.0 * Bump version: 4.8.2 → 4.9.0 * fix CI implemented by pfouque * Change to documentation regarding Office365 configuration * Remove south migrations * cleanup and update * Fix DJANGO_MAILBOX_DEFAULT_CHARSET setting * Make eml field Blankable * MailboxAttachment __str__ change * Update django_mailbox/models.py Co-authored-by: Pascal Fouque <pfouque@users.noreply.github.com> * Remove default_app_config --------- Co-authored-by: Miłosz Jerkiewicz <milosz.jerkiewicz@baumeister-rosing.de> Co-authored-by: Pietro Mingo <p.mingo@intac.it> Co-authored-by: Pietro Mingo <pietro.mingo@gmail.com> Co-authored-by: Serafim Bordei <s.bordei@intac.it> Co-authored-by: Pietro Mingo <50447537+skar395@users.noreply.github.com> Co-authored-by: Jace Manshadi <jmanshad@protonmail.com> Co-authored-by: Robersillo <31243904+Robersillo@users.noreply.github.com> Co-authored-by: Arneatec <nouser@nodomain.com> Co-authored-by: Martin Manzo <martinmanzo@users.noreply.github.com> Co-authored-by: Pietro <me@pietro.in> Co-authored-by: Pascal F <pfouque@users.noreply.github.com> Co-authored-by: Adam Coddington <me@adamcoddington.net>
moving logic for processing all the new emails from all mailboxes to a method under Mailbox so it can be called from other modules