Commit graph

1189 commits

Author SHA1 Message Date
Son NK
b5c369f084 make user_id non nullable on contact, email_log and file 2020-04-14 22:31:26 +02:00
Son NK
5f429abb7a fix migration 2020-04-14 22:29:26 +02:00
Son NK
45ea72a997 make sure to set user_id when creating EmailLog 2020-04-14 22:28:33 +02:00
Son NK
9ee8245760 make sure to set user_id when creating contact 2020-04-14 22:28:33 +02:00
Son NK
2d4157bb4a make sure to set File.user_id 2020-04-14 22:28:32 +02:00
Son NK
43cd9e72d8 Add File.user_id, Contact.user_id, EmailLog.user_id columns 2020-04-14 22:28:21 +02:00
Son NK
2a33a21219 mention mailbox in trial-end email 2020-04-14 22:27:54 +02:00
Son NK
737c89489c Mention PGP in trial end email 2020-04-14 22:27:54 +02:00
Son NK
24bb961b19 only premium user can encrypt emails with PGP 2020-04-14 22:27:54 +02:00
Son NK
66a285e9fd Only premium user can add PGP key 2020-04-14 22:27:54 +02:00
Son NK
5585173583 fix to_header 2020-04-14 22:27:54 +02:00
Son NK
8bb485997c fix alias != address 2020-04-14 22:27:54 +02:00
Son NK
e81b807971 always return 200 in /forgot_password 2020-04-14 22:26:47 +02:00
Son NK
f8f501b84d Improve error 2020-04-14 22:26:47 +02:00
Son NK
7d61c5d8c2 add "in_trial" to /user_info 2020-04-14 22:26:47 +02:00
Son NK
46701530db Add POST /api/auth/forgot_password 2020-04-14 22:26:47 +02:00
Son NK
c57189e538 return email in /user_info 2020-04-14 22:26:47 +02:00
Son NK
cb8fa8cba7 order alias by creation date 2020-04-14 22:26:47 +02:00
Son NK
b664b0b17b Fix duplicate results 2020-04-14 22:26:13 +02:00
Son NK
e230b120d9 rename get_alias_info -> get_alias_infos 2020-04-14 22:26:13 +02:00
Son NK
2d570f7290 Take into account query in GET /api/aliases 2020-04-14 22:26:13 +02:00
Son NK
54a30a62d2 Add DELETE /api/contacts/:contact_id 2020-04-14 22:26:13 +02:00
Son NK
9ae6ba323c Return contact id 2020-04-14 22:26:12 +02:00
Son NK
1d579e7490 refactor handle_bounce 2020-04-14 22:25:56 +02:00
Son NK
84ba2ed718 fix should_append_alias 2020-04-14 22:25:50 +02:00
Son NK
51b55b24e1 Improve UI 2020-04-14 22:25:50 +02:00
Son NK
e8b315b431 rename gen_email_id -> alias_id 2020-04-14 22:25:04 +02:00
Son NK
2ad930a141 rename table gen_email -> alias 2020-04-14 22:19:37 +02:00
Son NK
c2d772ded1 rename GenEmail -> Alias, gen_email to alias whenever possible 2020-04-14 22:19:30 +02:00
Son NK
d2c13763a2 rename ForwardEmailLog to EmailLog 2020-04-14 22:19:19 +02:00
Son NK
087d6c6652 rename forward_id to contact_id 2020-04-14 22:19:08 +02:00
Son NK
bf205105e4 Tweak 7744 version 2020-04-14 22:18:08 +02:00
Son NK
48eeea1650 rename forward_email table to contact 2020-04-14 22:08:38 +02:00
Son NK
f8f1e2124a rename ForwardEmail to Contact 2020-04-14 22:08:38 +02:00
Son NK
3e73d16215 Add PGP to welcome email 2020-04-14 22:08:12 +02:00
Son NK
053802b5ae Wording: rename refused email to Quarantine 2020-04-14 22:07:30 +02:00
Son NK
130abc2220 Use warning level for /v2/alias/options 2020-04-14 22:07:30 +02:00
Son NK
76661d12d3 Do not set domain for ALIAS_DOMAINS 2020-04-14 22:07:06 +02:00
Son NK
abd23cf08f Fix not setting custom domain when creating alias via API 2020-04-14 22:07:06 +02:00
Son NK
0c0cebf970 use a more consistent format 2020-04-14 22:06:42 +02:00
Son NK
c597a4b9fe do not use formataddr to generate website email 2020-04-14 22:06:42 +02:00
Son NK
00f3b7b532 use parseaddr instead of get_email_part 2020-04-14 22:06:42 +02:00
Son NK
7b90962076 use email.utils.parseaddr and formataddr instead of get_email_name 2020-04-14 22:06:42 +02:00
Son NK
b4fd427008 Setup precommit 2020-04-14 22:06:42 +02:00
Son NK
b583a8fc8d Add refused_email model sql migration script 2020-04-14 22:04:17 +02:00
Son NK
c4b97b55dc Support download email file in browser 2020-04-14 22:00:45 +02:00
Son NK
9cf5b886cc Improve wording 2020-04-14 22:00:45 +02:00
Son NK
14bfaff8bd reformat 2020-04-14 22:00:45 +02:00
Son NK
8d9cd6cc1e add mailbox email into notif email 2020-04-14 22:00:45 +02:00
Son NK
b0361c357e Send refused email notif to user email instead of mailbox 2020-04-14 22:00:45 +02:00