Commit Graph
24 Commits
Author SHA1 Message Date
Harshavardhana 621e8cf0ff config: Relax valid access and secret keys.
Deviating from AWS Standards to support non
AWS Standard keys for Ceph and Exoscale probably
others.

Fixes #1690
2016-04-19 14:52:33 -07:00
Harshavardhana 69fbb9a87d mc: Fix Golang version handling.
Migrate to a better go-version package to handle
version numbers.  Default to 'go1.6' as minimum.
2016-04-02 02:51:27 -07:00
Harshavardhana f4e8352f5a access: Access policy command implemented.
This patch implements as decided..

To set a bucket policy.
```
mc access readonly s3/<bucket>
mc access readwrite s3/<bucket>
mc access writeonly s3/<bucket>
mc access none s3/<bucket>
```

To get a bucket policy.
```
mc access s3/<bucket>
```
2016-03-27 19:49:54 -07:00
Harshavardhana fb70ef7b1c build: Default to Golang 1.6 2016-02-18 16:08:07 -08:00
Super-User 5219fd59e8 porting: mc now properly works on solaris.
Fixes #1603
2016-02-15 15:03:40 -08:00
Anand Babu (AB) Periasamy 0bd1edfd8f new alias style and numerous cleanups. 2015-12-28 15:31:52 -08:00
Harshavardhana 3f52c951e7 testing: Remove all the console IsExited/IsError testing. 2015-11-21 17:55:42 -08:00
Harshavardhana 39ba33f4c6 config: Simplify config further, add more docs. 2015-11-21 16:32:34 -08:00
Anand Babu (AB) Periasamy 052f73f348 restructure globals and some bug fixes related to globals 2015-11-21 12:43:21 -08:00
Harshavardhana 628e8734ce config: Add proper keys for tests 2015-11-19 00:44:01 -08:00
Harshavardhana da65cbae06 config: Extensive changes to config and host handling
- alias now expands for all match aliases and also any matching hosts.
   Example:-  mc ls -r s3.amazonaws.com/ferenginar/bin

 - not globs, no hosts - only fully qualified URLs are stored in config.
 - everywhere use 'args2URLs()' getAliasURL should be used internally.
2015-11-19 00:20:11 -08:00
Harshavardhana b36ae24f86 mirror: Do not verify for deprecated recursive URLs 2015-11-18 20:24:31 -08:00
Harshavardhana 6e9ec398da config: Remove support for glob URLs, simply rely on strings suffix matching. 2015-11-17 20:49:48 -08:00
Harshavardhana 0945e3b872 local: alias localhost:9000 - fixes #1383 2015-11-17 18:20:29 -08:00
Harshavardhana 824a6b8cb8 config: migrate to new configV6
Fixes #1266

- add "*s3*amazonaws.com" as part of the new config.
- add "*storage.googleapis.com" as part of the new config.
2015-11-12 00:04:41 -08:00
Anand Babu (AB) Periasamy d634e3883a fixed variable naming conventions 2015-11-07 17:00:20 -08:00
Harshavardhana 9447548805 Add share tests 2015-10-29 18:50:15 -07:00
Harshavardhana 795a8edf64 Simplify client interface 2015-10-22 10:47:24 -07:00
Harshavardhana f85e8827e1 Migrate mc package to minio-xl from minio/minio repo for probe/quick 2015-10-17 00:24:14 -07:00
Harshavardhana ffc015fe1d Add more tests, coverage now stands for 42.6% 2015-09-28 11:07:20 -07:00
Harshavardhana 6a493df5eb migrate from ConfigV4 to ConfigV5, rename Signature to API 2015-09-21 22:36:50 -07:00
Harshavardhana e8e24ca723 Add support for signature v2 - fixes #1111 2015-09-21 21:00:07 -07:00
Harshavardhana b8bd40e685 Disable JSON based testing, reduce ls tests to its context only 2015-09-19 19:42:25 -07:00
Harshavardhana b7e6a4358b Changes to test framework, remove references to 'Cmd'wq 2015-09-15 21:47:38 -07:00