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
Krishnan Parthasarathi
1f73204e38
tests: Move tests to modules corresponding to modules (unit) being tested
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
8be4f0a06f
Add MonadBaseControl IO instance and catch HttpException
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
7d7b81cbe3
Catch file opening errors
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
ca3276cd87
Basic putObject is working:
...
- This is single PUT action - so only files up to 5GB.
- Buffers in memory because chunked singature is not yet implemented.
- fPutObject is simply wired to putObject (so does not yet work for
multipart uploads
2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
9aacd28f43
Move xml tests to a separate module
2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
b9c7ceb435
Make internal functions available for testing
2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
342d0bc8ff
Move Xml Generation to a module
...
- Make putBucket throw exception of failure
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
225d53bb4e
Add a simple test - depends on runnign minio server
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
73a88143d5
GetObject s3api and fGetObject api
...
- Also updates to lts 6.27 (to be able to use sinkFileCautious)
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
fe1dfe24d6
Reorganize api
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
00e9198e60
Implement getService and getLocation
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
9d6ec0f6e5
more progress
2017-02-13 16:03:42 +05:30