Commit graph

200 commits

Author SHA1 Message Date
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
66a285e9fd Only premium user can add PGP key 2020-04-14 22:27:54 +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
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
00f3b7b532 use parseaddr instead of get_email_part 2020-04-14 22:06:42 +02:00
Son NK
18008460e6 Add refused-email view 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 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
417009b3be return note in GET /api/aliases 2020-03-11 12:16:45 +01:00
Son NK
9d25d099e1 use mailbox_already_used instead of email_already_used 2020-03-09 14:01:27 +01:00
Son NK
3ef7285288 reduce logging level 2020-03-09 09:48:33 +01:00
Son NK
1c5c5896f8 Handle SMTPRecipientsRefused in send_email 2020-03-09 09:22:40 +01:00
Son NK
b05daecd28 Handle unsign can generate other exceptions 2020-03-09 09:17:40 +01:00
Son NK
aadda7cb0d handle the case new_email can be None if user cancels change in the meantime 2020-03-09 09:14:21 +01:00
Son NK
c1c3224a41 Merge branch 'cancel-sub' into staging 2020-03-08 23:13:23 +01:00
Son NK
911c38710e Only user with can_use_pgp on can use GPG 2020-03-08 23:12:35 +01:00
Son NK
6200d4d1a0 redirect user to mailbox detail page when creating new mailbox 2020-03-08 22:59:19 +01:00
Son NK
486df7fefc set mailbox.pgp_finger_print when adding PGP key 2020-03-08 12:51:53 +01:00
Son NK
24fd19d6d9 user can set/remove pgp key 2020-03-08 12:30:48 +01:00
Son NK
1acbf173ea Handle subscription cancel directly 2020-03-08 10:28:13 +01:00
Son NK
fac833b8e6 support the case user wants to re-add their real email as mailbox 2020-03-08 10:05:13 +01:00
Son NK
a6f4059d5d make sure to set mailbox_id when creating GenEmail 2020-03-05 17:03:07 +01:00
Son NK
ca70d26285 black format 2020-03-05 11:00:58 +01:00
Son NK
7e4eb9e0db use MAILBOX_SECRET instead of FLASK_SECRET 2020-02-29 18:18:52 +07:00
Son NK
f395841770 only premium plan can add additional mailbox 2020-02-29 18:12:55 +07:00
Son NK
aeed62e95b All users use full-mailbox
- remove can_use_multiple_mailbox col
- remove full_mailbox col
2020-02-29 00:03:35 +07:00
Son NK
f74beb2227 Improve deleted alias page 2020-02-23 17:36:45 +07:00
Son NK
77baf60ca4 Show user current plan in settings 2020-02-23 17:02:49 +07:00
Son NK
f20930ac4e Assign random alias to default mailbox if user is full mailbox 2020-02-23 15:51:40 +07:00
Son NK
1fcbe32990 Can set a mailbox as default 2020-02-23 15:51:26 +07:00
Son NK
7febe6e15b cannot delete default mailbox 2020-02-23 15:41:53 +07:00
Son NK
362032b803 full_mailbox user can use mailbox 2020-02-23 14:09:57 +07:00
Son NK
731d898774 Handle mailbox change 2020-02-23 14:08:55 +07:00
Son NK
571ff03115 handle case where mailbox_email is the same as user email 2020-02-23 14:04:00 +07:00
Son NK
e4bb85ac87 Full-mailbox User can change alias mailbox 2020-02-23 13:58:09 +07:00
Son NK
70802bff17 Create User.mailboxes() 2020-02-23 13:41:27 +07:00
Son Nguyen Kim
773e24dd9a
Merge pull request #90 from simple-login/handle-bounced
Handle bounced
2020-02-22 22:37:11 +07:00
Son NK
332b4559f3 Prettify unsubscribe page 2020-02-22 22:10:09 +07:00
Son NK
dddea7c54f fix formatting 2020-02-22 21:10:31 +07:00
Son NK
f80de382fe Prettify alias log 2020-02-22 21:09:07 +07:00
Son NK
74d1f87db0 disable bounced email in alias log 2020-02-22 13:27:22 +07:00
Son NK
a9a5f145aa fix showing unverified mailbox when creating new alias 2020-02-21 21:59:13 +07:00