Commit Graph

2407 Commits

Author SHA1 Message Date
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
Son NK 77bf9537d0 Add GET /api/setting 2020-10-28 17:23:58 +01:00
Son NK 91534d3cf2 Add PATCH /api/user_info 2020-10-28 17:12:21 +01:00
Son NK 3f40e3c1cf return profile_picture_url in GET /user_info 2020-10-28 17:11:33 +01:00
Son NK 0307793666 use pgpy as fallback for gpg 2020-10-28 17:07:53 +01:00
Son NK 6c816d51d6 fix load_public_key_and_check, remove IncorrectPassphrasePGPException 2020-10-28 12:21:42 +01:00
Son NK 5a190ed840 use pgpy if python-gnupg fails 2020-10-28 12:21:24 +01:00
Son NK 9210459a72 add pgpy
- add pgpy to poetry
- add test PGP keys to local_data
- add encrypt_file_with_pgpy()
- use randomly pgpy
2020-10-28 11:50:14 +01:00
Son NK 71be3b27f7 redirect user to dashboard when setup is done 2020-10-28 10:49:50 +01:00
Son NK a2254cfdf8 remove pgp debugging code 2020-10-27 20:27:34 +01:00
Son NK 1abebe8067 improve how to use reverse-alias 2020-10-27 18:59:59 +01:00
Son NK aa1cac521b Set X-SimpleLogin-Envelope-From header in forward phase 2020-10-27 11:03:56 +01:00
Son NK 8f6550f992 update contact.mail_from and contact.from_header if needed 2020-10-27 10:40:54 +01:00
Son Nguyen Kim 5681f061b5
Merge pull request #318 from simple-login/snyk-upgrade-6b9d3fe637a4e3f1a1817e388bb7b454
[Snyk] Upgrade @sentry/browser from 5.24.2 to 5.25.0
2020-10-27 09:02:23 +01:00
snyk-bot a8d4ef73a2
fix: upgrade @sentry/browser from 5.24.2 to 5.25.0
Snyk has created this PR to upgrade @sentry/browser from 5.24.2 to 5.25.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-10-27 03:23:50 +00:00
Son NK dec956c84d handle case user is None 2020-10-26 12:01:59 +01:00
Son NK 4a7b73a218 use warning log for disabled account 2020-10-26 10:33:53 +01:00
Son NK 6803d4bf42 fix import error 2020-10-26 10:32:56 +01:00
Son NK b09bb42b2d handle case where highlight_alias_id is not a number 2020-10-26 10:31:38 +01:00
Son NK f0b46c1887 use warning log for /alias/options 2020-10-26 10:31:19 +01:00
Son NK 477481c41e save the data for debugging when pgp fails 2020-10-24 19:03:19 +02:00
Son NK 83f3309149 use warning log for /v3/alias/options 2020-10-24 16:28:07 +02:00
Son NK c140d3f842 improve reverse-alias instruction use 2020-10-24 16:23:47 +02:00
Son NK 9f50ab4cce Handle IntegrityError when creating new alias 2020-10-24 15:50:29 +02:00
Son NK bdec727cd1 allow mailbox's authorized address to unsubscribe alias 2020-10-23 13:29:20 +02:00
Son NK 5da7953a64 handle the case a directory alias is created concurrently 2020-10-23 11:55:01 +02:00
Son NK bfa59dcdd9 fix 2020-10-22 12:26:45 +02:00
Son NK da7c07fc42 use new mailbox illustration 2020-10-22 11:46:41 +02:00
Son NK 85a1d67c6f put browser extension onboarding email to the welcome email 2020-10-22 11:46:15 +02:00
Son NK bc1eeb4f01 move TOTP to top 2020-10-22 11:09:37 +02:00
Son NK 677f150fef add unsubscribe header to com emails 2020-10-22 10:44:05 +02:00
Son NK ea45ac119e Refactor: create Alias.unsubscribe_link 2020-10-22 10:37:02 +02:00