Yang Luo
|
586da5caac
|
Add isValidPersonalName().
|
2021-06-17 11:55:06 +08:00 |
|
Yang Luo
|
9dd43238f0
|
Add DefaultAvatar to org.
|
2021-06-17 01:44:19 +08:00 |
|
Yang Luo
|
b11b3b6021
|
Use signup table in Signup API.
|
2021-06-17 00:49:02 +08:00 |
|
Yang Luo
|
7ea469e876
|
Add provider_item.go
|
2021-06-16 00:18:56 +08:00 |
|
Yang Luo
|
f672045b45
|
Allow to sign up with OAuth.
|
2021-06-09 21:28:33 +08:00 |
|
Kininaru
|
f39378562f
|
feat: turing test before send code
Signed-off-by: Kininaru <shiftregister233@outlook.com>
i18n
i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com>
|
2021-05-22 21:03:49 +08:00 |
|
Kininaru
|
66d953a6c1
|
feat: check user email and phone when signing up
Signed-off-by: Kininaru <shiftregister233@outlook.com>
phone prefix error
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix i18n error
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed useless file
Signed-off-by: Kininaru <shiftregister233@outlook.com>
move timeout to app.conf
Signed-off-by: Kininaru <shiftregister233@outlook.com>
i18n
Signed-off-by: Kininaru <shiftregister233@outlook.com>
made verification code reusable
Signed-off-by: Kininaru <shiftregister233@outlook.com>
|
2021-05-18 22:20:26 +08:00 |
|
Yang Luo
|
947d132362
|
Refactor out c.RequireSignedIn()
|
2021-05-17 23:25:28 +08:00 |
|
Yang Luo
|
6508d96162
|
Remove GetOrganizationByName().
|
2021-05-16 22:58:30 +08:00 |
|
Yang Luo
|
2ea5e7ec78
|
Remove user's PhonePrefix.
|
2021-05-15 13:54:23 +08:00 |
|
Kininaru
|
892cb39e3e
|
feat: move User.PhonePrefix to Organization.PhonePrefix
Signed-off-by: Kininaru <shiftregister233@outlook.com>
|
2021-05-13 09:39:07 +08:00 |
|
Yang Luo
|
efab90ef3f
|
Fix avatar URL.
|
2021-05-09 12:07:09 +08:00 |
|
Yang Luo
|
5a3abdbc95
|
Rename to authState, useProxy, delete EnableDocs.
|
2021-05-09 12:02:20 +08:00 |
|
Kininaru
|
5d1133dac9
|
fix: add owner to avatar url
Signed-off-by: Kininaru <shiftregister233@outlook.com>
|
2021-05-09 11:42:22 +08:00 |
|
Yang Luo
|
de67ee9014
|
Can sync update from 2nd DB.
|
2021-05-08 22:04:45 +08:00 |
|
Yang Luo
|
e3b3a76088
|
Add willLog() and control access to signup page.
|
2021-05-08 16:52:02 +08:00 |
|
Yang Luo
|
f442f11568
|
Move passwordType to org.
|
2021-05-05 23:32:21 +08:00 |
|
Yang Luo
|
82f4f542ed
|
Add User's IsForbidden.
|
2021-05-02 12:18:28 +08:00 |
|
Yang Luo
|
7b32207443
|
Check more in CheckUserSignup().
|
2021-05-01 18:39:40 +08:00 |
|
Yang Luo
|
904faae6eb
|
Improve CheckUserSignup().
|
2021-05-01 17:45:01 +08:00 |
|
Yang Luo
|
5779d57960
|
Set org's document title and favicon.
|
2021-04-29 19:51:03 +08:00 |
|
Yang Luo
|
35e482f24e
|
Fix the signup.
|
2021-04-28 21:56:14 +08:00 |
|
Yang Luo
|
ea9bdbf45e
|
Improve UploadAvatar API.
|
2021-04-28 19:02:01 +08:00 |
|
Yang Luo
|
7a0ed4ebaf
|
Replace "register" with "sign up".
|
2021-04-27 22:47:44 +08:00 |
|
Yang Luo
|
2934d6bdeb
|
Rename userObj to user.
|
2021-04-18 20:47:40 +08:00 |
|
Kininaru
|
3a13b8e73c
|
feat: add go backend API docs
Signed-off-by: Kininaru <shiftregister233@outlook.com>
|
2021-03-29 23:40:25 +08:00 |
|
Yang Luo
|
2029a28d7b
|
Fix getAccount() response.
|
2021-03-28 10:51:08 +08:00 |
|
Yang Luo
|
0127f8fb63
|
Improve response message.
|
2021-03-28 10:36:47 +08:00 |
|
Yang Luo
|
9980ef1975
|
Add /api/get-app-login
|
2021-03-20 10:51:00 +08:00 |
|
Yang Luo
|
c8cd37058e
|
Add codeToResponse().
|
2021-03-20 09:12:24 +08:00 |
|
Yang Luo
|
18c021b009
|
Merge two login functions.
|
2021-03-20 00:30:37 +08:00 |
|
hsluoyz
|
d0e243fca3
|
Merge pull request #23 from Kininaru/master
feat: added avatar tailoring and uploading
|
2021-03-17 13:25:53 +08:00 |
|
Kininaru
|
1908f528c8
|
feat: added avatar tailoring and uploading
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed type errors
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed the wrong folder
Signed-off-by: Kininaru <shiftregister233@outlook.com>
rewrite login check logic, added unix time to avatar url
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed a bug about strconv
Signed-off-by: Kininaru <shiftregister233@outlook.com>
supported oss
Signed-off-by: Kininaru <shiftregister233@outlook.com>
disabled oss provide qiniu
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Fixed avatar url error
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Fixed avatar length bug
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Fixed avatar length bug
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fixed oss.conf
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Put uploading avatar into UserEditPage
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed avatar dir
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed avatar in main.go
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Made CropperDiv a reusable component, and updated README for OSS config
Signed-off-by: Kininaru <shiftregister233@outlook.com>
Convert ts to js
Signed-off-by: Kininaru <shiftregister233@outlook.com>
removed ts
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix: set avatar link to string 255
Signed-off-by: Kininaru <shiftregister233@outlook.com>
fix: updated yarn lock
Signed-off-by: Kininaru <shiftregister233@outlook.com>
add: Casbin license
Signed-off-by: Kininaru <shiftregister233@outlook.com>
|
2021-03-17 13:19:23 +08:00 |
|
Yang Luo
|
0ce7420907
|
Add HandleLoggedIn().
|
2021-03-15 19:11:41 +08:00 |
|
Yang Luo
|
4a170d1d56
|
Change /api/auth/login to POST.
|
2021-03-15 00:49:16 +08:00 |
|
Yang Luo
|
cdc1445883
|
Fix login.
|
2021-02-13 00:11:12 +08:00 |
|
Yang Luo
|
3ea58a0cdc
|
Add account APIs.
|
2021-02-11 22:56:08 +08:00 |
|