Nitish Tiwari and Harshavardhana
e55421ebdd
Fixed Docker compose link ( #3920 )
2017-03-17 01:06:11 -07:00
Dee Koder and Harshavardhana
0a5d57a91e
docs: Update gateway doc with roadmap section. ( #3918 )
2017-03-16 18:25:01 -07:00
Krishna Srinivas and Harshavardhana
cea4cfa3a8
Implement S3 Gateway to third party cloud storage providers. ( #3756 )
...
Currently supported backend is Azure Blob Storage.
```
export MINIO_ACCESS_KEY=azureaccountname
export MINIO_SECRET_KEY=azureaccountkey
minio gateway azure
```
2017-03-16 12:21:58 -07:00
Anis Elleuch and Harshavardhana
8426cf9aec
config: Accept more address format + unit test ( #3915 )
...
checkURL() is a generic function to check if a passed address
is valid. This commit adds support for addresses like `m1`
and `172.16.3.1` which is needed in MySQL and NATS. This commit
also adds tests.
2017-03-16 11:44:01 -07:00
Harshavardhana and GitHub
f3334159a4
config: Relax browser and region to be empty. ( #3912 )
...
- If browser field is missing or empty
then default to "on".
- If region field is empty or missing then
default to "us-east-1" (S3 spec behavior)
2017-03-16 11:06:17 -07:00
Harshavardhana and GitHub
3edff1501e
Vendor upstream redis library instead of our fork. ( #3913 )
...
We forked the upstream to address a build issue on
go 1.6 - that is long done and we don't need
to manage our forks anymore.
2017-03-16 08:22:47 -07:00
Bala FA and Harshavardhana
21d73a3eef
Simplify credential usage. ( #3893 )
2017-03-16 00:16:06 -07:00
Krishnan Parthasarathi and Harshavardhana
051f9bb5c6
Implement list uploads heal admin API ( #3885 )
2017-03-16 00:15:06 -07:00
Harshavardhana and GitHub
6509589adb
Use canonicalETag helper wherever needed. ( #3910 )
2017-03-15 20:48:49 -07:00
Anis Elleuch and Harshavardhana
ae4361cc45
config: Check for duplicated entries in all scopes ( #3872 )
...
Validate Minio config by checking if there is double json key
in any scope level. The returned error contains the json path
to the duplicated key.
2017-03-15 16:30:34 -07:00
Krishna Srinivas and Harshavardhana
cad0d0eb7a
browser: Update ui-assets.go ( #3902 )
...
fixes #3898
2017-03-15 11:32:51 -07:00
Nitish Tiwari and Harshavardhana
ba0c11757e
Added that no special config changes reqd ( #3906 )
...
Added a line saying no special config changes are required for Shared mode. Also the previous `Why Shared Backend` and current `Use cases` are already merged. This fixes the comment: https://github.com/minio/minio/pull/3888#discussion_r105573494
2017-03-15 08:22:03 -07:00
Krishna Srinivas and Harshavardhana
96050c1e21
browser: Do not show "Loading..." if there are no buckets. ( #3904 )
2017-03-14 19:07:23 -07:00
Rushan and Harshavardhana
a27d1b3d86
Browser: Use babel-polyfill to support new ES6 built-ins in older browsers ( #3900 )
2017-03-14 15:02:20 -07:00
Anis Elleuch and Harshavardhana
a5e60706a2
xl,fs: Return 404 if object ends with a separator ( #3897 )
...
HEAD Object for FS and XL was returning invalid object name when
an object name has a trailing slash separator, this PR changes the
behavior and will always return 404 object not found, this guarantees
a better compatibility with S3 spec.
2017-03-13 22:20:46 -07:00
Harshavardhana and GitHub
5f7565762e
api: postPolicy cleanup. Simplify the code and re-use. ( #3890 )
...
This change is cleanup of the postPolicyHandler code
primarily to address the flow and also converting
certain critical parts into self contained functions.
2017-03-13 14:41:13 -07:00
Nitish Tiwari and Harshavardhana
3314501f19
Simplify shared mode document ( #3888 )
2017-03-12 16:17:03 -07:00
Harshavardhana and GitHub
9d53a646a1
Simplify the title for orchestration and some words. ( #3887 )
2017-03-11 02:17:03 -08:00
Nitish Tiwari and Harshavardhana
5e0032e165
Update links ( #3886 )
2017-03-11 00:11:07 -08:00
Harshavardhana
305952d734
browser: Update ui-assets with new changes.
2017-03-10 15:13:26 -08:00
Rushan and Harshavardhana
e77885d671
Browser: Add Object.assign polyfill to support older browsers ( #3884 )
2017-03-10 14:30:23 -08:00
Nitish Tiwari and Harshavardhana
2410eb281e
Update kafkacat command with consumer flag ( #3882 )
2017-03-10 09:01:59 -08:00
Harshavardhana
e54025805f
browser: update ui-assets with new changes.
2017-03-09 15:26:25 -08:00
Anis Elleuch and Harshavardhana
d602495600
madmin: Do not require SSL to set credentials ( #3879 )
...
We need to relax this requirement and let the client decides
if it can allow to set credentials API over plain connection.
2017-03-09 14:08:33 -08:00
Nitish Tiwari and Harshavardhana
03937e7554
Added documentation for orchestration platforms ( #3684 )
2017-03-09 14:06:51 -08:00
Harshavardhana and GitHub
e3b627a192
docker: Add ARM64 image build support ( #3876 )
2017-03-09 13:57:27 -08:00
Rushan and Harshavardhana
ccc3349f0c
Browser: Show complete bucket name by removing the ellipsis cut off ( #3877 )
2017-03-09 10:42:38 -08:00
Harshavardhana and GitHub
85cbd875fc
cleanup: All conditionals simplified under pkg. ( #3875 )
...
Address all the changes reported/recommended by
`gosimple` tool.
2017-03-09 10:13:30 -08:00
Harshavardhana and GitHub
43317530d5
Fix odd shadowing bug in XL init. ( #3874 )
...
Fixes #3873
2017-03-08 20:42:45 -08:00
Bala FA and Harshavardhana
8a9852220d
Make unit testable cert parsing functions. ( #3863 )
2017-03-08 19:20:01 -08:00
Harshavardhana and GitHub
47ac410ab0
Code cleanup - simplify server side code. ( #3870 )
...
Fix all the issues reported by `gosimple` tool.
2017-03-08 10:00:47 -08:00
Harshavardhana and GitHub
433225ab0d
docker: ca-certificates should not be removed. ( #3868 )
2017-03-07 16:30:19 -08:00
Harshavardhana and GitHub
3e655a2c85
docker: Add ARM docker container dockerfile. ( #3574 )
2017-03-07 15:15:05 -08:00
Anis Elleuch and Harshavardhana
a2eae54d11
xl: Respect min. space by checking PrepareFile err ( #3867 )
...
It was possible to upload a big file which overcomes the minimal
disk space limit in XL, PrepareFile was actually checking for disk
space but we weren't checking its returned error. This patch fixes
this behavior.
2017-03-07 14:48:56 -08:00
Anis Elleuch and Harshavardhana
79e0b9e69a
Relax minio server start when disk threshold is reached and adds space check in FS ( #3865 )
...
* fs: Rename tempObjPath variable in fsCreateFile()
* fs/posix: Factor checkDiskFree() function
* fs: Add disk free check in fsCreateFile()
* posix: Move free disk check to createFile()
* xl: Relax free disk check in POSIX initialization
* fs: checkDiskFree checks for space to store data
2017-03-07 12:25:40 -08:00
Krishna Srinivas and Harshavardhana
29ff9674a0
browser: Humanize expiry time for Share-Object. ( #3861 )
2017-03-06 20:13:52 -08:00
Bala FA and Harshavardhana
bff4d29415
Remove commands and commandsTree global variables. ( #3855 )
2017-03-06 19:35:26 -08:00
Krishna Srinivas and Harshavardhana
436db49bf3
Share object expiry value modification modal was not working ( #3860 )
2017-03-06 18:50:25 -08:00
Rushan and Harshavardhana
966818955e
Browser: Implement multiple object delete ( #3859 )
2017-03-06 15:43:43 -08:00
Harshavardhana and GitHub
e49efcb9d9
xl: quickHeal heal bucket only when needed. ( #3854 )
...
This improves the startup time significantly
for clusters which have lot of buckets.
Also fixes a bug where `.minio.sys` is created
on disks which do not have `format.json`
2017-03-06 02:00:15 -08:00
Harshavardhana and GitHub
6f931d29c4
rpm: Add RPM spec for minio build. ( #3853 )
...
Currently the package is built and hosted at
https://copr.fedorainfracloud.org/coprs/minio/minio/
To enable minio repo one has to download.
Fedora - 25
https://copr.fedorainfracloud.org/coprs/minio/minio/repo/fedora-25/minio-minio-fedora-25.repo
Fedora - 26
https://copr.fedorainfracloud.org/coprs/minio/minio/repo/fedora-26/minio-minio-fedora-26.repo
Enables for both i386 and x86_64.
Fixes #3576
2017-03-05 13:09:31 -08:00
Krishnan Parthasarathi and Harshavardhana
e3fd4c0dd6
XL: Make listOnlineDisks and outDatedDisks consistent w/ each other. ( #3808 )
2017-03-04 14:53:28 -08:00
Harshavardhana
b05c1c11d4
browser: Update UI assets with new changes.
2017-03-03 18:05:02 -08:00
Krishna Srinivas and Harshavardhana
0bae3330e8
browser: Send correct arguments for RemoveObjects web handler. ( #3848 )
...
Fixes #3839
2017-03-03 17:07:17 -08:00
Harshavardhana and GitHub
05e53f1b34
api: CopyObjectPart was copying wrong offsets due to shadowing. ( #3838 )
...
startOffset was re-assigned to '0' so it would end up
copying wrong content ignoring the requested startOffset.
This also fixes the corruption issue we observed while
using docker registry.
Fixes https://github.com/docker/distribution/issues/2205
Also fixes #3842 - incorrect routing.
2017-03-03 16:32:04 -08:00
Anis Elleuch and Harshavardhana
0c8c463a63
tests: Fix web handlers testing with faulty disks ( #3845 )
2017-03-03 15:46:28 -08:00
Aditya Manthramurthy and Harshavardhana
6df7bc42b8
Fix check for bucket name: ( #3832 )
...
* Do not allow bucket names with adjacent hypen and periods.
* Improve performance by eliminating the usage of regular expressions.
2017-03-03 10:23:41 -08:00
Anis Elleuch and Harshavardhana
6c00a57a7c
quick: Add yaml format support ( #3833 )
...
quick Save() and Load() infers config file's format from
file name extension.
2017-03-03 10:22:09 -08:00
Harshavardhana and GitHub
bc52d911ef
api: Increase the maximum object size limit from 5GiB to 16GiB. ( #3834 )
...
The globalMaxObjectSize limit is instilled in S3 spec perhaps
due to certain limitations on S3 infrastructure. For minio we
don't have such limitations and we can stream a larger file
instead.
So we are going to bump this limit to 16GiB.
Fixes #3825
2017-03-03 10:14:17 -08:00
Anis Elleuch and Harshavardhana
28c53a3555
obj: Make checkBucketExist() returns all errors ( #3843 )
...
This function was returning BucketNotFound for all errors
which at least hides the fact that disks could be corrupted.
This commit fixes the behavior by returning all errors that,
are, by the way, Object API errors.
2017-03-03 10:12:43 -08:00