app-MAIL-temp/app
Adrià Casajús 7ba9bcb9e2
Save unsent emails to disk to be resent later (#1022)
* Initial save to disk

* Store unsent messages to disk so they can be retried later

* Set back not sending emails

* Fixed decorator

* Add general exceptions to the catchall

* Have dummy server just to make sure

* Added several server test cases

* ADded tests for bounced and error status

* Moved dir creation to config parse time

* Set LOG.e

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-05-30 11:52:10 +02:00
..
api Prevent free users from creating reverse-alias 2022-05-12 13:20:05 +02:00
auth Receive partner as param in ProtonCallbackHandler 2022-05-23 16:11:58 +02:00
dashboard Remove get_proton_partner_id function 2022-05-23 16:43:06 +02:00
developer refactor: move template files to templates/ 2021-11-04 15:00:39 +01:00
discover fix discover page 2022-03-08 16:38:03 +01:00
email Set header as a constant 2022-05-16 10:16:42 +02:00
events Use the proper import for newrelic agent 2022-04-28 13:02:45 +02:00
handler Fix: check if verp return is None before unpack 2022-05-24 07:54:07 +02:00
monitor Remove config.SHA1 in favour of build_info.SHA1 2022-05-12 16:26:04 +02:00
oauth fix test 2022-03-29 21:03:55 +02:00
onboarding make sure to only send test emails to user's alias 2022-05-20 18:15:54 +02:00
phone add /phone/provider2/sms 2022-01-05 18:14:51 +01:00
proton Remove get_proton_partner_id function 2022-05-23 16:43:06 +02:00
__init__.py bootstrap: db models, login, logout, dashboard pages 2019-07-01 18:18:12 +03:00
admin_model.py Rename TransactionalComplaint to ProviderComplaint 2022-04-25 14:40:42 +02:00
alias_utils.py PR comments 2022-04-28 18:43:10 +02:00
build_info.py Use python version file 2022-05-12 16:21:36 +02:00
config.py Save unsent emails to disk to be resent later (#1022) 2022-05-30 11:52:10 +02:00
db.py add type annotation for Session 2022-01-06 18:30:14 +01:00
dns_utils.py remove g.deduct_limit in api auth endpoint 2022-03-21 14:23:20 +01:00
email_utils.py Allow mailer to keep in mem mails to validate tests 2022-05-19 12:27:06 +02:00
errors.py PR comments 2022-05-12 18:42:16 +02:00
extensions.py remove flask-sqlalchemy and upgrade sqlalchemy from 1.3.19 to 1.3.24 2022-05-23 14:41:06 +02:00
fake_data.py move fake_data() to dedicated fiel 2021-11-28 11:51:31 +01:00
import_utils.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
jose_utils.py reformat 2021-09-08 11:29:55 +02:00
log.py black 2021-11-01 17:58:20 +01:00
mail_sender.py Save unsent emails to disk to be resent later (#1022) 2022-05-30 11:52:10 +02:00
message_utils.py Allow sending messages in a background thread 2022-04-28 14:43:24 +02:00
models.py allow to create reverse alias for NOREPLY 2022-05-20 17:59:41 +02:00
oauth_models.py add support for response_mode(query and fragment), nonce 2019-12-15 18:55:11 +02:00
paddle_utils.py black 2021-09-10 17:42:07 +02:00
pgp_utils.py Revert changes to pgp_utils 2022-04-11 10:20:02 +02:00
pw_models.py do not use flask-sqlalchemy 2021-10-12 14:36:47 +02:00
regex_utils.py refactor: move regex_match() to its own file 2021-12-14 15:00:32 +01:00
s3.py Store bounces in the reply phase to prevent abuse 2022-04-21 11:23:58 +02:00
spamassassin_utils.py Add flake8-bugbear 2022-02-06 20:37:43 +00:00
utils.py Fix open redirect 2022-05-11 14:50:37 +02:00