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
Harshavardhana
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
0c8c463a63
tests: Fix web handlers testing with faulty disks ( #3845 )
2017-03-03 15:46:28 -08:00
Aditya Manthramurthy
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
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
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
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
Harshavardhana
e5d4e7aa9d
web: Validate if bucket names are reserved ( #3841 )
...
Both '.minio.sys' and 'minio' should be never allowed
to be created from web-ui and then fail to list it
by filtering them out.
Fixes #3840
2017-03-03 03:01:42 -08:00
Anis Elleuch
cddc684559
admin: Set Config returns errSet and errMsg ( #3822 )
...
There is no way to see if a node encountered an error
when trying to set a new config set, this commit adds
a bool errSet field.
2017-03-03 02:53:48 -08:00
Zejun Li
32d0d3d4ac
Enhanced newObjectLayerFn ( #3837 )
2017-03-03 01:07:45 -08:00
Bala FA
98d17d2a97
Remove globalQuiet and globalConfigDir global variables ( #3830 )
2017-03-02 14:21:30 -08:00
Bala FA
208dd15245
Remove globalMaxCacheSize and globalCacheExpiry variables ( #3826 )
...
This patch fixes below
* Remove global variables globalMaxCacheSize and globalCacheExpiry.
* Make global variables into constant in objcache package.
2017-03-02 10:34:37 -08:00
Anis Elleuch
a179fc9658
quick: Simplify Load() and CheckVersion() ( #3831 )
2017-03-02 10:29:06 -08:00
Zejun Li
d1afd16955
Using RWMutex to guard closing and listeners ( #3829 )
2017-03-02 10:00:22 -08:00