Commit Graph

25 Commits

Author SHA1 Message Date
Aditya Manthramurthy
e8a75a8fdb Add bucket and object name validation (#45) 2017-03-28 16:27:23 +05:30
Krishnan Parthasarathi
9358d28d3b Fix hlint warnings and suggestions (#44) 2017-03-25 15:56:51 +05:30
Krishnan Parthasarathi
b333ed6345 Make MinioErr flatter and make examples work. (#25) 2017-03-09 16:51:56 +05:30
Krishnan Parthasarathi
9001f81813 Add port to host header for signing. (#24)
* Add port to host header for signing.

* Use endpoint corresponding to region for AWS S3
2017-03-03 21:16:47 +05:30
Krishnan Parthasarathi
7be42dd011 Add copyright header to all source files. (#20) 2017-03-02 16:01:59 +05:30
Krishnan Parthasarathi
abdc9fe320 Use bucket region cache to minimize getLocation requests (#3) 2017-02-25 16:42:23 +05:30
Aditya Manthramurthy
3c92dc92c6 Improve some haddock; improve getObject interface. 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
a12fa8a077 Align imports 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
82262ee695 Eliminate requestInfo function and use default instances 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
6db483c2bc Fix some warnings 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
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
Aditya Manthramurthy
a7e70b9031 Refactor error handling and fix most warnings 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
c9f6d666db Refactor request builder and Payload type 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
1ad670a328 Fix shadowing warnings 2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
45d5f9e676 Move region to RequestInfo
Region is a request specific attribute, mostly applies to bucket
operations.
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
Aditya Manthramurthy
fb6bf1a9cb working program - with minio monad 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
07eb59fda5 Add Minio monad and start getService 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
4569348dc2 Signing works! But includes lots of debug stmts. 2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
5ce595bc6f Compiling but without signing working properly yet 2017-02-13 16:03:42 +05:30