aboutsummaryrefslogtreecommitdiff
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
* [fix-signed-headers] aws signatures v4: don't actually check Content-Type is ↵Alex Auvolat2024-03-011-11/+8
| | | | | | | | | | | | | | | | signed This page of the AWS docs indicate that Content-Type should be part of the CanonicalHeaders (and therefore SignedHeaders) strings in signature calculation: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html However, testing with Minio Client revealed that it did not sign the Content-Type header, and therefore we broke CI by expecting it to be signed. With this commit, we don't mandate Content-Type to be signed anymore, for better compatibility with the ecosystem. Testing against the official behavior of S3 on AWS has not been done.
* [fix-auth-ct-eq] use consant time comparison for awsv4 signature verificationfix-auth-ct-eqAlex Auvolat2024-02-291-3/+4
|
* [fix-auth-ct-eq] use argon2 hashing and verification for admin/metrics token ↵Alex Auvolat2024-02-292-17/+42
| | | | checking
* [fix-presigned] add comments and reorganizeAlex Auvolat2024-02-284-83/+87
|
* [fix-presigned] presigned requests: allow x-amz-* query parameters to stand ↵Alex Auvolat2024-02-283-12/+43
| | | | in for equivalent headers
* [fix-presigned] write commentsAlex Auvolat2024-02-281-5/+16
|
* [fix-presigned] add back anonymous request code path + refactoringAlex Auvolat2024-02-282-30/+40
|
* [fix-presigned] PostObject: verify X-Amz-AlgorithmAlex Auvolat2024-02-281-0/+10
|
* [fix-presigned] split presigned/normal signature verificationAlex Auvolat2024-02-282-236/+350
|
* [refactor-put] add ordering tag to blocks being sent to storage nodesAlex Auvolat2024-02-262-2/+11
|
* [refactor-put] send several blocks in parallel to storage nodesAlex Auvolat2024-02-261-3/+46
|
* [refactor-put] rewrite read_and_put_block as a series of steps with channelsrefactor-putAlex Auvolat2024-02-262-85/+109
|
* [split_getobject] GetObject: split out handle_get_fullAlex Auvolat2024-02-231-15/+19
|
* [refactor-block] Remove redundant BlockStream typeAlex Auvolat2024-02-231-6/+6
|
* [lock-createbucket] Add node-global lock for bucket/key operations (fix #723)lock-createbucketAlex Auvolat2024-02-224-71/+60
|
* [import-netapp] import Netapp code into Garage codebaseAlex Auvolat2024-02-153-2/+3
|
* [fix-cargo-toml] fix cargo warnings in Cargo.toml filesfix-cargo-tomlAlex Auvolat2024-02-152-2/+2
|
* [header-override-650] implement header overriding in GetObject (fix #650)header-override-650Alex Auvolat2024-02-093-6/+87
|
* [multi-char-delimiter-692] allow multi-character delimiters in List* (fix #692)Alex Auvolat2024-02-092-7/+7
|
* [dep-upgrade-202402] fix shutdown issue introduced when upgrading hyperdep-upgrade-202402Alex Auvolat2024-02-084-45/+61
|
* [dep-upgrade-202402] remove useless mutAlex Auvolat2024-02-081-1/+1
|
* [dep-upgrade-202402] refactor use of BodyStreamAlex Auvolat2024-02-075-26/+37
|
* [dep-upgrade-202402] slightly more explicit error managementAlex Auvolat2024-02-072-3/+7
|
* [dep-upgrade-202402] fix obsolete DateTime::from_utc callsAlex Auvolat2024-02-072-4/+4
|
* [dep-upgrade-202402] rename BytesBody into ErrorBody for clarityAlex Auvolat2024-02-075-12/+12
|
* [dep-upgrade-202402] refactor http listener codeAlex Auvolat2024-02-071-44/+111
|
* [dep-upgrade-202402] simplify/refactor GetObjectAlex Auvolat2024-02-051-78/+74
|
* [dep-upgrade-202402] migration to http/hyper 1.0 for k2v apiAlex Auvolat2024-02-0515-137/+128
|
* [dep-upgrade-202402] wip: port to http/hyper crates v1Alex Auvolat2024-02-0523-333/+446
|
* [dep-upgrade-202402] prepare migration to http/hyper 1.0Alex Auvolat2024-02-058-18/+19
|
* [dep-upgrade-202402] refactor dependencies: move all as workspace depsAlex Auvolat2024-02-051-35/+36
|
* Bump version to 0.9.1v0.9.1rel-v0.9.1Alex Auvolat2024-01-161-1/+1
|
* Merge tag 'v0.8.5' into sync-08-09Alex Auvolat2024-01-161-3/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Garage v0.8.5 This minor release includes the following improvements and fixes: New features: - Configuration: make LMDB's `map_size` configurable and make `block_size` and `sled_cache_capacity` expressable as strings (such as `10M`) (#628, #630) - Add support for binding to Unix sockets for the S3, K2V, Admin and Web API servers (#640) - Move the `convert_db` command into the main Garage binary (#645) - Add support for specifying RPC secret and admin tokens as environment variables (#643) - Add `allow_world_readable_secrets` option to config file (#663, #685) Bug fixes: - Use `statvfs` instead of mount list to determine free space in metadata/data directories (#611, #631) - Add missing casts to fix 32-bit build (#632) - Fix error when none of the HTTP servers (S3/K2V/Admin/Web) is started and fix shutdown hang (#613, #633) - Add missing CORS headers to PostObject response (#609, #656) - Monitoring: finer histogram boundaries in Prometheus exported metrics (#531, #686) Other: - Documentation improvements (#641)
| * Bump version to 0.8.5Alex Auvolat2024-01-161-1/+1
| |
| * s3 api: add missing CORS headers to PostObject responses (fix #609)fix-cors-post-objectAlex Auvolat2023-10-201-3/+10
| |
* | Merge pull request 'OpenAPI specification of admin APIv1' (#672) from api-v1 ↵Alex2023-11-291-1/+1
|\ \ | | | | | | | | | | | | | | | into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/672
| * | Health info message now advertises API v1Quentin Dufour2023-11-221-1/+1
| | |
* | | Allow 0 as a part number markerasonix2023-11-211-1/+1
|/ /
* | Merge pull request 's3 api: refactoring and bug fix in ListObjects' (#655) ↵Alex2023-10-261-31/+41
|\ \ | | | | | | | | | | | | | | | from fix-list-objects into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/655
| * | list objects: prettyness and add assertsfix-list-objectsAlex Auvolat2023-10-191-28/+38
| | |
| * | listobjects: fix panic if continuation token is an empty stringAlex Auvolat2023-10-191-3/+3
| | |
* | | DeleteObject: always insert a deletion marker with a bigger timestamp than ↵increasing-timestampsAlex Auvolat2023-10-203-27/+22
| | | | | | | | | | | | everything before
* | | s3 api: also ensure increasing timestamps for create_multipart_uploadAlex Auvolat2023-10-202-7/+14
| | |
* | | remove now-unused key parameter in check_quotasAlex Auvolat2023-10-202-4/+3
| | |
* | | cargo fmtAlex Auvolat2023-10-181-1/+2
| | |
* | | check_quotas: avoid re-fetching object from object tableAlex Auvolat2023-10-182-10/+12
| | |
* | | Ensure increasing version timestamps in PutObjectAlex Auvolat2023-10-181-6/+18
|/ /
* | bump version to v0.9.0v0.9.0nextAlex Auvolat2023-10-101-1/+1
| |
* | admin api: increased compatibility for v0/ endpointsv0.9.0-rc2Alex Auvolat2023-10-055-163/+388
| |
* | admin api: remove broken GET /v0/key router ruleAlex Auvolat2023-10-051-1/+1
| |