Wykres commitów

30 Commity (master)

Autor SHA1 Wiadomość Data
Andrew Gaul d375011388 Upgrade to Jetty 11.0.11
Jetty 9 is EOL.  This requires Java 11 and updating some Java EE
imports.  Fixes #422.
2022-08-08 21:17:40 +09:00
Andrew Gaul 1f79d30df5 Update copyright year 2021-03-29 21:04:28 +09:00
Andrew Gaul 7e74e859e5 Add configurable limit for single-part object size 2021-02-03 23:22:22 +09:00
Andrew Gaul 51ce7a91ad Update copyright year 2020-05-02 19:50:19 +09:00
Andrew Gaul 6291e93582 Update copyright year 2019-10-22 10:26:10 -07:00
Andrew Gaul f45d6e7fce Prefer HTTPS links where possible 2019-05-20 09:30:27 +09:00
Andrew Gaul c8d8126b3f Add simple handler for GetBucketPolicy
Fixes #301.
2019-05-10 19:19:56 +07:00
Falk Reimann e3277a4c1f Basic CORS support
This commit adds a globally configurable CORS support.  Note that this differs from AWS per-bucket support.
2018-12-22 07:19:50 +09:00
Andrew Gaul 2905b720b8 Update copyright year 2018-01-04 14:57:47 -08:00
baul ddfba4e7a4 v2/v4 auth improve
* 15 minitues timeskew
* Add x-amz-date header or query parameter check
* Change the timeskew logic to first get client req auth type
* When v2,x-amz-date header format is rfc2616,when v4,is iso8601
* If have both x-amz-date header and date header in v2 auth,date value in
  stringtosign is x-amz-date header value,CanonicalizedAmzHeaders
  have no x-amz-header.
  Ref Delete example in site:
  http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
* Fix v2 query auth:
  If expires is nil ,does not mean that the auth type is not query
  auth type.
  Ref http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#RESTAuthenticationQueryStringAuth
  It says that 'Additionally, you can limit a pre-signed request by specifying an expiration time.'
2018-01-02 17:32:49 -08:00
Andrew Gaul 05c5643681 Update copyright year 2017-02-15 23:15:16 -08:00
Andrew Gaul c707ed4a6d Correct some S3 error responses
Found via s3verify.
2016-11-11 16:17:00 -08:00
Andrew Gaul 52ba2c843f Add support for conditional copy object
Fixes #113.
2016-02-16 20:31:12 -08:00
Andrew Gaul d66b539f2c Reduce visibility of methods 2016-02-16 16:16:51 -08:00
Andrew Gaul 3c8f68feb2 Update copyright year to 2016 2016-01-09 21:14:59 -08:00
Timur Alperovich 0f872c0a2c Support AWS v4 signatures
Fixes #24.
2016-01-08 15:31:06 -08:00
Andrew Gaul 22d57b1f18 Remove redundant private modifier from enum 2015-10-26 13:11:14 -07:00
Andrew Gaul 4b01ffbba2 Handle illegal ranges in range requests 2015-06-16 21:42:46 -07:00
Andrew Gaul ceb805ef0a Emit InvalidPart when missing an MPU part 2015-05-02 11:08:09 -07:00
Andrew Gaul b036318ec6 Update copyright year to 2015 2015-03-21 23:51:24 -07:00
Andrew Gaul 70a7a6ecf6 Upgrade to Modernizer Maven Plugin 1.3.0
Changelog:

https://github.com/andrewgaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.3.0
2015-03-17 17:46:25 -07:00
Andrew Gaul 7e0c817660 Add NotImplemented error code 2015-03-04 10:38:57 -08:00
Andrew Gaul 0337a4e4bc Handle zero-length multi-part upload 2015-03-02 16:08:09 -08:00
Andrew Gaul b0b1f4e9fa Emulate multipart upload with single-part uploads
This approach requires three times as many operations as the optimal
approach.  Implementing this correctly requires exposing the
underlying multipart operations in jclouds.  Most s3-tests pass but
test_list_multipart_upload still fails:

References #2.
2015-03-02 14:37:16 -08:00
Andrew Gaul 2e82478f0e Prefer static imports for Preconditions 2015-02-20 10:50:37 -08:00
Andrew Gaul ae3598dbfb Emit InvalidAccessKeyId on access key mismatch
References #5.
2014-12-03 22:39:41 -08:00
Andrew Gaul 820b884169 Emit BadDigest for mismatched MD5 hash
S3 uses InvalidDigest for a malformed MD5 hash.
2014-08-23 15:40:16 -07:00
Andrew Gaul 90261c1ce7 Sanity check Date header
References #5.
2014-08-21 13:39:12 -07:00
Andrew Gaul 886c27e63a Emit BucketAlreadyExists
References #5.
2014-08-20 23:38:51 -07:00
Andrew Gaul 0cc7a1390a Factor out S3 error codes into enum class 2014-08-20 18:45:06 -07:00