Commit Graph

164 Commits

Author SHA1 Message Date
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
Son NK
01e19485eb apart from localhost, allow only https 2019-12-15 18:55:10 +02:00
Son NK
d600bbfec0 add step when developer adds new app 2019-12-15 18:55:10 +02:00
Son NK
5244678a16 add "disabled" to client-id, client-secret 2019-12-15 18:55:10 +02:00
Son NK
fc73267b53 remove website url and icon when creating new app 2019-12-15 18:55:10 +02:00
Son NK
daf22b823d add separator to authorize page 2019-12-15 18:55:10 +02:00
Son NK
4ca3ce571a improve wording 2019-12-15 18:55:10 +02:00
Son NK
d933fcf0b7 replace information by info 2019-12-15 18:55:10 +02:00
Son NK
67dbcb9723 user can choose their avatar to send 2019-12-15 18:55:10 +02:00
Son NK
d61c402aea user can choose name 2019-12-15 18:55:10 +02:00
Son NK
0e0a11dfce make sure custom alias must have at least 3 character in authorize 2019-12-15 18:55:10 +02:00
Son NK
2a6021c230 custom email must have .suffix 2019-12-15 18:55:10 +02:00
Son NK
a1c65d3921 use EMAIL_DOMAIN instead of simplelogin.co 2019-12-15 18:55:10 +02:00
Son NK
8c38fe5b56 set custom=True when user creates a custom alias 2019-12-15 18:55:10 +02:00
Son NK
ddf188f146 add ClientUser.name,default_avatar, GenEmail.custom column 2019-12-15 18:55:10 +02:00
Son NK
00f858c8c1 user can choose custom email in authorize 2019-12-15 18:55:10 +02:00
Son NK
08b394ea0f add User.suggested_emails 2019-12-15 18:55:10 +02:00
Son NK
d05749d577 add default-avatar and use it instead of gravatar 2019-12-15 18:55:10 +02:00
Son NK
2461ea6145 refactor config 2019-12-15 18:55:10 +02:00
Son NK
37f75954be shorten wording 2019-12-15 18:55:09 +02:00
Son NK
6bf8cddbcd only SERVER_NAME in test 2019-12-15 18:55:09 +02:00
Son NK
32d6af228b set SERVER_NAME required by tests 2019-12-15 18:55:09 +02:00
Son NK
70e4f8b6e6 use os.environ[] instead of os.environ.get to fail fast 2019-12-15 18:55:09 +02:00
Son NK
8e459892f7 add config.get_abs_path to handle relative path 2019-12-15 18:55:09 +02:00
Son NK
2fc3108141 fix test 2019-12-15 18:55:09 +02:00
Son NK
0817e45abe override User.create to set password, create GenEmail, set trial period 2019-12-15 18:55:09 +02:00
Son NK
631e251d8c handle the case user clicks on cancel 2019-12-15 18:55:09 +02:00
Son NK
abda0091ce small improv 2019-12-15 18:55:09 +02:00
Son NK
54fc54c3ce improve wording 2019-12-15 18:55:09 +02:00
Son NK
91bf3e3379 do not display avatar_url to user 2019-12-15 18:55:09 +02:00
Son NK
65a540030f improve authorize page 2019-12-15 18:55:09 +02:00
Son NK
ca2605999c display avatar instead of avatar_url 2019-12-15 18:55:09 +02:00
Son NK
886108c3a0 enable facebook login 2019-12-15 18:55:09 +02:00
Son NK
f4afbfe40f add new param FACEBOOK_CLIENT_ID, FACEBOOK_CLIENT_SECRET 2019-12-15 18:55:09 +02:00
Son NK
bdc22f3c68 fix user getting redirected at each google login 2019-12-15 18:55:09 +02:00
Son NK
7ea4c157a1 workaround as Google does not allow to append param to redirect_url 2019-12-15 18:55:09 +02:00
Son NK
caf610446c handle next with google login 2019-12-15 18:55:09 +02:00
Son NK
cc6ce6618d refactor: rename 2019-12-15 18:55:09 +02:00
Son NK
aab2244881 handle "next" for "sign up with github" too 2019-12-15 18:55:09 +02:00
Son NK
f21f16e3f2 redirect user to next after login with github/google 2019-12-15 18:55:09 +02:00
Son NK
4227c3036d fix reset password expired 2019-12-15 18:55:09 +02:00
Son NK
43536734a0 add login with google 2019-12-15 18:55:09 +02:00
Son NK
10b0538192 add new param GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET 2019-12-15 18:55:09 +02:00
Son NK
17a4679b90 fix activation code 2019-12-15 18:55:09 +02:00
Son NK
4cdb803157 fix redirect_uri 2019-12-15 18:55:09 +02:00
Son NK
6d8d61495e set explicitly the redirect_uri 2019-12-15 18:55:09 +02:00
Son NK
aae76f21f6 add github login 2019-12-15 18:55:09 +02:00
Son NK
4883ace2ed only show "create custom alias" button to users who can 2019-12-15 18:55:09 +02:00
Son NK
94d92a0e87 add new param GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET 2019-12-15 18:55:09 +02:00
Son NK
309cb36864 use span instead of a for icon 2019-12-15 18:55:09 +02:00
Son NK
c7df8e9158 fix introJs 2019-12-15 18:55:08 +02:00
Son NK
388f520e9a premium user can choose custom alias 2019-12-15 18:55:08 +02:00
Son NK
414ef2bb9b remove requireJS madness! 2019-12-15 18:55:08 +02:00
Son NK
0b85000a11 import render_field, render_field_errors in base.html 2019-12-15 18:55:08 +02:00
Son NK
fc2fdea6e7 change wording 2019-12-15 18:55:08 +02:00
Son NK
4ef8290c73 login and register page: redirect user to dashboard if user is already authenticated 2019-12-15 18:55:08 +02:00
Son NK
df3292df37 user can delete email alias 2019-12-15 18:55:08 +02:00
Son NK
62cbcb249b disable notie overlayClickDismiss in base.html 2019-12-15 18:55:08 +02:00