Commit Graph

220 Commits

Author SHA1 Message Date
Aditya Manthramurthy
f5bc5a0a45 Fix haddock links (Fixes #6) (#13) 2017-02-13 16:06:01 +05:30
Aditya Manthramurthy
ff355ef62c Add QuickCheck test for selectPartSizes (#12) 2017-02-13 16:06:01 +05:30
Krishnan Parthasarathi
00176ff976 Add statObject high-level API (#11) 2017-02-13 16:06:01 +05:30
Aditya Manthramurthy
153c5a67cd Add high-level makeBucket API (#2)
* Add high-level makeBucket API

* Add build badge

* Bring back live server tests.
2017-02-13 16:06:01 +05:30
Aditya Manthramurthy
88a51486d5 Disabling live server unit tests temporarily (for travis) 2017-02-13 16:06:01 +05:30
Aditya Manthramurthy
2bf508c96d Fix tests 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
Krishnan Parthasarathi
fc3824e772 Add listObjects, listIncompleteUploads and listIncompleteParts examples 2017-02-13 16:06:01 +05:30
Aditya Manthramurthy
2bffed8833 Update Readme 2017-02-13 16:06:01 +05:30
Aditya Manthramurthy
3c92dc92c6 Improve some haddock; improve getObject interface. 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
75743ab946 PutObject fixes - does resource cleanup properly now. 2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
fd66d85167 Add getObject and putObject examples
- Use mkRandFile instead of depending on files on disk.
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
0509d90ef1 Multipart upload bug fixes and test fixes 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
915d099112 Add putObjectFromSource and some minor refactors 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
Krishnan Parthasarathi
d17d6f216d Use tlsManagerSettings if connectIsSecure is True
Also provide convenient default instances for ConnectInfo for AWS and
play (minio service).
2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
b36fbb3a2f parseListObjectsResponse should handle empty etags 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
Krishnan Parthasarathi
aa66ba291e Add listObjects, listIncompleteUploads and listIncompleteParts
high-level APIs
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
0f3676b6d7 Minor refactor 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
Krishnan Parthasarathi
5f1ee7fc67 Implement list object parts of an ongoing multipart upload. 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
74748cfb16 Initial high-level putobject 2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
512c455fde Add unit test for parse completemultipart upload response 2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
a36b8b036f doc: add missing doc strings 2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
41d86e86ff Add listIncompleteUploads s3 api. 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
dafa01d7db Clean up with better combinators 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
a12fa8a077 Align imports 2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
0d9235b86a Add unit test for parseListObjectsResponse 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
2817d4654d Fix warnings 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
72f824dd31 Add listObjects s3api. 2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
06214c1cae Clean up xml gen/parsing unit tests 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
e2a99530be use Default instance for ConnectInfo 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
3dcb89d8ba Add abort multipart 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
aabcf3dfec Restructure tests 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
4e0635cab3 Add support for ghc 8 - build with "STACK_YAML=stack-ghc-8.0.1.yaml stack install" 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
Aditya Manthramurthy
6db483c2bc Fix some warnings 2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
19eda8622f Add unit-tests for parseLocation in XmlParser.Test 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