aboutsummaryrefslogtreecommitdiff
path: root/src/api/error.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add date verification to presigned urls (#196)trinity-1686a2022-01-181-5/+1
| | | | | | | | | | fix #96 fix #162 by returning Forbidden instead Bad Request Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/196 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* Implement x-amz-copy-if-xxx copy preconditions and return more headers on ↵Alex Auvolat2022-01-131-0/+6
| | | | copy (fix #187)
* Fix some error codesAlex Auvolat2022-01-051-4/+26
|
* Some movement of helper code and refactoring of error handlingAlex Auvolat2022-01-041-0/+10
|
* New buckets for 0.6.0: fix model and migrationAlex Auvolat2022-01-041-16/+21
|
* add proper request router for s3 api (#163)trinity-1686a2021-12-061-0/+5
| | | | | | | | | | | | | fix #161 Current request router was organically grown, and is getting messier and messier with each addition. This router cover exaustively existing API endpoints (with exceptions listed in [#161(comment)](https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/161#issuecomment-1773) either because new and old api endpoint can't feasabily be differentied, or it's more lambda than s3). Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/163 Reviewed-by: Alex <alex@adnab.me> Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* Improved handling of HTTP rangestrinity-1686a2021-11-291-2/+22
| | | | | | | | | | | - correct HTTP code when range syntax is invalid (fix #140) - when multiple ranges are given, simply ignore and send whole file Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/157 Reviewed-by: Alex <alex@adnab.me> Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* Improve CLI, adapt tests, update documentationAlex Auvolat2021-10-251-2/+6
|
* Improvements to CLI and various fixes for netapp versionAlex Auvolat2021-10-221-2/+6
| | | | Discovery via consul, persist peer list to file
* Improved XML serializationbetter_xmlAlex Auvolat2021-05-061-12/+17
| | | | | | - Use quick_xml and serde for all XML response returned by the S3 API. - Include tests for all structs used to generate XML - Remove old manual XML escaping function which was unsafe
* rename types to CamelCaseTrinity Pointard2021-05-031-11/+10
|
* fix clippy warnings on apiTrinity Pointard2021-05-031-5/+5
|
* S3 API: support ListBucketsQuentin Dufour2021-05-031-0/+6
|
* Many S3 compatibility improvements:v0.2.1.5Alex Auvolat2021-04-281-0/+31
| | | | | | | | - return XML errors - implement AuthorizationHeaderMalformed error to redirect clients to correct location (used by minio client) - implement GetBucketLocation - fix DeleteObjects XML parsing and response
* make most requested changesTrinity Pointard2021-04-271-2/+2
|
* document api crateTrinity Pointard2021-04-271-0/+16
|
* Update dependenciesAlex Auvolat2021-03-161-1/+7
|
* Implement ListObjectsV2Alex Auvolat2021-02-191-1/+7
|
* Refactor error management in API parterror-refactoringAlex Auvolat2020-11-081-0/+116