Anand Babu (AB) Periasamy
fb39bcba80
handle non-existant color calls
2015-11-14 20:39:23 -08:00
Harshavardhana
f419064871
copy: Simplify copy handling for TypeC
2015-11-13 16:10:16 -08:00
Krishna Srinivas
eb78783c3f
Fix for prefix based rm
...
"mc rm asd..." where asd is a prefix, not a directory
2015-11-13 14:35:45 -08:00
Harshavardhana
3790cf557a
fs: Fill path variables into error properly
2015-11-13 01:28:04 -08:00
Harshavardhana
940fd7c608
error-handling: Add proper typed errors and converged code url2Content.
2015-11-13 00:24:09 -08:00
Harshavardhana
22051bb8af
s3/gcs: now all combinations and permutations work for URLs with buckets in different regions.
...
- <bucket>.s3.amazonaws.com with <bucket> in us-west-2 re-writes
the URL to s3-us-west-2.amazonaws.com.
- <bucket>.s3-us-west-2.amazonaws.com doesn't need and translation,
call goes directly to s3-us-west-2.amazonaws.com
2015-11-12 20:29:20 -08:00
Harshavardhana
5018b01a51
fs: Make fs behave like s3 - fixes #1246
2015-11-12 01:26:47 -08:00
Harshavardhana
9480f8c9ae
rm/ls: Remove and List incomplete uploads properly
...
Fixes #1271
2015-11-11 21:35:51 -08:00
Harshavardhana
5afc55acb7
s3: Change s3 behavior - for virtual style requests filter buckets out.
...
Fixes #1264
2015-11-11 16:31:54 -08:00
Harshavardhana
6f7e752aa0
fs: Implement custom walk to handle sorting properly
2015-11-11 14:43:18 -08:00
Harshavardhana
7d3b1a6ddb
mirror: Fix handling of preceding separators from source
...
Filesystem now never replies back directories for recursive usecase.
2015-11-11 02:01:54 -08:00
Anand Babu (AB) Periasamy
970927cc6b
simplify setting console theme
2015-11-10 16:45:32 -08:00
Harshavardhana
03e9fa70dd
minio-go: update to new version of minio-go
...
This change comes with wider re-structure inside minio-go and lots
of code cleanup.
2015-11-09 23:03:45 -08:00
Harshavardhana
dc985953e4
diff: Cleanup diff
...
- overall simplification and reduction in repetitive code.
- use select for multi channel synchronization.
2015-11-09 16:37:54 -08:00
Harshavardhana
fb48c24176
list: Fix more listing bugs
2015-11-08 02:49:09 -08:00
Harshavardhana
cb87550978
list: Fix listing command output
...
Fix all the incorrectness behavior of `ls` introduced after
recent changes.
2015-11-08 00:07:11 -08:00
Harshavardhana
b9033d1cac
structure: Move client.Content to return a URL object
...
This change is needed to avoid extensive string manipulation
of URLs throughout the code base.
A client interface sends back data as a proper URL object,
this facilitates us to avoid unnecessary string manipulation
by making code more cleaner.
2015-11-07 22:12:52 -08:00
Harshavardhana
8273192dcf
signature: Update new minio-go, bring in comprehensive Signature support
2015-11-06 23:46:16 -08:00
Harshavardhana
503e746778
build: Make by default static builds for mc
2015-11-05 22:39:05 -08:00
Harshavardhana
671ce5242d
Handle directory symlink navigation
2015-10-28 00:13:20 -07:00
Harshavardhana
f94de478c3
Merge RemoveIncompleteUpload() into Remove
2015-10-22 15:18:11 -07:00
Harshavardhana
795a8edf64
Simplify client interface
2015-10-22 10:47:24 -07:00
Krishna Srinivas
513ab017b9
Rename DropIncompleteUpload to RemoveIncompleteUpload
2015-10-21 22:25:27 -07:00
Krishna Srinivas
e9bc4af214
recursive 'mc ls' on filesystem gives error #1198
2015-10-21 18:10:40 -07:00
Harshavardhana
2f46510d26
Improve upon the argument verification - use the existing primitives from cli package
2015-10-20 20:47:08 -07:00
Krishna Srinivas
a3b49bdd34
Support for "mc rm s3/bucket/dir/... incomplete force"
2015-10-20 19:40:21 -07:00
Harshavardhana
1eb171544f
Implement mc ls incomplete s3/bucketname
2015-10-19 22:28:34 -07:00
Krishna Srinivas
b4c78a33ff
support for "rm" of objects and buckets
2015-10-19 15:11:59 -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
c4b9891c6e
Always make sure to verify argument validation in checkSyntax**.
...
Cleanup share-upload.go to be aware of different argument validation.
2015-10-10 13:05:33 -07:00
Krishna Srinivas
18c0671c7e
Presigned post enabled for s3v2
2015-10-08 17:28:37 -07:00
Anis Elleuch
45b1351991
Relax too many levels symlink error when traversing folders/files
2015-10-08 22:56:59 +01:00
Krishna Srinivas
aa53fb19f9
Break share main file into subcommands files - upload, download, list
2015-10-08 13:43:41 -07:00
Krishna Srinivas
7ec74a33ce
Implement mc share upload and mc share download
2015-10-08 13:20:29 -07:00
Harshavardhana
6d95872ad8
Add new --colors option for choosing different coloring styles for console printing
...
Each command implements and interprets the following coloring styles
- ``dark`` - default coloring style picks up palette colors Cyan, Red, Blue, White etc
- ``light`` - lighter chooses white colored console printing.
- ``nocolor`` - nocolor is for console printing without any colors.
All coloring internally use ASCII color schemes, portable across all known OS.
2015-10-07 17:08:42 -07:00
Harshavardhana
dbe53325b0
Add SetCustomPalette rather than theme
2015-10-07 12:54:35 -07:00
Anis ELLEUCH
14572a7aa5
Factor out repetitive fatal and error quit routines
2015-09-29 19:31:43 +01:00
Harshavardhana
6781591143
Rename newCpBar to newProgressBar, move setting console color for progress outside of console
2015-09-29 10:47:19 -07:00
Harshavardhana
0462d30807
Add proper comment for virtual styled host
2015-09-29 00:39:10 -07:00
Harshavardhana
ee65cf7ab8
Fix bugs related to cp, mirror code argument validation
2015-09-29 00:17:16 -07:00
Harshavardhana
53f83dfe57
Add some comments for migration
2015-09-28 10:40:19 -07:00
Harshavardhana
6949965ac7
Handle parsing for url with ':' only
2015-09-26 00:22:17 -07:00
Harshavardhana
a20364694d
Move http trace to a common code, implement trace
2015-09-23 23:18:34 -07:00
Harshavardhana
8b00a29ab8
Signature v2 should be redacted properly
2015-09-23 00:01:34 -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
6c52ffe6bf
In HTTP Trace do not add Authorization header in frivolous way
2015-09-18 15:08:32 -07:00
Harshavardhana
c60d2ac8d7
Fix golint complaints
2015-09-17 18:58:19 -07:00
Harshavardhana
6166351774
Stat() on a URL shouldn't fail, just treat as a regular directory
2015-09-17 14:43:04 -07:00
Anand Babu (AB) Periasamy
3a9b2064f6
separate mutex for internal and external locking
2015-09-09 22:21:06 -07:00