Bala FA
7ebf11b202
words: new package Damerau Levenshtein distance function. ( #3929 )
2017-03-19 14:23:05 -07:00
Bala FA
1c97dcb10a
Add UTCNow() function. ( #3931 )
...
This patch adds UTCNow() function which returns current UTC time.
This is equivalent of UTCNow() == time.Now().UTC()
2017-03-18 11:28:41 -07:00
Anis Elleuch
3a6111eff5
admin: Export HealStatus data type ( #3930 )
...
`healStatus` can be returned to the API caller. This commit will help
developers to declare a variable with HealStatus type.
2017-03-18 11:27:27 -07:00
Aditya Manthramurthy
2463ae243a
Add support for MySQL notifications ( fixes #3818 ) ( #3907 )
...
As a new configuration parameter is added, configuration version is
bumped up from 14 to 15.
The MySQL target's behaviour is identical to the PostgreSQL: rows are
deleted from the MySQL table on delete-object events, and are
created/updated on create/over-write events.
2017-03-17 09:29:17 -07:00
Krishnan Parthasarathi
c192e5c9b2
Implement heal-upload admin API ( #3914 )
...
This API is meant for administrative tools like mc-admin to heal an
ongoing multipart upload on a Minio server. N B This set of admin
APIs apply only for Minio servers.
`github.com/minio/minio/pkg/madmin` provides a go SDK for this (and
other admin) operations. Specifically,
func HealUpload(bucket, object, uploadID string, dryRun bool) error
Sample admin API request:
POST
/?heal&bucket=mybucket&object=myobject&upload-id=myuploadID&dry-run
- Header(s): ["x-minio-operation"] = "upload"
Notes:
- bucket, object and upload-id are mandatory query parameters
- if dry-run is set, API returns success if all parameters passed are
valid.
2017-03-17 09:25:49 -07:00
Nitish Tiwari
d4eea224d4
Remove white spaces ( #3922 )
2017-03-17 09:23:22 -07:00
Nitish Tiwari
e55421ebdd
Fixed Docker compose link ( #3920 )
2017-03-17 01:06:11 -07:00
Dee Koder
0a5d57a91e
docs: Update gateway doc with roadmap section. ( #3918 )
2017-03-16 18:25:01 -07:00
Krishna Srinivas
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
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
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
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
21d73a3eef
Simplify credential usage. ( #3893 )
2017-03-16 00:16:06 -07:00
Krishnan Parthasarathi
051f9bb5c6
Implement list uploads heal admin API ( #3885 )
2017-03-16 00:15:06 -07:00
Harshavardhana
6509589adb
Use canonicalETag helper wherever needed. ( #3910 )
2017-03-15 20:48:49 -07:00
Anis Elleuch
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
cad0d0eb7a
browser: Update ui-assets.go ( #3902 )
...
fixes #3898
2017-03-15 11:32:51 -07:00
Nitish Tiwari
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
96050c1e21
browser: Do not show "Loading..." if there are no buckets. ( #3904 )
2017-03-14 19:07:23 -07:00
Rushan
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
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
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
3314501f19
Simplify shared mode document ( #3888 )
2017-03-12 16:17:03 -07:00
Harshavardhana
9d53a646a1
Simplify the title for orchestration and some words. ( #3887 )
2017-03-11 02:17:03 -08:00
Nitish Tiwari
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
e77885d671
Browser: Add Object.assign polyfill to support older browsers ( #3884 )
2017-03-10 14:30:23 -08:00
Nitish Tiwari
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
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
03937e7554
Added documentation for orchestration platforms ( #3684 )
2017-03-09 14:06:51 -08:00
Harshavardhana
e3b627a192
docker: Add ARM64 image build support ( #3876 )
2017-03-09 13:57:27 -08:00
Rushan
ccc3349f0c
Browser: Show complete bucket name by removing the ellipsis cut off ( #3877 )
2017-03-09 10:42:38 -08:00
Harshavardhana
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
43317530d5
Fix odd shadowing bug in XL init. ( #3874 )
...
Fixes #3873
2017-03-08 20:42:45 -08:00
Bala FA
8a9852220d
Make unit testable cert parsing functions. ( #3863 )
2017-03-08 19:20:01 -08:00
Harshavardhana
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
433225ab0d
docker: ca-certificates should not be removed. ( #3868 )
2017-03-07 16:30:19 -08:00
Harshavardhana
3e655a2c85
docker: Add ARM docker container dockerfile. ( #3574 )
2017-03-07 15:15:05 -08:00
Anis Elleuch
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
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
29ff9674a0
browser: Humanize expiry time for Share-Object. ( #3861 )
2017-03-06 20:13:52 -08:00
Bala FA
bff4d29415
Remove commands and commandsTree global variables. ( #3855 )
2017-03-06 19:35:26 -08:00
Krishna Srinivas
436db49bf3
Share object expiry value modification modal was not working ( #3860 )
2017-03-06 18:50:25 -08:00
Rushan
966818955e
Browser: Implement multiple object delete ( #3859 )
2017-03-06 15:43:43 -08:00
Harshavardhana
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
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
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
0bae3330e8
browser: Send correct arguments for RemoveObjects web handler. ( #3848 )
...
Fixes #3839
2017-03-03 17:07:17 -08:00