app-MAIL-temp/app
Son Nguyen Kim 5088604bb8
Replace reverse alias (#1335)
* replace any reverse alias by real address for all contacts

* improve logging

* fix comment

* Request contacts in batches of 100 to avoid loading the db

* Fix typo

* Added tests for the contact replacement

* Increase batch size to 1k

* Revert and use only reply_email and website_email

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-10-10 10:00:19 +02:00
..
api Store session in redis if redis is enabled (#1288) 2022-09-21 11:11:17 +02:00
auth Display recovery codes for mfa only once (#1317) 2022-10-03 12:32:45 +02:00
dashboard Display recovery codes for mfa only once (#1317) 2022-10-03 12:32:45 +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 Improve handling when pgp key is invalid (#1264) 2022-09-02 11:47:04 +02:00
events Use the proper import for newrelic agent 2022-04-28 13:02:45 +02:00
handler Fix: Use email directly for DomainDeletedAlias (#1273) 2022-09-08 14:54:32 +02:00
internal remove envs used for proton beta link (#1189) 2022-07-26 12:38:18 +02:00
jobs add dkim signature for export data email (#1083) 2022-06-14 10:08:04 +02:00
monitor Remove config.SHA1 in favour of build_info.SHA1 2022-05-12 16:26:04 +02:00
oauth Refactor alias suffix (#1194) 2022-07-27 17:40:22 +02:00
onboarding Add extension_redirect endpoint (#1093) 2022-06-16 09:56:00 +02:00
phone Enforce int params in routes (#1159) 2022-07-15 17:10:00 +02:00
proton Fixes for connect with proton on mobile (#1230) 2022-08-12 13:17:21 +02:00
__init__.py bootstrap: db models, login, logout, dashboard pages 2019-07-01 18:18:12 +03:00
account_linking.py Support next with Proton Link (#1226) 2022-08-11 10:38:44 +02:00
admin_model.py admin can go directly to paddle (#1263) 2022-09-02 10:39:53 +02:00
alias_suffix.py Refactor alias suffix (#1194) 2022-07-27 17:40:22 +02:00
alias_utils.py add more logging (#1223) 2022-08-09 10:01:55 +02:00
build_info.py Use python version file 2022-05-12 16:21:36 +02:00
config.py Replace reverse alias (#1335) 2022-10-10 10:00:19 +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 do not add mime-version header if already present (#1302) 2022-09-22 13:46:32 +02:00
errors.py Separate code for proton callback handler (#1040) 2022-06-09 10:19:49 +02:00
extensions.py Rate limiting depending on user authenticated status (#1221) 2022-08-09 14:57:21 +02:00
fake_data.py move fake_data() to dedicated fiel 2021-11-28 11:51:31 +01:00
image_validation.py Do not allow SVG image uploads (#1198) 2022-07-29 08:52:51 +02: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 Display recovery codes for mfa only once (#1317) 2022-10-03 12:32:45 +02:00
newsletter_utils.py admin can manage newsletter and test sending it (#1177) 2022-07-22 11:24:53 +02:00
oauth_models.py add support for response_mode(query and fragment), nonce 2019-12-15 18:55:11 +02:00
paddle_callback.py Handle failed payments subscriptions in paddle (#1327) 2022-09-30 17:51:06 +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
session.py Allow RedisSessionStore to connect to sentinel (#1307) 2022-09-23 10:23:07 +02:00
spamassassin_utils.py Add flake8-bugbear 2022-02-06 20:37:43 +00:00
utils.py Support next with Proton Link (#1226) 2022-08-11 10:38:44 +02:00