Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add proper request router for s3 api (#163) | trinity-1686a | 2021-12-06 | 7 | -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 ranges | trinity-1686a | 2021-11-29 | 3 | -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-perm | Quentin Dufour | 2021-11-22 | 1 | -0/+1 |
| | |||||
* | Improve how node roles are assigned in Garagev0.5-beta1 | Alex Auvolat | 2021-11-16 | 1 | -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 comments | Trinity Pointard | 2021-11-16 | 2 | -4/+5 |
| | |||||
* | clippy | Trinity Pointard | 2021-11-16 | 1 | -1/+1 |
| | |||||
* | fix issue where list on vhost-bucket would list bucket instead of bucket content | Trinity Pointard | 2021-11-16 | 1 | -73/+29 |
| | |||||
* | add support for vhost-style s3 bucket | Trinity Pointard | 2021-11-16 | 4 | -9/+217 |
| | |||||
* | Fix clippy lints (fix #121) | Alex Auvolat | 2021-10-26 | 5 | -33/+31 |
| | |||||
* | Improve CLI, adapt tests, update documentation | Alex Auvolat | 2021-10-25 | 1 | -2/+6 |
| | |||||
* | Improvements to CLI and various fixes for netapp version | Alex Auvolat | 2021-10-22 | 2 | -3/+7 |
| | | | | Discovery via consul, persist peer list to file | ||||
* | First port of Garage to Netapp | Alex Auvolat | 2021-10-22 | 1 | -4/+4 |
| | |||||
* | Fix HTTP return code for DeleteObject (fix #98) | Alex Auvolat | 2021-10-11 | 1 | -1/+2 |
| | |||||
* | WIP: try to fix #93, and improve S3 ListObjects (v1 and v2) API calls | Alex Auvolat | 2021-10-11 | 1 | -58/+160 |
| | |||||
* | Prepare for v0.3.0 and add migration path from v0.2.1.xv0.3.0 | Alex Auvolat | 2021-05-28 | 1 | -4/+4 |
| | |||||
* | Add basic support for the "Versioning" command | Quentin Dufour | 2021-05-14 | 3 | -0/+48 |
| | |||||
* | Improved XML serializationbetter_xml | Alex Auvolat | 2021-05-06 | 9 | -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 CamelCase | Trinity Pointard | 2021-05-03 | 4 | -18/+17 |
| | |||||
* | fix clippy warnings on api | Trinity Pointard | 2021-05-03 | 8 | -81/+85 |
| | |||||
* | S3 API: support ListBuckets | Quentin Dufour | 2021-05-03 | 4 | -2/+99 |
| | |||||
* | Remove STREAMING-AWS4-HMAC-SHA256-PAYLOAD (see #64) | Alex Auvolat | 2021-05-03 | 1 | -3/+1 |
| | |||||
* | Many S3 compatibility improvements:v0.2.1.5 | Alex Auvolat | 2021-04-28 | 6 | -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 Auvolat | 2021-04-27 | 1 | -1/+2 |
| | |||||
* | make most requested changes | Trinity Pointard | 2021-04-27 | 2 | -3/+2 |
| | |||||
* | document api crate | Trinity Pointard | 2021-04-27 | 5 | -9/+39 |
| | |||||
* | update to v0.2.1v0.2.1release-v0.2.1 | Alex Auvolat | 2021-03-19 | 1 | -4/+4 |
| | |||||
* | Update Cargo.toml files with AGPL license infov0.2.0 | Alex Auvolat | 2021-03-18 | 1 | -11/+11 |
| | |||||
* | Add trinity's comment in the code | Alex Auvolat | 2021-03-18 | 1 | -0/+5 |
| | |||||
* | Merge pull request 'add support for caching headers' (#49) from ↵ | Alex | 2021-03-18 | 2 | -2/+45 |
|\ | | | | | | | | | | | trinity-1686a/garage:cache-headers into master Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/49 | ||||
| * | add support for caching headers | Trinity Pointard | 2021-03-18 | 2 | -2/+45 |
| | | |||||
* | | Prepare for release 0.2 | Alex Auvolat | 2021-03-18 | 1 | -4/+4 |
|/ | |||||
* | Update dependencies | Alex Auvolat | 2021-03-16 | 4 | -27/+32 |
| | |||||
* | WIP migrate to tokio 1 | Alex Auvolat | 2021-03-15 | 1 | -2/+2 |
| | |||||
* | Small fixes | Alex Auvolat | 2021-03-15 | 1 | -1/+1 |
| | |||||
* | Time and metadata improvements | Alex Auvolat | 2021-03-15 | 5 | -27/+80 |
| | |||||
* | Fix race condition | Alex Auvolat | 2021-03-15 | 3 | -38/+69 |
| | |||||
* | Fix list API bug | Alex Auvolat | 2021-03-15 | 1 | -1/+1 |
| | |||||
* | cargo fmt | Alex Auvolat | 2021-03-12 | 1 | -2/+4 |
| | |||||
* | Implement table gc, currently for block_ref and version only | Alex Auvolat | 2021-03-12 | 2 | -9/+3 |
| | |||||
* | Fix merkle updater not being notified; improved logging | Alex Auvolat | 2021-03-12 | 1 | -2/+2 |
| | |||||
* | Very minor changes | Alex Auvolat | 2021-03-10 | 1 | -6/+4 |
| | |||||
* | Correctly implement CompleteMultipartUpload with etag check of parts | Alex Auvolat | 2021-03-10 | 1 | -19/+30 |
| | |||||
* | Switch to blake2 sum for identifying blocks by their data | Alex Auvolat | 2021-03-10 | 1 | -27/+27 |
| | |||||
* | Refactor model stuff, including cleaner CRDTs | Alex Auvolat | 2021-03-10 | 3 | -28/+34 |
| | |||||
* | Cargo fmt | Alex Auvolat | 2021-02-23 | 6 | -21/+54 |
| | |||||
* | rename hash() to sha256sum(), we might want to change it at some places | Alex Auvolat | 2021-02-21 | 2 | -17/+17 |
| | |||||
* | More precise logging (warn only when returning a 500) | Alex Auvolat | 2021-02-20 | 1 | -1/+5 |
| | |||||
* | Add verification of part numbers in CompleteMultipartUpload (WIP #30) | Alex Auvolat | 2021-02-20 | 4 | -26/+77 |
| | |||||
* | add application/xml header and missing xml escapes | Alex Auvolat | 2021-02-19 | 3 | -5/+11 |
| | |||||
* | Add compatibility list | Alex Auvolat | 2021-02-19 | 1 | -1/+1 |
| |