569 Commits

Author SHA1 Message Date
Gucheng Wang
7923bffa6d Improve forget page CSS. 2021-11-28 14:23:00 +08:00
Gucheng Wang
bfd5d0172a Remove regionId for SMS providers. 2021-11-28 13:42:30 +08:00
Gucheng Wang
4e92a8273c Improve forget page logic. 2021-11-28 11:10:07 +08:00
Gucheng Wang
c46925dbe8 Don't panic for sendWebhook() error. 2021-11-27 21:12:13 +08:00
Gucheng Wang
7f39aee9c4 Make application's fields longer. 2021-11-25 16:44:49 +08:00
Gucheng Wang
b86087b2af Detect as Go. 2021-11-25 09:54:06 +08:00
Товарищ программист
bddd57cda8
feat: implement jwks_uri handler in oidc discovery (#334)
Signed-off-by: Товарищ <2962928213@qq.com>
2021-11-22 17:47:44 +08:00
Gucheng Wang
44b59d866a Add more args to UploadResource(). 2021-11-21 16:21:35 +08:00
Gucheng Wang
95600414d9 Add UploadFileSafe(). 2021-11-20 17:26:58 +08:00
Gucheng Wang
9eb09b7db0 Add GetUserNoCheck(). 2021-11-20 15:46:54 +08:00
Gucheng Wang
91c0282040 Support username arg in UploadResource(). 2021-11-20 15:35:33 +08:00
Gucheng Wang
2b6f397bb9 Add some new fields to User. 2021-11-19 21:37:13 +08:00
Gucheng Wang
db7f4a4af9 Show "canSignUp" column when password is ON. 2021-11-19 21:27:22 +08:00
Товарищ программист
825de2bdaa
fix: fix incorrect issuer in id token of oidc (#333)
Signed-off-by: Товарищ <2962928213@qq.com>
2021-11-19 16:32:05 +08:00
Gucheng Wang
0b3742b0b1 Add GetSortedUsers() and GetUserCount() APIs. 2021-11-19 10:51:06 +08:00
turbodog03
1394dce306
fix: preinstall scripts bug (#331)
* feat: ban npm to solve potential bugs

Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>

* feat: fix preinstall scripts bug

Signed-off-by: turbodog03 <63595854+turbodog03@users.noreply.github.com>
2021-11-17 21:13:20 +08:00
Lex Lim
64fc810359
fix: panic while insert record when request uri too long (#325)
Signed-off-by: Lex Lim <hyperzlink@outlook.com>
2021-11-12 00:01:37 +08:00
Lex Lim
abba56a6f3
fix: display "Continue with (User)" button of another organization (#327)
Signed-off-by: Lex Lim <hyperzlink@outlook.com>
2021-11-11 20:43:26 +08:00
Yixiang Zhao
cc933cf5f3
fix: save country code (#324)
Signed-off-by: “seriouszyx” <seriouszyx@foxmail.com>
2021-11-11 14:38:35 +08:00
Gucheng Wang
37829062ad Run sync user job if configured. 2021-11-11 00:50:08 +08:00
Yixiang Zhao
f5fdf0af6a
feat: translate the region select box (#321)
Signed-off-by: “seriouszyx” <seriouszyx@foxmail.com>
2021-11-10 22:27:58 +08:00
Gucheng Wang
21f433d278 Add logPostOnly. 2021-11-09 23:32:53 +08:00
Gucheng Wang
102e22f2c7 Add method to record. 2021-11-09 23:24:13 +08:00
Gucheng Wang
8d6756fe9a Improve some translations. 2021-11-09 20:49:08 +08:00
Gucheng Wang
63f33d0ad9 Improve email and phone checking in Signup(). 2021-11-09 20:29:38 +08:00
Yixiang Zhao
1c2e9064fe
docs: Upgrade to swagger UI 4.1.0 (#319)
* docs: update swagger docs

Signed-off-by: “seriouszyx” <seriouszyx@foxmail.com>

* docs: upgrade to Swagger UI 4.1.0

Signed-off-by: “seriouszyx” <seriouszyx@foxmail.com>
2021-11-09 19:00:02 +08:00
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