aboutsummaryrefslogtreecommitdiff
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
* add proper request router for s3 api (#163)trinity-1686a2021-12-067-185/+1476
| | | | | | | | | | | | | 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-293-13/+35
| | | | | | | | | | | - 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>
* In ListBuckets, hide entry if no permsfeature/hide-buckets-without-permQuentin Dufour2021-11-221-0/+1
|
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-161-4/+5
| | | | | | | | | | | | | | | | | - change the terminology: the network configuration becomes the role table, the configuration of a nodes becomes a node's role - the modification of the role table takes place in two steps: first, changes are staged in a CRDT data structure. Then, once the user is happy with the changes, they can commit them all at once (or revert them). - update documentation - fix tests - implement smarter partition assignation algorithm This patch breaks the format of the network configuration: when migrating, the cluster will be in a state where no roles are assigned. All roles must be re-assigned and commited at once. This migration should not pose an issue.
* update doc and commentsTrinity Pointard2021-11-162-4/+5
|
* clippyTrinity Pointard2021-11-161-1/+1
|
* fix issue where list on vhost-bucket would list bucket instead of bucket contentTrinity Pointard2021-11-161-73/+29
|
* add support for vhost-style s3 bucketTrinity Pointard2021-11-164-9/+217
|
* Fix clippy lints (fix #121)Alex Auvolat2021-10-265-33/+31
|
* Improve CLI, adapt tests, update documentationAlex Auvolat2021-10-251-2/+6
|
* Improvements to CLI and various fixes for netapp versionAlex Auvolat2021-10-222-3/+7
| | | | Discovery via consul, persist peer list to file
* First port of Garage to NetappAlex Auvolat2021-10-221-4/+4
|
* Fix HTTP return code for DeleteObject (fix #98)Alex Auvolat2021-10-111-1/+2
|
* WIP: try to fix #93, and improve S3 ListObjects (v1 and v2) API callsAlex Auvolat2021-10-111-58/+160
|
* Prepare for v0.3.0 and add migration path from v0.2.1.xv0.3.0Alex Auvolat2021-05-281-4/+4
|
* Add basic support for the "Versioning" commandQuentin Dufour2021-05-143-0/+48
|
* Improved XML serializationbetter_xmlAlex Auvolat2021-05-069-280/+727
| | | | | | - 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-034-18/+17
|
* fix clippy warnings on apiTrinity Pointard2021-05-038-81/+85
|
* S3 API: support ListBucketsQuentin Dufour2021-05-034-2/+99
|
* Remove STREAMING-AWS4-HMAC-SHA256-PAYLOAD (see #64)Alex Auvolat2021-05-031-3/+1
|
* Many S3 compatibility improvements:v0.2.1.5Alex Auvolat2021-04-286-16/+98
| | | | | | | | - return XML errors - implement AuthorizationHeaderMalformed error to redirect clients to correct location (used by minio client) - implement GetBucketLocation - fix DeleteObjects XML parsing and response
* Fix #59 (& issue)Alex Auvolat2021-04-271-1/+2
|
* make most requested changesTrinity Pointard2021-04-272-3/+2
|
* document api crateTrinity Pointard2021-04-275-9/+39
|
* update to v0.2.1v0.2.1release-v0.2.1Alex Auvolat2021-03-191-4/+4
|
* Update Cargo.toml files with AGPL license infov0.2.0Alex Auvolat2021-03-181-11/+11
|
* Add trinity's comment in the codeAlex Auvolat2021-03-181-0/+5
|
* Merge pull request 'add support for caching headers' (#49) from ↵Alex2021-03-182-2/+45
|\ | | | | | | | | | | trinity-1686a/garage:cache-headers into master Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/49
| * add support for caching headersTrinity Pointard2021-03-182-2/+45
| |
* | Prepare for release 0.2Alex Auvolat2021-03-181-4/+4
|/
* Update dependenciesAlex Auvolat2021-03-164-27/+32
|
* WIP migrate to tokio 1Alex Auvolat2021-03-151-2/+2
|
* Small fixesAlex Auvolat2021-03-151-1/+1
|
* Time and metadata improvementsAlex Auvolat2021-03-155-27/+80
|
* Fix race conditionAlex Auvolat2021-03-153-38/+69
|
* Fix list API bugAlex Auvolat2021-03-151-1/+1
|
* cargo fmtAlex Auvolat2021-03-121-2/+4
|
* Implement table gc, currently for block_ref and version onlyAlex Auvolat2021-03-122-9/+3
|
* Fix merkle updater not being notified; improved loggingAlex Auvolat2021-03-121-2/+2
|
* Very minor changesAlex Auvolat2021-03-101-6/+4
|
* Correctly implement CompleteMultipartUpload with etag check of partsAlex Auvolat2021-03-101-19/+30
|
* Switch to blake2 sum for identifying blocks by their dataAlex Auvolat2021-03-101-27/+27
|
* Refactor model stuff, including cleaner CRDTsAlex Auvolat2021-03-103-28/+34
|
* Cargo fmtAlex Auvolat2021-02-236-21/+54
|
* rename hash() to sha256sum(), we might want to change it at some placesAlex Auvolat2021-02-212-17/+17
|
* More precise logging (warn only when returning a 500)Alex Auvolat2021-02-201-1/+5
|
* Add verification of part numbers in CompleteMultipartUpload (WIP #30)Alex Auvolat2021-02-204-26/+77
|
* add application/xml header and missing xml escapesAlex Auvolat2021-02-193-5/+11
|
* Add compatibility listAlex Auvolat2021-02-191-1/+1
|