Commit Graph

4231 Commits

Author SHA1 Message Date
Son NK
fd5b4f91f9 return 400 in paddle callback if verification fails 2019-12-15 18:55:18 +02:00
Son NK
eba9e889bf add paddle_utils.verify_incoming_request 2019-12-15 18:55:18 +02:00
Son NK
d58f9d4c89 add new param PADDLE_PUBLIC_KEY_PATH 2019-12-15 18:55:18 +02:00
Son NK
3ef4f58805 add pycryptodome, phpserialize for paddle 2019-12-15 18:55:18 +02:00
Son NK
e4ba4297e1 reformat using black 2019-12-15 18:55:18 +02:00
Son NK
b0f4ab8a6d use sendmail instead of send_message in reply phase to avoid unicode problem 2019-12-15 18:55:18 +02:00
Son NK
572ce1de57 fix db connections leaks in email_handler: override the default app.teardown_appcontext 2019-12-15 18:55:18 +02:00
Son NK
dc66cf76e2 allow overriding postfix server 2019-12-15 18:55:18 +02:00
Son NK
3d95048e00 fix wording 2019-12-15 18:55:18 +02:00
Son NK
2412658a3e better UI for custom alias page 2019-12-15 18:55:18 +02:00
Son NK
4e6922adad disable late_payment in cron job 2019-12-15 18:55:18 +02:00
Son NK
7f908a9da8 display website_from on alias log 2019-12-15 18:55:18 +02:00
Son NK
d160971cc7 add ForwardEmail.website_from field 2019-12-15 18:55:17 +02:00
Son NK
631900ab4f use random_word instead of random_string for alias suffix 2019-12-15 18:55:17 +02:00
Son NK
7f96538741 re-organize docs 2019-12-15 18:55:17 +02:00
Son NK
8d60ebd456 handle the case email from header has the format "First Last <ab@cd.com>" 2019-12-15 18:55:17 +02:00
Son NK
cf572bcd5b make sure the .env.example is sufficient to run the code locally 2019-12-15 18:55:17 +02:00
Son NK
c37ba0e1de website_email: use From header instead of envelope from 2019-12-15 18:55:17 +02:00
Son NK
29d48b7d0f reduce sleep time in email_handler 2019-12-15 18:55:17 +02:00
Son NK
9dd4a4afb7 take into account NOT_SEND_EMAIL param 2019-12-15 18:55:17 +02:00
Son NK
74fe984ae1 make sure alias pattern check is the same everywhere: Only letter, number, dash (-), underscore (_) can be used in alias prefix 2019-12-15 18:55:17 +02:00
Son NK
260b235328 remove random alias from pricing 2019-12-15 18:55:17 +02:00
Son NK
6ddb8ee5ab fix test 2019-12-15 18:55:17 +02:00
Son NK
8e9aef1199 add website_name to suggested_emails 2019-12-15 18:55:17 +02:00
Son NK
779cb9c377 create a custom alias with "my-first-alias" for first time user 2019-12-15 18:55:17 +02:00
Son NK
139fc68bda create some random alias creation 2019-12-15 18:55:17 +02:00
Son NK
8b9a158ac2 create GenEmail.create_custom_alias that should replace all random alias 2019-12-15 18:55:17 +02:00
Son NK
b09f74c445 use the same log format for colored log 2019-12-15 18:55:17 +02:00
Son NK
4c8c48bb23 better UI for custom alias page 2019-12-15 18:55:17 +02:00
Son NK
6d21343748 remove create random email button 2019-12-15 18:55:17 +02:00
Son NK
7f6267cc4a call LOG.error on obsolete endpoints: /alias/new and /alias/random/new 2019-12-15 18:55:17 +02:00
Son NK
f37a155c1f still return custom alias option when user runs out of custom alias quota 2019-12-15 18:55:17 +02:00
Son NK
df3838480d add COLOR_LOG config 2019-12-15 18:55:17 +02:00
Son NK
4caafc7e7b use coloredlogs 2019-12-15 18:55:17 +02:00
Son NK
2e23a1bf19 add RESET_DB back 2019-12-15 18:55:17 +02:00
Son NK
ba85351e3a install coloredlogs 2019-12-15 18:55:17 +02:00
Son NK
d0f95e81b2 fix MX record can be unavailable 2019-12-15 18:55:17 +02:00
Son NK
5854ab8e10 support GET in /oauth/token 2019-12-15 18:55:17 +02:00
Son NK
6d1d9b062d ignore internal users in cronjob 2019-12-15 18:55:17 +02:00
Son NK
1435a77130 send raw message instead of using EmailMessage object 2019-12-15 18:55:17 +02:00
Son NK
ef888288a6 add tests for api create custom/random alias 2019-12-15 18:55:17 +02:00
Son NK
d9c211d8da fix api create new custom alias 2019-12-15 18:55:17 +02:00
Son NK
ac9f896a7d improve pricing page 2019-12-15 18:55:17 +02:00
Son NK
3e4e0e931f add separator to highlight alias 2019-12-15 18:55:17 +02:00
Son NK
a9112c0480 remove DKIM-Signature for custom domain 2019-12-15 18:55:17 +02:00
Son NK
6723487a23 add SPF check 2019-12-15 18:55:17 +02:00
Son NK
1598fd8f36 add link to firefox and chrome extension in footer 2019-12-15 18:55:17 +02:00
Son NK
a0c199732f fix test 2019-12-15 18:55:17 +02:00
Son NK
48ff20906e better UI for alias list page 2019-12-15 18:55:17 +02:00
Son NK
ca05cd359a remove >3 characters on alias prefix 2019-12-15 18:55:17 +02:00