jonaustin09
7b6486cdba
feat: Fixes all struct fields alignment issues, Adds betteralign check in the pipeline, to check the structs fields alignment
2024-11-08 13:25:21 -05: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
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
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
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
jonaustin09
3b903f6044
fix: Fixes max-parts, max-keys, max-uploads validation defaulting to 1000
2024-10-22 14:28:50 -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
jonaustin09
cdcbc9c9cb
fix: Resolves the null object version get issue from posix directory
2024-10-16 15:58:40 -04:00
jonaustin09
608e380e36
fix: Fixes the double entry issue for single null versionId object version in ListObjectVersions
2024-10-16 12:05:41 -04:00
jonaustin09
f061deb146
fix: Returns NoSuchKey error for GetObject, if verionId is not specified and the latest version is a delete marker
2024-10-15 15:48:18 -04:00
jonaustin09
16e8134e80
fix: Adds bucket object lock status check in GetObjectLegalHold and GetObjectRetention actions
2024-10-14 15:04:11 -04:00
jonaustin09
f03d600b56
fix: The implementation handles null versionId objects for versioning enabled buckets within the versioning directory
2024-10-11 15:39:49 -04:00
Ben McClelland
b7a2e8a2c3
fix: unexpected errors during upload races
...
This fixes the cases for racing uploads with the same object names.
Before we were making some bad assumptions about what would cause
an error when trying to link/rename the final object name into
the namespace, but missed the case that another upload for the
same name could be racing with this upload and causing an incorrect
error.
This also changes the order of setting metadata to prevent
accidental setting of metadata for the current upload to another
racing upload.
This also fix auth.CheckObjectAccess() when objects are removed
while this runs.
Fixes #854
2024-10-07 17:24:44 -07:00
Ben McClelland
d2b0d24520
Merge pull request #876 from versity/fix/put-bucket-versioning-suspended
...
fix: Removed ObjectLockConfigurationNotFoundError, when attempting to…
2024-10-07 16:40:01 -07:00
jonaustin09
b5b592c683
fix: Removed ObjectLockConfigurationNotFoundError, when attempting to set bucket versioning status to suspended
2024-10-07 18:26:33 -04:00
jonaustin09
b39b5e2373
fix: Fixed object versions listing with ListObjectVersions when versioning is not configured for the gateway
2024-10-07 18:16:11 -04:00
jonaustin09
768983be34
fix: Added VersioningNotConfigured error in Put/GetBucketVersioning acitons
2024-10-04 20:52:31 -04:00
jonaustin09
d2df00a409
fix: Fixed CopyObject copy-source parsing to handle object names with special characters
2024-10-02 11:40:25 -04:00
jonaustin09
e502a15306
fix: Added the implementation to automatically enable bucket versioning when enabling object lock. Added error response when attempting to set bucket versioning status to Suspended when object lock is enabled
2024-10-01 16:59:04 -04:00
jonaustin09
7d368be82e
feat: Implemented object locking for object versions
2024-09-30 17:26:49 -04:00
Ben McClelland
5c40de231d
Merge pull request #849 from versity/fix/get-bucket-versioning-empty-response
...
fix: Changed the GetBucketVersioning action return type, to return em…
2024-09-27 19:12:31 -07:00
jonaustin09
7b5765bd59
fix: Changed the GetBucketVersioning action return type, to return empty result for unset versioning configuration
2024-09-27 18:14:53 -04:00
jonaustin09
82592d97f4
fix: Added the versionId prop in GetObject response, when attempting to get the latest object version without specifying the versionId
2024-09-27 17:52:02 -04:00
Ben McClelland
44d51b787d
Merge pull request #847 from versity/fix/versioning-delete_object-nonexistent
...
fix: Modified DeleteObject error handling to return a successful resp…
2024-09-26 14:45:45 -07:00
jonaustin09
3dc654eb11
fix: Modified DeleteObject error handling to return a successful response when versionId is not specified, and to return InvalidVersionId error when it is specified, in cases where versioning is enabled.
2024-09-26 16:41:35 -04:00
jonaustin09
8574a4c87f
fix: Added DeleteMarker to the DeleteObject action response when attempting to create a delete marker.
2024-09-26 16:18:14 -04:00
Ben McClelland
3a9cbfcbd6
fix: azure tests and add azure ci test
2024-09-23 09:10:52 -07:00
Ben McClelland
9f9f895522
Merge pull request #829 from versity/ben/enable_tests
...
fix: enable TestUploadPartCopy tests in full flow
2024-09-23 08:15:22 -07:00
Ben McClelland
20f334b1f9
fix: requests should fail for directory objects if key does not end in /
...
The object semantics are that a key that ends with / is different
than a key that does not. However on posix a name that ends with /
is assumed to be a directory, but it still succeeds to access the
directory by name without a trailing /. So we need to explicitly
check if the request is for a non-directory and we are trying to
access a directory.
Fixes #824
2024-09-20 15:44:10 -07:00
Ben McClelland
14595ac6f3
fix: enable TestUploadPartCopy tests in full flow
2024-09-20 15:11:23 -07:00
Ben McClelland
fba121e4aa
Merge pull request #825 from versity/fix/list-objects-empty-props
...
fix: Removed empty poperties from ListObjects and ListObjectsV2 actio…
2024-09-20 12:36:14 -07:00
jonaustin09
6de3df6070
fix: Removed empty poperties from ListObjects and ListObjectsV2 actions responses. Added StartAfter in ListObjectV2 response
2024-09-20 12:17:30 -07:00
jonaustin09
9ffb70f08e
fix: Fixed the error case, to return ObjectParentIsFile error when overwriting a file object with a nested file object with PutObject in posix
2024-09-20 14:45:35 -04:00
Ben McClelland
0d0de244e1
fix: name too long error for head/delete
2024-09-20 09:17:19 -07:00
jonaustin09
800cf62209
feat: Implemented object versioning for multipart uploads. Implemented integration tests for the versioning implementation for multipart uploads
2024-09-19 13:29:19 -07:00
jonaustin09
6d4ff09d6f
feat: Added integration tests for bucket object versioning. Made a couple of bug fixes in the versioning implementation
2024-09-19 13:29:14 -07:00
Ben McClelland
d9d3a16051
fix: azure list objects trim common prefixes that match marker prefix
2024-09-18 12:03:21 -07:00
Ben McClelland
180df62134
fix: list objects trim common prefixes that match marker prefix
...
This checks to see if the common prefix is before the marker and
thus would have been returned in earlier list objects request.
The error case was aws cli listing multiple entries for the same
common prefix when the listing required multiple pagination
requests.
Fixes #778
2024-09-18 12:02:25 -07:00
Ben McClelland
4cace00d8e
fix: get object range min=max return single byte min
...
The range min-max where min=max was incorrectly returning invalid
object range. On AWS, this returns the byte at offset min.
Fixes #810
2024-09-18 10:00:57 -07:00
jonaustin09
600aca8bdc
fix: Fixed the request uri path escape to support object key special characters
2024-09-17 13:28:30 -04:00
Ben McClelland
cecf563d92
Merge pull request #798 from versity/fix/azure-obj-content-enc
...
fix: Fixed the mechanism to put/get object content-type, content-enco…
2024-09-11 13:30:39 -07:00
jonaustin09
47d1a799f6
fix: Fixed the mechanism to put/get object content-type, content-encoding in azure
2024-09-11 15:11:37 -04:00
jonaustin09
a6fd1322f7
fix: Removed multipart upload part from GetObjectAttributes action
2024-09-11 11:57:32 -04:00
jonaustin09
8a46de8e3b
fix: change multipart upload implementation with .sgwtmp namespace in azure
2024-09-10 13:07:15 -07:00
Ben McClelland
dc71365bab
fix: set content type/encoding on put/mutlipart object
...
This fixes put object with setting a content type. If no content
type is set, then we will return a default content type for
following requests. Mutli-part upload appears to be ok.
Also fixed content eincoding and multipart uploads.
Fixes #783
2024-09-09 16:04:54 -07:00