Commit Graph
105 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 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 1e38777fd2 Add documentation for update, and use PathStyle for play.minio.io for now 2015-04-28 19:45:05 -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 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 31ddab431e Add license and create a new file LICENSE.GOOGLE 2015-04-24 21:17:01 -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
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
Harshavardhana 33dbf0e16c Return proper err back from Put() through response
This still doesn't fix the issue of progress bar completion, since there are no
Closers() involved for progress bar and multiwriter. A Write() wouldn't fail
for a 403 if the. So io.CopyN has no way to reply back proper error.
2015-04-23 16:02:24 -07:00
Harshavardhana 45951e3f13 Ignore signRequest for Get() and GetPartial() if accesskeys are empty, missed from previous commit 2015-04-23 14:27:57 -07:00
Harshavardhana c120a5853d Now bucket creation requires a simple CannedACLs to start with
$ ./mc mb <acl_type> <target>
2015-04-23 14:22:48 -07:00
Harshavardhana 4e53814cc3 Add bucket ACL support 2015-04-23 12:10:51 -07:00
Anand Babu (AB) Periasamy 16e8cec82a field specific color theme 2015-04-23 01:02:17 -07:00
Harshavardhana e4b122ee9d A parial fix for #496, strip down objectPrefixes during List() 2015-04-22 13:58:48 -07:00
Harshavardhana dc200a62fc Disallow `bucket` creation with uppercase letters 2015-04-22 01:22:22 -07:00
Harshavardhana 0eaf7ec5b4 Handle errors properly, also remove need for normalizing path on windows 2015-04-22 00:17:01 -07:00