Commit graph

593 commits

Author SHA1 Message Date
Son NK
7e4eb9e0db use MAILBOX_SECRET instead of FLASK_SECRET 2020-02-29 18:18:52 +07:00
Son NK
330bf91d95 remove unused code 2020-02-29 18:15:50 +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
7e1119406d New user will have mailbox enabled by default 2020-02-28 22:53:13 +07:00
Son NK
66654a3635 prettify alias page 2020-02-28 22:39:15 +07:00
Son Nguyen Kim
959b372854
Merge pull request #96 from simple-login/api-register
Api register
2020-02-28 19:22:27 +07:00
Son NK
bf3cbd033e add migration script 2020-02-28 19:09:01 +07:00
Son NK
32cd2fd650 Add related endpoints for registration
POST /api/auth/register
POST /api/auth/activate
POST /api/auth/reactivate
2020-02-28 19:02:01 +07:00
Son NK
c025acc826 Add AccountActivation model 2020-02-28 19:00:45 +07:00
Son Nguyen Kim
db621af1e5
Merge pull request #95 from simple-login/api-social-login
Add API endpoints for Facebook & Google login
2020-02-28 17:56:09 +07:00
Son NK
4d1d236066 add POST /api/auth/google 2020-02-28 17:29:33 +07:00
Son NK
02d26df292 add /api/auth/facebook 2020-02-28 17:26:28 +07:00
Son NK
16718806ba fix 2020-02-27 22:57:37 +07:00
Son NK
91d5d1c9ac fix test 2020-02-27 22:31:38 +07:00
Son NK
9d23fc5ab3 small refacto 2020-02-27 22:26:29 +07:00
Son NK
659861198b make salt is nullable 2020-02-27 22:26:19 +07:00
Son NK
87b6df9408 save which social network user uses in SocialAuth table 2020-02-27 22:16:12 +07:00
Son NK
7f70dd1678 make User.password nullable, add SocialAuth model 2020-02-27 22:15:22 +07:00
Son NK
f74beb2227 Improve deleted alias page 2020-02-23 17:36:45 +07:00
Son Nguyen Kim
321b81d794
Merge pull request #92 from simple-login/manual-sub
Manual sub
2020-02-23 17:07:53 +07:00
Son NK
77baf60ca4 Show user current plan in settings 2020-02-23 17:02:49 +07:00
Son NK
c1bd2f83e3 Remind user that their manual sub is ending soon. 2020-02-23 17:01:23 +07:00
Son NK
fb62322794 User who has valid manual sub is premium 2020-02-23 16:31:55 +07:00
Son NK
b2eb084720 Add ManualSubscription model 2020-02-23 16:31:14 +07:00
Son NK
9958e1ab8e only full mailbox user can set default mailbox 2020-02-23 16:17:09 +07:00
Son NK
ec3a41e53c Prettify waiting activation page 2020-02-23 16:01:03 +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
9669c04414 Add user.default_mailbox_id col 2020-02-23 15:40:41 +07:00
Son NK
0a5113962f remove autofocus on directory & mailbox 2020-02-23 15:10:59 +07:00
Son NK
3c2762dfad only show mailbox when mailbox email != user email 2020-02-23 14:40:37 +07:00
Son NK
6615631b4e improve logging 2020-02-23 14:38: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
aa784a0593 use red text for delete button 2020-02-23 14:04:20 +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
18a6a50e38 Add Mailbox.new_email col 2020-02-23 14:02:02 +07:00
Son NK
e4bb85ac87 Full-mailbox User can change alias mailbox 2020-02-23 13:58:09 +07:00
Son NK
a467830a23 Add custom-select class to select element 2020-02-23 13:53:02 +07:00
Son NK
bc0dc0265d Show mailbox when creating alias for user who has full_mailbox enabled 2020-02-23 13:41:59 +07:00
Son NK
70802bff17 Create User.mailboxes() 2020-02-23 13:41:27 +07:00
Son NK
f662adf237 Add User.full_mailbox col 2020-02-23 13:39:52 +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
85eca009ac send_email accepts bounced_email (optional) param 2020-02-22 20:39:45 +07:00
Son NK
74d1f87db0 disable bounced email in alias log 2020-02-22 13:27:22 +07:00