Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Konstantin Lebedev
9d6ffa0ea1
GetBucketLifecycleConfigurationHandler
3 years ago
Konstantin Lebedev
458145425e
S3 MultipartUpload pass contentType to meta
3 years ago
Konstantin Lebedev
be4b3ed509
AclHandlers
3 years ago
Chris Lu
84fdda85e7
go fmt
3 years ago
Chris Lu
5abdc0be77
s3: avoid overwriting object with ACL/LegalHold/Retension/LockConfiguration requests
3 years ago
Chris Lu
59dd271734
more glog
3 years ago
Chris Lu
4cbba2b1c6
add more glog to s3
3 years ago
Chris Lu
71175461ef
add glog for s3 handlers
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
f62df7f695
fix wrong srcPath checking
3 years ago
Chris Lu
491f7636f8
s3: CopyObject return http Status 400 Bad Request for non-existing source
fix https://github.com/chrislusf/seaweedfs/issues/2306
3 years ago
Chris Lu
5a0f92423e
use grpc and jwt
3 years ago
Konstantin Lebedev
f0afd35eec
Retry save and update IAM identity
https://github.com/chrislusf/seaweedfs/issues/2242
3 years ago
Konstantin Lebedev
ec09966fd3
Retry save and update IAM identity
https://github.com/chrislusf/seaweedfs/issues/2242
3 years ago
Bl1tz23
e6e57db530
Add liveness\readiness probe for s3 api handler on /status path
3 years ago
Chris Lu
6b743dbbf9
refactor client subscribe metadata
3 years ago
Chris Lu
7359193e97
go fmt
3 years ago
Chris Lu
f0042f62dd
readable logs
3 years ago
Chris Lu
ecce300964
s3 config read via grpc
4 years ago
Chris Lu
a024254ad7
logging
4 years ago
Chris Lu
d39b2689a5
S3 authorization: StreamingSigned enforces access control
fix https://github.com/chrislusf/seaweedfs/issues/2180
4 years ago
lyg
1a4db87e19
fix s3 metadata error with multipart upload
4 years ago
Chris Lu
c6d4c16079
S3: add metadata with multipart upload
fix https://github.com/chrislusf/seaweedfs/issues/2173
4 years ago
Chris Lu
b71c3cfba4
avoid possible empty object
4 years ago
Chris Lu
310e31424e
adjust the error output
fix https://github.com/chrislusf/seaweedfs/issues/2123
4 years ago
Chris Lu
8b382a8209
refactor
4 years ago
Chris Lu
33b87244ef
refactoring
4 years ago
Chris Lu
2b60e2abb1
only disallow streaming signed when no auth enabled
fix https://github.com/chrislusf/seaweedfs/issues/2101
4 years ago
Konstantin Lebedev
b612d5aebd
s3 test get w/ If-Match: bogus ETag
4 years ago
Konstantin Lebedev
69c768870b
- object write cache control
- object write expires
4 years ago
Chris Lu
431684798b
s3: add errors if requests are signed by no authentication is setup
fix https://github.com/chrislusf/seaweedfs/issues/2075
4 years ago
Konstantin Lebedev
03d1199d5f
Revert "revert PR #1903 avoid http error: superfluous response.WriteHeader"
This reverts commit ac71117e
4 years ago
Chris Lu
26a55bbb5c
Adjust error message when bucket name conflicts with existing collections
fix https://github.com/chrislusf/seaweedfs/issues/2069
4 years ago
Chris Lu
ac71117ee6
revert PR #1903 avoid http error: superfluous response.WriteHeader
4 years ago
Chris Lu
e87e6ef33c
s3: return 404 if bucket does not exist
fix https://github.com/chrislusf/seaweedfs/issues/2039
4 years ago
Konstantin Lebedev
a48785c7df
auth use bucket wild cards
4 years ago
Merlin Gaillard
4d4acc715e
s3api: handle 304 response code from filer
4 years ago
Konstantin Lebedev
ba175f81b5
add auth aws signV4
4 years ago
Chris Lu
b1a86cf808
s3: copy object to itself
fix https://github.com/chrislusf/seaweedfs/issues/1922
4 years ago
Konstantin Lebedev
bf94149920
add line
4 years ago
Konstantin Lebedev
c5705e7a35
dir + slash key does not exist
https://github.com/chrislusf/seaweedfs/issues/1917
4 years ago
wuh-fnst
050a7f9599
s3: count correction for the number of files in the dir
4 years ago
Konstantin Lebedev
3a3699867b
Status PartialContent for Content-Range response
4 years ago
Chris Lu
79280e1513
escape special characters
fix https://github.com/chrislusf/seaweedfs/issues/1884
4 years ago
wuheng
828fbf3fb7
s3: "isLast" returns true when the file does not exist
4 years ago
Chris Lu
ca546f47e1
s3: escape object key if containing special characters
fix https://github.com/chrislusf/seaweedfs/issues/1884
4 years ago
Konstantin Lebedev
bb3af2d70b
no directoriesWithDeletion
4 years ago
Konstantin Lebedev
15b018da34
s3 delete-objects pass OK for fail to delete non-empty folder
4 years ago
Chris Lu
387c6f4218
Revert "delete the folder object in multi_object_delete"
This reverts commit 2e89c8c9ae
.
4 years ago