Commit Graph

80 Commits

Author SHA1 Message Date
Son NK 1ebe6558a0 fix paddle logging 2020-03-05 08:11:07 +01:00
Son NK 8099d9841c log next_bill_date 2020-03-04 21:35:39 +01: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 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 2eae0ba4fd set user default mailbox in convert_user_full_mailbox 2020-02-23 15:41:08 +07:00
Son NK e4bb85ac87 Full-mailbox User can change alias mailbox 2020-02-23 13:58:09 +07:00
Son NK af8ac99248 use warning for subscription cancel message 2020-02-22 21:50:13 +07:00
Son NK a9a5f145aa fix showing unverified mailbox when creating new alias 2020-02-21 21:59:13 +07:00
Son NK 9727473b45 Add more fake data 2020-02-19 23:45:48 +07:00
Son NK 8f8857704a Add deleted alias page 2020-02-15 21:47:27 +07:00
Son NK d1d60f051b remove unnecessary log 2020-02-15 17:03:23 +07:00
Son NK b41a61165c use mailbox_email when notifying user attempt to send from his alias 2020-02-11 22:46:53 +07:00
Son NK 7407f678ce take into account mailbox in forward phase 2020-02-10 23:23:40 +07:00
Son NK ec248dcae6 use another sentry project for the front-end using SENTRY_FRONT_END_DSN param 2020-02-05 14:38:29 +07:00
Son NK b40278f4dc use store instead of localStorage to disable GoatCounter 2020-02-05 14:30:27 +07:00
Son NK 2ca97368f8 Handle trial period
- user can upgrade to lifetime if in trial or free
- free or trial user can buy a subscription
- user has all features when in trial
2020-01-30 10:53:17 +07:00
Son NK 284de7a0a6 fix test 2020-01-16 22:30:00 +01:00
Son NK 13283b6327 Support cancelled premium users in custom domain & directory
- Freemium user can see custom domain and directory but could not add new.
- user who has added custom domain or directory before could delete them
2020-01-16 22:21:19 +01:00
doanguyen c49bc87bae rollback the debug flag 2020-01-07 22:29:37 +01:00
doanguyen 783aba1275 flask debug must be string, not bool, int. What a joke 2020-01-05 22:58:40 +01:00
doanguyen 4e84815375 let debug configurable 2020-01-05 19:45:29 +01:00
Son NK 35aa8f1438 add GoatCounter analytics 2020-01-03 23:23:29 +01:00
Son NK 0327f755a1 accept both GET and POST for / 2020-01-02 22:10:27 +01:00
Son NK 851eac604b Add Sentry SqlalchemyIntegration and AioHttpIntegration 2020-01-02 22:04:18 +01:00
Son NK 5d25310105 Fix subscription might not exist 2020-01-01 23:51:22 +01:00
Son Nguyen Kim b8ca2d0158
Merge pull request #16 from simple-login/lifetime
Lifetime coupon
2020-01-01 23:24:15 +01:00
Son NK 6dd7827330 fix formatting 2020-01-01 23:22:34 +01:00
Son NK 064e10771b Ignore /git and /exception in flask-profiler 2020-01-01 23:20:28 +01:00
Son NK d3f8233844 Enable flask-profiler if FLASK_PROFILER_PATH is set 2020-01-01 23:16:09 +01:00
Son NK 4f980ffd94 add lifetime coupon to fake_data 2020-01-01 20:05:10 +01:00
Son NK 1d4e8368ab Use constant otp_secret in fake_data() 2019-12-27 16:53:07 +00:00
Son NK a3f547fd22 rename create_custom_alias -> create_new 2019-12-22 16:34:10 +00:00
Son NK 91e38a744b remove GenEmail.custom column 2019-12-22 16:32:55 +00:00
Son NK a22a635508 create custom domain in fake_data 2019-12-22 16:00:04 +00:00
Son NK 66091b4f9e replace ENABLE_SENTRY by SENTRY_DSN 2019-12-16 19:30:17 +02:00
Son NK c3b716f644 remove users.can_use_custom_domain flag 2019-12-15 21:52:24 +02:00
Son NK ec62fad3a0 remove notify_admin, replace by general stats 2019-12-15 18:55:18 +02:00
Son NK 0b982a3f19 comment out flask-toolbar 2019-12-15 18:55:18 +02:00
Son NK fd5b4f91f9 return 400 in paddle callback if verification fails 2019-12-15 18:55:18 +02:00
Son NK 6ddb8ee5ab fix test 2019-12-15 18:55:17 +02:00
Son NK 2e23a1bf19 add RESET_DB back 2019-12-15 18:55:17 +02:00
Son NK 6e387444f5 do not use RESET_DB to avoid potential error: uncomment fake_date locally if necessary 2019-12-15 18:55:17 +02:00
Son NK d58ab8c808 fix create random alias: new alias not saved 2019-12-15 18:55:16 +02:00
Son NK 5156ed5eba create constant api_code in local to facilitate test 2019-12-15 18:55:16 +02:00
Son NK 8ed7f2e693 set X-Frame-Options header to deny 2019-12-15 18:55:16 +02:00
Son NK a827b27215 add custom_domain view 2019-12-15 18:55:16 +02:00
Son NK b59ffb94b2 Remove Stripe usage 2019-12-15 18:55:16 +02:00
Son NK 6ea43275ed remove user.can_use_api_key 2019-12-15 18:55:16 +02:00
Son NK 7bedd40966 add user.can_use_custom_domain, user.can_use_api_key 2019-12-15 18:55:16 +02:00