Commit Graph

3445 Commits

Author SHA1 Message Date
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
Son a8b3955fe6 black 2021-10-12 14:52:57 +02:00
Son 4d7cd09847 use async in email handler 2021-10-12 14:48:33 +02:00
Son eb0e327402 remove "with app.app_context():" 2021-10-12 14:47:01 +02:00
Son 074dd875dc comment out "Submit for approval" section 2021-10-12 14:39:29 +02:00
Son 372466ab06 do not use flask-sqlalchemy
- add __tablename__ for all models
- use sa and orm instead of db
- rollback all changes in tests
- remove session in @app.teardown_appcontext
2021-10-12 14:36:47 +02:00
Son 653a03ac11 show tooltip on highlighted alias 2021-10-12 09:58:17 +02:00
Son 8394d7340c format 2021-10-12 09:51:11 +02:00
Son b602f7e746 update send from alias video 2021-10-11 17:08:48 +02:00
Son ee0ed7d9ec refactor: use headers.py 2021-10-11 12:21:14 +02:00
Son d6fc132df1 do not replace message-id in reply phase 2021-10-11 12:13:24 +02:00