1
0
mirror of https://github.com/minio/mc.git synced 2025-11-10 13:42:32 +03:00
Commit Graph

3548 Commits

Author SHA1 Message Date
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
RELEASE.2019-09-05T23-43-50Z
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
RELEASE.2019-08-29T00-40-57Z
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
RELEASE.2019-08-21T19-59-10Z
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
poornas
f8661fd87e Fix broken link to go installation docs (#2866) 2019-08-15 15:23:12 -07:00
Harshavardhana
12add870fc Add missing commands to autocomplete (#2862) 2019-08-15 12:20:31 -07:00
jgkirschbaum
00a2f81589 Clarified the used JSON format (#2864) 2019-08-15 11:33:53 -07:00
jgkirschbaum
617b5e39f5 Clarified the used JSON format (#2863) 2019-08-15 10:51:27 -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
RELEASE.2019-08-14T20-49-49Z
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
RELEASE.2019-08-07T23-14-43Z
2019-08-06 21:09:28 -07:00
Harshavardhana
809741e161 Update README.md for source builds 2019-08-06 15:46:32 -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
Harshavardhana
81eb54d146 Fix broken functional tests (#2843) RELEASE.2019-07-31T19-17-35Z 2019-07-30 14:28:13 -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) RELEASE.2019-07-24T02-55-56Z 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
Ashish Kumar Sinha
9a25e66e87 Add --ignore-existing/-p flag in mc event add command (#2773)
If the event is already present the server throws an error. With the --ignore-existing/ -p flag these error messages are discarded
RELEASE.2019-07-17T22-13-42Z
2019-07-16 10:40:06 +01:00
Harshavardhana
7c454d8f94 Migrate to new minio/cli, fix all extra spaces across commands (#2825) 2019-07-15 19:59:28 +01:00
Harshavardhana
ab3e70ae9f Fix escape characters in trace command (#2822) 2019-07-13 09:07:34 +05:30
Mauricio Scheffer
1818191dca Fix inner link (#2820) 2019-07-12 10:21:15 +05:30
Harshavardhana
31e5ac02bd Fix auto-completion code (#2819)
Reverts the code in #2812

Fixes #2816
RELEASE.2019-07-11T19-31-28Z
2019-07-11 10:41:14 -07:00
Harshavardhana
aa3c9f58df Remove port 9000 for play.min.io (#2817)
Most corporate environments block port 9000,
since we already allow access from port 80 and
port 443 just default to https port instead.
2019-07-10 21:16:45 +01:00
Anis Elleuch
df9320134b autocompletion: Add control flag and a prompt (#2812)
*) Add --no-autocompletion to disable the automatic install of
the auto completion
*) Add a prompt to ask for permission to install automatic
auto completion when not installed yet
RELEASE.2019-07-09T23-57-06Z
2019-07-04 22:40:56 -07:00
Harshavardhana
6003da8daa update command with json flag shouldn't throw prompt (#2809) RELEASE.2019-07-03T18-14-53Z 2019-06-27 15:43:14 -07:00
kannappanr
41e3ea5664 Update latest minio-go version in go.mod (#2811) RELEASE.2019-06-27T21-31-45Z 2019-06-27 12:58:04 -07:00
Krishnan Parthasarathi
8b33b2809c Improve next action suggestion in mc admin config set (#2810) 2019-06-27 12:15:21 -07:00
Ashish Kumar Sinha
56309a4999 mc command cleanup (#2783) 2019-06-27 14:47:08 +05:30
Anis Elleuch
2d691508c2 Show background heal stats in mc admin heal (#2808) 2019-06-26 15:14:20 -07:00
Harshavardhana
98e88c2ff0 Add proper JSON status field for API compatibility (#2807) 2019-06-26 10:51:17 -07:00
poornas
675618574a Change short trace message display format (#2798)
to abridge function name,time format and
add client ip in the output
2019-06-24 15:43:23 -07:00
Harshavardhana
d97cfaa55d Fix trace formatting (#2805) RELEASE.2019-06-19T22-39-53Z 2019-06-19 15:11:03 -07:00