Commit Graph

223 Commits

Author SHA1 Message Date
e4846807cd Show resource list page to users. 2021-09-06 00:49:10 +08:00
495b64995f Add resource list page. 2021-08-15 00:25:46 +08:00
a271ef0719 Set ShowGithubCorner to false. 2021-08-14 14:15:55 +08:00
ca9fcf7edc fix: add 404 page (#228)
Signed-off-by: sh1luo <690898835@qq.com>
2021-08-14 14:08:20 +08:00
4001e63f16 Disable CustomGithubCorner by default. 2021-08-02 19:21:38 +08:00
c9ae582802 Improve menu keys. 2021-07-27 18:43:55 +08:00
21b4e0e51d fix: clear all console warnings (#192)
Signed-off-by: sh1luo <690898835@qq.com>
2021-07-25 11:10:45 +08:00
8d7fdb93ac feat: fix header overflow and account disappear bug, improve UI, optimize touchscreen experience (#187)
Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
2021-07-23 09:46:01 +08:00
66f36d780a fix: header selected (#186)
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-07-20 21:29:06 +08:00
ded859aebc Improve footer. 2021-07-19 10:14:25 +08:00
705d2ede6b feat: support LDAP (#160)
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-07-19 10:13:23 +08:00
e986d3ab8e feat: add language select box and background color change when hover
Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
2021-07-19 10:12:44 +08:00
21b36bbb47 feat: add UI to view logs
Signed-off-by: killer <1533063601@qq.com>
2021-07-19 10:11:01 +08:00
b189993547 Login page can also enter prompt page. 2021-06-20 22:17:03 +08:00
a43db3e55a Fix prompt redirect logic and db sync bug. 2021-06-20 13:56:32 +08:00
50a9ca2b4c feat: reuse component Users
Signed-off-by: wasabi <690898835@qq.com>
2021-06-19 11:38:24 +08:00
92610f9971 Add prompt page. 2021-06-18 02:09:19 +08:00
cc31c1d666 Add login page "signup" mode. 2021-06-14 22:42:58 +08:00
ec91ded5aa Remove header for some pages. 2021-06-09 20:38:46 +08:00
1cb5ae54c5 feat: add "forget password" [front & backend] (#75)
* feat: add "forget password" [front & backend]

Signed-off-by: Weihao <1340908470@qq.com>

* fix: verification code can be sent even if no mobile phone or email is selected
refactor: forgetPassword -> forget; GetEmailAndPhoneByUsername -> GetEmailAndPhone; remove useless note

Signed-off-by: Weihao <1340908470@qq.com>
2021-06-02 13:39:01 +08:00
18806f07a8 Support cred auto-login. 2021-05-16 18:18:55 +08:00
df7ac93feb Show error "Invalid JWT token". 2021-05-15 23:34:06 +08:00
e3b3a76088 Add willLog() and control access to signup page. 2021-05-08 16:52:02 +08:00
3065bacad2 Add org's favicon. 2021-04-29 21:27:38 +08:00
5779d57960 Set org's document title and favicon. 2021-04-29 19:51:03 +08:00
c26c9ba0e8 Fix page links. 2021-04-28 22:40:21 +08:00
ee8f2a6046 Improve signup page. 2021-04-28 15:54:50 +08:00
7a0ed4ebaf Replace "register" with "sign up". 2021-04-27 22:47:44 +08:00
43113a0ee4 Fix "/api/unlink" bug. 2021-04-27 20:42:19 +08:00
3a13b8e73c feat: add go backend API docs
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-03-29 23:40:25 +08:00
cc8485a7db Add renderAvatar(). 2021-03-28 21:18:41 +08:00
f5ceae901b Support auto-login. 2021-03-28 16:53:49 +08:00
2029a28d7b Fix getAccount() response. 2021-03-28 10:51:08 +08:00
6c2c5be33d Fix React warnings. 2021-03-27 11:56:16 +08:00
3bcc292da2 Change antd primary-color. 2021-03-26 23:18:24 +08:00
d11bb49eac Improve login failure handling. 2021-03-26 21:58:19 +08:00
6880c28194 Remove onLoggedIn(). 2021-03-26 21:57:54 +08:00
9af2ac49be Add RegisterPage and ResultPage. 2021-03-26 21:57:41 +08:00
3d4c987d32 Rename Face to LoginPage. 2021-03-26 21:56:51 +08:00
7fe9705303 Rename to SelfLoginPage. 2021-03-26 21:56:27 +08:00
1c97501016 Simplify callback URL. 2021-03-21 16:05:00 +08:00
55b62e9786 Make user profile public. 2021-03-21 00:44:19 +08:00
7f367ae346 Fix AuthCallback's code handling. 2021-03-21 00:38:00 +08:00
808e6c6283 Finish /login/oauth/authorize 2021-03-20 22:34:22 +08:00
80c47dd8c6 Add frontend /login/oauth 2021-03-20 11:34:04 +08:00
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
85523fa9d4 Add token pages. 2021-03-14 00:00:29 +08:00
e301121c21 feat: support i18n
Signed-off-by: RobotHuang <1183598761@qq.com>
2021-02-20 10:25:29 +08:00
60ad52f7ae Add User.isGlobalAdmin 2021-02-15 22:14:19 +08:00
bf4bbeeb15 Fix initAuthWithConfig() arg. 2021-02-15 17:08:48 +08:00