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
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
Harshavardhana
31e5ac02bd
Fix auto-completion code ( #2819 )
...
Reverts the code in #2812
Fixes #2816
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
2019-07-04 22:40:56 -07:00
Harshavardhana
6003da8daa
update command with json flag shouldn't throw prompt ( #2809 )
2019-06-27 15:43:14 -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 )
2019-06-19 15:11:03 -07:00
Harshavardhana
a12c507bec
Update minio-go to v6.0.29 ( #2799 )
2019-06-15 10:12:32 -07:00
poornas
ca26dac8e2
Add mc admin trace command. ( #2655 )
2019-06-11 16:25:33 -07:00
Harshavardhana
5d0a9c0803
Make sure to preserve region specific URLs ( #2791 )
...
This is to ensure that restricted access
to certain buckets is allowed on certain
regions.
This is a continuation of last commit
2019-06-11 13:59:10 -07:00
Harshavardhana
e978c71b7c
Add staticcheck based builds ( #2788 )
...
Additionally this PR also supports
multi-platform builds to avoid cross
platform build issues.
2019-06-03 11:22:31 -07:00
Harshavardhana
f4bb0b8850
Update minio-go to latest release v6.0.26 ( #2782 )
2019-05-29 08:27:18 -07:00
Andreas Auernhammer
88a3c2b1e1
remove admin-credential command ( #2767 )
...
This commit removes the admin credentials command
to fix the build since github.com/minio/minio
ae002aa7241bd35d5fd9b47e8b62df2176ad2ab1 removes
the admin API for updating the admin credentials.
2019-05-05 22:32:41 -07:00
Ashish Kumar Sinha
f0f156aca8
Skip error upon deletion of non existing object and force flag ( #2765 )
...
On the similar lines of standard linux rm command.
mc retruns exit status as 0 and skips the error message when --force argument is used.
2019-05-02 10:18:15 -07:00
Harshavardhana
b1aa2232ef
Disable http2.0 for now until upstream bugs are fixed ( #2764 )
2019-05-01 15:42:36 -07:00
Ashish Kumar Sinha
4b4555b811
Policy list: Return error if policy doesn't exist ( #2760 )
2019-04-25 13:41:46 -07:00
poornas
ecdeb3934d
Remove Insufficient permission error from ignored errors ( #2755 )
...
Remove Insufficient permission error from ignored list of errors.
Fixes #2752 - When mirror fails due to insufficient
permissions of user on a bucket, this should be
displayed
2019-04-22 12:22:21 -07:00
fgma
abceea8fa1
fix crash when parsing empty/invalid MC_HOST_* env variable ( #2757 )
2019-04-22 21:53:31 +05:30
ebozduman
83a9d8b91d
Adds missing codebase MinIO and min.io changes ( #2745 )
2019-04-16 22:31:54 -07:00
kannappanr
68a9eeae18
Fix: do not check if object listed equals object being removed ( #2748 )
...
List within the statURL function considers object name as a prefix
and lists objects that have the same prefix.
currently, it errors out if the object is a subset of another object.
This PR will fix this.
Fixes #2746
2019-04-16 20:44:57 -07:00
kannappanr
5729a01e69
doc: Document top command ( #2672 )
2019-04-10 15:48:45 -07:00
kannappanr
ea469140d5
Display request header in anonymous mode ( #2733 )
...
Currently if authorization header is missing, then request is not displayed
This resulted in just the response being displayed, in anonymous mode.
This PR fixes that issue.
2019-04-05 14:04:16 -07:00
Harshavardhana
7805774cf3
Instead of rename use moveFile for cross device renames ( #2738 )
2019-04-03 12:19:53 -07:00
poornas
8ae04b41b0
mirror: fix 0 byte files not getting mirrored ( #2739 )
...
Fixes : #2737
2019-04-03 08:15:17 -07:00
Harshavardhana
b27cd5ada8
Make csv-input optional for default cases ( #2741 )
...
Fixes #2740
2019-04-03 18:31:23 +05:30
Tufan Barış YILDIRIM
a1355e50e2
Documented --json for diff command ( #2736 )
2019-03-31 20:01:44 -07:00
kannappanr
2ad65c0799
ls: Remove space between size and unit ( #2735 )
...
With the move to go.mod, the latest humanize package is being used.
This introduces a space between size and the unit. Manually removing the space
to make it consistent with the older mc releases.
2019-03-29 15:02:26 -07:00
Harshavardhana
c34dec5495
Set correct compressionType for compression select request ( #2730 )
2019-03-28 10:52:13 -07:00
Harshavardhana
ba92305de0
Migrate to go1.12, deprecate vendor directory ( #2727 )
2019-03-27 10:08:19 -07:00
poornas
0a790a1a2e
ls: consistent output while listing directories on file system ( #2723 )
2019-03-21 19:19:11 -07:00
Harshavardhana
3ea090fe18
Fix rm to behave properly deleting prefixes ( #2720 )
2019-03-20 13:08:36 -07:00
poornas
0490231b34
For non-canned policies, show policy status as custom ( #2716 )
2019-03-19 09:11:16 +05:30
Anis Elleuch
030aa5aba5
Add normal/deep scan flag to admin heal cmd ( #2692 )
2019-03-15 15:40:51 -07:00
kannappanr
09d04326dc
Deprecate MC_HOSTS_ env variable ( #2718 )
...
MC_HOSTS_ env variable will be replaced with MC_HOST_ as it is more
appropriate
MC_HOSTS_ will be removed in the near future.
2019-03-14 17:29:07 -07:00
Sidhartha Mani
cfb25fe81b
mc admin info changes ( #2712 )
2019-03-14 18:20:29 +05:30
Anis Elleuch
affc127af0
mirror: Return non-zero exit code for errors occuring during mirror ( #2705 )
...
An error, such as, `Bad Request` when copying an object without supplied
keys is not reflected in the exit code.
This commit simplifies a bit the mirror code. It makes mirror before and
after starting to send the status to mj.status.
2019-03-12 16:36:14 -07:00
Anis Elleuch
a498b9b3a2
rm: Force removing an object when it is encrypted without key specified ( #2700 )
...
Currently, a single remove HEAD an object, but this latter can return
400 Bad Request when the object is encrypted and the user doesn't specify
any encryption key.
So when HEAD fail, this PR will use GET listing to find the object and
remove it if existent.
We can avoid calling HEAD in the first place and use only listing, but this
has some penality on the server.
2019-03-12 14:03:59 -07:00