Commit Graph

2538 Commits

Author SHA1 Message Date
Son NK e659680875 add_header() 2020-11-07 13:00:12 +01:00
Son NK f57f29a97b Able to set a generic subject for PGP-enabled mailbox 2020-11-07 12:58:51 +01:00
Son NK 7cc57106de Add Mailbox.generic_subject column 2020-11-07 12:48:44 +01:00
Son NK 8b356eef01 remove a test that can randomly fail 2020-11-05 10:48:32 +01:00
Son NK 5ef3ab4d74 disable handle_bounce_reply_phase 2020-11-05 10:26:19 +01:00
Son NK d0ca773376 not forward email that has invalid from address 2020-11-05 10:26:09 +01:00
Son NK 352cd978bd add debug 2020-11-04 19:42:20 +01:00
Son NK 6585aef443 use warning level 2020-11-04 16:11:32 +01:00
Son NK 3dee121bec improve handle_bounce_reply_phase 2020-11-04 15:38:26 +01:00
Son NK 3a03dec077 simplify code 2020-11-04 14:55:54 +01:00
Son NK 009236e623 add debug code when bounce message cannot be parsed 2020-11-04 13:37:33 +01:00
Son NK 6c626520d3 handle_bounce_reply_phase 2020-11-04 12:32:15 +01:00
Son NK f4f2db0f04 use the same error structure in apple endpoints 2020-11-03 16:13:10 +01:00
Son NK 6e0394d980 fix filter not working when alias has several mailboxes 2020-11-03 15:10:57 +01:00
Son NK 5a7df14d58 use msg.as_bytes() to sign instead of as_string() 2020-11-03 13:30:37 +01:00
Son NK 4b8a2a1851 add tests for sign_data 2020-11-03 13:30:13 +01:00
Son NK c1b8f717b5 improve DNS page 2020-11-03 13:12:22 +01:00
Son NK 4b6368b378 make sure only verified mailbox can be used as default 2020-11-03 12:43:01 +01:00
Son NK 19ac657c1c add GET /api/v2/mailboxes 2020-11-03 12:14:13 +01:00
Son NK 5ee74c74b6 do not use url_for() in api tests 2020-11-03 12:07:48 +01:00
Son NK 273537e7ae use same mailbox format for "POST /api/mailboxes" and "GET /api/mailboxes" 2020-11-03 11:22:01 +01:00
Son NK a989545505 make sure alias contact address is valid 2020-11-03 11:13:43 +01:00
Son NK 04a418e655 fix contact name always converted to lowercase 2020-11-03 11:11:55 +01:00
Son NK 9fafddd603 use is_valid_email instead of regex 2020-11-03 11:11:09 +01:00
Son NK 751cc05534 check contact address in POST /aliases/<int:alias_id>/contacts 2020-11-03 11:10:32 +01:00
Son NK 72a34e28be add is_valid_email() 2020-11-03 11:09:37 +01:00
Son NK fe6e9fa435 install py3-validate-email 2020-11-03 10:50:47 +01:00
Son NK a890557c7f Use check_alias_prefix() to check alias prefix 2020-11-03 10:39:08 +01:00
snyk-bot 42237c9539
fix: upgrade @sentry/browser from 5.25.0 to 5.26.0
Snyk has created this PR to upgrade @sentry/browser from 5.25.0 to 5.26.0.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-11-03 03:23:45 +00:00
Son NK 8d0e243c83 sign PGP forwarded email if PGP_SENDER_PRIVATE_KEY 2020-11-02 19:09:57 +01:00
Son NK 3f150e5944 add new param PGP_SENDER_PRIVATE_KEY_PATH 2020-11-02 19:06:47 +01:00
Son NK 63788125da save bounce email sent to an alias when 2020-11-02 15:10:03 +01:00
Son NK c41c36acaa set "date" header in forward phase if needed 2020-11-02 14:53:22 +01:00
Son NK 38877598cf fix handle_reply: do not delete _MIME_HEADERS headers, add Date header 2020-11-02 14:51:37 +01:00
Son Nguyen Kim d2f2053738
Merge pull request #321 from simple-login/snyk-upgrade-ded98394f6af903837d29c0e8b52b575
[Snyk] Upgrade bootbox from 5.4.0 to 5.5.1
2020-11-01 20:56:40 +01:00
Son NK 756e8080ab handle case msg.get_payload(decode=True) is None 2020-11-01 18:38:21 +01:00
Son NK 1d0aa0f900 fix doc 2020-11-01 18:13:50 +01:00
Son NK 7337110110 Remove all headers in reply phase 2020-11-01 18:12:09 +01:00
Son NK 593e81705b Handle case Content-Type and Mime-Version are missing in prepare_pgp_message 2020-11-01 18:06:28 +01:00
Son NK 53e57eee42 clone orig message in prepare_pgp_message 2020-11-01 18:06:05 +01:00
Son NK 7ca74eaa6f replace-reverse-alias and pgp encryption before modifying message header in reply phase 2020-11-01 18:02:43 +01:00
Son NK ec1b7dd8b8 return latest_activity=null if there's no activity in GET /api/v2/aliases 2020-11-01 12:32:20 +01:00
Son NK 92ea8de374 fix test name 2020-11-01 12:29:15 +01:00
Son NK 38ca2341bc fix mailbox query in get_alias_infos_with_pagination_v3 2020-11-01 12:24:19 +01:00
Son NK e49169b887 Reset default random alias domain setting if user is not premium 2020-11-01 09:37:09 +01:00
Son NK fef6edf619 use warning for domain DNS fails 2020-11-01 09:32:41 +01:00
snyk-bot 6df616c4b4
fix: upgrade bootbox from 5.4.0 to 5.5.1
Snyk has created this PR to upgrade bootbox from 5.4.0 to 5.5.1.

See this package in npm:
https://www.npmjs.com/package/bootbox

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-11-01 03:25:19 +00:00
Son NK 28563b9653 fix duplicated display 2020-10-30 13:05:45 +01:00
Son NK c076c7c7f3 PATCH /api/setting 2020-10-28 17:47:26 +01:00
Son NK 12f7485cb1 Add GET /api/setting/domains 2020-10-28 17:30:57 +01:00