yuyuanshifu
f2227d78d2
optimization
4 years ago
yuyuanshifu
05d4a605cf
optimization
4 years ago
yuyuanshifu
322ecf19da
cloudbrain user login
4 years ago
yuyuanshifu
6f08cff4ca
fix bug
4 years ago
yuyuanshifu
242cb99321
新增对外接口文档
4 years ago
yuyuanshifu
c80c882d08
add interface: query public datasets
4 years ago
yuyuanshifu
a44de2bf22
fix bug:404 when downloading other user's public attachment
4 years ago
yuyuanshifu
5f578c004d
no more record chunk upload result in mysql
4 years ago
yuyuanshifu
43de733d6c
同一用户在不同数据集下上传同一个文件时做提示
4 years ago
palytoxin
6c124e746b
fmt code, improve some issue
4 years ago
palytoxin
4dabc04128
Merge branch 'develop' into dev-cloudmain
4 years ago
palytoxin
6029abbee9
Merge branch 'develop' into dev-chunk
4 years ago
palytoxin
f40dcaa5de
fmt-check
4 years ago
yuyuanshifu
f8278dbbe1
add tmpl
4 years ago
yuyuanshifu
ed40388b12
add dir
4 years ago
yuyuanshifu
6689d67321
del attachment
4 years ago
yuyuanshifu
4849a7719c
chunk upload
4 years ago
yuyuanshifu
5603a56499
chunk upload
4 years ago
yuyuanshifu
dbbec302c7
chunk url
5 years ago
yuyuanshifu
9e431d1ba0
new multipart upload
5 years ago
yuyuanshifu
73a38514bb
fix merge
5 years ago
yuyuanshifu
d5b10e0857
add param check
5 years ago
yuyuanshifu
12953de55a
decompress
5 years ago
yuyuanshifu
076af2ff71
add some interface
5 years ago
yuyuanshifu
442d019f08
chunk init
5 years ago
colorfulberry
1b296d76c8
feat; fixing the default public bug
5 years ago
colorfulberry
69069155f4
feat; regular the codes
5 years ago
e
1b848f79e1
add dataset_id
5 years ago
e
cc00a9d336
merge
5 years ago
e
7dae4d3a06
AddAttachment
5 years ago
e
eca90ee75c
fix bug
5 years ago
e
6701b4d0c8
get pre url
5 years ago
colorfulberry
c4f6519f43
feat: dafault to is_private
5 years ago
colorfulberry
64d784da07
feat: update the isPrivate
5 years ago
colorfulberry
f071c46788
feat: change the set for the url, add upload and add delete
5 years ago
e
391321a8b0
dataset:increase download_times
5 years ago
e
47361736b1
add dataset download_times
5 years ago
e
6717181d15
opt
5 years ago
e
9b8456edc1
GetUserDataSetPermission
5 years ago
e
076fdb0b8d
GetAttachment:301 redirect to minio
5 years ago
colorfulberry
387903746f
Merge branch 'develop' of git.pcl.ac.cn:yoyoyard/opendata into develop
5 years ago
colorfulberry
471a7420d5
feat: add the pages
5 years ago
e
8ca4eda4d3
download:content to url
5 years ago
Lunny Xiao
dfba56245b
Add setting for minio and flags for migrate-storage
5 years ago
Lunny Xiao
3508716367
Add a storage layer for attachments
5 years ago
silverwind
9d3e69e867
Move dropzone.js to npm/webpack ( #10645 )
- unvendor dropzone and upgrade it from 4.2.0 to 5.7.0
- make `csrf` available on window.config
5 years ago
6543
e57ac841de
Fix potential bugs ( #10513 )
* use e if it is an option
* potential nil so check err first
* check err first
* m == nil already checked
5 years ago
Antoine GIRARD
8b24073713
Only serve attachments when linked to issue/release and if accessible by user ( #9340 )
* test: add current attachement responses
* refactor: check if attachement is linked and accessible by user
* chore: clean TODO
* fix: typo attachement -> attachment
* revert un-needed go.sum change
* refactor: move models logic to models
* fix TestCreateIssueAttachment which was wrongly successful
* fix unit tests with unittype added
* fix unit tests with changes
* use a valid uuid format for pgsql int. test
* test: add unit test TestLinkedRepository
* refactor: allow uploader to access unlinked attachement
* add missing blank line
* refactor: move to a separate function repo.GetAttachment
* typo
* test: remove err test return
* refactor: use repo perm for access checking generally + 404 for all reject
5 years ago
blueworrybear
8c909820a9
Enable Uploading/Removing Attachments When Editing an Issue/Comment ( #8426 )
5 years ago
Antoine GIRARD
f369788347
Refactor filetype is not allowed errors ( #7309 )
6 years ago