1
0
mirror of https://github.com/minio/minio.git synced 2025-04-08 21:55:44 -04:00

69 Commits

Author SHA1 Message Date
Bala FA
825000bc34 Use humanize constants for KiB, MiB and GiB units. () 2016-11-22 18:18:22 -08:00
Harshavardhana
dd93f808c8 web: Add more data for jsonrpc responses. ()
This change adds more richer error response
for JSON-RPC by interpreting object layer
errors to corresponding meaningful errors
for the web browser.

```go
&json2.Error{
   Message: "Bucket Name Invalid, Only lowercase letters, full stops, and numbers are allowed.",
}
```

Additionally this patch also allows PresignedGetObject()
to take expiry parameter to have variable expiry.
2016-11-22 11:12:38 -08:00
Harshavardhana
c91d3791f9 heal: Add healing support for bucket, bucket metadata files. ()
This patch implements healing in general but it is only used
as part of quickHeal().

Fixes 
2016-11-16 16:42:23 -08:00
Harshavardhana
398421b9f5 xl/bootup: Server bootup shouldn't return for missing buckets. ()
Ref 
2016-11-14 15:45:00 -08:00
Harshavardhana
2f373684f5 Fix the server startup messages and help text. () 2016-11-09 23:37:12 -08:00
Harshavardhana
33c771bb3e tests: Add tests for browser peer rpc. Fixes () 2016-11-07 11:43:35 -08:00
Harshavardhana
d9674f7524 Improve coverage of web-handlers.go ()
This patch additionally relaxes the requirement for
accesskeys to be in a regexy set of values.

Fixes 
2016-11-02 14:45:11 -07:00
Harshavardhana
5782ec3ada Fix peers and web UIVersion validation. () 2016-10-23 12:32:35 -07:00
Aditya Manthramurthy
0aabc1d8d9 Use Peer RPC to propagate bucket policy changes () 2016-10-13 09:19:04 -07:00
Harshavardhana
6494b77d41 server: Add more elaborate startup messages. ()
These messages based on our prep stage during XL
and prints more informative message regarding
drive information.

This change also does a much needed refactoring.
2016-10-05 12:48:07 -07:00
Krishna Srinivas
61a18ed48f sha256: Verify sha256 along with md5sum, signature is verified on the request early. () 2016-10-02 15:51:49 -07:00
Harshavardhana
cfbab22237 web: Remove bucket policy when we have no more statements. () 2016-09-26 03:11:22 -07:00
Harshavardhana
be0e06c0aa web: Simplify and rename GetAllBucketPolicy --> ListAllBucketPolicies. () 2016-09-25 21:53:19 -07:00
Krishna Srinivas
1e53316241 Add tests for presigned-get ()
* web-handlers: support for presigned-get json-rpc call for MinioBrowser's "share" feature.

* Add tests for presigned-get
2016-09-23 01:25:49 -07:00
Bala FA
aa579bbc20 web: add method to get all policies for given bucket name. ()
Refer 
2016-09-22 23:06:45 -07:00
Anis Elleuch
fc783f8407 More tests for web handlers ()
* Return negative values of Total and Free in StorageInfo() when we fail to get disk info

* Return consistent messages in web handlers when the server is not initialized
2016-09-22 16:35:12 -07:00
Anis Elleuch
90417d2dd6 Check for bucket existence in Set/Get/Remove bucket policy workflow + tests () 2016-09-21 16:38:50 -07:00
Bala FA
7431acb2c4 web: add handlers for set/get bucket policy. ()
Refer 
2016-08-30 10:04:50 -07:00
Harshavardhana
bccf549463 server: Move all the top level files into cmd folder. ()
This change brings a change which was done for the 'mc'
package to allow for clean repo and have a cleaner
github drop in experience.
2016-08-18 16:23:42 -07:00