Commit graph

1191 commits

Author SHA1 Message Date
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 Nguyen Kim
0055934fc3
Merge pull request #97 from simple-login/fix-cancel-subscribe
Fix the case where user cancels and re-subscribes
2020-03-03 05:09:26 +07:00
Son NK
930b4cadb9 Fix the case where user cancels and re-subscribes 2020-03-02 23:04:47 +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
269b62756e order user by id 2020-02-29 00:15:03 +07:00
Son NK
e2b086c449 Prepare newsletter 2020-02-29 00:12:37 +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
f5503a1704 Add the migrate-1.1.0 script 2020-02-29 00:01:20 +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
9609ce5245 Change text email signature 2020-02-28 19:02:48 +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 NK
45178795f4 Change text email signature 2020-02-28 18:14:18 +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
7cf39c269d add google-api-python-client, google-auth-httplib2 2020-02-28 17:28:32 +07:00
Son NK
02d26df292 add /api/auth/facebook 2020-02-28 17:26:28 +07:00
Son Nguyen Kim
4358b2791b
Merge pull request #94 from simple-login/social-login
Social login improvements
2020-02-27 23:02:02 +07:00
Son NK
16718806ba fix 2020-02-27 22:57:37 +07:00
Son NK
c84b9892e0 add facebook-sdk 2020-02-27 22:37:00 +07:00
Son NK
91d5d1c9ac fix test 2020-02-27 22:31:38 +07:00
Son NK
ed11363b0c add db migration script 2020-02-27 22:26:35 +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
e90c8b5e0a Update readme to use 1.0.5 2020-02-24 23:34:11 +07:00
Son NK
3cf06e75ec v1.0.5 2020-02-24 23:33:05 +07:00
Son NK
f74beb2227 Improve deleted alias page 2020-02-23 17:36:45 +07:00
Son NK
cfb441eb48 do not change alias existing mailbox 2020-02-23 17:10:20 +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
ccb2d62906 Add necessary migration script 2020-02-23 17:02:59 +07:00
Son NK
77baf60ca4 Show user current plan in settings 2020-02-23 17:02:49 +07:00
Son NK
368c4a48ee Improve trial-end email 2020-02-23 17:01:47 +07:00
Son NK
c1bd2f83e3 Remind user that their manual sub is ending soon. 2020-02-23 17:01:23 +07:00
Son Nguyen Kim
e8e0923de7
Merge pull request #91 from simple-login/mailbox2
Improve Mailbox
2020-02-23 16:39:44 +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
e51f91e769 add necessary migration 2020-02-23 16:04:23 +07:00
Son NK
3708071320 Improve welcome & trial-end email 2020-02-23 16:01:22 +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