Commit Graph

3139 Commits

Author SHA1 Message Date
Son NK
034605d9ac do not use next_bill_date to know whether user is premium 2019-12-15 18:55:13 +02:00
Son NK
3442250bb1 create a subscription in fake_data 2019-12-15 18:55:13 +02:00
Son NK
469024179c fix trial_expiration can be None 2019-12-15 18:55:13 +02:00
Son NK
48138bb1e6 fix migration 2019-12-15 18:55:13 +02:00
Son NK
6420def974 fix test 2019-12-15 18:55:13 +02:00
Son NK
4a56d2eef5 add billing and pricing page 2019-12-15 18:55:13 +02:00
Son NK
6c3c37170c Create paddle handler 2019-12-15 18:55:13 +02:00
Son NK
6f7c99963b remove pricing2 2019-12-15 18:55:13 +02:00
Son NK
263f68ecec Change subscription model
- create subscription table
- rename plan_expiration -> trial_expiration
- remove user.plan, user.promo_codes
2019-12-15 18:55:13 +02:00
Son NK
11ba3b82bc ignore config symlink 2019-12-15 18:55:13 +02:00
Son NK
9cfe073a04 upgrade sentry-sdk==0.13.2 2019-12-15 18:55:13 +02:00
Son NK
1f3239b251 rename pricing to pricing2 to save stripe implementation for reference 2019-12-15 18:55:13 +02:00
Son NK
c66f424c51 redirect to ?error=invalid_client_id|http_not_allowed|unknown_redirect_uri instead of return 400 2019-12-15 18:55:13 +02:00
Son NK
61a3844ec4 Add tooltip for email forwarding switch, copy and send test email 2019-12-15 18:55:13 +02:00
Son NK
6015dbd4d1 Revert "try fixing spam issue: use personal email in forward phase"
This reverts commit 2f46a225e1b9099c2905a771132445caf42b4284.
2019-12-15 18:55:13 +02:00
Son NK
bfb1c27528 try fixing spam issue: use personal email in forward phase 2019-12-15 18:55:13 +02:00
Son NK
b80dbdf60b notify admin if someone uses reply phase 2019-12-15 18:55:13 +02:00
Son NK
a01c94187f v1 of email handler, forward and reply phase work! 2019-12-15 18:55:13 +02:00
Son NK
80babefdb9 use 1.1.1.1 as host IP 2019-12-15 18:55:13 +02:00
Son NK
dcd0e50e7e add vim to dockerfile to debug more easily 2019-12-15 18:55:13 +02:00
Son NK
8f878b4c5d try to make working with postfix outside docker (in host) 2019-12-15 18:55:13 +02:00
Son NK
c2546cb0de fix test 2019-12-15 18:55:13 +02:00
Son NK
d3985e2cf3 email handler: forward phase. Todo: reply phase 2019-12-15 18:55:13 +02:00
Son NK
c1ac71abac add forward_email table 2019-12-15 18:55:13 +02:00
Son NK
7949bae207 add aiosmtpd into requirement 2019-12-15 18:55:13 +02:00
Son NK
4231a5691a improve feedback email 2019-12-15 18:55:13 +02:00
Son NK
1fbe8e2d4f if this is the first app user creates, sends an email to ask for feedback 2019-12-15 18:55:13 +02:00
Son NK
62daf5eadb improve notify_admin email 2019-12-15 18:55:13 +02:00
Son NK
1a85ab8dcc use AppID, AppSecret instead of OAuth2 Client ID 2019-12-15 18:55:13 +02:00
Son NK
4c34775aa2 fix cancel button in authorization page when user is not login 2019-12-15 18:55:13 +02:00
Son NK
232d250186 support 127.0.0.1 as well as localhost 2019-12-15 18:55:13 +02:00
Son NK
5eb3f26286 improve UI 2019-12-15 18:55:13 +02:00
Son NK
f518085f1a improve wording 2019-12-15 18:55:13 +02:00
Son NK
62c3b4cd02 highlight newly created gen-email 2019-12-15 18:55:12 +02:00
Son NK
3e0bc27bad better notify_admin message 2019-12-15 18:55:12 +02:00
Son NK
9a8282107f avatarURL returned in user_info is expired in 1 week 2019-12-15 18:55:12 +02:00
Son NK
63183b7104 cancel is handled the same way as "deny" 2019-12-15 18:55:12 +02:00
Son NK
ef807bf293 Add message to invite user creating a new app 2019-12-15 18:55:12 +02:00
Son NK
44e0f07846 hide the "Become Partner/Developer" button 2019-12-15 18:55:12 +02:00
Son NK
ed9e3f9085 Show "upgrade" button if user is in trial 2019-12-15 18:55:12 +02:00
Son NK
7cb1c219ed simplify pricing page now that monthly is gone 2019-12-15 18:55:12 +02:00
Son NK
5ff317538c remove monthly pricing, display 20$ for monthly pricing 2019-12-15 18:55:12 +02:00
Son NK
f03fb6edcb add missing migration 2019-12-15 18:55:12 +02:00
Son NK
f4ea3745c1 update docs url 2019-12-15 18:55:12 +02:00
Son NK
3fe3099e1d remove all step views 2019-12-15 18:55:12 +02:00
Son NK
e575f21052 show user client-details after creation (no more step guide) and add guide message 2019-12-15 18:55:12 +02:00
Son NK
3a0f0ca780 Take into account expiration for AuthCode and OauthToken 2019-12-15 18:55:12 +02:00
Son NK
2693ba5838 make sure expiration is handled for ActivationCode and ResetPasswordCode 2019-12-15 18:55:12 +02:00
Son NK
4704ca0bc6 add expired column to AuthCode and OAuthToken 2019-12-15 18:55:12 +02:00
Son NK
fb4aedc604 handle case sentry is blocked by adblocker 2019-12-15 18:55:12 +02:00