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
Harshavardhana
e5af8a3f5d
Further fixes -
...
- All test files have been renamed to their respective <package>_test name,
this is done in accordance with
- https://github.com/golang/go/wiki/CodeReviewComments#import-dot
imports are largely used in testing, but to avoid namespace collision
and circular dependencies
- Never use _* in package names other than "_test" change fragment_v1 to expose
fragment just like 'gopkg.in/check.v1'
10 years ago
Harshavardhana
540723d7ae
Golint cleanup pkg/api
10 years ago
Harshavardhana
53669a0854
Implement delimiter, path prefix
10 years ago
Harshavardhana
51e80eaa6d
Add domain and subdomain support for MinioAPI
...
This change brings in domain and subdomain support
- ./minio --domain "yourminiodomain.com"
This change brings in a much needed feature by keeping
bucketnames as part of your 'DNS' name.
All your existing applications can be migrated off from s3 to
Minio without little to no modifications.
NOTE: Setting up DNS for your `buckets` is out of scope of this feature
10 years ago
Harshavardhana
f7a06a5d1e
Some more cleanup
10 years ago
Harshavardhana
eeae64935e
Implement bucket policy handler and with galore of cleanup
10 years ago