Yang Luo
|
8d9451124c
|
Improve UploadFile() error handling.
|
2021-08-14 14:24:00 +08:00 |
|
WindSpiritSR
|
8c6f0a31b6
|
feat: support storage provider to terms of use file (#221)
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
|
2021-08-14 14:23:15 +08:00 |
|
Yang Luo
|
5c2f96bda0
|
Add UploadFile() API.
|
2021-08-14 14:22:01 +08:00 |
|
Yang Luo
|
1b74a58d06
|
Fix compile errors.
|
2021-08-14 14:20:13 +08:00 |
|
Yang Luo
|
9feefc31f9
|
Use c.ResponseOk() for all places.
|
2021-08-14 14:19:50 +08:00 |
|
Yang Luo
|
a5783598ff
|
Rename to UploadFile().
|
2021-08-14 14:19:48 +08:00 |
|
sh1luo
|
c55fa4f452
|
feat: add local file system storage provider (#224)
Signed-off-by: sh1luo <690898835@qq.com>
|
2021-08-14 14:19:45 +08:00 |
|
Yang Luo
|
44150a6781
|
Refactor the storage provider interface.
|
2021-08-14 14:19:37 +08:00 |
|
Yang Luo
|
d16569d461
|
Use c.ResponseError() for all places.
|
2021-08-14 14:19:33 +08:00 |
|
sh1luo
|
8c66ef6860
|
fix: improve code specification (#231)
|
2021-08-14 14:18:08 +08:00 |
|
Yang Luo
|
af3def97bf
|
Fix avatar upload.
|
2021-08-14 14:08:29 +08:00 |
|
sh1luo
|
bc5e748e5c
|
feat: add country/region select (#207)
Signed-off-by: sh1luo <690898835@qq.com>
|
2021-07-31 16:02:48 +08:00 |
|
Kininaru
|
3d493b8d8f
|
feat: integrate Storage config into providers (#198)
Signed-off-by: Kininaru <shiftregister233@outlook.com>
|
2021-07-26 11:39:49 +08:00 |
|
sh1luo
|
c632c3c307
|
fix: replace casdoor with casbin (#194)
Signed-off-by: sh1luo <690898835@qq.com>
|
2021-07-25 09:34:25 +08:00 |
|
Kininaru
|
4a930121c4
|
feat: session without autosignin will expire
Signed-off-by: Kininaru <shiftregister233@outlook.com>
|
2021-07-19 10:14:14 +08:00 |
|
Kininaru
|
d83b86df37
|
refactor: SessionUser -> SessionUsername
Signed-off-by: Kininaru <shiftregister233@outlook.com>
|
2021-07-19 10:14:14 +08:00 |
|
Yang Luo
|
9c233e42c0
|
Add SignupApplication to user.
|
2021-06-21 10:22:47 +08:00 |
|
Yang Luo
|
a43db3e55a
|
Fix prompt redirect logic and db sync bug.
|
2021-06-20 13:56:32 +08:00 |
|
Yang Luo
|
d3a8ab8347
|
Finish the prompt page logic.
|
2021-06-20 11:52:04 +08:00 |
|
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 |
|