Harshavardhana
7fea9cb550
Add rpc signature handler
9 years ago
Harshavardhana
d18ca4b40d
Add proper router for handling putBucketACLHandler
9 years ago
Harshavardhana
cfdb29cac0
Simplify signature handling
...
This change brings a new SignatureHandler where Presigned.
Requests without Payload are handled very early before even
going through the call.
This change simplifies Donut codebase to not have signature related
logic for all API's.
Simplification is still needed for Payload based signature eg. PUT/POST calls
, which are still part of the donut codebase, which will be done subsequently
after donut re-write.
9 years ago
Harshavardhana
2a9c37ba26
Remove using HTTP responses in json reply always in application/xml
9 years ago
Harshavardhana
d54488f144
Move all server and controller packages into top-level
9 years ago
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
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
Krishna Srinivas
b1b387b157
Remove unneeded functions in middleware init
9 years ago
Krishna Srinivas
1e82ee1192
Add CORS support to minio s3 server
9 years ago
Harshavardhana
63c9cf0c4b
Move from Minimalist Object Storage to Minio Cloud Storage
9 years ago
Harshavardhana
efbf3eabb7
Return x-amz-request-id for all replies
9 years ago
Harshavardhana
7615a6bfe5
HEAD shouldn't have any body, handle it in writeErrorResponse()
9 years ago
Harshavardhana
97d4a27c7e
Do not reply on ignoredHeaders for server, rely on SignedHeaders sent as part of Authorization header
9 years ago
Harshavardhana
89c1215194
PutObject handler gets initial support for signature v4, working
9 years ago
Harshavardhana
8654ddb566
Generate auth now saves in ${HOME}/.minio/users.json, also authHandler verifies request validity
9 years ago
Harshavardhana
ec33d79d57
Add server side signaturev4 check, not wired up to the readers yet.
9 years ago
Harshavardhana
396b728031
Add auth rpc service to generate access keys, add corresponding test
9 years ago
Harshavardhana
30fc14e703
Restructure codebase move crypto, checksum to top-level, move ``split`` into donut, move crypto/keys into api/auth
10 years ago
Harshavardhana
8a4e7bcdcf
Add full API tests, move storage/donut to donut, add disk tests as well
10 years ago
Harshavardhana
0533abf6a8
Make priority queue lambda function return error over a channel
10 years ago
Harshavardhana
eb5aa19dfa
Remove custom Config, will use quick Config instead for user access keys
10 years ago
Harshavardhana
4addf7a996
Restructure API handlers, add JSON RPC simple HelloService right now.
10 years ago
Harshavardhana
72572d6c71
Remove some api server code bringing in new cleanup
10 years ago
Harshavardhana
a344f5b34d
Misc changes before capturing proper video
...
- Disable management UI command option
- Remove featureflags option, filesystem and memory already support multipart
- Print informative messages after starting minio server
10 years ago
Harshavardhana
19250296c6
Handle authorization header better
10 years ago
Harshavardhana
e11f9110b6
add missing validate access keys after being extracted from AuthHeader
10 years ago
Harshavardhana
317637fcb8
Remove redundant WriteHeader calls
10 years ago
Harshavardhana
5498c90788
Add a new validateContentTypeHandler{}, verify Accept header earlier
10 years ago
Harshavardhana
8d06504068
Change all minio-io path to minio
10 years ago
Harshavardhana
f45635524f
Remove SignatureV2 support, bring in SignatureV4 header only validation for now
10 years ago
Harshavardhana
04e388d620
Handle two different styles of time format, s3cmd now compatible
10 years ago
Frederick F. Kautz IV
82a16b8848
Make minio work with curl and browsers again
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
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
Frederick F. Kautz IV
202fc26719
Revert "Exporting WriteErrorResponse"
...
This reverts commit e05d46a0b5
.
10 years ago
Frederick F. Kautz IV
e05d46a0b5
Exporting WriteErrorResponse
10 years ago
Frederick F. Kautz IV
e2475925ea
quota handlers now log against ip properly against a duration
10 years ago
Frederick F. Kautz IV
fda50d52c8
Add initial framework for quota
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
1c0ff2c758
ACL driver/storage layer support
10 years ago
Harshavardhana
c8713fd650
Bring in full fledged acl support
10 years ago
Harshavardhana
107e077ec0
Implement x-amz-acl handling
10 years ago
Frederick F. Kautz IV
7d657eb55c
Simplifying error response writing for object handlers
10 years ago
Frederick F. Kautz IV
d5db891094
Simplfying code in api, round 1. Decoupling functions which both write headers and data.
10 years ago
Harshavardhana
2b0b5f014a
Update license header Mini should be Minimalist really
10 years ago
Harshavardhana
a1baed3bbc
Refactor to move config handling into api/
10 years ago
Harshavardhana
7ce3ab3193
Restructure minio api, move signature checks from utils to Api.
10 years ago
Harshavardhana
540723d7ae
Golint cleanup pkg/api
10 years ago