Commit Graph
434 Commits
Author SHA1 Message Date
Praveen raj Mani 80aecfddff Adapt new changes in StorageInfo (#2889) 2019-10-23 08:47:38 -07:00
Bala FA 72403ecbd1 fix mc cp termination on signals (#2934) 2019-10-21 22:12:56 +05:30
Ashish Kumar Sinha 16965bc19a continue flag: Fix inconsistent punctuation in usage text (#2933) 2019-10-21 14:32:46 +05:30
Bala FA d7078ae153 Refactor mc cp and make session optional. (#2910)
Now `mc cp --recursive --continue` creates copy session on failure or
resumes if previous failed session is found.

Fixes #2893
2019-10-18 22:52:20 +05:30
poornas 990a7b6d51 Add --type flag to mc admin console (#2914)
This allows filtering error logs by type
2019-10-15 00:47:09 +05:30
poornas 735aa139b1 Fix removing empty prefixes with mc rm command (#2912)
Fixes: 2909
2019-10-12 09:49:14 +05:30
Klaus Post aa4a4774da Fix Windows config path (#2898)
Remove '.exe' (case insensitive) from executable name for consistent config folder.

Potentially breaking: If people (for whatever reason) used 'mc.exe', this will potentially break their setup.
2019-10-12 00:07:10 +05:30
ebozduman 3710c443bb No 'Removing ...' messages for prefixes(dirs) (#2925) 2019-10-09 06:58:55 +05:30
poornas 0f8345b207 trace - Add TimeToFirstByte to output in --json mode (#2904) 2019-10-09 01:25:54 +05:30
poornas f79aefa797 mc sql - default to json output if global json flag set (#2921) 2019-10-04 12:28:13 +05:30
Harshavardhana f687722587 Add default query for sql (#2919) 2019-10-02 21:09:10 -07:00
ebozduman a9c606f119 Customize service help for Windows/Linux users (#2908) 2019-09-28 08:33:28 +05:30
poornas 26b71711e8 Show server startup messages on admin console cmd (#2897) 2019-09-26 00:27:22 +05:30
Praveen raj Mani 508869e3f1 Prometheus config generation (#2781)
Add `admin promethes --generate` to generate the prometheus config
2019-09-22 20:28:17 +05:30
Harshavardhana 57a9c6fab2 Fix mc functional tests to work with new changed behavior (#2901)
- mc rm doesn't fail for SSE-C encrypted objects because
  we use multi-object delete - this behavior is S3 compatible
- changes needed to ensure that keys are set appropriately
  when doing server side copy.
2019-09-20 04:48:02 +05:30
Harshavardhana 93297260be Remove 'mc update' prompt just update automatically (#2900) 2019-09-19 09:01:24 -07:00
Harshavardhana dff077e34b Add support for attr flag in mirror (#2892) 2019-09-19 08:22:45 -07:00
Harshavardhana 54ee3a2800 Migrate to go1.13 (#2888) 2019-09-09 02:54:43 +05:30
poornas 9f75caef55 fix mc rb to accept bucket or alias as valid args (#2886)
Fixes: #2869
2019-09-07 12:13:52 +05:30
poornas bc1c6bde1d admin console - fix output format (#2885) 2019-09-07 06:44:31 +05:30
poornas 1dd2b4494d Fix error message wording in mc admin commands (#2887) 2019-09-06 17:09:44 -07:00
Harshavardhana 5fc35b6682 Fix admin help messages and docs (#2884) 2019-09-06 10:07:30 -07:00
poornas 22ab93da0f Add mc admin console command (#2794)
Also replace thrift package location
2019-09-05 07:04:25 +05:30
Ashish Kumar Sinha 1582b1cf35 Add support for passing non-printable charachter as key (#2851) 2019-08-29 16:57:04 -07:00
Harshavardhana bd7564a2d4 Add 'mc admin update' command (#2857)
Also this PR deprecates `service status` command
2019-08-28 15:57:25 -07:00
Daniel Valdivia af7d551010 Add support for Total Space and Available Space on mc admin info (#2872) 2019-08-23 09:33:38 -07:00
Ashish Kumar Sinha 3acbeda9c2 Merge mc monitor to mc info (#2838) 2019-08-23 00:26:51 +05:30
Praveen raj Mani 89d30e9aa2 Recognise dot prefixed endpoints in admin info (#2868)
Fixes #2867
2019-08-18 10:25:03 +05:30
Sidhartha Mani 64d45ac35a fix formatting for admin trace (#2854) 2019-08-16 16:57:40 -07:00
Harshavardhana 12add870fc Add missing commands to autocomplete (#2862) 2019-08-15 12:20:31 -07:00
Aditya Manthramurthy 1555979f96 Fix help message bug in group disable command (#2860) 2019-08-14 15:04:55 -07:00
Praveen raj Mani 418c8e7182 Remove empty parent directories while mirroring fs (#2849)
Fixes 2826
2019-08-14 09:26:57 -07:00
Aditya Manthramurthy 3b94d4d3e0 Add policy set command (#2852)
This is a BREAKING change.

- This command sets policy for user and group
- `mc admin user set-policy` is now removed.
- `mc admin uesr add` no longer accepts a policy to set on the user.

Add user info command to show groups of a user
2019-08-13 14:11:27 -07:00
Praveen raj Mani e541715e42 Fix error message in mc tree (#2855) 2019-08-13 13:35:47 -07:00
Harshavardhana 37bdbd037e Colorize du output appropriately (#2856) 2019-08-12 18:05:17 -07:00
Bala FA d399b1e70b add du command support (#2802)
This command works like `du` command in unices i.e. summarize disk
usage of given TARGET recursively.
2019-08-07 21:02:09 -07:00
Ashish Kumar Sinha fef437bdd6 Modify policy command (#2768)
Add set, set-json, get , get-json sub-commands.

Example:
mc policy set download s3/mybucket
mc policy set-json path-to-json-file s3/mybucket
mc policy get s3/mybucket
mc policy get-json s3/mybucket
2019-08-06 21:09:28 -07:00
Harshavardhana 0f360131cb Remove runtime checks use go build tag (#2848)
Project can be only built with go1.12 or newer
other build related changes to use new go1.12
features.

Fixes #2815
2019-08-06 15:41:04 -07:00
Aditya Manthramurthy cb3ce8fb97 Add mc admin group command (#2841)
This change is in preparation to add user-groups support to MinIO
server.

- Adds add, remove, enable/disable, list and info sub-commands for the
  group command
2019-08-05 11:37:07 -07:00
poornas b56e297be0 fix admin trace crash on 32 bit systems (#2847) 2019-07-31 17:06:42 -07:00
Ashish Kumar Sinha 9fabc08520 Accept metadata of form Cache-Control=max-age=xxxxxxx (#2840) 2019-07-30 06:52:31 -07:00
kannappanr b885d13060 Windows stat: Compare URLs in windows style path (#2774)
Convert user provided URL into windows style to compare in statURL

Fixes #2772
2019-07-25 17:37:52 -07:00
poornas 67dbada736 Minor changes to admin trace output fmt (#2834) 2019-07-23 17:31:31 -07:00
Harshavardhana c25461640b Fix tree docs and error handling (#2833)
Fixes #2832
2019-07-22 13:02:49 -07:00
poornas c727be5a48 Add error filter flag to mc admin trace command (#2824) 2019-07-21 06:30:33 +01:00
Harshavardhana ae098462c9 Fix admin info dot coloring (#2830) 2019-07-19 08:20:14 +01:00
poornas 74a7c3dc9a Show call stats in admin trace command (#2823)
- Add call latency, input and output bytes to trace
2019-07-19 02:20:08 +01:00
Harshavardhana c2fcfe6512 Make sure to error out if depth is -1 (#2828)
Current code silently converts -1 to 0, which
is not needed and we should fail instead.
2019-07-18 14:40:51 +01:00
Praveen raj Mani bdcb9dcb2f Add tree listing (#2804) 2019-07-17 22:23:02 -07:00
Aditya Manthramurthy 6200a34522 Add "mc admin policy info" command to display policy content (#2818) 2019-07-18 01:43:10 +01:00