jonaustin09
c7bb2f286a
fix: Fixes #557 , Added years and days validation in PutObjectLockConfiguration action
2024-05-16 17:31:39 -04:00
jonaustin09
5acf1f332a
fix: Fixes #555 , Added the logic to return InvalidBucketState when calling PutObjectLockConfiguration action on not object lock enabled bucket
2024-05-16 11:30:35 -04:00
jonaustin09
481c9246c6
feat: HeadObject ation multipart upload case
2024-05-03 18:10:32 -04:00
jonaustin09
b4cd35f60b
feat: error refactoring and enable object lock in backends
...
Added support to enable object lock on bucket creation in posix and azure
backends.
Implemented the logic to add object legal hold and retention on object creation
in azure and posix backends.
Added the functionality for HeadObject to return object lock related headers.
Added integration tests for these features.
2024-05-02 15:23:48 -07:00
Ben McClelland
3fc8956baf
fix: increase valid timestampe window from 1 to 15 minutes
...
According to:
https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html#RESTAuthenticationTimeStamp
The valid time wondow for authenticated requests is 15 minutes,
and when outside of that window should return RequestTimeTooSkewed.
2024-05-01 13:56:34 -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
aeea61544b
feat: add s3err QuotaExceeded for posix/scoutfs
...
When fileystem quota exceeded, the gateway will now return the
error:
S3 error: 403 (QuotaExceeded):
Your request was denied due to quota exceeded.
This will help clients to better detect upload errors due to
quota exceeded.
Fixes #483
2024-04-06 11:53:40 -07:00
Ben McClelland
5ca44e7c2f
fix: prevent directory type object uploads containing data
...
Since objects with trailing "/" are mapped to directories in the
posix filesystem, they must not contain data since there is no
place to store that data.
This checks both PutObject and CreateMultipartUpload for invalid
directory object types containing data.
2023-10-07 15:36:03 -07:00
jonaustin09
3573a31ae6
fix: Closes #192 , Fixed authentication errors returned, created integration test cases for it
2023-08-25 21:50:21 +04:00
jonaustin09
7814979efa
feat: Fixes #181 , Added support to add object with special character keys, disabled URI path escaping in v4 signing, add a middleware to parse the URL and store the decoded version as a new URL, added test cases for adding/getting/listing objects with special characters
2023-08-08 00:41:06 +04:00
Jon Austin
bf33b9f5a2
Issue 154 ( #169 )
...
* fix: Fixes #154 , Changed GetObject range error to InvalidRange
2023-07-27 11:05:40 -07:00
Ben McClelland
c4e0aa69a8
scoutfs: add support for glacier emulation mode
2023-06-21 10:27:14 -07:00
Ben McClelland
5cbcf0c900
add copyright headers to source files
2023-05-28 14:38:45 -07:00
Ben McClelland
339db8bf23
fix: cleanup backend error return types
2023-05-17 15:28:21 -07:00
jonaustin09
f2575c570f
feat: add gofiber
...
add gofiber
add ListBuckets,PutBucket,DeleteBucket,ListObjects,ListObjectsV2,DeleteObject,DeleteObjects,CopyObject actions
2023-05-11 04:11:21 +04:00
Ben McClelland
f156a78dee
fill out basic project layout
2023-05-05 17:16:59 -07:00