Harshavardhana
4d97c042da
Merge pull request #1086 from krishnasrinivas/browser-cache
...
browser-caching: enable browser caching for webUI
2016-02-04 14:41:38 -08:00
Krishna Srinivas
a344e7713a
browser-caching: enable browser caching for WebUI
2016-02-05 03:54:05 +05:30
Harshavardhana
09a54f9032
Merge pull request #1085 from harshavardhana/fs-api
...
fs: Cleanup Golang errors to be called 'e' and probe to be called as …
2016-02-04 14:02:19 -08:00
Harshavardhana
7a3409c309
fs: Cleanup Golang errors to be called 'e' and probe to be called as 'err'
...
- Replace the ACL checks back, remove them when bucket
policy is implemented.
- Move FTW (File Tree Walk) into ioutils package.
2016-02-04 13:43:52 -08:00
Krishna Srinivas
d038393156
UI: vendorize github.com/elazarl/go-bindata-assetfs which is needed by ui-assets.go
2016-02-04 16:50:34 +05:30
Harshavardhana
b49f21ec82
Merge pull request #1082 from harshavardhana/about-api
...
api: Implement About API.
2016-02-03 23:19:40 -08:00
Harshavardhana
e63a982dee
api: Implement About API.
2016-02-03 22:46:45 -08:00
Harshavardhana
a1c6e4055b
Merge pull request #1073 from harshavardhana/createobject
...
fs: Fail createObject with appropriate message.
2016-02-03 21:56:44 -08:00
Harshavardhana
835b297ba7
fs: Fail createObject with appropriate message.
...
Fail createObject() if a file already exists and one attempts
to create a prefix/directory by same name.
Send an approriate error back to the client as 409 Conflict.
2016-02-03 21:49:36 -08:00
Harshavardhana
729e032a50
Merge pull request #1079 from harshavardhana/implement-stat
...
web: GetObjectURL should check if file exists before generating URL.
2016-02-03 00:15:54 -08:00
Harshavardhana
64b7da4686
web: GetObjectURL should check if file exists before generating URL.
...
Fixes - https://github.com/minio/miniobrowser/issues/20
2016-02-03 00:00:36 -08:00
Harshavardhana
ff0dd38957
Merge pull request #1078 from harshavardhana/auto-expiry
...
expiry: Remove auto-expiry.
2016-02-02 23:40:30 -08:00
Harshavardhana
454d71cafa
expiry: Remove auto-expiry.
...
Move the logic outside and use scripting, cronjob to delete files.
Fixes #1019
2016-02-02 19:35:51 -08:00
Harshavardhana
15924a8f05
Merge pull request #1077 from harshavardhana/flags
...
flags: Remove anonymous, ratelimit, json and web-address flags.
2016-02-02 19:01:52 -08:00
Harshavardhana
df91661ec6
flags: Remove anonymous, ratelimit, json and web-address flags.
...
- Web address now uses the port + 1 from the API address port directly.
- Remove ratelimiting, ratelimiting will be achieved if necessary through
iptables.
- Remove json flag, not needed anymore.
- Remove anonymous flag, server will be no more anonymous for play.minio.io
we will use demo credentials.
2016-02-02 18:37:09 -08:00
Harshavardhana
e39b6caada
Merge pull request #1075 from harshavardhana/content-type
...
statObject: Make sure to lowercase file extensions.
2016-02-02 18:02:59 -08:00
Harshavardhana
81fcbd2a54
statObject: Make sure to lowercase file extensions.
2016-02-02 17:54:59 -08:00
Harshavardhana
b01594ac33
Merge pull request #1072 from harshavardhana/query
...
vendor: Update minio-go library with fixes for object listing.
2016-02-02 14:56:49 -08:00
Harshavardhana
de9682a4e7
vendor: Update minio-go library with fixes for objectlisting.
2016-02-02 11:59:55 -08:00
Harshavardhana
9ddfa2529c
Merge pull request #1070 from harshavardhana/bug-fix
...
web: ListObjects is delimited, do not send a stat on prefix.
2016-02-01 13:33:23 -08:00
Harshavardhana
b3bde61396
web: ListObjects is delimited, do not send a stat on prefix.
2016-02-01 12:47:46 -08:00
Harshavardhana
9dfce111d9
Merge pull request #1069 from harshavardhana/list-objects
...
contentType: Reply back proper contentTypes based on the file extension.
2016-02-01 12:35:56 -08:00
Harshavardhana
0aedb67de0
contentType: Reply back proper contentTypes based on the file extension.
...
Currently the server would set 'application/octet-stream' for all
objects, set this value based on the file extension transparently.
This is useful in case of minio browser to facilitate displaying
proper icons for the different mime data types.
2016-02-01 12:19:58 -08:00
Harshavardhana
23ca11f75b
Merge pull request #1068 from harshavardhana/update-doc
...
Add doc change.
2016-02-01 11:11:39 -08:00
Harshavardhana
d55f72f09a
Add doc change.
2016-02-01 02:45:19 -08:00
Harshavardhana
141e8029bf
Merge pull request #1067 from harshavardhana/minio-message
...
server: Add new set of message.
2016-01-30 18:41:46 -08:00
Harshavardhana
a0c753b6eb
server: Add new set of message.
2016-01-30 18:33:33 -08:00
Harshavardhana
0784969767
Merge pull request #1065 from harshavardhana/read-me
...
doc: Update readme.md
2016-01-29 18:15:10 -08:00
Harshavardhana
cce2f41125
doc: Update readme.md
2016-01-29 18:09:34 -08:00
Harshavardhana
25cd37b209
Merge pull request #1063 from harshavardhana/trim-inputs
...
jwt: Trim username and password strings
2016-01-29 02:18:58 -08:00
Harshavardhana
716fde3b93
Merge pull request #1062 from notnoopci/no-empty-md5-header
...
Don't set empty ETag values
2016-01-28 20:51:59 -08:00
Harshavardhana
8af8889a36
jwt: Trim username and password strings
2016-01-28 20:48:41 -08:00
Mahmood Ali
43685788ab
Don't set empty ETag values
...
Currently, metadata.Md5 value isn't populated, yet the ETag is set to
`""`, causing AWS Java SDK to fail integrity checks with GetObject
api calls.
2016-01-28 22:57:23 -05:00
Harshavardhana
52f00042b4
Merge pull request #1061 from harshavardhana/order-presign
...
presign: Verify query params for presign individually
2016-01-28 12:27:13 -08:00
Harshavardhana
2469c9c591
presign: Verify query params for presign individually
...
Incoming request params in presigned can come in different order
for different implementations. Rather than verifying a full string
we should verify individual params instead.
This patch fixes an incompatibility issue with AWS SDK Java.
Fixes #1059 - Thanks to @notnoopci for reporting this problem.
2016-01-28 12:16:56 -08:00
Harshavardhana
c4588b3cb9
Merge pull request #1060 from krishnasrinivas/cors-fixes
...
CORS: cors handling should be before auth handling. cors should allow PUT.
2016-01-28 10:49:09 -08:00
Krishna Srinivas
81b255511f
CORS: cors handling should be before auth handling. cors should allow PUT.
2016-01-28 22:54:03 +05:30
Harshavardhana
ed69c58490
Merge pull request #1057 from harshavardhana/fix
...
listObjects: ListObjects should have idempotent behavior.
2016-01-28 03:24:16 -08:00
Harshavardhana
5934a00058
listObjects: ListObjects should have idempotent behavior.
...
listObjects was returning inconsistent results, i.e missing
entries during recursive and non-recursive listing. This led
to 'mc mirror' copying contents repeatedly consisdering
these files to be missing on the destination.
This patch addresses this problem - fixes #1056
2016-01-28 03:17:40 -08:00
Anand Babu (AB) Periasamy
2d8512465f
Merge pull request #1047 from fwessels/master
...
Updated mc and aws client doc strings
2016-01-27 12:48:08 -08:00
Harshavardhana
be5a865764
Merge pull request #1055 from harshavardhana/update
...
update: Minio fix update url.
2016-01-27 11:54:18 -08:00
Harshavardhana
0799a0bec5
update: Minio fix update url.
2016-01-27 11:43:26 -08:00
Harshavardhana
dfc84dd451
Merge pull request #1054 from harshavardhana/json-web
...
jwt: Deprecate RSA usage, use HMAC instead.
2016-01-27 03:48:49 -08:00
Harshavardhana
db387912f2
jwt: Deprecate RSA usage, use HMAC instead.
...
HMAC is a much simpler implementation, providing the same
benefits as RSA, avoids additional steps and keeps the code
simpler.
This patch also additionally
- Implements PutObjectURL API.
- GetObjectURL, PutObjectURL take TargetHost as another
argument for generating URL's for proper target destination.
- Adds experimental TLS support for JSON RPC calls.
2016-01-27 03:38:33 -08:00
Harshavardhana
0c96ace8ad
Merge pull request #1053 from harshavardhana/infinite-loop
...
listObjects: Marker should be unescaped before being used internally.
2016-01-26 23:38:57 -08:00
Harshavardhana
9ca3372870
listObjects: Marker should be unescaped before being used internally.
...
Without this change listObjects() goes into an infinite loop for
files which have special characters i.e "++" encoded with "%2B%2B".
We have to unescape and convert them to their native representation
before being used internally.
Fixes #1052
2016-01-26 23:32:59 -08:00
Harshavardhana
5d87fdb35c
Merge pull request #1051 from harshavardhana/fix-multipart
...
multipart: NewMultipartUpload shouldn't return empty UploadID
2016-01-26 15:15:44 -08:00
Harshavardhana
2e311168ee
multipart: NewMultipartUpload shouldn't return empty UploadID
...
Existing code
```
{
if os.IsNotExist(e) {
e = os.MkdirAll(objectDir, 0700)
if e != nil {
return "", probe.NewError(e)
}
}
return "", probe.NewError(e) ---> Error was here.
}
```
For a successful 'MkdirAll' it would still return an empty uploadID,
but the 'error' would be nil. This would succeed the request but
client would fail.
Fix is to re-arrange the logic. Thanks to Alexander Neumann @fd0, for
reporting this problem.
2016-01-26 15:00:34 -08:00
Harshavardhana
e6df2d639c
Merge pull request #1050 from fwessels/aws-cli
...
Updated 'aws s3 ls' example in README.md to include s3://
2016-01-26 14:28:33 -08:00
frankw
dd4c08cd79
Updated 'aws s3 ls' example in README.md to include s3:// (which is apparently needed for other 'aws s3' commands such as 'cp' or 'rm')
2016-01-26 23:09:06 +01:00