jonaustin09
0c3771ae2d
feat: Added GetObjectAttributes actions implementation in posix, azure and s3 backends. Added integration tests for GetObjectAttributes action
2024-04-29 15:31:53 -04:00
Ben McClelland
af469cd279
Merge pull request #539 from versity/event-notif-del-objects
...
Bucket event notifications DeleteObjects
2024-04-25 15:11:38 -07:00
jonaustin09
6f9c6fde37
feat: Added DeleteObjects event support in bucket event notifications
2024-04-25 16:18:02 -04:00
Ben McClelland
dd7de194f9
Merge pull request #538 from versity/test_cmdline_more_tests
...
Test cmdline more tests
2024-04-25 13:16:42 -07:00
Luke McCrone
ec53605ea3
test: delete tags, get location, some reorganization
2024-04-25 15:40:23 -03:00
Ben McClelland
47ed2d65c1
Merge pull request #537 from versity/s3proxy-policy-object-lock-actions
...
S3 proxy bucket policy, object lock actions
2024-04-24 13:27:21 -07:00
jonaustin09
5126aedeff
feat: Added bucket policy and object lock actions implementation in s3 proxy
2024-04-24 15:49:02 -04:00
Ben McClelland
a780f89ff0
Merge pull request #536 from versity/azure-object-lock-actions
...
Azure object lock actions
2024-04-23 15:19:08 -07:00
jonaustin09
4a56d570ad
feat: Added object lock actions implementation in azure backend
2024-04-23 17:05:59 -04:00
Ben McClelland
62209cf222
Merge pull request #535 from versity/dependabot/go_modules/dev-dependencies-9433fa9262
...
chore(deps): bump the dev-dependencies group with 3 updates
v0.21
2024-04-22 15:31:19 -07:00
dependabot[bot]
f7da252b7a
chore(deps): bump the dev-dependencies group with 3 updates
...
Bumps the dev-dependencies group with 3 updates: [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap ), [github.com/Azure/azure-sdk-for-go/sdk/internal](https://github.com/Azure/azure-sdk-for-go ) and [github.com/go-asn1-ber/asn1-ber](https://github.com/go-asn1-ber/asn1-ber ).
Updates `github.com/go-ldap/ldap/v3` from 3.4.7 to 3.4.8
- [Release notes](https://github.com/go-ldap/ldap/releases )
- [Commits](https://github.com/go-ldap/ldap/compare/v3.4.7...v3.4.8 )
Updates `github.com/Azure/azure-sdk-for-go/sdk/internal` from 1.5.2 to 1.6.0
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/internal/v1.5.2...sdk/azcore/v1.6.0 )
Updates `github.com/go-asn1-ber/asn1-ber` from 1.5.5 to 1.5.6
- [Release notes](https://github.com/go-asn1-ber/asn1-ber/releases )
- [Commits](https://github.com/go-asn1-ber/asn1-ber/compare/v1.5.5...v1.5.6 )
---
updated-dependencies:
- dependency-name: github.com/go-ldap/ldap/v3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/internal
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: github.com/go-asn1-ber/asn1-ber
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-22 21:48:10 +00:00
Ben McClelland
8907a50331
Merge pull request #516 from versity/object-locks
...
WORM protection with S3 object locks
2024-04-22 13:28:15 -07:00
jonaustin09
89755ea5aa
feat: Changed object lock actions interface to put/get []byte
2024-04-22 13:19:09 -07:00
jonaustin09
00476ef70c
feat: Closes #490 , Added integration tests for object lock actions
2024-04-22 13:13:40 -07:00
jonaustin09
fbaba0b944
feat: Added object WORM protection by object-lock feature from AWS with the following actions support: PutObjectLockConfiguration, GetObjectLockConfiguration, PutObjectRetention, GetObjectRetention, PutObjectLegalHold, GetObjectLegalHold
2024-04-22 13:13:40 -07:00
Ben McClelland
c0489f981c
Merge pull request #533 from versity/test_cmdline_tags_two
...
Test cmdline tags two
2024-04-22 13:01:13 -07:00
Luke McCrone
2a072e1580
test: tags, metadata tests, docker, test config cleanup
2024-04-22 15:44:46 -03:00
Ben McClelland
6d868229a8
Merge pull request #532 from versity/ben/readme
...
chore: more readme cleanup
2024-04-22 10:46:45 -07:00
Ben McClelland
e1a1d7f65f
chore: more readme cleanup
...
fix typo, add use case
2024-04-22 10:38:17 -07:00
Ben McClelland
134672aea2
Merge pull request #531 from versity/ben/readme
...
chore: minor readme cleanup
2024-04-22 10:11:45 -07:00
Ben McClelland
c75edc2ae5
chore: minor readme cleanup
...
Move use cases up, and change wording. Add link for global options in the wiki.
2024-04-22 09:18:17 -07:00
Ben McClelland
7ab0e3ebbe
Merge pull request #530 from versity/azure-policy-actions
...
Azure bucket policy actions
2024-04-20 10:00:23 -07:00
jonaustin09
5c835c5c74
feat: Implemented GetBucketPolicy, PutBucketPolicy action in azure backend
2024-04-19 16:36:42 -04:00
Ben McClelland
bd380b4858
Merge pull request #528 from versity/ben/xattr
...
fix: use xattr.ENOATTR check for posix xattrs
2024-04-19 11:39:54 -07:00
Ben McClelland
fe33532f78
Merge pull request #529 from versity/ben/module_version
...
fix: as of Go 1.21, toolchain versions must use the 1.N.P syntax
2024-04-18 21:07:52 -07:00
Ben McClelland
892d4d7d17
fix: as of Go 1.21, toolchain versions must use the 1.N.P syntax
...
Setting min toolchain to 1.21.0 for the gateway.
see: https://go.dev/doc/toolchain#version
2024-04-18 20:29:23 -07:00
Ben McClelland
4429570388
fix: use xattr.ENOATTR check for posix xattrs
...
The xattr package has a more universal error type for xattrs
not existing. Use this for better platform compatibility.
This also adds the xattr.XATTR_SUPPORTED check for platform
xattr suport in xattr package.
Fixes #527
2024-04-18 18:20:43 -07:00
Ben McClelland
ae0354c765
Merge pull request #526 from versity/fix/487-head-bucket-resp
...
HeadBucket response headers
2024-04-18 15:55:50 -07:00
jonaustin09
84ce40fb54
fix: Fixes #487 , added response headers for HeadBucket action
2024-04-18 13:27:45 -04:00
Ben McClelland
5853c3240b
Merge pull request #520 from versity/test_cmdline_user_s3cmd
...
test: s3cmd user, fix for non-bucket creating testing
v0.20
2024-04-17 14:42:25 -07:00
Ben McClelland
8bd068c22c
Merge pull request #525 from versity/ben/check_account
...
fix: auth iam single error for GetUserAccount()
2024-04-17 14:32:02 -07:00
Luke McCrone
f08ccacd0f
test: s3cmd user, fix for non-bucket creating testing
2024-04-17 15:24:01 -03:00
Ben McClelland
46aab041cc
fix: auth iam single error for GetUserAccount()
...
Fixes #524 . The iam single needs to return ErrNoSuchUser instead of
ErrNotSupported in GetUserAccount to return the correct error
when the client access is not done by the single user account.
This fixes the internal error when accessing the gateway in
iam single user mode with incorrect access keys.
2024-04-17 09:33:03 -07:00
Ben McClelland
a7a8ea9e61
Merge pull request #523 from versity/ben/chunk_uploads
...
fix: chunkreader invalid signature when header crossed read buffers
2024-04-17 09:13:12 -07:00
Ben McClelland
07b01a738a
fix: chunkreader invalid signature when header crossed read buffers
...
Fixes #512 . For chunked uploads, we parse the chunk headers in place
and then move the data payload up on the buffer to overwrite the
chunk headers for the real data stream.
For the special case where the chunk header was truncated in the
current read buffer, the partial header is stashed in a temporary
byte slice. The following read will contain the remainder of the
header that we can put together and parse.
We were correctly parsing this, but we forgot that the data offset
is calculated based on the start of the header. But the special
case where part of the header was stashed means we were incorrectly
calculating the data offset into the read buffer.
Easy fix to just remove the stash size from the data offset return
value.
2024-04-16 23:08:25 -07:00
Ben McClelland
6f35a5fbaf
Merge pull request #521 from versity/ben/readme_news_perf2
...
feat: add new perf article to readme news
2024-04-16 15:55:05 -07:00
Ben McClelland
05530e02c9
feat: add new perf article to readme news
2024-04-16 14:52:37 -07:00
Ben McClelland
b2f028939e
Merge pull request #518 from versity/ben/meta_storer
...
feat: add metadata storage abstraction layer
2024-04-16 11:43:31 -07:00
Ben McClelland
7ccd1dd619
Merge pull request #519 from versity/dependabot/go_modules/dev-dependencies-e4c8b118df
...
chore(deps): bump the dev-dependencies group with 3 updates
2024-04-15 15:31:35 -07:00
dependabot[bot]
b10d08a8df
chore(deps): bump the dev-dependencies group with 3 updates
...
Bumps the dev-dependencies group with 3 updates: [github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://github.com/Azure/azure-sdk-for-go ), [github.com/Azure/azure-sdk-for-go/sdk/storage/azblob](https://github.com/Azure/azure-sdk-for-go ) and [github.com/klauspost/compress](https://github.com/klauspost/compress ).
Updates `github.com/Azure/azure-sdk-for-go/sdk/azidentity` from 1.5.1 to 1.5.2
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/internal/v1.5.1...sdk/internal/v1.5.2 )
Updates `github.com/Azure/azure-sdk-for-go/sdk/storage/azblob` from 1.3.1 to 1.3.2
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/azcore/v1.3.1...sdk/storage/azblob/v1.3.2 )
Updates `github.com/klauspost/compress` from 1.17.7 to 1.17.8
- [Release notes](https://github.com/klauspost/compress/releases )
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml )
- [Commits](https://github.com/klauspost/compress/compare/v1.17.7...v1.17.8 )
---
updated-dependencies:
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/azidentity
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: github.com/klauspost/compress
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: dev-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-15 21:32:24 +00:00
Ben McClelland
c81403fe90
feat: add metadata storage abstraction layer
...
Closes #511 . This adds an abstraction layer to the metadata
storage to allow for future non-xattr metadata storage
implementations.
2024-04-15 13:57:31 -07:00
Ben McClelland
5f422fefd8
Merge pull request #517 from versity/test_cmdline_iam
...
Test cmdline iam
2024-04-13 09:55:10 -07:00
Luke McCrone
0a74509d00
test: initial users tests (admin, userplus, user)
2024-04-12 22:33:38 -03:00
Ben McClelland
65abac9823
Merge pull request #515 from versity/ben/admin_insecure
...
fix: admin change-bucket-owner cert disable verify
2024-04-12 08:08:34 -07:00
Ben McClelland
5ec2de544c
fix: admin change-bucket-owner return status
2024-04-11 16:11:59 -07:00
Ben McClelland
53a50df742
fix: admin change-bucket-owner cert disable verify
2024-04-11 14:44:37 -07:00
Ben McClelland
936ba1f84b
Merge pull request #509 from versity/ben/admin_insecure
...
feat: optional disable cert check for admin cli actions
v0.19
2024-04-09 09:04:54 -07:00
Ben McClelland
ffe1fc4ad3
feat: optional disable cert check for admin cli actions
...
Fixes #499 . Allows running admin cli commands against servers
with self signed certs.
2024-04-09 08:37:11 -07:00
Ben McClelland
020b2db975
Merge pull request #506 from versity/ben/cmd_admin_err
...
fix: return non 0 exit status for cli admin error
2024-04-09 08:36:35 -07:00
Ben McClelland
17b1dbe025
fix: return non 0 exit status for cli admin error
...
Fixes #505 . This returns the body as an error when the http status
for the admin request is non-success.
2024-04-08 17:29:02 -07:00