Commit Graph

221 Commits

Author SHA1 Message Date
Son NK
837e1ffcf6 add List-Unsubscribe-Post header. Block alias directly if POST, otherwise ask user confirmation. 2019-12-15 18:55:15 +02:00
Son NK
45cef7a4ef create unsubscribe view to block quickly an alias 2019-12-15 18:55:15 +02:00
Son NK
34cf72eaee create POSTFIX server 2019-12-15 18:55:15 +02:00
Son NK
38d9654624 fix cancel email change 2019-12-15 18:55:15 +02:00
Son NK
8889dc119f only display profile updated message when something changes 2019-12-15 18:55:15 +02:00
Son NK
d061ad7d56 make sure user cannot register with SL email 2019-12-15 18:55:15 +02:00
Son NK
0c85cae6ad handle email change in setting 2019-12-15 18:55:15 +02:00
Son NK
2dd25cc72d create change_email view 2019-12-15 18:55:15 +02:00
Son NK
be6266fb0e create change-email email 2019-12-15 18:55:15 +02:00
Son NK
5d52a784f2 add EmailChange model 2019-12-15 18:55:15 +02:00
Son NK
e46592019b remove unique constraint on user on deleted_alias table 2019-12-15 18:55:15 +02:00
Son NK
539d87d0a3 make to not reuse alias 2019-12-15 18:55:15 +02:00
Son NK
5c119a933d add DeletedAlias model 2019-12-15 18:55:15 +02:00
Son NK
58504e3b8d display new alias on top 2019-12-15 18:55:15 +02:00
Son NK
711ae83751 show message when logged in user tries goes to register 2019-12-15 18:55:15 +02:00
Son NK
a22375e76a improve wording for login & register 2019-12-15 18:55:14 +02:00
Son NK
c5b65c108b fix name can be absent in github data
https://sentry.io/organizations/son/issues/1201398007/?project=1478143&query=is%3Aunresolved
2019-12-15 18:55:14 +02:00
Son NK
673b9e72ee show send test and delete buttons 2019-12-15 18:55:14 +02:00
Son NK
64180c4077 do not show email 2019-12-15 18:55:14 +02:00
Son NK
276e37a9ab send welcome email when user creates new account 2019-12-15 18:55:14 +02:00
Son NK
67f7b95c36 add Message-ID and Date header to email 2019-12-15 18:55:14 +02:00
Son NK
3ebb75ca07 Show copy and activity button 2019-12-15 18:55:14 +02:00
Son NK
d929cea771 improve dashboard page 2019-12-15 18:55:14 +02:00
Son NK
5b8bc68da1 add alias log page 2019-12-15 18:55:14 +02:00
Son NK
3a920585ce add ForwardEmailLog model 2019-12-15 18:55:14 +02:00
Son NK
ec3f2116ff do not show copy button on disabled alias 2019-12-15 18:55:14 +02:00
Son NK
0b9f28970f fix send_test_email_alias 2019-12-15 18:55:14 +02:00
Son NK
6879490557 test email template 2019-12-15 18:55:14 +02:00
Son NK
6f93f419c2 send by postfix only 2019-12-15 18:55:14 +02:00
Son NK
727830be6b improve email wording for test email 2019-12-15 18:55:14 +02:00
Son NK
0ed2ef60c5 remove html marker for test email 2019-12-15 18:55:14 +02:00
Son NK
0a60d01596 use postfix for testing trigger email 2019-12-15 18:55:14 +02:00
Son NK
f366e1c383 add send_by_postfix, to distinct with send_by_sendgrid 2019-12-15 18:55:14 +02:00
Son NK
47d5b75dc4 remove partner table 2019-12-15 18:55:14 +02:00
Son NK
a084ea880d remove become partner view 2019-12-15 18:55:14 +02:00
Son NK
53df01e54b if user cancels subscription, user is still premium until the next billing_date + 1 2019-12-15 18:55:14 +02:00
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
469024179c fix trial_expiration can be None 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
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
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
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
c1ac71abac add forward_email table 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
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
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
d7d2ea04a9 replace lyra by GA 2019-12-15 18:55:12 +02:00
Son NK
8dd6346f33 allow dash in email alias 2019-12-15 18:55:12 +02:00
Son NK
c22a7d3f0f small improvemen UX 2019-12-15 18:55:12 +02:00
Son NK
05dc03ef8a use card layout for app list, 2019-12-15 18:55:12 +02:00
Son NK
a44ce732be add advanced app setting: delete app 2019-12-15 18:55:12 +02:00
Son NK
1dd7a761fa split client details into 3 pages: basic info, oauth settings, oauth endpoints 2019-12-15 18:55:12 +02:00
Son NK
28d475ea22 better avatar pic: use name initial as avatar 2019-12-15 18:55:12 +02:00
Son NK
83abbe5406 set clipboard behavior on all pages 2019-12-15 18:55:12 +02:00
Son NK
aeb4108570 use form.validate_on_submit() whenever possible 2019-12-15 18:55:12 +02:00
Son NK
40f8c610d2 do not change FLASK_SECRET at each new deployment 2019-12-15 18:55:11 +02:00
Son NK
c76d55bf40 do not ask for app website url 2019-12-15 18:55:11 +02:00
Son NK
50c8145faa remove scopes from app listing page 2019-12-15 18:55:11 +02:00
Son NK
78e274addf add support for response_mode(query and fragment), nonce 2019-12-15 18:55:11 +02:00
Son NK
e563dff496 add response_type to AuthCode and OauthToken model 2019-12-15 18:55:11 +02:00
Son NK
b2d4ac8e65 add get_response_types_from_str, response_types_to_str 2019-12-15 18:55:11 +02:00
Son NK
47109e6011 add "sub", fix test 2019-12-15 18:55:11 +02:00
Son NK
3f7900f07e fix scope in /oauth/token 2019-12-15 18:55:11 +02:00
Son NK
82d52ec0ae enable CORS for /oauth/token 2019-12-15 18:55:11 +02:00
Son NK
efddc68764 add auth_time in id_token 2019-12-15 18:55:11 +02:00
Son NK
f6e71436ec fix "kid" in id_token 2019-12-15 18:55:11 +02:00
Son NK
ba15837b01 add some tests for authorize page
- non-authenticated user,
- non supported flow
- authorization page displayed correctly
- code flow without openid in scope
- code flow with openid in scope
2019-12-15 18:55:11 +02:00
Son NK
8185af7770 update UI on step implicit flow 2019-12-15 18:55:11 +02:00
Son NK
0bc0f751bf remove flask example 2019-12-15 18:55:11 +02:00
Son NK
572ac772e9 fix 2019-12-15 18:55:11 +02:00
Son NK
117f4110f8 notify admin when new app gets created 2019-12-15 18:55:10 +02:00
Son NK
4e67275071 provide oauth2 urls in app detail page, improve UI 2019-12-15 18:55:10 +02:00
Son NK
410a746c25 add demo example to step 2019-12-15 18:55:10 +02:00
Son NK
76cb892d77 do not show apps section on dashboard if there's no app 2019-12-15 18:55:10 +02:00
Son NK
bde3edaf56 remove User.is_developer column 2019-12-15 18:55:10 +02:00
Son NK
06f51099a5 all users can have access to developer tab 2019-12-15 18:55:10 +02:00
Son NK
ea123b0922 remove partner code 2019-12-15 18:55:10 +02:00