Commit Graph

23 Commits

Author SHA1 Message Date
411d76798d fix: fix upload file security issue (#1063)
* fix: fix upload file security issue

* fix: fix
2022-08-25 11:34:09 +08:00
2ea58cd639 chore(style): use gofumpt to fmt go code (#967) 2022-08-07 12:26:14 +08:00
3e4dbc2dcb fix: URL bug in getUploadFileUrl function 2022-07-20 17:49:11 +08:00
8c7f235ee1 Fix bug in uploadFile()'s URL. 2022-07-17 14:29:06 +08:00
de49a45e19 Add escapePath for getUploadFileUrl(). 2022-07-12 23:24:24 +08:00
376bac15dc fix: improve swagger Api docunment (#812) 2022-06-21 23:11:29 +08:00
5f8924ed4e feat: support overriding configuration with env (#590) 2022-03-20 23:21:09 +08:00
db37f53d6c Update license headers. 2022-02-13 23:39:27 +08:00
9024010081 Update demo site URL. 2022-02-13 20:47:34 +08:00
c22ab44894 Update import path. 2022-01-20 14:11:46 +08:00
cb625b3fa2 Fix TestGetUsers(). 2021-12-18 12:48:53 +08:00
dc9d2389a5 Add IntranetEndpoint to provider. 2021-12-04 16:38:34 +08:00
95600414d9 Add UploadFileSafe(). 2021-11-20 17:26:58 +08:00
e50c6cd4b5 Add PermanentAvatar to user. 2021-08-21 23:17:33 +08:00
518c3f9f69 Add DeleteFile(). 2021-08-15 00:41:51 +08:00
495b64995f Add resource list page. 2021-08-15 00:25:46 +08:00
004282f970 Improve UploadFile() API. 2021-08-14 15:58:47 +08:00
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
a5783598ff Rename to UploadFile(). 2021-08-14 14:19:48 +08:00
c55fa4f452 feat: add local file system storage provider (#224)
Signed-off-by: sh1luo <690898835@qq.com>
2021-08-14 14:19:45 +08:00
44150a6781 Refactor the storage provider interface. 2021-08-14 14:19:37 +08:00
af3def97bf Fix avatar upload. 2021-08-14 14:08:29 +08:00
3d493b8d8f feat: integrate Storage config into providers (#198)
Signed-off-by: Kininaru <shiftregister233@outlook.com>
2021-07-26 11:39:49 +08:00