Harshavardhana
2a15dd5eab
Enhance signature handler - throw back valid error messages
9 years ago
Harshavardhana
6a5e5c1826
With new auth config changes, restructure the API code to use the new style
9 years ago
Harshavardhana
f8bb85aeb7
Enhance auth JSONRPC, now provides persistent output
...
Implements
- Auth.Generate("user")
- Auth.Fetch("user")
- Auth.Reset("user")
This patch also adds testing for each of these cases
9 years ago
Harshavardhana
4bcd86408b
Fix minio header in accordance with rfc2616.txt
9 years ago
Harshavardhana
7093a05ab1
Version is a package now, will be re-used across codebase.
9 years ago
Harshavardhana
1887114444
Fix all the golint complaints about newly added changes
...
Do not use func(this *server), such generic names should not be used
for writing struct methods.
9 years ago
Harshavardhana
3f4b98ca4c
Consolidate controller, move rpc package into controller - remove dangling code in pkg/server
9 years ago
Krishna Srinivas
b1b387b157
Remove unneeded functions in middleware init
9 years ago
Anand Babu (AB) Periasamy
6930e4d668
logrus logger
9 years ago
Harshavardhana
1e2c010174
Avoid shadowing variables and enable checks to avoid them during build
9 years ago
Harshavardhana
b649eff3fb
Disable logging for now
9 years ago
Krishna Srinivas
1e82ee1192
Add CORS support to minio s3 server
9 years ago
Harshavardhana
025f95b1d6
Restructure server code, controller now runs in silo
9 years ago
Harshavardhana
988d39a5b6
Migrate to golang1.5 release with GO15VENDOREXPERIMENT=1 enabled
9 years ago
Harshavardhana
0e416ea699
Tests were running 4 times due to multiple times the TestingT{} was being called
...
Calling multiple times TestingT{} will hook up runner for Suites for that many times
which would lead to repeated running tests.
Fix it by only initializing it once for all the Suites
9 years ago
Anand Babu (AB) Periasamy
cdf93e534c
simplify probe APIs
9 years ago
Harshavardhana
61175ef091
Migrate to govendor to avoid limitations of godep
...
- over the course of a project history every maintainer needs to update
its dependency packages, the problem essentially with godep is manipulating
GOPATH - this manipulation leads to static objects created at different locations
which end up conflicting with the overall functionality of golang.
This also leads to broken builds. There is no easier way out of this other than
asking developers to do 'godep restore' all the time. Which perhaps as a practice
doesn't sound like a clean solution. On the other hand 'godep restore' has its own
set of problems.
- govendor is a right tool but a stop gap tool until we wait for golangs official
1.5 version which fixes this vendoring issue once and for all.
- govendor provides consistency in terms of how import paths should be handled unlike
manipulation GOPATH.
This has advantages
- no more compiled objects being referenced in GOPATH and build time GOPATH
manging which leads to conflicts.
- proper import paths referencing the exact package a project is dependent on.
govendor is simple and provides the minimal necessary tooling to achieve this.
For now this is the right solution.
9 years ago
Harshavardhana
45b59b8456
Probe revamped to provide for a new WrappedError struct to wrap probes as error interface
...
This convenience was necessary to be used for golang library functions like io.Copy and io.Pipe
where we shouldn't be writing proxies and alternatives returning *probe.Error
This change also brings more changes across code base for clear separation regarding where an error
interface should be passed encapsulating *probe.Error and where it should be used as is.
9 years ago
Harshavardhana
f8141493bd
use command not found helper
10 years ago
Harshavardhana
d09fd8b0a1
Migrate from iodine to probe
10 years ago
Harshavardhana
d346250f1c
Collapse GetPartialObject() into GetObject()
10 years ago
Harshavardhana
d6a0e0cc55
Rename more
10 years ago
Harshavardhana
63c9cf0c4b
Move from Minimalist Object Storage to Minio Cloud Storage
10 years ago
Harshavardhana
43c908d5b9
ListObjects now considers multipart objects, also move to upstream check.v1
10 years ago
Harshavardhana
c1da10a207
Donut multipart support no get, listobjects() support yet
10 years ago
Harshavardhana
86a887f9d4
Add corresponding tests
10 years ago
Harshavardhana
5eae32f2b0
Return proper InvalidArgument messages like s3 for invalid data for ListObjects(), ListObjectParts(), ListMultipartUploads()
10 years ago
Harshavardhana
e605787e65
Method not allowed is right response for DELETE() operations and add tests
10 years ago
Harshavardhana
1f2e6a40a0
Fix an issue with reusing closed network connetion, changing the way rateLimitedListener is initialized
10 years ago
Harshavardhana
e4574c7d6f
Add File() method to Ratelimitlistener for extracting underlying fd()
10 years ago
Harshavardhana
4498662c16
Remove scsi non portable code, instead "donut make" implements functionality to instantiate a donut
10 years ago
Harshavardhana
efbf3eabb7
Return x-amz-request-id for all replies
10 years ago
Harshavardhana
da8b9fd112
Remove global custom config path variables, use get/set methods instead
10 years ago
Harshavardhana
c4cf7635bf
Read req.Body for PutBucket() if any
10 years ago
Harshavardhana
7ae60a6d10
For missing parts reply back as InvalidPart{}
10 years ago
Harshavardhana
1bad92356d
Add a ratelimited listener than a ratelimited handler - more precise
10 years ago
Harshavardhana
58a1d865a9
Renaming nimble to minhttp
10 years ago
Harshavardhana
847440196e
Add signature v4 tests
10 years ago
Harshavardhana
7615a6bfe5
HEAD shouldn't have any body, handle it in writeErrorResponse()
10 years ago
Harshavardhana
8977f9a524
cached api test should also have a custom config path, would conflict with your .minio local path
10 years ago
Harshavardhana
97d4a27c7e
Do not reply on ignoredHeaders for server, rely on SignedHeaders sent as part of Authorization header
10 years ago
Harshavardhana
7fa514351c
Rename definitions to log.go, add valid prefixes
10 years ago
Harshavardhana
e5006c738d
Handle both space and non-space characters, in signature v4 - add errors for all API's
10 years ago
Harshavardhana
84f427f14a
All other API's now support signature v4
10 years ago
Harshavardhana
00890c254e
CompleteMultipartUpload and CreateObjectPart now fully support signature v4
10 years ago
Harshavardhana
89c1215194
PutObject handler gets initial support for signature v4, working
10 years ago
Harshavardhana
d461fa5ab1
Add mountinfo functions for detecting mount disks, and other rpc changes
10 years ago
Harshavardhana
8654ddb566
Generate auth now saves in ${HOME}/.minio/users.json, also authHandler verifies request validity
10 years ago
Harshavardhana
375860077d
HTTP header Content-Length signifies body length of the request, if its smaller reply appropriately
...
This patch also handles large individual part sizes > 5MB by using less memory copies.
10 years ago
Harshavardhana
ec33d79d57
Add server side signaturev4 check, not wired up to the readers yet.
10 years ago