chrislu
00c1dfec4f
go fmt
3 years ago
root
f15a737a0a
Add "Location:" in response when creating bucket
according to "https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html "
3 years ago
Konstantin Lebedev
691ed50957
use constant for ErrBucketNotEmpty
3 years ago
Konstantin Lebedev
b6a2b43efe
allowDeleteBucketNotEmpty
3 years ago
Konstantin Lebedev
a8b15c676c
s3 test bucket delete nonempty
4 years ago
guosj
121b31f750
fix incorrect log information
3 years ago
zerospiel
b54a65ba5a
weed/s3api: added new bucket handlers for more compatibility with AWS S3
Protocol
Otherwise any requests to the underlying handlers results in calls to
ListObjects (v1) that may intensively load gateway and volume servers.
Added the following handlers with default responses:
- GetBucketLocation
- GetBucketRequestPayment
Added the following handlers with NotFound and NotImplemented responses:
- PutBucketAcl
- GetBucketPolicy
- PutBucketPolicy
- DeleteBucketPolicy
- GetBucketCors
- PutBucketCors
- DeleteBucketCors
3 years ago
chrislu
a7887166cf
wildcard prefix to restrict access to directories in s3 bucket
https://github.com/chrislusf/seaweedfs/discussions/2551
3 years ago
chrislu
9f9ef1340c
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
3 years ago
Konstantin Lebedev
4ec8715f20
audit log
3 years ago
Konstantin Lebedev
40abae7caa
Avoid forbiddening for HeadBucketHandler if owners are specified
https://github.com/chrislusf/seaweedfs/issues/2434
3 years ago
Chris Lu
35c37562bc
check auth only when enabled
3 years ago
Chris Lu
b25661c6df
s3: skip permission checking for creating bucket if the bucket already exists
fix https://github.com/chrislusf/seaweedfs/issues/2417
Rclone was trying to create the bucket even though the bucket already exists.
3 years ago
Chris Lu
f17fa400d5
refactoring
3 years ago
Chris Lu
006b4ec0f8
refactoring
3 years ago
Konstantin Lebedev
dc3ae5e8a6
DeleteBucketLifecycleConfiguration return 204
3 years ago
Konstantin Lebedev
9d6ffa0ea1
GetBucketLifecycleConfigurationHandler
3 years ago
Konstantin Lebedev
be4b3ed509
AclHandlers
3 years ago
Chris Lu
71175461ef
add glog for s3 handlers
3 years ago
Chris Lu
8b382a8209
refactor
4 years ago
Chris Lu
33b87244ef
refactoring
4 years ago
Konstantin Lebedev
302738ee74
s3 test bucket delete nonempty
4 years ago
Chris Lu
5511722420
s3: list permission is needed to list my buckets
fix https://github.com/chrislusf/seaweedfs/issues/1837
4 years ago
Chris Lu
e327385644
go fmt
4 years ago
Chris Lu
090f85be4b
s3: support config action Admin:bucket
4 years ago
ruitao.liu
a9990a1dc6
adjust check bucket if exist or has access.
4 years ago
Chris Lu
e6333da65a
enable admin to access all buckets
4 years ago
Chris Lu
7094492428
fix ErrNotFound
4 years ago
Chris Lu
c6a0704019
rename function
4 years ago
ruitao.liu
c4f0fd6e1b
skip if entry.Extended map is nil.
4 years ago
ruitao.liu
ab966410d2
return NoSuchBucket instead of InternalError delete non-existed bucket.
4 years ago
ruitao.liu
e06676f007
check permission for bucket delete/head.
4 years ago
ruitao.liu
d7cc0498e0
check if bucket already exists.
4 years ago
ruitao.liu
dbba8cb57e
fix if nil map in entry.
4 years ago
ruitao.liu
5b636b3242
Add bucket owner attr.
4 years ago
Chris Lu
da36abf033
go fmt
4 years ago
Chris Lu
ace0ea3d28
s3: avoid duplicated bucket
4 years ago
Chris Lu
5b40a2690a
refactoring
4 years ago
Chris Lu
3eda8d6dfc
s3: ListParts output xml format
fix https://github.com/chrislusf/seaweedfs/issues/1461
4 years ago
Chris Lu
54cd582653
refactor
4 years ago
Chris Lu
a25a8d8822
s3: print out time in UTC format
fix https://github.com/chrislusf/seaweedfs/issues/1297
5 years ago
Chris Lu
c07bcd5065
refactoring
5 years ago
Chris Lu
fbca6b29bd
refactoring
5 years ago
Chris Lu
c4bea45099
S3 API: fix DeleteMultipleObjectsHandler
fix https://github.com/chrislusf/seaweedfs/issues/1241
5 years ago
Chris Lu
afb20de14c
breaks dependency loop
5 years ago
Chris Lu
8645283a7b
fuse mount: avoid lookup nil entry
fix https://github.com/chrislusf/seaweedfs/issues/1221
5 years ago
Chris Lu
97ab8a1976
remove ctx if possible
5 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
5 years ago
Chris Lu
7d10fdf737
fix directory lookup nil
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago