niksis02
b5b418e4b3
fix: Adds the minimum allowed size(5 Mib) check for mp parts sizes in CompleteMultipartUpload
2025-02-03 21:49:15 +04:00
niksis02
f35cdfb20c
feat: Adds a flag on the test command to run the integration tests in insecure mode: by skiping the tls verification
2025-02-03 09:13:01 -08:00
Luke McCrone
d14c1141f9
test: fix
2025-01-31 11:28:31 -03:00
Luke McCrone
ca2c8d2f48
test: REST delete-objects
2025-01-22 22:51:11 -03:00
Luke McCrone
da721b77f0
test: more directory objects tests
2025-01-22 19:52:58 -03:00
niksis02
c094086d83
fix: Fixes the response body streaming for GetObject, implementing a chunk streamer
2025-01-15 23:11:04 +04:00
niksis02
c37a22ffe1
fix: Fixes the AccessControlPolicy Grantee Type unmarshalling, Adds request body validation for the PutBucketAcl action
2025-01-13 23:44:46 +04:00
Luke McCrone
cc7ea685d9
test: REST HeadObject
2025-01-08 16:21:58 -03:00
Luke McCrone
b983dadce9
test: list-objects param add change
2025-01-08 14:20:07 -03:00
Luke McCrone
5e83419e2c
test: UploadPartCopy
2025-01-08 14:20:07 -03:00
Luke McCrone
4e5586d729
test: REST ListObjects v1 multi-page test
2025-01-06 22:10:17 -03:00
Luke McCrone
f487d2602c
test: ListObjectsV2 REST capability, initial multi-page testing
2025-01-06 17:15:08 -03:00
Ben McClelland
b0c310aca6
Merge pull request #989 from niksis02/fix/complete-mp-empty-parts
...
fix: Adds a check to ensure that the CompleteMultipartUpload parts ar…
2024-12-20 15:39:42 -08:00
niksis02
7c5258e6e9
fix: Adds a check to ensure that the CompleteMultipartUpload parts are not empty.
2024-12-17 18:50:57 +04:00
Luke McCrone
8d4a8fc5e0
test: REST acl public-read-write test, other acl test, cleanup
2024-12-16 18:03:07 -03:00
Luke McCrone
10decc0d2c
test: PutBucketAcl with canned public-read, logging fix
2024-12-12 21:31:13 -03:00
Ben McClelland
7e530ee8ae
Merge pull request #982 from niksis02/fix/uncomment-worm-tests
...
Uncomments WORM integration tests
2024-12-12 11:19:13 -06:00
niksis02
2a61489e4c
fix: Uncommentes two WORM protection integration tests that were accidentally commented out.
2024-12-11 00:33:45 +04:00
Luke McCrone
5358abca3f
test: REST PutBucketAcl command
2024-12-09 20:38:31 -03:00
Luke McCrone
94fc70f5a7
test: GetBucketAcl, cleanup
2024-12-04 22:54:37 -03:00
dependabot[bot]
adb69ed041
chore(deps): bump the dev-dependencies group across 1 directory with 16 updates
...
Bumps the dev-dependencies group with 9 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) | `1.32.5` | `1.32.6` |
| [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2 ) | `1.67.1` | `1.70.0` |
| [github.com/aws/aws-sdk-go-v2/feature/ec2/imds](https://github.com/aws/aws-sdk-go-v2 ) | `1.16.20` | `1.16.21` |
| [github.com/aws/aws-sdk-go-v2/service/sso](https://github.com/aws/aws-sdk-go-v2 ) | `1.24.6` | `1.24.7` |
| [github.com/aws/aws-sdk-go-v2/service/ssooidc](https://github.com/aws/aws-sdk-go-v2 ) | `1.28.5` | `1.28.6` |
| [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2 ) | `1.33.1` | `1.33.2` |
| [github.com/nats-io/nkeys](https://github.com/nats-io/nkeys ) | `0.4.7` | `0.4.8` |
| [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2 ) | `1.28.5` | `1.28.6` |
| [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://github.com/aws/aws-sdk-go-v2 ) | `1.17.39` | `1.17.42` |
Updates `github.com/aws/aws-sdk-go-v2` from 1.32.5 to 1.32.6
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.32.5...v1.32.6 )
Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.67.1 to 1.70.0
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.67.1...service/s3/v1.70.0 )
Updates `github.com/aws/aws-sdk-go-v2/feature/ec2/imds` from 1.16.20 to 1.16.21
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ram/v1.16.20...service/ram/v1.16.21 )
Updates `github.com/aws/aws-sdk-go-v2/service/sso` from 1.24.6 to 1.24.7
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/pi/v1.24.6...service/pi/v1.24.7 )
Updates `github.com/aws/aws-sdk-go-v2/service/ssooidc` from 1.28.5 to 1.28.6
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.28.5...config/v1.28.6 )
Updates `github.com/aws/aws-sdk-go-v2/service/sts` from 1.33.1 to 1.33.2
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.33.1...service/sfn/v1.33.2 )
Updates `github.com/nats-io/nkeys` from 0.4.7 to 0.4.8
- [Release notes](https://github.com/nats-io/nkeys/releases )
- [Changelog](https://github.com/nats-io/nkeys/blob/main/.goreleaser.yml )
- [Commits](https://github.com/nats-io/nkeys/compare/v0.4.7...v0.4.8 )
Updates `github.com/aws/aws-sdk-go-v2/config` from 1.28.5 to 1.28.6
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.28.5...config/v1.28.6 )
Updates `github.com/aws/aws-sdk-go-v2/credentials` from 1.17.46 to 1.17.47
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/credentials/v1.17.46...credentials/v1.17.47 )
Updates `github.com/aws/aws-sdk-go-v2/feature/s3/manager` from 1.17.39 to 1.17.42
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/credentials/v1.17.39...credentials/v1.17.42 )
Updates `github.com/aws/aws-sdk-go-v2/internal/configsources` from 1.3.24 to 1.3.25
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/internal/ini/v1.3.24...internal/ini/v1.3.25 )
Updates `github.com/aws/aws-sdk-go-v2/internal/endpoints/v2` from 2.6.24 to 2.6.25
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/internal/endpoints/v2.6.24...internal/endpoints/v2.6.25 )
Updates `github.com/aws/aws-sdk-go-v2/internal/v4a` from 1.3.24 to 1.3.25
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/internal/ini/v1.3.24...internal/ini/v1.3.25 )
Updates `github.com/aws/aws-sdk-go-v2/service/internal/checksum` from 1.4.5 to 1.4.6
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/m2/v1.4.5...service/m2/v1.4.6 )
Updates `github.com/aws/aws-sdk-go-v2/service/internal/presigned-url` from 1.12.5 to 1.12.6
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/credentials/v1.12.6/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/sso/v1.12.5...credentials/v1.12.6 )
Updates `github.com/aws/aws-sdk-go-v2/service/internal/s3shared` from 1.18.5 to 1.18.6
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/config/v1.18.6/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.18.5...config/v1.18.6 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/feature/ec2/imds
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sso
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ssooidc
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sts
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/nats-io/nkeys
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/config
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/feature/s3/manager
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/internal/configsources
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/internal/endpoints/v2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/internal/v4a
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/service/internal/checksum
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/service/internal/presigned-url
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/service/internal/s3shared
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-04 14:48:03 -08:00
Luke McCrone
a43eec0ae7
test: REST PutBucketPolicy, logging, user changes
2024-12-04 12:34:54 -03:00
Ben McClelland
57d344a8f0
Merge pull request #962 from versity/test/rest_get_bucket_policy
...
Test/rest get bucket policy
2024-12-03 09:31:14 -08:00
Ben McClelland
d9591f694e
fix: azure admin list-buckets
...
There were two issues that were preventing correct behavior here.
One was that we need to specifically request the container metadata
when listing containers, and then we also need to handle the case
where the container does not include the acl metadata.
This fixes both of these cases by adding in the metadata request
option for this container listing, and will return a default acl
if not provided in the container metadaata.
Fixes #948
2024-12-02 16:57:49 -08:00
Luke McCrone
0f2c727990
test: GetBucketPolicy - test w/o policy
2024-11-22 13:09:54 +01:00
Luke McCrone
a1aef5d559
test: REST Get/PutBucketOwnershipControls
2024-11-21 10:34:11 +01:00
Ben McClelland
1e5c1780c9
Merge pull request #956 from versity/ben/list-buckets-empty
...
feat: add list-buckets test for no buckets
2024-11-19 08:16:27 -08:00
Ben McClelland
568f8346bf
feat: add list-buckets test for no buckets
...
We need to check to make sure list-buckets returns a correct
empty list when no buckets created.
2024-11-18 21:35:19 -08:00
Ben McClelland
a6d61e1dde
fix: listobjects internal server error for prefix not directory
...
We need to treat a prefix that has a parent component as a file
instead of a directory in the filesystem as a non existing prefix
instead of an internal server error. This error was caused
because we were not handling ENOTDIR within the fs walk.
Fixes #949
2024-11-18 21:15:16 -08:00
Ben McClelland
db305142f1
fix: return better error when trying to delete non empty directory object
...
The posix backend will return ENOTEMPTY when trying to delete a
directory that is not empty. This normally would run successfully
on object systems. So we need to create another non-standard error
for this case. We mainly just don't want to return InternalError
for this case.
Fixes #946
2024-11-14 22:33:08 -08:00
Ben McClelland
0312a1e3dc
fix: internal server error when object parent dir is a file
...
The fileystem will return ENOTDIR if we try to access a file path
where a parent directory within the path already exists as a file.
In this case we need to return a standard 404 no such key since
the request object does not exist within the filesytem.
Fixes #942
2024-11-08 08:21:14 -08:00
Luke McCrone
71f8e9a342
test: github-actions speedup, cleanup
2024-11-05 11:11:19 -08:00
Ben McClelland
ea33612799
Merge pull request #934 from versity/test/rest_get_bucket_tagging
...
Test/rest get bucket tagging
2024-11-05 11:10:46 -08:00
Ben McClelland
5d8899baf4
Merge pull request #936 from versity/fix/putbuckettagging-status
...
fix: Changes the PutBucketTagging action response status code from 20…
2024-11-04 08:46:44 -08:00
Ben McClelland
a708a5e272
Merge pull request #935 from versity/fix/getobjectattributes-attrs-header
...
fix: Adds a check to ensure the x-amz-object-attributes header is set…
2024-11-04 08:46:16 -08:00
jonaustin09
7bd32a2cfa
fix: Changes the PutBucketTagging action response status code from 200(OK) to 204(No Content)
2024-10-31 18:30:07 -04:00
Luke McCrone
bbcd3642e7
test: REST tagging, cleanup
2024-10-31 21:46:09 +00:00
jonaustin09
66c13ef982
fix: Adds a check to ensure the x-amz-object-attributes header is set and non-empty.
2024-10-31 17:05:54 -04:00
Luke McCrone
68b82b8d08
test: REST GetObjectAttributes, cleanup
2024-10-31 17:53:10 +00:00
Luke McCrone
bf4fc71bba
test: multipart upload REST testing (complete, list, upload)
2024-10-31 00:10:50 +00:00
jonaustin09
06e2f2183d
fix: Changes GetObjectAttributes action xml encoding root element to GetObjectAttributesResponse. Adds input validation for x-amz-object-attributes header. Adds x-amz-delete-marker and x-maz-version-id headers for GetObjectAttributes action. Adds VersionId in HeadObject response, if it's not specified in the request
2024-10-30 15:42:15 -04:00
jonaustin09
4d6ec783bf
feat: Implements pagination for ListBuckets
2024-10-28 16:26:08 -04:00
Ben McClelland
0aa62f16c9
Merge pull request #913 from versity/feat/admin-apis-refactoring
...
Admin APIs refactoring
2024-10-25 16:04:04 -07:00
jonaustin09
c6359a7050
feat: Refactoring admin APIs: changes i/o data transfer encoding to xml, implements traditional aws-like error handling, adds admin role checker middleware. Refactoring admin CLI actions to handle aws-like error responses
2024-10-25 11:40:23 -04:00
Ben McClelland
37df71eeae
Merge pull request #909 from versity/fix/list-parts-max-parts
...
fix: Fixes max-parts, max-keys, max-uploads validation defaulting to …
2024-10-22 16:51:14 -07:00
jonaustin09
3b903f6044
fix: Fixes max-parts, max-keys, max-uploads validation defaulting to 1000
2024-10-22 14:28:50 -04:00
Luke McCrone
e291f6a464
test: multipart upload REST testing, reorganization, README
2024-10-22 09:10:55 -04:00
jonaustin09
858236150c
fix: Fixes multiple null versionId delete markers creation with DeleteObject
2024-10-21 16:10:34 -04:00
jonaustin09
c803af4688
fix: Prevents bucket deletion when it contains object versions by returning ErrVersionedBucketNotEmpty error. Enabled object deletion with versionId and delete markers creation with DeleteObject when the versioning status is Suspended
2024-10-18 15:36:52 -04:00
Ben McClelland
a78c826d0f
Merge pull request #897 from versity/fix/getobject-null-versionid-obj
...
fix: Resolves the null object version get issue from posix directory
2024-10-16 13:38:27 -07:00