Commit Graph

2597 Commits

Author SHA1 Message Date
Son NK 8c5f311367 prefer using Reply-To header when creating a new contact 2020-12-05 18:15:00 +01:00
Son NK 83df119178 do not replace for "application/*" 2020-12-04 11:33:49 +01:00
Son NK 59daaa3164 ignore multipart/signed when replacing message 2020-12-03 17:52:11 +01:00
Son NK 255a7e085a add index on user_id, mailbox_id, ... if possible 2020-12-02 17:33:03 +01:00
Son NK 81f9f9f41b optimize get_stats(): use session.query instead of EmailLog.query 2020-12-02 17:30:56 +01:00
Son NK 450b101e6e add /live endpoint 2020-12-02 16:34:28 +01:00
Son NK b7fdbe7721 log more 2020-12-02 12:40:29 +01:00
Son NK 66abbf2614 make sure to remove \n from alias name 2020-12-02 12:25:23 +01:00
Son NK 8551dade7c hide replace reverse alias option 2020-12-01 18:36:24 +01:00
Son NK cd680bcd7f ignore content type like image/, video/, audio/ in replace() 2020-12-01 18:34:38 +01:00
Son NK 2107bd4b08 remove Black Friday promo 2020-12-01 10:07:53 +01:00
Son NK 652bb6a369 take into account multipart/mixed in replace() 2020-11-30 19:45:45 +01:00
Son NK 692c81ac2a add warning about Gmail issue if reverse-alias replacement option 2020-11-30 19:16:10 +01:00
Son NK 4d89ac4158 replace replace_str_in_msg() by replace() 2020-11-30 15:15:44 +01:00
Son NK cefa68d392 Create replace() in email_utils 2020-11-30 15:15:13 +01:00
Son NK 22b082fd55 use warning for invalid contact email 2020-11-30 10:50:16 +01:00
Son NK 0b95ca33b8 use no encoding for 8bit and binary 2020-11-30 10:49:04 +01:00
Son NK f804332c2d refactor: create EmailEncoding enum 2020-11-30 10:48:16 +01:00
Son NK 93563178a7 correct alias name when it contains linebreak 2020-11-27 20:37:55 +01:00
Son NK 59745b68d0 use warning level when cannot encrypt using python-gnupg 2020-11-27 20:35:57 +01:00
Son NK 86636b2eb7 fix delete user profile picture 2020-11-27 16:36:21 +01:00
Son Nguyen Kim 84e64d4c4f
Merge pull request #337 from simple-login/header-encoding
Fix the encoding issue when adding header
2020-11-26 19:08:02 +01:00
Son NK d61f45ea86 use 7bit as default encoding 2020-11-26 17:22:17 +01:00
Son NK 1241838b26 take into account message encoding in add_header() 2020-11-26 17:03:50 +01:00
Son NK e2a7061429 add get_encoding() and encode_text() 2020-11-26 17:01:05 +01:00
Son NK da8b0089ff add meta name description 2020-11-26 11:50:43 +01:00
Son NK 1801fa1a4b remove environment tag in sentry action 2020-11-26 10:54:28 +01:00
Son NK d35faf7154 comment out paddle issue annoucement 2020-11-26 10:39:44 +01:00
Son NK e7b83fadbc trigger build 2020-11-26 10:38:48 +01:00
Son NK 083398522c sentry init with release 2020-11-26 10:30:03 +01:00
Son Nguyen Kim 83e38274e7
Merge pull request #335 from simple-login/snyk-upgrade-f062b56eb6080eaaf3e27d94885d7e0f
[Snyk] Upgrade @sentry/browser from 5.27.2 to 5.27.3
2020-11-26 10:28:02 +01:00
Son Nguyen Kim 56a74c961c
Merge pull request #336 from simple-login/test-pr
Test pr
2020-11-26 10:27:43 +01:00
Son NK adfbfe8026 Use load_public_key_and_check when adding new PGP key 2020-11-26 10:27:32 +01:00
Son NK 5b9eb8686a add id to mailbox repr 2020-11-26 10:08:09 +01:00
Son NK 3efa96020b use warning level for invalid contact email 2020-11-26 10:06:16 +01:00
Son NK 25d7709a8b create sentry release 2020-11-26 10:04:51 +01:00
Son NK 4c1bf68d86 only push docker image on master 2020-11-26 10:04:39 +01:00
Son NK e2f0a72ab7 log headers in case a contact email is skipped 2020-11-26 09:49:03 +01:00
snyk-bot 2b429b1738
fix: upgrade @sentry/browser from 5.27.2 to 5.27.3
Snyk has created this PR to upgrade @sentry/browser from 5.27.2 to 5.27.3.

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-26 03:24:18 +00:00
Son NK dcd116f11a use mail_from as fallback when contact_email is not valid 2020-11-25 17:50:25 +01:00
Son NK 03383eb181 display Paddle issue as announcement on pricing page 2020-11-25 17:43:02 +01:00
Son NK ca625e60d5 fix add pgp 2020-11-25 17:29:54 +01:00
Son NK ade21bc0c4 check contact email in sanity_check() 2020-11-25 15:26:17 +01:00
Son NK ac1a6f5613 skip invalid contact in replace_header_when_forward() 2020-11-25 15:21:01 +01:00
Son NK dfcb74dc87 do not create contact with invalid email in get_or_create_contact() 2020-11-25 15:20:42 +01:00
Son NK 609d59d23f improve logging 2020-11-25 15:20:00 +01:00
Son NK 2f882b81fe sleep before retry 2020-11-25 14:56:54 +01:00
Son NK 5e1a68cdee retry 1 more if SMTPServerDisconnected 2020-11-25 14:43:02 +01:00
Son NK bb8c9451c4 catch all exception in load_public_key() 2020-11-25 14:31:14 +01:00
Son NK 4f211bba61 fix subject not correctly decoded in spf-fail email 2020-11-25 09:53:27 +01:00