Wykres commitów

547 Commity (09d744763db408907b943ec5f7d31f49dcf71c42)

Autor SHA1 Wiadomość Data
oxalis-gps 09d744763d Added Docker environment variable "S3PROXY_CORS_ALLOW_ALL"
refs issues #142
refs Pull #144

The default value is false
2017-02-16 13:49:48 -08:00
Andrew Gaul 5a3eaccc5c Upgrade to modernizer-maven-plugin 1.5.0
Release notes:

https://github.com/andrewgaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.5.0
2017-02-15 23:41:14 -08:00
Andrew Gaul ed27fc38af Upgrade to jackson-dataformat-xml 2.8.6
Changelog:

https://github.com/FasterXML/jackson-dataformat-xml/blob/master/release-notes/VERSION
2017-02-15 23:40:31 -08:00
Andrew Gaul e581d99517 Rename S3AwsSdkTest to AwsSdkTest 2017-02-15 23:33:19 -08:00
Andrew Gaul 05c5643681 Update copyright year 2017-02-15 23:15:16 -08:00
Andrew Gaul 4295f72be5 Move tests from S3ProxyTest to S3AwsSdkTest
This makes testing more consistent and gives better coverage of the
more widely-used AWS SDK.  Fixes #147.
2017-02-15 23:11:11 -08:00
Andrew Gaul bbcdf4391f Ignore long-running test 2017-02-15 18:17:57 -08:00
Andrew Gaul 9329b161f2 Allow unsigned payloads
Fixes #184.
2017-02-15 18:17:57 -08:00
Andrew Gaul 2473e6c309 Upgrade to aws-java-sdk-s3 1.11.91 2017-02-15 18:17:57 -08:00
Andrew Gaul acf125d8e9 Use secure endpoint in tests 2017-02-15 18:17:56 -08:00
Andrew Gaul ab425bd7d2 Upgrade to Jetty 9.2.21.v20170120
Release notes:

https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00099.html
https://dev.eclipse.org/mhonarc/lists/jetty-announce/msg00100.html
2017-02-15 17:24:45 -08:00
Andrew Gaul 7191ce66fd Update s3-tests to fix Python six.moves error
Reference:

https://github.com/pypa/setuptools/issues/940
2017-01-25 13:44:28 -08:00
Andrew Gaul dc0c8663b8 Uprade to aws-java-sdk-s3 1.11.84
Address various deprecations.
2017-01-25 13:06:01 -08:00
Andrew Gaul 48f7fe2742 Remove calls to Throwables.propagate
These are not needed and Guava 21 removes this API.
2017-01-19 22:37:40 -08:00
Andrew Gaul 13b10997c8 Make private methods static where possible
Found via error-prone.
2016-12-20 13:28:18 -08:00
Andrew Gaul e0c9ee0905 Add object tagging to limitations 2016-12-05 18:32:24 +08:00
Andrew Gaul 8052e67eac Remove unused parameters
Found via PMD.
2016-11-21 13:09:01 -08:00
Andrew Gaul 4336000409 Allow Quiet element in DeleteMultipleObjects
Fixes #173.
2016-11-20 16:33:44 -08:00
Andrew Gaul aeb4ba57de Reword README summary 2016-11-16 21:16:42 -08:00
Andrew Gaul 95418a3457 Add badges to README 2016-11-16 19:46:55 -08:00
Andrew Gaul 0de31ceec6 Add list objects v2 to limitations 2016-11-16 10:55:39 -08:00
Andrew Gaul 0003d011f3 Correct test exception message 2016-11-16 10:54:46 -08:00
Andrew Gaul d268abb947 Bump to 1.6.0-SNAPSHOT 2016-11-15 22:08:07 -08:00
Andrew Gaul 07906cdf99 Bump version to 1.5.1 2016-11-15 22:03:01 -08:00
Andrew Gaul 23bfecd6be Emit AccessDenied if client sends wrong auth type
This allows fallback from v4 to v2.  Also handle anonymous mode
explicitly.
2016-11-14 22:24:01 -08:00
Andrew Gaul 554105ed6c Bump to 1.6.0-SNAPSHOT 2016-11-14 17:04:23 -08:00
Andrew Gaul fba12c3341 Bump version to 1.5.0 2016-11-14 16:59:41 -08:00
Andrew Gaul aee6ac5e90 Upgrade to jclouds 2.0.0
Release notes:

