Commit Graph

607 Commits

Author SHA1 Message Date
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 3b454b9a80 fix test 2020-03-05 20:32:08 +01:00
Son NK a6f4059d5d make sure to set mailbox_id when creating GenEmail 2020-03-05 17:03:07 +01:00
Son NK faa82e7b5a make GenEmail.mailbox_id non-nullable 2020-03-05 17:00:43 +01:00
Son NK cb3ea63066 show error if no such email exists from Github 2020-03-05 16:46:02 +01:00
Son NK 90dc05725a use github email that is "verified" and "primary" 2020-03-05 16:45:49 +01:00
Son NK ca70d26285 black format 2020-03-05 11:00:58 +01:00
Son NK a0372a15de fix github email can contain uppercase char 2020-03-05 10:58:58 +01:00
Son NK 85321313c1 add a warning on payment page for canceled user 2020-03-05 10:22:53 +01:00
Son NK 3492935f95 Canceled user can upgrade again: the payment method is changed immediately though 2020-03-05 09:13:28 +01:00
Son NK 83d32244a5 remove Beta tag on mailboxes 2020-03-05 08:56:47 +01:00
Son NK f8ad733b91 display next_bill_date on billing page for canceled subscription 2020-03-05 08:11:35 +01:00
Son NK b15eeb10c5 If POSTFIX_SUBMISSION_TLS, use port 587 2020-03-03 10:49:27 +01:00
Son NK 3410475223 Add POSTFIX_SUBMISSION_TLS config 2020-03-03 10:48:27 +01:00
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