Commit Graph
3114 Commits
Author SHA1 Message Date
Harshavardhana 2ffa265d8c Add docker file as part of the README.md (#1941) 2017-02-02 15:10:04 -08:00
Anis Elleuch ad850412d2 lock: Update madmin pkg and use duration flag name (#1994)
* Use new errors format returned madmin APIs
* Use duration query name in Locks API
2017-02-01 12:19:27 -08:00
Anis Elleuch 4f0c2bf376 mirror: Avoid session and enable continuous mirror (#1992)
* Watch mode is enabled by default without specifying any flag
* Saving session is removed since mirror is incremental
* Remove the use of queue to simpliy the code
2017-01-31 09:39:39 -08:00
Harshavardhana fa75251c76 Allow saving accessKey, secretKey which is empty. (#1990)
Fixes #1989
2017-01-25 17:42:45 -08:00
Anis Elleuch 3fefebd05d heal: Don't print info if heal obj returns an err (#1988)
When heal object returns an error, just print an error and continue with the
next objects.
2017-01-25 13:50:45 -08:00
Harshavardhana 9d7529118e Add build support for pine64 (#1987)
Also update notify package with new fixes.
2017-01-25 13:37:06 -08:00
Anis Elleuch 507e7672c2 madmin: Update vendorized management API (#1986)
Update to fix an ListObjectsHeal() issue
2017-01-25 22:30:21 +01:00
Anis Elleuch 9c81d374b1 heal: Show help when alias is not specified (#1985) 2017-01-25 12:30:22 -08:00
Anis Elleuch 38c3703d08 admin: Heal format in heal command (#1980) 2017-01-24 15:05:32 -08:00
Anis Elleuch 973dc13cc0 admin: Set 5 min timeout for header response (#1982)
For admin management API requests, we set 5 min as default value
2017-01-24 23:05:19 +01:00
Aaron Walker bca93f6c83 Mirror: normalize keys before comparing (#1978)
vendorize golang.org/x/text/unicode/norm dependency

vendorize golang.org/x/text/transform dependency

add example of multiple encodings
2017-01-24 11:51:59 -08:00
Anis Elleuch caf6bfb76f admin: service status uses new response format (#1979)
server & service fields are added to JSON response
2017-01-23 17:01:21 -08:00
Harshavardhana 76180184a5 client: S3 and Admin clients should have TLSConfig. (#1977)
TLSConfig should be allocated regardless of the
URL scheme so that the re-direction works properly.

Without this change if a server is configured with
self signed certs redirection would fail with

```
x509: certificate signed by unknown authority
```

Allocate TLSConfig always with default values.
2017-01-23 14:38:56 -08:00
Anis Elleuch 0e1e954768 Add new admin Heal command (#1958)
e.g.: `mc admin heal list myminio/` and `mc admin heal myminio/testbucket`

Also, some heal files that belong madmin package have been added
2017-01-22 15:19:06 -08:00
Anis Elleuch b031817fce admin: Add creds command (#1976)
mc admin service creds command set new access and secret keys in the specified Minio server
2017-01-22 15:17:55 -08:00
Anis Elleuch 6b2e63e66c locks: Use new json format for list/clear results (#1975)
Also minio-admin package has been updated
2017-01-19 12:07:45 -08:00
Anis Elleuch 085a1e512f flags: use IsSet to fetch for cli flags (#1969)
cli package fails to search for global flags when we use many level of subcommands. This PR uses context.IsSet() instead.
2017-01-19 11:25:35 -08:00
Dee Koder 31cb23f586 updated badges to slack from gitter (#1973) 2017-01-17 11:59:37 -08:00
Harshavardhana 6a7ca4311e cli: update with urfave/cli changes (#1968) 2017-01-16 10:41:56 -08:00
Harshavardhana d87078bee6 service: Remove service stop command. (#1967)
Deprecate and remove `stop` admin command.
2017-01-14 16:38:01 -08:00
Harshavardhana 50228116e1 Fix source code format issues. 2017-01-13 16:55:25 -08:00
koolhead17 95033f3f76 docs: Updated --older-than syntax in doc. (#1966) 2017-01-13 01:06:39 -08:00
poornas a8acbe5cfb sort output of mc config host list (#1959) 2017-01-10 13:42:34 -08:00
poornas f9d4c4dbac fixed formatting for list host (#1955) 2017-01-09 18:48:22 -08:00
Anis Elleuch 17abc6c736 admin service: json output depends on backend type (#1950)
'Type' field in the json output contains 'FS' or 'XL', also read/write quorums information
are hidden and online/offline disks are shown only when the backend storage is XL
2017-01-09 08:49:53 -08:00
Anis Elleuch 94bd9564d0 admin: fatal message for unknown aliases (#1953)
This change issues a fatal message when the provided alias in cli is not known
2017-01-09 08:47:43 -08:00
Anis Elleuch c6cb6595be admin: Simplify client initialization (#1951)
newAdminClient() is added to simplify initialization and take care of ssl connections
and tracing http request
2017-01-07 16:00:22 -08:00
Harshavardhana a2f25c2f3b Remove references for GO15VENDOREXPERIMENT=1 2017-01-06 18:59:55 -08:00
Harshavardhana 5d3c4ed96c admin/lock: list locks defaults to 24hrs and older. 2017-01-06 01:42:47 -08:00
Anis Elleuch 7cec8f2285 Add admin lock command (#1942) 2017-01-06 01:29:49 -08:00
Anis Elleuch 86777e7863 links: Print encoded form of public URLs (#1947) 2017-01-05 12:16:24 -08:00
Harshavardhana 853fea16b4 Enable support for s3 transfer acceleration. (#1946)
Simply use

```
mc config host add s3-accel https://s3-accelerate.amazonaws.com <access_id> <secret_id>
```

This is all is needed, if you have buckets which has s3 acceleration
enabled it just works transparently.

Fixes #1912
2017-01-05 01:36:01 -08:00
Harshavardhana 9cf76b1233 api: StatObject if listing returned missing file. (#1945) 2017-01-04 18:36:09 -08:00
Anis Elleuch 66a65aab02 Add policy links command (#1943) 2017-01-04 08:24:58 -08:00
Harshavardhana 5581915bc0 session: Validate session config header version. (#1940) 2017-01-01 13:30:10 -08:00
Harshavardhana ee7f4e1d52 Simplify loading config and use config loader with version check. (#1939) 2017-01-01 13:02:27 -08:00
Harshavardhana 8c65985cd0 rm: Allow delete of objects with / at the end. (#1937)
Fixes #1931
2017-01-01 10:26:00 -08:00
Harshavardhana 23a58eb5da mc: Introduce new Dockerfile for mc. (#1938)
This is to build `mc` at hub.docker.com

Fixes #1917
2016-12-31 20:49:05 -08:00
Anis Elleuch 9193eef1c9 clientfs: Fix policy mode calc. in GetAccess() (#1936)
Masking target directory file mode to be able to perform correct comparaison with policy standard file permissions in FS mode
2016-12-23 06:54:45 -08:00
Anis Elleuch e90e9bc352 admin: Introduce the new service command (#1922)
Introducing Admin Service cmd to mc
2016-12-22 13:37:55 -08:00
Harshavardhana a1d860f818 Add Solaris/Illumos source installation. 2016-12-22 13:24:25 -08:00
Harshavardhana d733d68b0c enable static build releases with CGO_ENABLED=0 (#1935)
Also removing darwin build, since we do brew install.

Removing solaris since it doesn't build anymore.

Fixes #1933
2016-12-22 12:54:26 -08:00
Aditya Manthramurthy 4a96d65408 gofmt fixes (#1930) 2016-12-16 08:29:00 -08:00
Dee Koder 1e16ed5e55 404fix: Update docs.minio.io/docs/minio to docs.minio.io/minio-quickstart-guide (#1929) 2016-12-15 12:39:41 -08:00
Harshavardhana 782352ae56 mirror/cp/pipe: Preserve metadata while copying s3 to s3. (#1927)
Fixes #1923
2016-12-14 20:06:52 -08:00
koolhead17 d97ba4eb0d docs: Removed $ from code block to make code copy easier. (#1928) 2016-12-14 12:37:58 -08:00
Harshavardhana 282246fff2 mirror: --remove should properly remove files on target. (#1926)
This bug happened after rm-main was refactored.

Fixes https://github.com/minio/minio/issues/3432
2016-12-12 14:31:46 -08:00
Anis Elleuch b3059164aa cli: Fix --version output (#1924) 2016-12-12 10:21:52 -08:00
Harshavardhana 64166319ee cp/diff/mirror: Cleanup code and deprecate unnecessary flags. (#1914)
This fix also fixes an apparent crash found in diff.

```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4bdc07]

goroutine 84 [running]:
panic(0x810ea0, 0xc4200120e0)
        /home/builder/.gimme/versions/go1.7.3.linux.amd64/src/runtime/panic.go:500 +0x1a1
github.com/minio/mc/cmd.objectDifference.func1(0xc4200880a8, 0xc42042ee56, 0xc420315ec0, 0xc4200880b0, 0xc42042ee57, 0xc420315f20, 0xc42042ee54, 0xc42042ee55, 0xc420315501, 0xc4200880a0, ...)
        /home/builder/mygo/src/github.com/minio/mc/cmd/difference.go:109 +0x197
created by github.com/minio/mc/cmd.objectDifference
        /home/builder/mygo/src/github.com/minio/mc/cmd/difference.go:180 +0x2f5
```
RELEASE.2016-12-09T18-23-19Z
2016-12-06 01:41:22 -08:00
Harshavardhana b8e732e526 events: Fix the message printed by events{add,remove} (#1911)
Fixes #1900
RELEASE.2016-12-05T22-51-51Z
2016-12-05 14:14:01 -08:00