Brendan Ashworth
adf74ffdb0
api: DRY code and add new test
...
This commit makes code cleaner and reduces the repetitions in the code
base. Specifically, it reduces the clutter in setObjectHeaders. It also
merges encodeSuccessResponse and encodeErrorResponse together because
they served no purpose differently. Finally, it adds a simple test for
generateRequestID.
2016-03-06 13:26:27 -08:00
Harshavardhana
e883583804
Merge pull request #1192 from harshavardhana/color
...
console: Fix console color printing on windows.
2016-03-04 13:50:49 -08:00
Harshavardhana
164dfe2ec9
console: Fix console color printing on windows.
...
Print colored accessKeyID and secretAccessKey are unreadable on windows
on command prompts and powershell.
Use the console package from minio client.
2016-03-04 10:07:19 -08:00
Harshavardhana
91800cff53
Merge pull request #1189 from krishnasrinivas/assets-gzip-encoding
...
browser-assets: serve asset files with compression.
2016-03-04 01:12:11 -08:00
Krishna Srinivas
44b2037667
browser-assets: serve asset files with compression.
2016-03-04 07:47:26 +05:30
Harshavardhana
8bf882e5c0
Merge pull request #1188 from harshavardhana/vendorize
...
browser: vendorize to new browser update
2016-03-03 18:04:09 -08:00
Harshavardhana
95d3ecb9ce
browser: vendorize to new browser update
2016-03-03 17:46:09 -08:00
Harshavardhana
97472e76b0
Merge pull request #1187 from harshavardhana/support-newfiles
...
routers: Support special asset files.
2016-03-03 17:25:25 -08:00
Harshavardhana
df0bce374c
routers: Support special asset files.
...
- loader.css
- logo.svg
- {firefox,chrome,safari}.png
2016-03-03 17:13:15 -08:00
Harshavardhana
356b889e66
Merge pull request #1184 from harshavardhana/multipart
...
multipart: remove proper MD5, rather create MD5 based on parts to be s3 compatible.
2016-03-02 18:42:24 -08:00
Harshavardhana
f111997184
multipart: remove proper MD5, rather create MD5 based on parts to be s3 compatible.
...
This increases the performance phenominally.
2016-03-02 14:20:49 -08:00
Harshavardhana
5f2cfdfbe2
Merge pull request #1185 from harshavardhana/fix-signature
...
signature: Fix signature handling of parallel requests.
2016-03-02 14:20:18 -08:00
Harshavardhana
17d145df3a
signature: Fix signature handling of parallel requests.
...
Signature struct should be immutable, this fixes an issue
with AWS cli not being able to do multipart put operations.
2016-03-02 11:49:50 -08:00
GarimaKapoor
b37fbabe7f
Update README.md
2016-03-02 11:07:23 -08:00
Harshavardhana
d7767d6431
Merge pull request #1181 from hackintoshrao/vet-shadow-fix
...
build: Removing error initialization to solve variable shadowing
2016-03-01 21:26:15 -08:00
Karthic Rao
6651f5b368
go vet shadow error patch
2016-03-02 09:55:00 +05:30
Harshavardhana
dc622674e1
Merge pull request #1178 from harshavardhana/list-objects
...
list: Fix handling of maxKeys and prefixes.
2016-03-01 17:55:19 -08:00
Harshavardhana
c7021f6a95
list: Fix handling of maxKeys and prefixes.
...
This fixes a problem of requeuing the same request
and also fixes a major problem of sending truncated
for full key prefixes.
Fixes #1177
2016-03-01 17:34:31 -08:00
Harshavardhana
53ca192fe7
Merge pull request #1175 from harshavardhana/get-object
...
api: Implement support for additional request headers.
2016-02-28 19:42:40 -08:00
Harshavardhana
ee1b86e517
api: Implement support for additional request headers.
...
Now GetObject and HeadObject both support
- If-Modified-Since, If-Unmodified-Since
- If-Match, If-None-Match
request headers.
These headers are used to further handle the responses for GetObject
and HeadObject API.
Fixes #1098
2016-02-28 19:34:20 -08:00
Harshavardhana
0b2e449727
Merge pull request #1174 from harshavardhana/copy-object
...
api: Implement CopyObject s3 API, doing server side copy.
2016-02-27 20:44:56 -08:00
Harshavardhana
3ff8a1b719
api: Implement CopyObject s3 API, doing server side copy.
...
Fixes #1172
2016-02-27 19:51:59 -08:00
Harshavardhana
2520298734
Merge pull request #1170 from krishnasrinivas/caching
...
caching: disable caching of index.html and enable caching for other UI asset files.
2016-02-27 00:02:51 -08:00
Krishna Srinivas
af7170675d
caching: disable caching of index.html and enable caching for other UI asset files.
2016-02-27 12:22:26 +05:30
Harshavardhana
7780a1ce4c
Merge pull request #1171 from harshavardhana/disable-multi
...
api: Return NotImplemented for MultiDelete and CopyObject APIs
2016-02-26 16:34:37 -08:00
Harshavardhana
ae6e774377
api: Return NotImplemented for MultiDelete and CopyObject APIs
2016-02-26 15:57:30 -08:00
Harshavardhana
2ec211e52a
Merge pull request #1169 from minio/harshavardhana-patch-1
...
Update README.md
2016-02-24 20:30:29 -08:00
Harshavardhana
9122f06307
Update README.md
2016-02-24 19:57:11 -08:00
Harshavardhana
04d6408c31
Merge pull request #1167 from harshavardhana/fix-release-tag
...
build: Fix release tag.
2016-02-23 17:16:26 -08:00
Harshavardhana
024c00addd
build: Fix release tag.
2016-02-23 16:56:41 -08:00
Harshavardhana
2c26b98242
Merge pull request #1166 from harshavardhana/release
...
build: Add release builds, now generated with 'make release'
2016-02-23 16:02:51 -08:00
Harshavardhana
223245cc45
build: Add release builds, now generated with 'make release'
...
Currently supported platforms are
- linux{amd64,arm,386}
- winows{amd64,386}
- darwin{amd64}
2016-02-23 15:14:02 -08:00
Harshavardhana
781540081d
vendor: Update to new upstream changes from fatih/color
...
Brings in changes like support for Solaris/FreeBSD.
2016-02-23 15:01:17 -08:00
Harshavardhana
acb44e294c
Merge pull request #1140 from harshavardhana/go1.6
...
build/vet: Fix all the shadowing reports with go1.6
2016-02-23 14:50:46 -08:00
Harshavardhana
408aa72146
build/vet: Fix all the shadowing reports with go1.6
...
Golang 1.6 is default version for the build now.
Additionally set 'GODEBUG=cgocheck=0' for now, until
we fix the erasure coding package.
Readmore here https://tip.golang.org/doc/go1.6#cgo
2016-02-23 14:34:39 -08:00
Harshavardhana
04424ae9c2
Merge pull request #1163 from harshavardhana/minio-browser
...
web: Removing dependency for gpg and downloading assets.
2016-02-23 14:16:25 -08:00
Harshavardhana
2181003609
web: Removing dependency for gpg and downloading assets.
...
Assets are vendorized from now on and updated for each release.
2016-02-23 13:32:12 -08:00
Harshavardhana
997141d031
Merge pull request #1161 from krishnasrinivas/feb-23
...
UI: serve index.html if the requested file is not found in the assets bundle.
2016-02-23 12:14:52 -08:00
Krishna Srinivas
e509bcb2b9
UI: serve index.html if the requested file is not found in the assets bundle.
2016-02-24 00:36:30 +05:30
Anand Babu (AB) Periasamy
07da31f8b8
Merge pull request #1150 from harshavardhana/signature
...
signV4: Move pkg/signature to pkg/s3/signature4
2016-02-23 12:39:28 +05:30
Harshavardhana
653ceee9ee
signV4: Move pkg/signature to pkg/s3/signature4
...
Cleanup and move this to relevant path.
2016-02-22 22:47:09 -08:00
Anand Babu (AB) Periasamy
b31dac9162
Merge pull request #1144 from harshavardhana/definitions
...
cleanup: Remove definitions and move them to its relative places acco…
2016-02-23 01:50:17 +05:30
Harshavardhana
31c941d320
Merge branch 'osallou-feature_credentials_envvars'
2016-02-22 10:49:14 -08:00
Olivier Sallou
678585c513
use environment variables to set and override access and secret keys at server startup
2016-02-22 10:49:02 -08:00
Harshavardhana
800b19d8e5
cleanup: Remove definitions and move them to its relative places accordingly
...
- Move fs-definitions.go and break them into fs-datatypes.go, fs-bucket-acl.go
and fs-utils.go
- Move api-definitions.go to api-response.go, where they should be.
- Move web-definitions to its related handlers.
2016-02-22 10:41:27 -08:00
Harshavardhana
bd6850e79f
Merge pull request #1155 from harshavardhana/verify-yasm
...
build: Verify yasm version and complain - fixes #1154
2016-02-22 03:26:03 -08:00
Harshavardhana
18fd0a0f81
build: Verify yasm version and complain - fixes #1154
2016-02-22 03:17:17 -08:00
Harshavardhana
8824b18c29
Merge pull request #1151 from harshavardhana/bucket-fix
...
router: Fix "/minio" router for web.
2016-02-21 23:05:43 -08:00
Harshavardhana
5da1972d1f
router: Fix "/minio" router for web.
2016-02-21 22:59:01 -08:00
Harshavardhana
d3966d1dde
Merge pull request #1145 from harshavardhana/bucket
...
web: Handle private bucket match from prefix to exact match.
2016-02-21 12:14:09 -08:00