Skip to content
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

comparing #42

Draft
wants to merge 66 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
36786e7
initial version send/receive o365 mail
AbhiGitS Mar 21, 2024
be79123
linked in-reply-to message, support reply-to.
AbhiGitS Mar 23, 2024
d8d45e0
tidy up with black
AbhiGitS Mar 23, 2024
2ddb8b1
black/flake8 fixes
AbhiGitS Mar 23, 2024
2329137
added end-2-end test for O365
AbhiGitS Mar 25, 2024
03006d0
added support for AzureTokenBackend
AbhiGitS Mar 25, 2024
b6dd47e
redirection auth, azure token-backend, example app
AbhiGitS Mar 27, 2024
bd20574
updated test, decoreate token method
AbhiGitS Mar 28, 2024
6d09178
readme and test updates, fixes post tox run.
AbhiGitS Mar 29, 2024
cef58bc
Merge pull request #1 from AbhiGitS/o365_support
AbhiGitS Mar 29, 2024
1c6923a
remove unwanted file
AbhiGitS Mar 29, 2024
3c27600
Merge pull request #2 from AbhiGitS/o365_support
AbhiGitS Mar 29, 2024
7fc6f7c
1 fix in token_backend, example, n test cleanup.
AbhiGitS Apr 1, 2024
79d5357
error handling with improved exception message
AbhiGitS Apr 1, 2024
82d6651
improved error message
AbhiGitS Apr 1, 2024
d215815
Merge pull request #3 from AbhiGitS/o365_support
AbhiGitS Apr 1, 2024
f21feb1
support sending html alternative when available
AbhiGitS Apr 6, 2024
0c06dd9
Merge pull request #4 from AbhiGitS/o365_support
AbhiGitS Apr 6, 2024
e98af63
+ 0003_alter_mailbox_from_email_alter_mailbox_uri
AbhiGitS Apr 6, 2024
68d3ff3
Merge pull request #5 from AbhiGitS/o365_support
AbhiGitS Apr 6, 2024
1ac6085
OutgoingEmail has message_id, populated post sent
AbhiGitS Apr 9, 2024
7ea2cb2
Merge pull request #6 from AbhiGitS/o365_support
AbhiGitS Apr 9, 2024
a7b6d6c
set outgoingmail's internet_message_id in headers
AbhiGitS Apr 11, 2024
ae8e683
Merge pull request #7 from AbhiGitS/o365_support
AbhiGitS Apr 11, 2024
d3f8041
save outgoing message headers
AbhiGitS Apr 11, 2024
0b8ec5b
Merge pull request #8 from AbhiGitS/o365_support
AbhiGitS Apr 11, 2024
c8181cd
gmail smtp oauth2 backend w/social-auth
AbhiGitS Jun 12, 2024
0392e26
Merge pull request #9 from AbhiGitS/o365_support
AbhiGitS Jun 12, 2024
f7f9efb
declare google_email_address before use
AbhiGitS Jul 13, 2024
5a573ab
Merge pull request #10 from AbhiGitS/o365_support
AbhiGitS Jul 13, 2024
4cae2de
handle if eml file is missing.
AbhiGitS Aug 27, 2024
caaa931
Merge pull request #11 from AbhiGitS/o365_support
AbhiGitS Aug 27, 2024
f4b6a45
handle when/if attachmt files are missing on disk
AbhiGitS Aug 27, 2024
fb49703
Merge pull request #12 from AbhiGitS/o365_support
AbhiGitS Aug 27, 2024
96c6095
take 2 handle if attachment files are missing
AbhiGitS Aug 27, 2024
ac2816e
Merge pull request #13 from AbhiGitS/o365_support
AbhiGitS Aug 27, 2024
03bdcd0
incomingmail uniq together w/ mailbox+message_id
AbhiGitS Aug 27, 2024
e088744
Merge pull request #14 from AbhiGitS/o365_support
AbhiGitS Aug 27, 2024
b7d9d4f
Update imap.py
mboker Sep 23, 2024
6560b5a
uncommenting expunge line and adding more logging in attachment proce…
mboker Sep 23, 2024
3c1a6dc
trying to convert email message payload to bytes
mboker Sep 23, 2024
56d1425
trying to use as_bytes on email obj
mboker Sep 23, 2024
1d120b8
Merge pull request #15 from AbhiGitS/trying_to_fix_email_saving
mboker Sep 23, 2024
e141e14
inserting reply-to as 'from address' when present
mboker Sep 24, 2024
43cd9c7
fixing google oauth issue where refreshed token is not being applied
mboker Sep 24, 2024
4a5596b
more logging in google refresh
mboker Oct 22, 2024
6d7d98e
trying different URL for google token refresh
mboker Oct 22, 2024
54d0688
adding sent time on incomingemail, and populating it
mboker Oct 23, 2024
9154109
adding index on message for attachments, to speed up admin hopefully
mboker Oct 23, 2024
3e5ec11
fixing transport import
mboker Oct 23, 2024
8761f7d
adding sent time on newly processed emails as well
mboker Oct 23, 2024
a222454
Merge pull request #16 from AbhiGitS/sent_time_on_incoming
mboker Oct 23, 2024
47ff137
trying to fix one date that failed to parse by using a different library
mboker Oct 24, 2024
ec354e8
Merge pull request #17 from AbhiGitS/fixing_sent_time_backfill_edge_case
mboker Oct 24, 2024
145de5b
applying date parser change to configurations file also
mboker Oct 24, 2024
ee2c339
removing new line characters in subjects before saving, as a belt-and…
mboker Oct 25, 2024
9103d56
reordering gmail operations so token is refreshed before trying to re…
mboker Oct 27, 2024
dafcb34
removing new lines from incoming subjects
mboker Oct 28, 2024
a2a741d
fix o365 backend
CamdenParsons Dec 10, 2024
3c029a4
Merge pull request #18 from AbhiGitS/cam-dev
CamdenParsons Dec 11, 2024
c19eaef
fix gmail backend
CamdenParsons Dec 17, 2024
57be07c
Merge pull request #19 from AbhiGitS/cam-dev
CamdenParsons Dec 18, 2024
8189e13
fix gmail send issue
CamdenParsons Dec 18, 2024
3b5eb6f
Merge pull request #20 from AbhiGitS/cam-dev-1
CamdenParsons Dec 18, 2024
2df7ecd
try fix for send_as_email
CamdenParsons Dec 18, 2024
b6f9853
Merge pull request #21 from AbhiGitS/cam-dev-2
CamdenParsons Dec 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
10 changes: 5 additions & 5 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributing
============

