Commit Graph

65 Commits

Author SHA1 Message Date
Aditya Manthramurthy
04d1193201
Switch to more performant map data type (#131) 2019-07-24 12:52:18 -07:00
Aditya Manthramurthy
cc930975c9
Fix listing to also return common prefixes (#126)
- Also bump up to 1.4.0 as this is a breaking change.
2019-07-09 12:20:05 -07:00
Aditya Manthramurthy
4a807fde56 Add streaming signature for PutObject (#123)
Use streaming signature to avoid reading the body twice in PutObject
requests, where the body can be upto 5GIB.

Note that the body is signed only used when the connection is not
using TLS.
2019-05-16 20:49:38 -07:00
Aditya Manthramurthy
909f1c482d
Update for new release (#122) 2019-05-13 12:26:46 -07:00
Aditya Manthramurthy
76e5651d5a Add simple TLS helpers: (#121)
- Check if ConnectInfo is secure

- Option to disable TLS certificate validation (to make testing
  easier).
2019-05-13 11:42:34 -07:00
Aditya Manthramurthy
663015fa9d
Update for new release (#120) 2019-05-10 16:09:07 -07:00
Krishnan Parthasarathi
005c6f8e65 Retry requests that timeout using full-jitter backoff (#119) 2019-05-10 15:41:08 -07:00
ebozduman
af3b75e29e MinIO & min.io replaces Minio & minio.io respectively (#114) 2019-04-13 00:25:25 +05:30
Aditya Manthramurthy
72bf08129c Add support for S3Select API (#108) 2019-03-08 15:54:36 -08:00
Aditya Manthramurthy
c8a32ad217
Update for new release (#104) 2018-07-06 10:42:48 -07:00
Aditya Manthramurthy
53c7926006
Bump up version for new release (#102) 2018-06-30 19:15:44 -07:00
Krishnan Parthasarathi
44bbd66719 Improve initializing ConnectInfo (#101)
- Remove ConnectInfo's Default instance
- Add support for reading from well-known credential files and
  environment variables
2018-06-29 18:28:17 -07:00
Krishnan Parthasarathi
7564cbd514 Infer XML namespace using connectHost (#96)
While GCS is S3 v4 compatible, it uses a different xml namespace url
than AWS (and Minio).
2018-06-07 18:28:59 -07:00
Harshavardhana
d0ddd7f057 Add setConfig/getConfig API (#95) 2018-06-07 16:20:43 -07:00
Krishnan Parthasarathi
952c0b0342 Add getServerInfo admin API (#91)
- Add Admin API helper functions like buildAdminRequest
2018-05-31 18:06:24 -07:00
Aditya Manthramurthy
56856e82e0
Update changelog and version for release 1.0.1 (#89)
- Adds lower-bounds on dependencies.
2018-05-29 17:02:09 -07:00
Aditya Manthramurthy
d25c7ef1dc Drop dependency on exceptions lib (#87) 2018-05-14 06:48:07 +05:30
Aditya Manthramurthy
522d49452f Remove dependency on text-format lib and fix bucket policy test (#86) 2018-05-11 17:48:34 -07:00
Aditya Manthramurthy
0177953986 Bump up version for release 1.0.0 (#85) 2018-04-23 15:54:46 -07:00
Aditya Manthramurthy
51b3e51d46
Switch to unliftio and lts-11.1 (#83)
- Also add .stylish-haskell.yaml
- Re-implements `limitedMapConcurrently` using STM
- Dependencies clean up in cabal file
- Fix shadow warnings and other build warnings
2018-03-26 14:04:25 -07:00
Krishnan Parthasarathi
fe7aef21b7 Make copyObject use SourceInfo, DestinationInfo (#73)
* Make CopyPartSource constructor private

... and make individual record accessors exported. This change allows
adding of additional record members to CopyPartSource without breaking
applications.

* Move high-level copyObject functions to CopyObject module

* Make copyObject use SourceInfo, DestinationInfo

... to allow supporting features like client-side and server-side
encryption subsequently.

- fix warnings in tests/LiveServer.hs
2017-12-04 07:24:48 -08:00
Aditya Manthramurthy
33a27323f3
Add extra files to be added to a release tarball (#77) 2017-11-16 18:11:53 +00:00
Aditya Manthramurthy
8ec18f7ebe
Bump up version for new release 0.3.2 (#76) 2017-11-15 23:54:11 +00:00
Aditya Manthramurthy
ee52b3c51c Remove upper bound on protolude version (#70)
This should allow building the library with GHC 8.2.1 on Stackage
nightly.
2017-10-20 11:07:35 -07:00
Aditya Manthramurthy
d3353bb35a Add presigned Post Policy API (#58)
- Also force tests to run in serial on travis (otherwise it times out)
2017-09-26 09:02:39 -07:00
Aditya Manthramurthy
02170778da Add presigned operations APIs (#56)
This change adds 3 functions to main API: presignedGetObjectURL,
presignedPutObjectURL and presignedHeadObjectURL.

A fourth more generic API is added to `Network.Minio.S3API` -
makePresignedURL.

Additionally, refactors signing code for readability and the ability
to reuse for pre-signing.
2017-09-08 10:39:07 -05:00
Aditya Manthramurthy
ece5a5e3f8 Bump up version for new release 0.3.1 (#55)
* Switch to Stackage LTS 9.1
* Minor update to description in cabal file
* Add Slack badge and update Hackage badge in README.md
2017-08-22 13:54:57 +05:30
Aditya Manthramurthy
8456034d9e Fix concurrency bug in limitedMapConcurrently (#53)
Also simplifies implementation using lifted `bracket_` and async
routines, instead of lifted control operations like `liftBaseOp_`

Adds a test.
2017-08-21 11:52:06 -07:00
Aditya Manthramurthy
4ee1e99df7 Bump up version for new release 2017-07-17 13:58:55 -07:00
Aditya Manthramurthy
e8a75a8fdb Add bucket and object name validation (#45) 2017-03-28 16:27:23 +05:30
Aditya Manthramurthy
3281f2a912 Switch to Stackage LTS 8.5
- Bump up version in cabal for release.
2017-03-17 14:57:50 +05:30
Aditya Manthramurthy
aba4053965 Bump up version in cabal file 2017-03-16 18:16:29 +05:30
Aditya Manthramurthy
e4e2576c74 Add copyObject API: (#5)
* Performs server side copy of an object by creating a new object that
  is a copy of an existing object or part of an existing object.

* The user may specify an object on server of any size, and optionally
  specify a byte range to only copy a part of the object.

* Copy conditions are also supported.
2017-02-23 14:04:08 +05:30
Aditya Manthramurthy
687176fe20 Add note - not production ready and set stability to experimental 2017-02-14 19:53:23 +05:30
Aditya Manthramurthy
064f0e73f9 Separate out tests into two suites:
- One suite runs tests not requiring a live server, and the other
  does.

- Adds a cabal flag to disable the live server tests.
2017-02-14 15:20:47 +05:30
Aditya Manthramurthy
b866c38814 Update new home of the library, and add hackage badge 2017-02-13 16:18:56 +05:30
Aditya Manthramurthy
30dbc0b64a Bump up version for release 2017-02-13 16:06:01 +05:30
Aditya Manthramurthy
5d62839cfa cabal fixes + try travis script 2017-02-13 16:06:01 +05:30
Aditya Manthramurthy
d46f79c806 Set version for initial hackage release, fix authors and copyright 2017-02-13 16:06:01 +05:30
Aditya Manthramurthy
0509d90ef1 Multipart upload bug fixes and test fixes 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
6ab4ec6418 Use randomly generated bucket names for functional tests 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
688f326b6e Make parallel upload also resume an existing upload 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
c430e3d747 Makes sequential uploads resumable. 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
43bfabd186 Improve error handling; misc 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
f26fbc82a7 Refactor error types returned by the library 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
74748cfb16 Initial high-level putobject 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
2070a8e13f PutObjectPart and CompleteMultipartUpload with basic tests
- Functional tests are refactored
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
6268eb29a7 Restructure functional tests and remove executable from .cabal 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
82262ee695 Eliminate requestInfo function and use default instances 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
20481ef019 Add some basic documentation 2017-02-13 16:03:42 +05:30