Commit graph

2960 commits

Author SHA1 Message Date
Renaud Boyer
ced9c879d3 linting 2020-12-06 13:48:42 +01:00
Renaud Boyer
21e928548f linting 2020-12-06 13:37:45 +01:00
Renaud Boyer
7ffe1c93f1 linting 2020-12-06 13:36:32 +01:00
Renaud Boyer
1fa64941c9 linitng 2020-12-06 11:25:41 +01:00
Renaud Boyer
20b54ca248 setup flake8 2020-12-06 11:25:32 +01:00
Renaud Boyer
5a24c7e2ae install flake8 2020-12-06 11:25:24 +01:00
Son Nguyen Kim
2d9abe0ea4
Merge pull request #338 from simple-login/snyk-upgrade-1bb610599c6398d0345af8b097c3582a
[Snyk] Upgrade @sentry/browser from 5.27.3 to 5.27.4
2020-12-05 18:27:04 +01:00
Son Nguyen Kim
82f3751350
Merge pull request #339 from herrboyer/coverage
Measure test coverage
2020-12-05 18:26:22 +01:00
Son NK
d150dfacdb rename contact_from_header -> from_header 2020-12-05 18:15:53 +01:00
Son NK
8c5f311367 prefer using Reply-To header when creating a new contact 2020-12-05 18:15:00 +01:00
Renaud Boyer
0023627bf5 store htmlcov as a workflow artefact 2020-12-05 15:03:13 +01:00
Renaud Boyer
db0114bf16 setup pytest-cov 2020-12-05 15:00:56 +01:00
Renaud Boyer
5fc1606fb5 install pytest-cov 2020-12-05 15:00:33 +01:00
snyk-bot
537617ae34
fix: upgrade @sentry/browser from 5.27.3 to 5.27.4
Snyk has created this PR to upgrade @sentry/browser from 5.27.3 to 5.27.4.

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-12-05 03:23:53 +00: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