Commit Graph
239 Commits
Author SHA1 Message Date
Harshavardhana 33dbf0e16c Return proper err back from Put() through response
This still doesn't fix the issue of progress bar completion, since there are no
Closers() involved for progress bar and multiwriter. A Write() wouldn't fail
for a 403 if the. So io.CopyN has no way to reply back proper error.
2015-04-23 16:02:24 -07:00
Harshavardhana 45951e3f13 Ignore signRequest for Get() and GetPartial() if accesskeys are empty, missed from previous commit 2015-04-23 14:27:57 -07:00
Harshavardhana ef5b20dc2f Merge pull request #505 from harshavardhana/pr_out_now_bucket_creation_requires_a_simple_cannedacls_to_start_with 2015-04-23 14:25:01 -07:00
Harshavardhana c120a5853d Now bucket creation requires a simple CannedACLs to start with
$ ./mc mb <acl_type> <target>
2015-04-23 14:22:48 -07:00
Anand Babu (AB) Periasamy 0a50606cbd fix dir listing bug and find style output 2015-04-23 12:50:31 -07:00
Harshavardhana 256d7c4443 Merge pull request #503 from harshavardhana/pr_out_add_bucket_acl_support 2015-04-23 12:30:42 -07:00
Harshavardhana 4e53814cc3 Add bucket ACL support 2015-04-23 12:10:51 -07:00
Anand Babu (AB) Periasamy 94d89c2181 no color for win for now 2015-04-23 03:10:36 -07:00
Anand Babu (AB) Periasamy eb29760aec update console package and add additional nocolor check 2015-04-23 01:17:50 -07:00
Anand Babu (AB) Periasamy 16e8cec82a field specific color theme 2015-04-23 01:02:17 -07:00
Anand Babu (AB) Periasamy b923232e9f console theme improvements 2015-04-22 18:05:42 -07:00
Harshavardhana e4b122ee9d A parial fix for #496, strip down objectPrefixes during List() 2015-04-22 13:58:48 -07:00
Harshavardhana 7ec954a78b Fix a crash on windows when source is malformed 2015-04-22 13:20:02 -07:00
Harshavardhana 957ab79328 Fix a typo, pushing it in 2015-04-22 11:59:56 -07:00
Harshavardhana 3af75c8aba Make default client type as Filesystem 2015-04-22 11:53:27 -07:00
Harshavardhana 24ba355be7 Merge pull request #493 from harshavardhana/pr_out_fix_error_path_variable_on_windows 2015-04-22 11:27:03 -07:00
Harshavardhana 60ec7d2713 Fix error path variable on Windows 2015-04-22 11:24:36 -07:00
Harshavardhana dc200a62fc Disallow `bucket` creation with uppercase letters 2015-04-22 01:22:22 -07:00
Harshavardhana 0eaf7ec5b4 Handle errors properly, also remove need for normalizing path on windows 2015-04-22 00:17:01 -07:00
Harshavardhana e3c1b8eabc Fix ListCmd() MakeBucketCmd() for multi target 2015-04-21 16:29:33 -07:00
Anand Babu (AB) Periasamy 5a7b8da98d replace net/url parser with simple filepath parsing 2015-04-21 16:05:16 -07:00
Harshavardhana 095ae11caf Migrate to quick Config, qdb takes the high road 2015-04-21 13:47:46 -07:00
Harshavardhana aae9ee1327 Rename q --> quick 2015-04-21 11:32:25 -07:00
Harshavardhana 90825c5ff9 Rename qconfig as q as it makes sense to call it q.Config instead of qconfig.Config
- one more test added for CheckData()
2015-04-21 03:22:14 -07:00
Anand Babu (AB) Periasamy 100c5a9db7 Merge pull request #473 from abperiasamy/qconfig
qconfig for config and state files
2015-04-21 01:23:17 -07:00
Anand Babu (AB) Periasamy c6a1799a0f qconfig for config and state files 2015-04-21 01:21:09 -07:00
Harshavardhana b42d3a3af7 Implement simple authkey and console tests 2015-04-21 01:14:28 -07:00
Harshavardhana 6adb5e5217 Move getHostConfig() outside of getNewClient(), waiting on new qConfig to simplify this further 2015-04-21 01:14:28 -07:00
Harshavardhana d7e4be17b0 Windows fixes for Get(), GetObjectMetadata() and List() 2015-04-20 18:04:17 -07:00
Harshavardhana ccd63ab302 Add filesystem Windows support, also cannot reproduce #281 anymore - fixes #281 2015-04-20 16:15:21 -07:00
Harshavardhana af1cb1b478 Make sure to properly exit if requested theme not available, also re-structure console package a bit 2015-04-20 13:19:52 -07:00
Frederick F. Kautz IV 33869c524a Renaming StatBucket to Stat 2015-04-20 12:47:11 -07:00
Harshavardhana a4c1d26ccb Implement fsClient tests - fixes #433 2015-04-20 02:34:06 -07:00
Harshavardhana e728cd9857 Add 'isValidRetry()' to retry for only network level errors 2015-04-19 22:46:00 -07:00
Harshavardhana 51032e9773 Fix incomplete progressBar problem, we should proactively .Finish() progressbar - fixes #452
Previously wouldn't flush out remaining data, it would work for Object Storage
Get()/Put() due to invariable delays and overhead.
2015-04-19 21:40:48 -07:00
Harshavardhana 8bc587b8cf Now clients only take URLs - fixes #425
- Interface change, takes only minimal arguments
 - Passing URLs all the way down
 - Bucket and Object awareness only at per client level
2015-04-19 19:39:02 -07:00
Frederick F. Kautz IV 445508c1b0 Adding more tests 2015-04-18 19:00:12 -07:00
Anand Babu (AB) Periasamy f7656e0946 qdb store diff keys and deep diff 2015-04-18 18:40:17 -07:00
Harshavardhana 8606a7db9b Move major url handling into client as part of #425 2015-04-18 17:29:01 -07:00
Harshavardhana 4b50a2bac3 Error messages simplified now with reason - fixes #286 2015-04-18 16:46:26 -07:00
Harshavardhana e58844ead5 Make all lexical paths file:///<path> ../<path> <path>/../../<path - behave similar - fixes #419
./mc ls, ./mc mb, ./mc cp supported and overall code simplification
2015-04-18 14:24:33 -07:00
Harshavardhana 1f9136ffc5 Print proper errors message received on the wire from any Object Storage 2015-04-17 20:54:24 -07:00
Harshavardhana 39d3f1439b Review error messages part of #286 2015-04-17 20:31:35 -07:00
Frederick F. Kautz IV 1daee3e076 Adding more mocks 2015-04-17 20:04:54 -07:00
Harshavardhana 8e7640ff4a Merge pull request #409 from harshavardhana/pr_out_qdb_should_use_reflection_to_get_the_original_data_from_json_marshal_unmarshal
QDB should use reflection to get the original data from json Marshal/Unmarshal
2015-04-17 17:35:07 -07:00
Harshavardhana 529f513efb QDB should use reflection to get the original data from json Marshal/Unmarshal 2015-04-17 17:33:12 -07:00
Anand Babu (AB) Periasamy 040b15b240 disable console theme on Windows 2015-04-17 16:31:30 -07:00
Harshavardhana 5d1ec28e9d Bring MultiPartUpload interface stubs 2015-04-16 23:44:47 -07:00
Harshavardhana 378314a3a7 Move retry to try() 2015-04-16 20:52:30 -07:00
Harshavardhana 1f230fb2ce Now newReq() doesn't panic inside, returns err properly - use iodine 2015-04-16 20:17:18 -07:00