Commit Graph

3505 Commits

Author SHA1 Message Date
Son
ff210394a0 rename canonical_url -> CANONICAL_URL 2021-10-23 16:07:54 +02:00
Son
4a90c79753 make sure mailbox_ids is a list in /api/v3/alias/custom/new 2021-10-23 15:55:39 +02:00
Son
ecdce2307f make sure input of /api/v3/alias/custom/new is a dict 2021-10-23 15:52:17 +02:00
Son
e411e09779 add edge add-on to footer 2021-10-22 15:32:01 +02:00
Son
5843fa94a0 handle encoding typo 2021-10-19 18:05:56 +02:00
Son
9fb6e45077 fix the help text too close to the input 2021-10-19 17:38:29 +02:00
Son
421c121d59 black 2021-10-19 14:03:51 +02:00
Son
be7ae3021a rename is_reply_email -> is_reverse_alias, make sure reverse-alias must end with EMAIL_DOMAIN 2021-10-19 12:14:16 +02:00
Son
c5987bcfbb Log message_id 2021-10-19 12:05:41 +02:00
Son
a2fcfbbb20 use as_bytes().decode() instead of as_string() in bounce_info 2021-10-19 12:05:35 +02:00
Son
7952ce7ecf sanity check to make sure the message id hasn't been added before 2021-10-19 11:58:05 +02:00
Son
c12f3b3e7a Use SL message ID during reply phase. Exchange original SL and original message-id during the forward and reply phase to keep email thread. 2021-10-18 17:35:16 +02:00
Son
9c653dbacd no need to fill up message-id header: it seems always filled 2021-10-18 17:34:11 +02:00
Son
1483f2e103 Add EmailLog.message_id, sl_message_id and MessageIDMatching table 2021-10-18 17:25:59 +02:00
Son
462164ff16 use tldextract to extract hostname 2021-10-18 11:45:48 +02:00
Son
af221998f3 install tldextract 2021-10-18 11:45:08 +02:00
Son
7d33f10c05 install gpg 2021-10-18 11:25:10 +02:00
Son
d6edd59450 use warning level 2021-10-18 09:55:28 +02:00
Son Nguyen Kim
9f36f3e2a9
Merge pull request #654 from LordChunk/master
Improved Docker image size
2021-10-18 09:45:34 +02:00
Son
0b06c46f65 handle missing content-transfer-encoding 2021-10-17 17:19:44 +02:00
Son
283a6a530d handle case address.parse can also parse an URL and return UrlAddress 2021-10-17 12:52:59 +02:00
Job
742bfd6815
Merge branch 'simple-login:master' into master 2021-10-15 14:09:52 +02:00
Job
4e5ca3b30b Added apt folder cleaning 2021-10-15 11:20:07 +00:00
Job
be82600fe6 Fixed docker builds 2021-10-15 10:59:33 +00:00
Son
7bfdb821af compute and include nb_total_bounced_last_24h in email report 2021-10-15 10:47:07 +02:00
Son
34564f6fa4 Add Metric2.nb_total_bounced_last_24h column 2021-10-15 10:46:22 +02:00
Son
4d740a4dc0 flake8 2021-10-15 10:39:29 +02:00
Son
d18bb28ca9 add more log to investigate "Cannot parse Postfix queue ID" error 2021-10-15 10:37:22 +02:00
Son
57bfa7e933 make sure that a domain already used in a verified mailbox can't be added 2021-10-15 10:32:20 +02:00
Son
72931aa9b7 fill up Bounce.info 2021-10-14 15:46:52 +02:00
Son
fcb94f0331 add Bounce.info column 2021-10-14 15:45:29 +02:00
Son
7add04accc Use alembic instead of flask migrate which depends on flask-sqlalchemy 2021-10-14 15:45:17 +02:00
Son
3bdeda3e04 add get_mailbox_bounce_info() 2021-10-14 15:10:16 +02:00
Son
e5a7aeb3fb add sl-job-runner to self host instruction 2021-10-13 19:16:20 +02:00
Son
05cf085511 fix 2021-10-13 13:32:27 +02:00
Son
ced31edda2 flake8 2021-10-13 11:52:41 +02:00
Son
cfe88b5df2 use job system to delete domain 2021-10-13 11:43:44 +02:00
Son
fbabe6fb44 use job system for deleting mailbox 2021-10-13 11:40:15 +02:00
Son
3a0b125323 fix table name 2021-10-13 10:52:41 +02:00
Son
e13a974e53 disable rate limiting 2021-10-13 10:30:04 +02:00
Son
68cf54b2d9 Revert "use async in email handler"
This reverts commit 4d7cd09847.
2021-10-13 10:27:59 +02:00
Son
0ec4a3971c Revert "sleep for 60s when rate limit is hit for the first time"
This reverts commit 2524c8ab98.
2021-10-13 10:27:54 +02:00
Son
becf789d5e Revert "add more logging"
This reverts commit 94a9a1479b.
2021-10-13 10:27:46 +02:00
Son
94a9a1479b add more logging 2021-10-13 10:18:46 +02:00
Job
4451e6af33
Merge pull request #1 from LordChunk/reduce-docker-image-size
Improved Docker image size
2021-10-13 01:48:31 +02:00
Job
961daa91f3
Improved Docker image size
Improved Docker image size by using python's alpine image and installing the required dependencies seperately. 
This reduces the size of the image from 1.46 GB to 0.982 GB
2021-10-13 01:45:48 +02:00
Son
572f25ff75 change header item position 2021-10-12 15:15:37 +02:00
Son
b9d26d46f6 fix test 2021-10-12 15:11:25 +02:00
Son
c132e3fbbc flake8 2021-10-12 15:03:16 +02:00
Son
2524c8ab98 sleep for 60s when rate limit is hit for the first time 2021-10-12 14:53:30 +02:00