Contributions are welcome, and they are greatly appreciated! Every
little bit helps, and credit will always be given.
little bit helps, and credit will always be given.

You can contribute in many ways:

Expand Down Expand Up @@ -36,7 +36,7 @@ is open to whoever wants to implement it.
Write Documentation
~~~~~~~~~~~~~~~~~~~

django mail admin could always use more documentation, whether as part of the
django mail admin could always use more documentation, whether as part of the
official django mail admin docs, in docstrings, or even on the web in blog posts,
articles, and such.

Expand Down Expand Up @@ -78,10 +78,10 @@ Ready to contribute? Here's how to set up `django_mail_admin` for local developm
tests, including testing other Python versions with tox::

$ flake8 django_mail_admin tests
$ python setup.py test
$ python manage.py test
$ tox

To get flake8 and tox, just pip install them into your virtualenv.
To get flake8 and tox, just pip install them into your virtualenv.

6. Commit your changes and push your branch to GitHub::

Expand All @@ -100,7 +100,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 2.6, 2.7, and 3.3, and for PyPy. Check
3. The pull request should work for Python 2.6, 2.7, and 3.3, and for PyPy. Check
https://travis-ci.org/delneg/django_mail_admin/pull_requests
and make sure that the tests pass for all supported Python versions.

Expand Down
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ Optional requirements

1. `django_admin_row_actions` for some useful actions in the admin interface
2. `requests` & `social-auth-app-django` for Gmail
3. `python-o365` for O365 emails
4. `azure-storage-blob` Azure Blob-store token-backend for O365 auth-tokens


FAQ
Expand Down
Loading