https://jclouds.apache.org/releasenotes/2.0.0/
2016-11-14 16:13:09 -08:00
Andrew Gaul 3d9a7120ce Ensure S3Exception has message
Also add missing toString implementation.
2016-11-14 15:39:44 -08:00
Andrew Gaul 34c36e4236 Upgrade to jackson-dataformat-xml 2.8.4
Changelog:

https://github.com/FasterXML/jackson-dataformat-xml/blob/master/release-notes/VERSION
2016-11-14 14:36:24 -08:00
Andrew Gaul 6936f50f95 Upgrade to slf4j 1.7.21
Changelog:

http://www.slf4j.org/news.html
2016-11-14 14:36:23 -08:00
Andrew Gaul a8e735aa3d Upgrade to logback 1.1.7
Changelog:

http://logback.qos.ch/news.html
2016-11-14 14:32:32 -08:00
Andrew Gaul cb16ebb0ba Upgrade to commons-fileupload 1.3.2
Release notes:

https://mail-archives.apache.org/mod_mbox/www-announce/201605.mbox/%3CCAB917R%2Bk3gL8OHVmCGtGg-DC__VFGCDAC6UTRxMhsf6U_%2BZXxA%40mail.gmail.com%3E
2016-11-14 14:31:42 -08:00
Andrew Gaul 04657867b8 Add configuration for AWS authentication V4
Supports aws-v2, aws-v4, aws-v2-or-v4, and none.  Fixes #156.
2016-11-14 00:59:46 -08:00
Andrew Gaul 80e256435e Fix indentation and work around wrong visibility
Found via Checkstyle 7.2.
2016-11-14 00:58:22 -08:00
Andrew Gaul 778002e7f5 Format LastModified without millisecond precision
Found via s3verify.
2016-11-13 18:52:56 -08:00
Andrew Gaul 3188605ea7 More strictly check bucket names
Found via s3verify.
2016-11-13 18:42:12 -08:00
Andrew Gaul 85bd7432a7 Limit GET Bucket maxKeys to 1000
Found via s3verify.
2016-11-13 17:45:25 -08:00
Andrew Gaul c0c01c2e7f Add Location header to PutBucket response
Found via s3verify.
2016-11-11 18:42:37 -08:00
Andrew Gaul c707ed4a6d Correct some S3 error responses
Found via s3verify.
2016-11-11 16:17:00 -08:00
Andrew Gaul 0dc133036b Ignore part-number-marker when zero
S3Proxy does not support pagination but it can support this initial
no-op value.  Fixes #162.
2016-11-07 22:13:22 -08:00
shenghu 4fb4a718b9 Refactor S3ProxyHandler to be agnostic to Jetty. Added a new file,
S3ProxyHandlerJetty, to have codes related to Jetty.
2016-11-07 22:07:55 -08:00
Andrew Gaul cd54c6f8ef Combine COPY directives to elide a layer 2016-11-03 19:37:36 -07:00
Andrew Gaul 164ef077b3 Emit correct EncodingType stanza
Previously this contained a spurious hyphen which confused clients
that checked the XML response instead of relying on their HTTP request
parameters.  Fixes #158.
2016-10-05 04:45:32 -07:00
Andrew Gaul ba7ec01af2 Add Backblaze to summary 2016-09-14 11:14:38 -07:00
Andrew Gaul bb64884f09 Return ETag as ETag instead of Content-MD5
Previously S3Proxy only returned ETag if jclouds populated the
possibly-null Content-MD5 field.  Providers like Azure do not store
MD5 in ETag and thus S3Proxy would not return any ETag.  Also do not
return unneeded Content-MD5 header.  Fixes #151.
2016-09-12 22:53:54 -07:00
Andrew Gaul 9f0bc8a17b Honor SIGINT in Docker container
Use intermediate shell script to forward environment variables then
exec java.
2016-09-04 22:21:54 -07:00
Andrew Gaul 224bb8b2f6 Unwrap AuthorizationException to ACCESS_DENIED 2016-08-29 23:02:15 -07:00
Andrew Gaul 5c3b4494d2 Use generic get blob behavior for anonymous access
Previously S3Proxy tried to be too clever about pushing ACL
enforcement into the provider.
2016-07-19 03:20:07 -07:00
Andrew Gaul 01f956052e Add property to include permissive CORS response
References #142.
2016-07-19 03:20:07 -07:00