Commit Graph

1844 Commits

Author SHA1 Message Date
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
432ca33d9e fix the fucking https://flask.palletsprojects.com/en/1.1.x/cli/#disable-dotenv issue 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
ac8fa33a83 use John Wick email 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
d9f2d65cc2 fix .env.example to be used in unit tests 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
682ac75585 add test_login 2019-12-15 18:55:09 +02:00
Son NK
067b8eef71 use .env.example in test, disable CSRF in tests 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
c4775bd66c make sure .env.example can be used in tests/ 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
2e5298ec84 small wording change 2019-12-15 18:55:09 +02:00
Son NK
886108c3a0 enable facebook login 2019-12-15 18:55:09 +02:00
Son NK
8a6934e61e activate ssl if URL begins with https 2019-12-15 18:55:09 +02:00
Son NK
a425e97924 add pyopenssl 2019-12-15 18:55:09 +02:00
Son NK
75f88e7430 add self-signed ssl certificate generated by "openssl req -x509 -newkey rsa:4096 -nodes -out cert.pem -keyout key.pem -days 365" 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
80d9a6a400 set OAUTHLIB_INSECURE_TRANSPORT=1 2019-12-15 18:55:09 +02:00