Commit Graph
161 Commits
Author SHA1 Message Date
Harshavardhana f4983de475 Do not add region for mc, since mc treats with URLs not regions 2015-05-13 20:12:13 -07:00
Harshavardhana e4f9152bcd If Object size is 0, treat it like a directory for object storage 2015-05-13 19:36:54 -07:00
Harshavardhana cd93bfd251 Migrate mc s3 client code to objecstorage-go library, now all requests from mc are signature v4 authenticated 2015-05-13 19:05:31 -07:00
Harshavardhana e4a77c7391 Change minio-io to minio 2015-05-11 16:24:26 -07:00
Harshavardhana 1c4351979a Combine Get() and GetPartial to be GetObject() with offset and length parameters
- GetObject(0, 0) does a full download on the object
 - GetObject(n, m) does a partial download on the object at offset n upto length m
2015-05-11 15:02:45 -07:00
Harshavardhana e57e6de098 Add new option for bucket ACL named `authenticated-read`
This provides read access to all users who are part of AuthenticatedUsers group

~~~
  $ mc access authenticated https://s3.amazonaws.com/bucketname
~~~
2015-05-08 21:12:32 -07:00
Harshavardhana 5a69d76b93 Set X-Amz-Date properly for mc 2015-05-08 16:09:25 -07:00
Harshavardhana 78a9f175e5 Revert "Remove MD5 requirement for ETag" - apparently we need it :(
This reverts commit 7103a9433b.
2015-05-08 15:00:41 -07:00
Harshavardhana 7103a9433b Remove MD5 requirement for ETag 2015-05-08 13:28:31 -07:00
Harshavardhana ab76d6d0f6 Now listObjectsRecursive() does more than just 1000keys 2015-05-05 01:40:28 -07:00
Harshavardhana dc86452713 Minor change use .Write() instead of io.WriteString() 2015-05-02 22:23:45 -07:00
Harshavardhana 5023b37850 Fix signature calculation bug 2015-05-02 19:56:58 -07:00
Harshavardhana 26c09aeba7 Simplifying further and couple of bugs fixed 2015-05-02 16:01:52 -07:00
Harshavardhana f4f691f2af Remove deps on aws-sdk we use our own 2015-05-02 12:00:07 -07:00
Harshavardhana beab21d3fe xml to abstract map is not necessary, we should just use struct based 2015-05-02 11:46:35 -07:00
Harshavardhana 766dbfa559 "unstruct client functions"
Original-Author: Anand Babu Periasamy <ab@minio.io>
2015-05-02 11:41:30 -07:00
Harshavardhana 78a78c072a Full cleanup of s3 client for mc 2015-05-02 11:28:31 -07:00
Harshavardhana a74dce0412 bucketFromHost() was buggy remove it, we have better ways to grab bucketNames 2015-04-30 21:00:28 -07:00
Harshavardhana 7fe1c4af97 Relax the requirement for AccessKey for listbuckets() for non amazonaws requests 2015-04-30 16:39:10 -07:00
Harshavardhana c4d954b614 Access validation only for ListBuckets(), all others do not explicitly require Auth verification 2015-04-30 14:05:50 -07:00
Harshavardhana 9833697e0a Add more fixes and helpful messaging
- check for config file for each command, prior to error out properly
  - hostconfig doesn't do any key verification, let client s3 verify it as needed
  - mc update change URL pointed to dl.minio.io minio server, still not functional yet
2015-04-30 14:03:06 -07:00
Harshavardhana 47e9a48577 objectURL in s3Client should construct PathStyle URL for non amazon hosts 2015-04-28 23:45:59 -07:00
Harshavardhana 5ca4280ea0 Handle symlink appropriately with mc ls for filesystem 2015-04-28 23:26:17 -07:00
Harshavardhana 1e38777fd2 Add documentation for update, and use PathStyle for play.minio.io for now 2015-04-28 19:45:05 -07:00
Harshavardhana 8ffd8d0f26 User folder instead of directories in documentation 2015-04-28 12:15:09 -07:00
Harshavardhana 744ed7dcd1 Bring old documentation back 2015-04-28 11:03:34 -07:00
Harshavardhana 41637a2155 Review comments, part of #451 2015-04-28 02:35:46 -07:00
Harshavardhana bb065502dd Update ls docs and fix a bug 2015-04-27 21:20:21 -07:00
Harshavardhana f24a42a32b Non recursive ls - fixes #479 2015-04-27 20:57:17 -07:00
Harshavardhana e342bfa197 Merge pull request #553 from harshavardhana/pr_out_implement_multipart_upload_library_functions 2015-04-27 14:49:44 -07:00
Harshavardhana 5468c97f0e Implement multipart upload library functions 2015-04-27 14:41:13 -07:00
Harshavardhana 877d32236c Make sure to set the Date's properly in s3Client 2015-04-27 04:30:49 -07:00
Harshavardhana 81379a01c7 Re-implement s3tests with minio-io/check - fixes #432 2015-04-26 16:55:10 -07:00
Harshavardhana 511416b0f9 Recursive copy with prefix works now fixes - #496 2015-04-26 16:02:57 -07:00
Harshavardhana 93cb35e847 Merge fs from unix and windows, there are no further differences 2015-04-25 00:45:23 -07:00
Harshavardhana 31ddab431e Add license and create a new file LICENSE.GOOGLE 2015-04-24 21:17:01 -07:00
Harshavardhana 9fb94c72a1 Filesystem now calculates md5sum and returns 2015-04-24 20:15:57 -07:00
Harshavardhana f8ac1b96d1 Move blockingwriter to client interface 2015-04-24 19:38:14 -07:00
Harshavardhana b4c70f1a95 Do not attempt Stat() for destination fixes copy to objectstorage bug 2015-04-24 14:02:29 -07:00
Harshavardhana 04fc519ce2 Merge GetObjectMetadata() into Stat(), now Stat() returns properly using FileType
FileType is going to be used to differentiate between directory, file/bucket, object respectively
2015-04-24 11:16:27 -07:00
Harshavardhana 4e05b59298 Implement access command 2015-04-24 02:09:27 -07:00
Harshavardhana 518fa8a2cf Add buckets to have same coloring as directories 2015-04-23 22:44:05 -07:00
Anand Babu (AB) Periasamy c09ce54090 console enhancements, consistent error message and janitor duty 2015-04-23 21:25:10 -07:00
Harshavardhana 9f97409362 Migrate fully to List() with channel everywhere, deprecate old List() API 2015-04-23 20:36:44 -07:00
Harshavardhana 6f8bac1e95 Merge pull request #514 from harshavardhana/pr_out_add_listonchannel_for_fs_unix_windows_and_cmd_ls 2015-04-23 20:05:37 -07:00
Harshavardhana 972c476e36 Add ListOnChannel() for fs{unix,windows} and cmd-ls 2015-04-23 20:02:48 -07:00
Frederick F. Kautz IV 59356a443b Merge pull request #511 from fkautz/pr_out_fixing_panic 2015-04-23 19:22:13 -07:00
Frederick F. Kautz IV 7b6f264529 Fixing panic 2015-04-23 19:07:27 -07:00
Harshavardhana e6fea12bc2 Cleanup s3 API further 2015-04-23 18:57:30 -07:00
Harshavardhana 527b1ca96d ListOnChannel() - now listbuckets and objects through channel replies.
Still doesn't do full recursive of all objects based on marker, that is the next step.
2015-04-23 18:01:12 -07:00