743 Commits

Author SHA1 Message Date
Gucheng Wang
54ef2ec09f Expose GetOAuthCode() as API. 2021-11-08 23:28:41 +08:00
Song Liu
d84ddda607
fix: Wrong token endpoint value #314 (#315)
Signed-off-by: leo <leo@himysql.com>

Co-authored-by: leo <leo@himysql.com>
2021-11-08 22:38:23 +08:00
Gucheng Wang
30a2fdef37 Make webhook work. 2021-11-07 23:53:17 +08:00
Gucheng Wang
87e6fb63e1 Add isTriggered to record. 2021-11-07 17:56:45 +08:00
Gucheng Wang
e9e0721b34 Add missing fields for record. 2021-11-07 17:36:52 +08:00
Gucheng Wang
5ec678fa28 Improve record's User field. 2021-11-07 17:20:15 +08:00
Gucheng Wang
77fffcacac Refactor the record code. 2021-11-07 16:51:16 +08:00
Gucheng Wang
0e71e603ac Add webhook pages. 2021-11-07 16:24:13 +08:00
Gucheng Wang
cbf973882d Show CustomGithubCorner in other pages. 2021-11-06 22:04:20 +08:00
Gucheng Wang
467d709b8e Add MasterPassword to organization. 2021-11-06 21:14:53 +08:00
Gucheng Wang
4d71725bf5 Add i18n util code and update translation files. 2021-11-06 20:18:25 +08:00
Gucheng Wang
9e920181d2 Add user soft deletion. 2021-11-06 15:52:03 +08:00
Gucheng Wang
db892333fe Set default value of page and pageSize for get batch APIs. 2021-11-06 15:17:18 +08:00
Gucheng Wang
acaee2e892 Fix "Phone prefix" text typo. 2021-11-06 15:01:51 +08:00
Gucheng Wang
5fd681e971 Fix CheckPassword(). 2021-11-06 14:31:41 +08:00
Yixiang Zhao
b1db47bad1
feat: add server-side pagination (#312)
Signed-off-by: “seriouszyx” <seriouszyx@foxmail.com>
2021-11-06 11:32:22 +08:00
Gucheng Wang
7520b71198 Add Md5UserSaltCredManager. 2021-11-04 21:32:54 +08:00
Gucheng Wang
7792f4589d Add CredManager. 2021-11-04 21:30:48 +08:00
Yixiang Zhao
609e9785e4
fix: some bugs about SMS API (#310)
Signed-off-by: “seriouszyx” <674965440@qq.com>
2021-10-31 08:49:39 +08:00
Товарищ программист
b7f2f9056f docs: revise 'quick start' part of readme (#311)
Signed-off-by: Товарищ <2962928213@qq.com>
2021-10-30 14:19:24 +08:00
Gucheng Wang
ebc5fe454c Fix docker's mysql password. 2021-10-30 14:19:24 +08:00
Gucheng Wang
2e1b51910f Support custom HTML for signup and signin pages. 2021-10-30 14:18:58 +08:00
Gucheng Wang
5526286ad8 Use RS256 to sign JWT token. 2021-10-30 14:18:48 +08:00
Gucheng Wang
795240687d Improve token var name. 2021-10-30 14:18:38 +08:00
Yang Luo
6c30ccfb14 Update github.com/golang-jwt/jwt to v4. 2021-10-10 11:51:19 +08:00
Yang Luo
802df55009 Switch to github.com/golang-jwt/jwt 2021-10-10 11:06:54 +08:00
Yang Luo
353bf46daf Improve non-oauth logos. 2021-10-10 00:04:25 +08:00
Yang Luo
122970bb54 Improve provider logos. 2021-10-09 22:33:39 +08:00
Yang Luo
fa3681ed75 Add authInfo to js. 2021-10-09 22:15:43 +08:00
Yang Luo
08e59796c8 Improve css code format. 2021-10-09 21:17:30 +08:00
Yang Luo
568372d077 Support quick sign-in. 2021-10-09 21:17:03 +08:00
Yang Luo
4f2668cd90 Remove password in JWT token payload. 2021-10-03 22:08:40 +08:00
Yang Luo
8cb1291f6f Accept audio and pdf as resource. 2021-10-03 22:08:18 +08:00
Yang Luo
15786070bb Mask application for /api/get-app-login 2021-09-28 23:41:27 +08:00
Yang Luo
ba0d089589 Fix wrong links in oidcDiscovery data. 2021-09-26 00:08:35 +08:00
Yang Luo
9a71bb02e3 Add data to oidcDiscovery. 2021-09-25 15:17:35 +08:00
Yang Luo
a1b5282da9 Add /.well-known/openid-configuration route. 2021-09-25 14:54:13 +08:00
Yang Luo
80d2738863 Increase Resource.Url length to 1000. 2021-09-22 22:21:16 +08:00
Yang Luo
964b60da29 Support silent login from HTTP basic authentication. 2021-09-21 22:57:37 +08:00
Yang Luo
ea8017dd4b Change default db password to 6 digits. 2021-09-21 20:07:34 +08:00
Yang Luo
391bc3ebc9 Leave ForceLanguage empty. 2021-09-21 18:19:09 +08:00
Yang Luo
2326d55f73 Don't crash when proxy is unavailable. 2021-09-21 18:14:00 +08:00
Nexmoe
890030b3ef
Display resources and swagger menu for normal users (#300) 2021-09-21 17:35:59 +08:00
anxing
725ee3393e
fix: swagger path dump (#299) 2021-09-21 16:21:33 +08:00
Jing Liu
e61e46f1e5 fix: signup logic when email and phone not enabled (#298)
Signed-off-by: chinggg <24590067+chinggg@users.noreply.github.com>
2021-09-21 14:11:05 +08:00
Yang Luo
63c720985b Fix email must input bug in signup page. 2021-09-21 14:04:33 +08:00
Jing Liu
7582ba0b6f
fix: log file permission (#297)
Signed-off-by: chinggg <24590067+chinggg@users.noreply.github.com>
2021-09-21 11:08:08 +08:00
Yang Luo
a04f669580 Fix alpine bug in Dockerfile. 2021-09-21 01:06:57 +08:00
Yang Luo
8cb96142db Use yarn in Dockerfile. 2021-09-21 00:00:33 +08:00
Yang Luo
d62a5fd7de Don't auto-redirect when enablePassword is false in login page. 2021-09-20 22:55:17 +08:00