Krishnan Parthasarathi
051f9bb5c6
Implement list uploads heal admin API ( #3885 )
8 years ago
Harshavardhana
6509589adb
Use canonicalETag helper wherever needed. ( #3910 )
8 years ago
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.
8 years ago
Krishna Srinivas
cad0d0eb7a
browser: Update ui-assets.go ( #3902 )
...
fixes #3898
8 years ago
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
8 years ago
Krishna Srinivas
96050c1e21
browser: Do not show "Loading..." if there are no buckets. ( #3904 )
8 years ago
Rushan
a27d1b3d86
Browser: Use babel-polyfill to support new ES6 built-ins in older browsers ( #3900 )
8 years ago
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.
8 years ago
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.
8 years ago
Nitish Tiwari
3314501f19
Simplify shared mode document ( #3888 )
8 years ago
Harshavardhana
9d53a646a1
Simplify the title for orchestration and some words. ( #3887 )
8 years ago
Nitish Tiwari
5e0032e165
Update links ( #3886 )
8 years ago
Harshavardhana
305952d734
browser: Update ui-assets with new changes.
8 years ago
Rushan
e77885d671
Browser: Add Object.assign polyfill to support older browsers ( #3884 )
8 years ago
Nitish Tiwari
2410eb281e
Update kafkacat command with consumer flag ( #3882 )
8 years ago
Harshavardhana
e54025805f
browser: update ui-assets with new changes.
8 years ago
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.
8 years ago
Nitish Tiwari
03937e7554
Added documentation for orchestration platforms ( #3684 )
8 years ago
Harshavardhana
e3b627a192
docker: Add ARM64 image build support ( #3876 )
8 years ago
Rushan
ccc3349f0c
Browser: Show complete bucket name by removing the ellipsis cut off ( #3877 )
8 years ago
Harshavardhana
85cbd875fc
cleanup: All conditionals simplified under pkg. ( #3875 )
...
Address all the changes reported/recommended by
`gosimple` tool.
8 years ago
Harshavardhana
43317530d5
Fix odd shadowing bug in XL init. ( #3874 )
...
Fixes #3873
8 years ago
Bala FA
8a9852220d
Make unit testable cert parsing functions. ( #3863 )
8 years ago
Harshavardhana
47ac410ab0
Code cleanup - simplify server side code. ( #3870 )
...
Fix all the issues reported by `gosimple` tool.
8 years ago
Harshavardhana
433225ab0d
docker: ca-certificates should not be removed. ( #3868 )
8 years ago
Harshavardhana
3e655a2c85
docker: Add ARM docker container dockerfile. ( #3574 )
8 years ago
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.
8 years ago
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
8 years ago
Krishna Srinivas
29ff9674a0
browser: Humanize expiry time for Share-Object. ( #3861 )
8 years ago
Bala FA
bff4d29415
Remove commands and commandsTree global variables. ( #3855 )
8 years ago
Krishna Srinivas
436db49bf3
Share object expiry value modification modal was not working ( #3860 )
8 years ago
Rushan
966818955e
Browser: Implement multiple object delete ( #3859 )
8 years ago
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`
8 years ago
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
8 years ago
Krishnan Parthasarathi
e3fd4c0dd6
XL: Make listOnlineDisks and outDatedDisks consistent w/ each other. ( #3808 )
8 years ago
Harshavardhana
b05c1c11d4
browser: Update UI assets with new changes.
8 years ago
Krishna Srinivas
0bae3330e8
browser: Send correct arguments for RemoveObjects web handler. ( #3848 )
...
Fixes #3839
8 years ago
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.
8 years ago
Anis Elleuch
0c8c463a63
tests: Fix web handlers testing with faulty disks ( #3845 )
8 years ago
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.
8 years ago
Anis Elleuch
6c00a57a7c
quick: Add yaml format support ( #3833 )
...
quick Save() and Load() infers config file's format from
file name extension.
8 years ago
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
8 years ago
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.
8 years ago
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
8 years ago
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.
8 years ago
Zejun Li
32d0d3d4ac
Enhanced newObjectLayerFn ( #3837 )
8 years ago
Bala FA
98d17d2a97
Remove globalQuiet and globalConfigDir global variables ( #3830 )
8 years ago
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.
8 years ago
Anis Elleuch
a179fc9658
quick: Simplify Load() and CheckVersion() ( #3831 )
8 years ago
Zejun Li
d1afd16955
Using RWMutex to guard closing and listeners ( #3829 )
8 years ago