7y-9
a2c5ad0faf
fix: only admin auth can delete S3 bucket ( #5312 )
11 months ago
changlin.shi
618668dda8
Revert "fix: 当缺少content-type头和文件后缀时自动检测mime type"
This reverts commit 503ae6ad64
.
11 months ago
changlin.shi
503ae6ad64
fix: 当缺少content-type头和文件后缀时自动检测mime type
Signed-off-by: changlin.shi <changlin.shi@ly.com>
12 months ago
changlin.shi
4b144c1940
fix: 修复 stream signed 鉴权场景缺失acl account id 注入bug
Signed-off-by: changlin.shi <changlin.shi@ly.com>
12 months ago
changlin.shi
fa8698f6c3
perf(fix): fix bugs
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
zemul
0bf56298d5
fix chunk.ModifiedTsNs ( #4264 )
* fix
* fix mtime s > ns
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com>
2 years ago
LHHDZ
db5515eada
Fix s3api_object_list_handlers returning contents less than the specified limit when more data actually exists ( #4240 )
Fix when the stored data is actually enough but s3api_object_list_handlers returns less than the specified limit
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
af40b7d7a2
Fix when the stored data is actually enough but s3api_object_list_handlers returns less than the specified limit
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
d393937c90
compatible with aws-sdk-go's cxpect header
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
chrislu
79d68a81fd
text change
2 years ago
chrislu
999a126a3f
typo
2 years ago
chrislu
1c2364936a
detect invalid bucket name
fix https://github.com/seaweedfs/seaweedfs/issues/4143
2 years ago
chrislu
5de93fe442
refactoring
2 years ago
chrislu
81fdf3651b
grpc connection to filer add sw-client-id header
2 years ago
changlin.shi
6f40451e4e
optimize marshal
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
7fec1a97e2
fix tests
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
Guo Lei
5f993a5f20
Fix ide warning ( #4082 )
fix warning message from IDE
"redundant type from array, slice, or map composite literal"
2 years ago
changlin.shi
d2792c5618
clear cache when put bucket
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
LHHDZ
f84c13dabd
fix response not allowed ( #4057 )
2 years ago
changlin.shi
0c3009911e
optimize readability
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
LHHDZ
bb289d7d69
sort tags by key ( #4047 )
Signed-off-by: changlin.shi <changlin.shi@ly.com>
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
5d582ab848
set bucket ownership if not empty
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
c2c4158238
create bucket with ownership
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
89942cf015
fix nil pointer when no identity config init
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
2769a96f13
dont't set destination when copy object
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
Konstantin Lebedev
2b910d1cf8
avoid recursive deleting newly created empty directories ( #4016 )
2 years ago
changlin.shi
3b69ce6c3d
set accept-encoding if empty
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
f1d6302400
acl for complete multipart uplod
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
d1b1f5e790
fix http code for dir
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
381b496132
acl for Initializing multipart upload
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
chrislu
70a4c98b00
refactor filer_pb.Entry and filer.Entry to use GetChunks()
for later locking on reading chunks
2 years ago
LHHDZ
39f0246deb
fix 'NoSuchUpload' when upload part ( #3968 )
2 years ago
changlin.shi
4364f4dfe3
don't set acp when ownership is BucketOwnerEnfored
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
famosss
df0662038c
feat:add a uuid after uploadid ( #3963 )
2 years ago
pavelzhurov
abe4a61659
Bug fix: empty key in DeleteMultipleObjects request caused bucket delete ( #3939 )
2 years ago
chrislu
8b9957d461
add back "/" prefix if it is missing in object
fix https://github.com/seaweedfs/seaweedfs/issues/3737
2 years ago
chrislu
ea2637734a
refactor filer proto chunk variable from mtime to modified_ts_ns
2 years ago
changlin.shi
ebe1e39e7d
fix parent path
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
900feb62b6
fix parent path
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
famosss
34132b2c9f
fix: isTruncated returns problematic ( #3907 )
2 years ago
famosss
874fd197b5
feat: simplify a bit ( #3905 )
2 years ago
famosss
25e012d30b
fix: set user metadata key to lowercase ( #3894 )
* fix: set user metadata key to lowercase
* feat: simplify a bit
2 years ago
Guo Lei
97edb40275
Fix errinfo ( #3893 )
* types packages is imported more than onece
* Fix error response when format of --expires is wrong.
It MUST be in RFC 1123 date format.
2 years ago
changlin.shi
1f2883f771
merge
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
LHHDZ
a5b867af69
don't skip empty value at `AssembleEntryWithAcp` ( #3855 )
* add acl helper functionalities
Signed-off-by: changlin.shi <changlin.shi@ly.com>
* add tests
Signed-off-by: changlin.shi <changlin.shi@ly.com>
* remove 0 when create map
Signed-off-by: changlin.shi <changlin.shi@ly.com>
* delete when empty at `AssembleEntryWithAcp`
`PutBucketAcl/PutObjectAcl` allow request with empty grants, `AssembleEntryWithAcp` shouldn't skip empty value
Signed-off-by: changlin.shi <changlin.shi@ly.com>
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
b8f7e75c3d
delete when empty at `AssembleEntryWithAcp`
`PutBucketAcl/PutObjectAcl` allow request with empty grants, `AssembleEntryWithAcp` shouldn't skip empty value
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
2227888acc
validate grants when setting ownership to `OwnershipBucketOwnerEnforced`
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
e576e4cee8
enable anonymous access when bucket acl is enabled
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2 years ago
changlin.shi
4b36721323
implement `GetObjectAclHandler`
2 years ago
changlin.shi
f79a3a73ee
add acl support for `PutObjectAcl`
2 years ago