170 Commits

Author SHA1 Message Date
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
0b3742b0b1 Add GetSortedUsers() and GetUserCount() APIs. 2021-11-19 10:51:06 +08:00
Gucheng Wang
63f33d0ad9 Improve email and phone checking in Signup(). 2021-11-09 20:29:38 +08:00
Gucheng Wang
54ef2ec09f Expose GetOAuthCode() as API. 2021-11-08 23:28:41 +08:00
Gucheng Wang
30a2fdef37 Make webhook work. 2021-11-07 23:53:17 +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
467d709b8e Add MasterPassword to organization. 2021-11-06 21:14:53 +08:00
Gucheng Wang
9e920181d2 Add user soft deletion. 2021-11-06 15:52:03 +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
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
Yang Luo
568372d077 Support quick sign-in. 2021-10-09 21:17:03 +08:00
Yang Luo
a1b5282da9 Add /.well-known/openid-configuration route. 2021-09-25 14:54:13 +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
e4846807cd Show resource list page to users. 2021-09-06 00:49:10 +08:00
Yang Luo
a1b16f88d1 Add user to Resource. 2021-09-05 23:46:56 +08:00
Yang Luo
ef1195960e Improve SendSms() API. 2021-09-05 13:15:38 +08:00
Yang Luo
089f4ff480 Handle error in go-sms-sender. 2021-09-05 10:56:11 +08:00
Yang Luo
88aa444ad1 Improve SendEmail() and SendSms() APIs. 2021-09-05 10:30:51 +08:00
Yang Luo
1c5ce46bd5 Refactor GetProviderFromContext(). 2021-09-05 09:44:15 +08:00
Yang Luo
14d09cad2c Support server-side upload-resource call. 2021-09-05 01:03:29 +08:00
Yang Luo
06006c87b8 Improve filter code. 2021-09-05 00:22:08 +08:00
sh1luo
a4edf47dc4
fix: improvde code logic (#285)
Signed-off-by: sh1luo <690898835@qq.com>
2021-09-04 22:20:47 +08:00
Yang Luo
015961bc3c Add application to Resource. 2021-09-04 16:50:26 +08:00
Yang Luo
5d98cc6ac5 Use objectKey as resource name. 2021-09-04 15:02:11 +08:00
Yang Luo
b3eec024b8 Add getInitScore(). 2021-08-30 01:06:05 +08:00
Yang Luo
eefcfd8440 Fix address null bug. 2021-08-27 23:43:43 +08:00
Yang Luo
4ca307564c Add proxy pkg. 2021-08-21 22:16:25 +08:00
Yang Luo
398ba19fa5 Add CheckUserPassword() API. 2021-08-15 21:57:36 +08:00
Yang Luo
8674b4853a Add provider to file API. 2021-08-15 01:14:21 +08:00
Yang Luo
518c3f9f69 Add DeleteFile(). 2021-08-15 00:41:51 +08:00
Yang Luo
495b64995f Add resource list page. 2021-08-15 00:25:46 +08:00
Yang Luo
004282f970 Improve UploadFile() API. 2021-08-14 15:58:47 +08:00
Yang Luo
8d9451124c Improve UploadFile() error handling. 2021-08-14 14:24:00 +08:00
WindSpiritSR
8c6f0a31b6 feat: support storage provider to terms of use file (#221)
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2021-08-14 14:23:15 +08:00
sh1luo
718fc4df74 fix: improve goland experience (#238)
Signed-off-by: sh1luo <690898835@qq.com>
2021-08-14 14:22:18 +08:00
Yang Luo
5c2f96bda0 Add UploadFile() API. 2021-08-14 14:22:01 +08:00
Yang Luo
40fbca7db4 Remove UploadAvatarToStorage(). 2021-08-14 14:20:24 +08:00
Yang Luo
1b74a58d06 Fix compile errors. 2021-08-14 14:20:13 +08:00
Yang Luo
9feefc31f9 Use c.ResponseOk() for all places. 2021-08-14 14:19:50 +08:00
Yang Luo
a5783598ff Rename to UploadFile(). 2021-08-14 14:19:48 +08:00
sh1luo
c55fa4f452 feat: add local file system storage provider (#224)
Signed-off-by: sh1luo <690898835@qq.com>
2021-08-14 14:19:45 +08:00
Yang Luo
44150a6781 Refactor the storage provider interface. 2021-08-14 14:19:37 +08:00
Yang Luo
d16569d461 Use c.ResponseError() for all places. 2021-08-14 14:19:33 +08:00
Yang Luo
6aeadfa3bd Improve provider check. 2021-08-14 14:19:23 +08:00
sh1luo
8c66ef6860 fix: improve code specification (#231) 2021-08-14 14:18:08 +08:00
Yang Luo
af3def97bf Fix avatar upload. 2021-08-14 14:08:29 +08:00