aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api
AgeCommit message (Collapse)AuthorFilesLines
2022-11-25avoid recursive deleting newly created empty directories (#4016)Konstantin Lebedev1-1/+8
2022-11-15refactor filer_pb.Entry and filer.Entry to use GetChunks()chrislu1-2/+2
for later locking on reading chunks
2022-11-11fix 'NoSuchUpload' when upload part (#3968)LHHDZ1-1/+1
2022-11-10feat:add a uuid after uploadid (#3963)famosss2-2/+6
2022-11-02Bug fix: empty key in DeleteMultipleObjects request caused bucket delete (#3939)pavelzhurov1-0/+3
2022-10-29add back "/" prefix if it is missing in objectchrislu5-6/+48
fix https://github.com/seaweedfs/seaweedfs/issues/3737
2022-10-28refactor filer proto chunk variable from mtime to modified_ts_nschrislu1-7/+7
2022-10-24fix: isTruncated returns problematic (#3907)famosss1-1/+1
2022-10-24feat: simplify a bit (#3905)famosss1-1/+0
2022-10-24fix: set user metadata key to lowercase (#3894)famosss1-0/+12
* fix: set user metadata key to lowercase * feat: simplify a bit
2022-10-24Fix errinfo (#3893)Guo Lei1-5/+6
* types packages is imported more than onece * Fix error response when format of --expires is wrong. It MUST be in RFC 1123 date format.
2022-10-13don't skip empty value at `AssembleEntryWithAcp` (#3855)LHHDZ2-34/+36
* 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>
2022-10-12add acl helper functionalities (#3831)LHHDZ4-0/+1233
2022-10-11split `ExtAcpKey` to `ExtAmzOwnerKey` and `ExtAmzAclKey` to avoid unn… (#3824)LHHDZ3-48/+46
split `ExtAcpKey` to `ExtAmzOwnerKey` and `ExtAmzAclKey` to avoid unnecessary `json.Unmarshal()` call Signed-off-by: changlin.shi <changlin.shi@ly.com> Signed-off-by: changlin.shi <changlin.shi@ly.com>
2022-10-10change s3_account.go package to avoid cycle dependency (#3813)LHHDZ7-34/+41
2022-10-04avoid increasing the coordinates of metric labels (#3785)Konstantin Lebedev1-0/+6
2022-10-01add ownership rest apis (#3765)LHHDZ9-1/+356
2022-09-29s3: sync bucket info from filer (#3759)LHHDZ10-3/+582
2022-09-28s3: add account (#3753)LHHDZ2-0/+71
associate `Account` and `Identity` by accountId
2022-09-20s3 to watch specific directorieschrislu1-1/+1
2022-09-15docs(s3api): readability improvements (#3696)Ryan Russell6-10/+10
Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-09-15refactor(s3api_object_handlers): `deleteMultipleObjectsLimmit` -> `de… (#3695)Ryan Russell1-2/+2
refactor(s3api_object_handlers): `deleteMultipleObjectsLimmit` -> `deleteMultipleObjectsLimit` Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-09-15fix 0 size (#3683)ImFantuan1-1/+2
2022-09-15IsTruncated returned by the ListMultipartUploads method is set to false by ↵famosss1-0/+1
default (#3682) * simplify a bit * fix: IsTruncated returned by the ListMultipartUploads method is set to false by default
2022-09-14go fmtchrislu6-29/+31
2022-09-14refactor: `Directory` readability (#3665)Ryan Russell2-2/+2
2022-09-01avoid DATA RACE on S3Options.localFilerSocket (#3571)Konstantin Lebedev1-3/+3
* avoid DATA RACE on S3Options.localFilerSocket https://github.com/seaweedfs/seaweedfs/issues/3552 * copy localSocket
2022-08-31s3: close response body with copying objectchrislu1-1/+2
2022-08-24s3: report metadata if the directory is explicitly created (#3498)Konstantin Lebedev1-8/+10
* replace mkdir to mkFile * ContentLength must be zero * revert mkDir * Seaweedfs-Is-Directory-Key return metadata
2022-08-23remove old raft servers if they don't answer to pings for too long (#3398)askeipx1-2/+3
* remove old raft servers if they don't answer to pings for too long add ping durations as options rename ping fields fix some todos get masters through masterclient raft remove server from leader use raft servers to ping them CheckMastersAlive for hashicorp raft only * prepare blocking ping * pass waitForReady as param * pass waitForReady through all functions * waitForReady works * refactor * remove unneeded params * rollback unneeded changes * fix
2022-08-23s3: report http.StatusOK if the directory is explicitly createdchrislu2-0/+8
fix https://github.com/seaweedfs/seaweedfs/issues/3457
2022-08-22fix:Handle preflight cors requests (#3496)famosss1-2/+4
2022-08-22Handle preflight cors requests (#3481)famosss1-0/+7
2022-08-18s3: fix regression on HEAD directory operationchrislu1-0/+12
2022-08-18fix testschrislu1-5/+5
2022-08-17also migrate jsonpbchrislu1-1/+1
2022-08-17move proto packagechrislu1-1/+1
2022-08-15Remove duplicate slashes in object path to prevent 500 errors (#3442)Andrey Triumfov2-1/+70
2022-08-15Fix s3 pagination (#3436)Chris Lu2-115/+181
* Revert previous changes * s3: use cursor to track tree traversal fix https://github.com/seaweedfs/seaweedfs/issues/3166 * special cases for empty prefix and empty directory * use constants * address empty folder * undo local changes * fix IsTruncated * adjust counting directories * fix cases when prefix is a directory * s3: handle directory object works for aws --endpoint-url http://127.0.0.1:8333/ s3api list-objects-v2 --bucket test --prefix "fakedir"
2022-08-14s3: fix aws s3api head-objectchrislu1-3/+5
2022-08-07refactor and fix strings.Splitchrislu1-1/+2
2022-08-04filer prefer volume server in same data center (#3405)Konstantin Lebedev2-0/+5
* initial prefer same data center https://github.com/seaweedfs/seaweedfs/issues/3404 * GetDataCenter * prefer same data center for ReplicationSource * GetDataCenterId * remove glog
2022-08-03minorchrislu1-4/+4
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu34-100/+100
2022-07-23metadata subscription uses client epochchrislu1-1/+3
2022-07-14Merge pull request #3314 from shichanglin5/fix_ETagChris Lu1-2/+2
File upload should succeed should return `ETag` instead of `Etag`
2022-07-14File upload should succeed should return `ETag` instead of `Etag`LHHDZ1-2/+2
at `/go-1.18.1/src/net/textproto/header.go:39`, header is canonicalized by `textproto.CanonicalMIMEHeaderKey`
2022-07-13supplement check duplicate accesskeyguosj1-0/+5
2022-07-06S3 ListObjectsV2 fix pagination under bucket rootchrislu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/3166
2022-07-01fix paginationKonstantin Lebedev1-13/+16