225 Commits

Author SHA1 Message Date
Yang Luo
9346587ca6 Filter github providers. 2021-05-14 15:55:50 +08:00
Yang Luo
813204194f Add SignupUrl and ForgetUrl to Application. 2021-05-03 00:48:02 +08:00
Yang Luo
785f306c4b Use helmet on login, signup pages. 2021-04-29 21:28:24 +08:00
Yang Luo
c26c9ba0e8 Fix page links. 2021-04-28 22:40:21 +08:00
Yang Luo
ee8f2a6046 Improve signup page. 2021-04-28 15:54:50 +08:00
Yang Luo
36895801f0 Add Link API. 2021-04-19 01:14:41 +08:00
Yang Luo
6774b0379c Add Unlink API. 2021-04-18 23:14:46 +08:00
Yang Luo
f5ceae901b Support auto-login. 2021-03-28 16:53:49 +08:00
Yang Luo
6c2c5be33d Fix React warnings. 2021-03-27 11:56:16 +08:00
Yang Luo
d11bb49eac Improve login failure handling. 2021-03-26 21:58:19 +08:00
Yang Luo
55b62e9786 Make user profile public. 2021-03-21 00:44:19 +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
df948e9e34 Fix JWT token bugs. 2021-03-14 23:08:08 +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
9b45e5fe43 Add setAuthServerUrl(). 2021-02-14 15:59:25 +08:00
Yang Luo
001496b90f Add auth folder. 2021-02-14 14:34:03 +08:00
Yang Luo
ea09beffe2 Show oauth logos. 2021-02-13 23:00:43 +08:00
Yang Luo
bac289d387 Add github oauth logo. 2021-02-13 21:04:23 +08:00
Yang Luo
6824d558ca Add HomePage. 2021-02-13 17:34:32 +08:00
Yang Luo
09b39d69f6 Change CRLF to LF. 2021-02-13 12:15:19 +08:00
Yang Luo
1483d08df7 Set server port to 8000. 2021-01-18 20:26:06 +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