Commit Graph

685 Commits

Author SHA1 Message Date
Son NK
a0784fc711 make aliasUsedOn.user_id non nullable 2020-04-14 22:34:05 +02:00
Son NK
6976c28985 set user_id when creating AliasUsedOn 2020-04-14 22:33:59 +02:00
Son NK
b655503d39 Add AliasUsedOn.user_id col 2020-04-14 22:33:59 +02:00
Son NK
4f1e4d3781 Fix: filter email log by current user 2020-04-14 22:33:59 +02:00
Son NK
b5c369f084 make user_id non nullable on contact, email_log and file 2020-04-14 22:31:26 +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
66a285e9fd Only premium user can add PGP key 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
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
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
f8f1e2124a rename ForwardEmail to Contact 2020-04-14 22:08:38 +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
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
cfd5439842 fix 2020-04-14 22:00:45 +02:00
Son NK
5dcf616325 Hide download for deleted refused emails 2020-04-14 22:00:45 +02:00
Son NK
688ae8911f Add cronjob to delete refused emails 2020-04-14 22:00:44 +02:00
Son NK
59fa594ce8 delete all unnecessary headers in PGP 2020-04-14 22:00:44 +02:00
Son NK
3aad3deb81 Store the bounced email in email handling. 2020-04-14 22:00:44 +02:00
Son NK
18008460e6 Add refused-email view 2020-04-14 22:00:44 +02:00
Son NK
9872672dcb add RefusedEmail model 2020-04-14 22:00:44 +02:00
Son NK
7220df77af Use a better mailbox validation page 2020-04-14 22:00:44 +02:00
Son Nguyen Kim
84fa16cb86 Merge pull request #109 from simple-login/alias-api
Alias api
2020-04-14 21:56:45 +02:00
Son Nguyen Kim
9eae97ccba Merge pull request #108 from simple-login/local-upload
Add LOCAL_FILE_UPLOAD param
2020-04-14 21:53:57 +02:00
Son NK
20e09b0d16 Open PGP to everyone
# Conflicts:
#	.pre-commit-config.yaml
2020-03-23 20:12:20 +01:00
Son NK
e713efee98 reformat 2020-03-13 10:34:41 +01:00
Son NK
ab082a5f9b fix get_json returns 400 2020-03-11 14:02:35 +01:00
Son NK
1098f17c0c Support note in POST /api/alias/random/new 2020-03-11 12:24:30 +01:00