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
Harshavardhana
abbfa4b13f
Avoid shadowing by using unique variables as necessary
2015-09-08 23:28:56 -07:00
Harshavardhana
2549415a87
Add junction and symlink handling for windows only
2015-09-04 23:01:51 -07:00
Harshavardhana
2bca24e0fa
golang filepath.EvalSymlinks doesn't handle juntion files handle them - fixes #1076
2015-09-04 13:32:00 -07:00
Harshavardhana
aaec806897
Simplify help messages
2015-09-01 14:54:13 -07:00
Harshavardhana
53fc1c7b38
Disable ACL's for filesystem as it doesn't bring any direct meaning
2015-09-01 10:47:52 -07:00
Anand Babu (AB) Periasamy
fddcb821fa
URL related bug fixes and cleanup
2015-08-30 02:14:24 -07:00
Anand Babu (AB) Periasamy
91100b72ed
alias support with colon requirement
2015-08-29 18:02:32 -07:00
Harshavardhana
f831d94d3f
Revert "Change ACL to Access"
...
This reverts commit 68b3b0aac2 .
Revert "Object ACL now propagates through ACL config, update minio-go library to bing in SetObjectACL() support"
This reverts commit 6816542c7a .
2015-08-28 22:37:10 -07:00
Harshavardhana
6816542c7a
Object ACL now propagates through ACL config, update minio-go library to bing in SetObjectACL() support
2015-08-28 21:20:41 -07:00
Harshavardhana
0dda19490e
Add nocolor flag to disable coloring if necessary proactively
2015-08-26 12:34:08 -07:00
Harshavardhana
f65c87730f
Define error for windows, minor fix pushing in
2015-08-25 00:42:24 -07:00
Harshavardhana
a06a926b66
Move coloring to their own main* functions
2015-08-24 12:12:25 -07:00
Harshavardhana
492340b3d8
Recursively progress along with errors if possible
2015-08-23 02:30:47 -07:00
Harshavardhana
a0e66ce640
Migrate to golang1.5 with new GO15VENDOREXPERIMENT enabled
2015-08-22 19:04:17 -07:00
Harshavardhana
c992bb682f
Migrate to PresignedGetObject from PresignedGetPartialObject() as the latter was of no real use
2015-08-21 20:39:22 -07:00
Harshavardhana
dfe5541f04
update AB's contributors email
2015-08-20 16:16:17 -07:00
Harshavardhana
cf5290ad74
Merge themes as settable from outside console, add a default theme as well.
2015-08-19 22:59:05 -07:00
Harshavardhana
60a29bae96
Remove json indent for easing parsing
...
Indentation while it is nice, leads to issues when parsing where delimiters on
readline() will fail since we are sending many self contained json's in a streaming
fashion, having a proper readline() based delimiter is helpful in terms of parsing.
2015-08-19 02:38:09 -07:00
Harshavardhana
b743f88353
Move quick to server and vendorize it
2015-08-13 16:38:24 -07:00
Harshavardhana
99f53fe45d
Fix test cases where cp and mirror would fail
...
- globalQuietFlag and globalJSONFlag should be checked in conjunction
for terminal features to be disabled. Otherwise ioctl fails for
calculating the term size.
- Avoid unnecessary scoping for probe, it has two different error sets now
2015-08-12 22:11:31 -07:00
Harshavardhana
3caee383f0
Migrate to govendor to avoid limitations of godep
...
- over the course of a project history every maintainer needs to update
its dependency packages, the problem essentially with godep is manipulating
GOPATH - this manipulation leads to static objects created at different locations
which end up conflicting with the overall functionality of golang.
This also leads to broken builds on many platforms. There is no easier way out of
this other than asking users to do 'godep restore' all the time which perhaps as
a practice doesn't sound clean, also has its own set of problems.
- govendor on the other hand is a right tool but a stop gap tool until we wait for
golangs official 1.5 version which fixes this vendoring issue once and for all.
- govendor makes sure that the import paths are re-written instead of manipulating
GOPATH.
This has advantages
- no more compiled objects being referenced in GOPATH and build time GOPATH
manging which leads to conflicts.
- proper import paths referencing the exact package a project is dependent on.
govendor is simple and provides the minimal necessary tooling to achieve this.
For now this is the right solution.
2015-08-12 19:04:16 -07:00
Harshavardhana
3185ca1146
Improve share command
2015-08-12 17:00:07 -07:00
Harshavardhana
0571fe67a2
Turn off coloring when terminals are not tty even for os.Stdout
2015-08-12 15:11:15 -07:00
Harshavardhana
40d096353d
Possible fix for SetTheme issue
2015-08-12 12:48:00 -07:00
Harshavardhana
25e5ea2574
Move to server package for probe
2015-08-10 19:49:57 -07:00
Anand Babu (AB) Periasamy
0a42c4e9a3
remove unnecessary pointer to interface
2015-08-09 19:43:11 -07:00
Harshavardhana
c97c2a77b5
Move testing into its own <package>_test, add probe.NewError() new changes
2015-08-08 11:16:36 -07:00
Harshavardhana
202f9e7646
Probe moves closer to mc, also brings in changes by avoiding it behave like an error interface{}
2015-08-07 00:53:37 -07:00
Harshavardhana
c36ed96f26
Add `share` command leveraging new PresignedURL API from minio-go
2015-08-06 21:52:53 -07:00
Harshavardhana
26eb25bb92
Fix console issues related to os.Stderr and terminal handling
2015-08-04 23:21:37 -07:00
Harshavardhana
e6fd52f026
Rename ifFatal and ifError as Fatal, Error
2015-08-03 22:19:45 -07:00
Harshavardhana
9ba648084e
Fix more scoping issues with new probe.Error v/s error
2015-08-03 11:19:22 -07:00
Harshavardhana
e7dab5f1cf
Migrating from iodine to probe
2015-08-03 11:04:34 -07:00
Harshavardhana
7ef19ab316
Add support for virtual styled hosts and update godeps
2015-07-30 13:15:57 -07:00
Harshavardhana
27e6cf466e
Use values from url object rather than hardcoded entries
2015-07-30 10:57:49 -07:00
Krishna Srinivas
15fb024b81
Fix path when bucket is specified as part of domain name
2015-07-30 22:35:00 +05:30