94 Commits

Author SHA1 Message Date
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
cc8485a7db Add renderAvatar(). 2021-03-28 21:18:41 +08:00
Yang Luo
f5ceae901b Support auto-login. 2021-03-28 16:53:49 +08:00
Yang Luo
2029a28d7b Fix getAccount() response. 2021-03-28 10:51:08 +08:00
Yang Luo
6c2c5be33d Fix React warnings. 2021-03-27 11:56:16 +08:00
Yang Luo
3bcc292da2 Change antd primary-color. 2021-03-26 23:18:24 +08:00
Yang Luo
d11bb49eac Improve login failure handling. 2021-03-26 21:58:19 +08:00
Yang Luo
6880c28194 Remove onLoggedIn(). 2021-03-26 21:57:54 +08:00
Yang Luo
9af2ac49be Add RegisterPage and ResultPage. 2021-03-26 21:57:41 +08:00
Yang Luo
3d4c987d32 Rename Face to LoginPage. 2021-03-26 21:56:51 +08:00
Yang Luo
7fe9705303 Rename to SelfLoginPage. 2021-03-26 21:56:27 +08:00
Yang Luo
1c97501016 Simplify callback URL. 2021-03-21 16:05:00 +08:00
Yang Luo
55b62e9786 Make user profile public. 2021-03-21 00:44:19 +08:00
Yang Luo
7f367ae346 Fix AuthCallback's code handling. 2021-03-21 00:38:00 +08:00
Yang Luo
808e6c6283 Finish /login/oauth/authorize 2021-03-20 22:34:22 +08:00
Yang Luo
80c47dd8c6 Add frontend /login/oauth 2021-03-20 11:34:04 +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
85523fa9d4 Add token pages. 2021-03-14 00:00:29 +08:00
RobotHuang
e301121c21 feat: support i18n
Signed-off-by: RobotHuang <1183598761@qq.com>
2021-02-20 10:25:29 +08:00
Yang Luo
60ad52f7ae Add User.isGlobalAdmin 2021-02-15 22:14:19 +08:00
Yang Luo
bf4bbeeb15 Fix initAuthWithConfig() arg. 2021-02-15 17:08:48 +08:00
Yang Luo
65eee22099 Check user under org. 2021-02-14 21:45:40 +08:00
Yang Luo
b5b86262d6 Refactor the auth code. 2021-02-14 17:12:08 +08:00
Yang Luo
9b45e5fe43 Add setAuthServerUrl(). 2021-02-14 15:59:25 +08:00
Yang Luo
20b70c323d Rename to method. 2021-02-14 15:45:48 +08:00
Yang Luo
faeb93494c Improve auth folder. 2021-02-14 15:40:57 +08:00
Yang Luo
001496b90f Add auth folder. 2021-02-14 14:34:03 +08:00
Yang Luo
101d418257 Fix code format. 2021-02-14 00:55:17 +08:00
Yang Luo
c81118feff Add github oauth. 2021-02-14 00:22:24 +08:00
Yang Luo
bac289d387 Add github oauth logo. 2021-02-13 21:04:23 +08:00
Yang Luo
e57590ab70 Fix menu key conflict. 2021-02-13 17:56:15 +08:00
Yang Luo
6824d558ca Add HomePage. 2021-02-13 17:34:32 +08:00
Yang Luo
4daa4416c1 Add react-github-corner. 2021-02-13 14:22:49 +08:00
Yang Luo
7304e62f95 Add login and account pages. 2021-02-13 01:33:06 +08:00
Yang Luo
cdc1445883 Fix login. 2021-02-13 00:11:12 +08:00
Yang Luo
ee1e08ae20 Use react links. 2021-02-12 00:31:53 +08:00
Yang Luo
09ffe69382 Add door page. 2021-02-11 16:43:30 +08:00
Yang Luo
84c1f2634e Add application list and edit pages. 2020-12-20 23:24:09 +08:00
Yang Luo
b9adda2277 Add provider list and edit pages. 2020-12-20 21:25:23 +08:00
Yang Luo
f0692985f1 Add organization list and edit pages. 2020-12-20 20:31:48 +08:00
Yang Luo
b5eb673c81 Add user list and edit pages. 2020-10-20 23:14:03 +08:00
Yang Luo
88fd1fda47 Add NavBar. 2020-10-20 22:37:38 +08:00
Yang Luo
bb06e55d8d Add antd. 2020-10-20 22:21:38 +08:00
Yang Luo
dedca64568 Create React app. 2020-10-20 21:46:44 +08:00