Frederick F. Kautz IV
058604aa21
Adding tests and fixes for multipart uploads uncovered from tests
10 years ago
Harshavardhana
1df28f3060
Get rid of sub-domain code and some other formatting changes
10 years ago
Harshavardhana
f7caef2d26
Change CreateObject() to take size argument from content-length
10 years ago
Harshavardhana
2c7b30e5e1
Even mux vars don't help, handle it by looking at req.URL.Path
10 years ago
Harshavardhana
8e3d48bf35
Use UTC() everywhere
...
ref - https://github.com/golang/go/issues/1988 , no standard function to set timeZone
10 years ago
Harshavardhana
d815e6adfd
Changes to CreateObject() now returns back md5 along with any error
...
- This change is necessary to avoid the racy calls to GetObjectMetadata()
- This change is also necessary since one has to reply back md5sum with
PUT object response header
10 years ago
Harshavardhana
92e4301414
Add proper content-length for error and success responses
...
- All compliance issues with S3 API for Put,Get,List (Bucket,Object) respectively
- Encodes and returns back proper HTTP headers
10 years ago
Frederick F. Kautz IV
5cc9418ca7
Adding expiration
10 years ago
Harshavardhana
ade803a923
Verify if request date is 5minutes late, reject such a request as
...
it could be a possible replay attack.
This commit also fixes #505 , by returning MethodNotAllowed instead of NotImplemented
10 years ago
Harshavardhana
9232ce3b4e
Now client requests for ACL changes are honored through PutBucketACL API
10 years ago
Harshavardhana
5ae8d34f76
Donut mode will now take multiple paths as argument, updated docs as well
10 years ago
Harshavardhana
e95604ff86
Finishing all the test case support for ACL and other fixes
10 years ago
Harshavardhana
848c4ee31c
Further fixes for ACL support, currently code is disabled in all the handlers
...
Disabled because due to lack of testing support. Once we get that in we can
uncomment them back.
10 years ago
Harshavardhana
c8713fd650
Bring in full fledged acl support
10 years ago
Harshavardhana
2c1455af1b
Implement x-amz-acl tests
10 years ago
Harshavardhana
3f33643d39
File driver to take the high road
10 years ago
Frederick F. Kautz IV
59a81a73c6
Adding lru to memory driver, not wired to command line opts
10 years ago
Frederick F. Kautz IV
6241c9880b
Moving object storage drivers back to minio
10 years ago
Harshavardhana
2a21b7d639
Implement headBucketHandler() and its related tests
...
Remove internal testify/mock and use upstream - update all godeps
10 years ago
Frederick F. Kautz IV
ea961ef16d
Updating to use objectdriver
10 years ago
Harshavardhana
d324c4b061
Return proper return for all drivers when BucketNotFound
10 years ago
Frederick F. Kautz IV
be4bc44b4d
Replacing gopkg.in/check.v1 with minio-io/check
10 years ago
Frederick F. Kautz IV
4171ad8b69
Adding test for invalid range in api
10 years ago
Harshavardhana
4b25d4e8db
Use verifyError instead of parsResponse, also get rid of mxj dependency
10 years ago
Frederick F. Kautz IV
9954e5c280
Better error handling + tests for get object
10 years ago
Frederick F. Kautz IV
db1e6e5988
Adding tests for put bucket errors, fixed mismatching error
10 years ago
Frederick F. Kautz IV
ebf1e784b3
Adding iodine and tests for for list buckets errors
10 years ago
Frederick F. Kautz IV
5865295f5d
Adding better error support to api
10 years ago
Frederick F. Kautz IV
8757ccf9a3
Fixing race condition in api_test.go
10 years ago
Harshavardhana
85e547d854
Parse response headers in tests
10 years ago
Frederick F. Kautz IV
0c5ed6f3ba
Add partial object support to donut driver
10 years ago
Frederick F. Kautz IV
563a914046
Fix whitespace
10 years ago
Frederick F. Kautz IV
83f0f0971f
Adding comments on why we subtract a second from date1 in an api test
10 years ago
Frederick F. Kautz IV
1f699a094b
Minor modification for creating temp dir in api test
10 years ago
Frederick F. Kautz IV
5b1350b4bf
api test now states which driver is currently running
10 years ago
Frederick F. Kautz IV
6136960cfd
Moving api_test to fixtures for drivers
10 years ago
Frederick F. Kautz IV
959d90fcf7
Adding test for partial objects
10 years ago
Frederick F. Kautz IV
96e26335e2
Adding tests and a fix for get object where bucket is not found
10 years ago
Harshavardhana
0474439b43
Code restructuring, assigning proper subsystems to each
...
- Drivers contain
* donut/*
* file/*
* memory/*
- Storage format contains
* donut/*
- GetObject() --> renamed to GetObjectReader()
- Deleted stale objectwriter.go, renamed donutwriter.go to object_writer.go
Simplifying, and documenting codebase further
10 years ago
Harshavardhana
2b0b5f014a
Update license header Mini should be Minimalist really
10 years ago
Harshavardhana
7ce3ab3193
Restructure minio api, move signature checks from utils to Api.
10 years ago
Harshavardhana
74b3d092f2
Now MinioAPI handles Content-MD5 set during putObject()
...
- This change also facilitates proper error response
in case of md5 mismatch or corruption
- TODO a test function needs to be implemented
10 years ago
Frederick F. Kautz IV
1a88b36c55
Switching from base64 to hex for etag
10 years ago
Frederick F. Kautz IV
211b084e50
Performing etag off of bytes rather than md5 string
10 years ago
Frederick F. Kautz IV
583c32c774
Metadata now stores hex md5, not base64. Minio API now converts md5 hex to base64.
10 years ago
Harshavardhana
15f68972a5
Some necessary cleanup
...
- Rename 'fs' as 'file' for brevity
- Rename 'inmemory' as 'memory' for brevity
- Change everywhere else
10 years ago
Harshavardhana
67888cbaa9
Restructure and use human readable names
10 years ago
Harshavardhana
a42a48a455
Get object range request added
10 years ago
Frederick F. Kautz IV
24d5018037
Rename StoreBucket to CreateBucket
10 years ago
Harshavardhana
f8e2b75e23
Get object metadata needs to filter based of Prefix when delimiter is specified
10 years ago