Commit Graph
20 Commits
Author SHA1 Message Date
Nathan Thorpe 79d99d0b2e Fix issue with MS Graph batch size, scopes, and exception logging improvements (#352)
* log the stack trace when handling an exception

* fix issue when batch size is not supplied, raise error on fetch_messages

* fix unused var

* initialize graph client with scopes,

* add check for status code
2022-10-04 18:11:01 -04:00
Nathan Thorpe b15425f50e Add Graph credentials cache and fix issue with batch size (#334)
* implement token cache for Graph API

* fix case when username isn't defined (device code)

* add batch size when listing messages from Graph API

* fix string concat
2022-07-21 13:43:21 -04:00
Nathan Thorpe 9d05fe776a Add message about scoping shared mailboxes when using MSGraph ClientSecret auth (#322)
* Add message about scoping to shared mailboxes

* disable resolve entities in Xml Parser
2022-05-14 14:14:42 -04:00
Nathan Thorpe 9bf4e75e0e Implement Device Code and Client Secret auth flow for MS Graph (#320)
* implement DeviceCode and ClientSecret auth flow for MS Graph

* update readme for MS Graph auth method additions

* add warning to msgraph config setup
2022-05-14 12:58:22 -04:00
Nathan Thorpe abf07125c4 Add Dockerfile & build/push task (#316)
* add dockerfile and actions task to build image

* test on branch

* change to push only on release, update readme

* remove pip install requirements

* change to on release github action
2022-05-05 21:06:38 -04:00
Nathan Thorpe e46a768b82 fix callback object on IMAPConnection 2022-04-28 19:46:24 -07:00
Nathan Thorpe 514ca35117 add parsedmarc.mail to setup packages 2022-04-24 08:18:37 -07:00
Nathan Thorpe e2ac067bf3 Gmail: remove deprecated call to run_console, create folder and move msg fixes 2022-04-21 17:42:45 -07:00
Nathan Thorpe d03d2b5f44 pep8 and tests fix 2022-04-21 17:03:54 -07:00
Nathan Thorpe cf682337e9 Merge branch 'master' into gmail_mailbox_integration
# Conflicts:
#	parsedmarc/cli.py
2022-04-21 16:48:14 -07:00
Nathan Thorpe 6a1a88cfdf gmail pep8 fixes 2022-04-21 16:46:01 -07:00
Nathan Thorpe 5ad7e821b6 pep8 fixes on graph/imap, readme changes 2022-04-21 16:45:28 -07:00
Nathan Thorpe 657f34dc2a initial pass at integrating gmail with MailboxConnection interface 2022-04-21 16:14:34 -07:00
Nathan Thorpe bd35d31573 add maxsize parameter to find_folder_id cache 2022-04-21 14:58:30 -07:00
Nathan Thorpe 754e1d6bc5 remove batch_size from fetch_messages method 2022-04-06 11:46:37 -07:00
Nathan Thorpe 445e3cdf9d add try except block to get_dmarc_reports call 2022-04-03 21:49:27 -07:00
Nathan Thorpe db1d3443fd update setup.py 2022-04-03 17:56:39 -07:00
Nathan Thorpe 59a39b1509 update readme 2022-04-03 17:54:40 -07:00
Nathan Thorpe 1f865ae566 implement mailbox watch 2022-04-03 17:42:11 -07:00
Nathan Thorpe 88c8af8334 Implement getting messages from an Office 365 mailbox using MS Graph 2022-04-03 16:57:31 -07:00