aboutsummaryrefslogtreecommitdiff
path: root/src/api
Commit message (Collapse)AuthorAgeFilesLines
* UploadPart: automatic cleanup of version (and reference blocked) when ↵Alex Auvolat2023-06-092-15/+66
| | | | interrupted
* Add test for multipart uploads and fix part renumberingAlex Auvolat2023-06-091-1/+1
|
* comments and clippy lint fixesAlex Auvolat2023-06-094-11/+9
|
* fix mpu counter (add missing workers) and report info at appropriate placesAlex Auvolat2023-06-091-6/+18
|
* fix test; simplify codeAlex Auvolat2023-06-092-9/+12
|
* fix s3 list testAlex Auvolat2023-06-091-106/+89
|
* Adapt S3 API code to use new multipart upload modelsAlex Auvolat2023-06-097-546/+584
| | | | | | | - Create and PutPart - completemultipartupload - upload part copy - list_parts
* Merge branch 'main' into nextAlex Auvolat2023-05-091-5/+5
|\
| * Declare garage crates using workspace.dependenciesJakub Jirutka2023-05-091-5/+5
| | | | | | | | | | | | | | | | This will allow to really disable "sled" feature without declaring `default-features = false` in every Cargo.toml where garage_db and garage_model is used. See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
* | Merge branch 'main' into nextAlex Auvolat2023-04-2518-94/+268
|\|
| * api/Cargo.toml: Bumped quick-xml to version 0.26.Jonathan Davies2023-04-231-1/+1
| |
| * Prepare for v0.8.2Alex Auvolat2023-03-131-6/+6
| |
| * admin/cluster.rs: Added rust_version.Jonathan Davies2023-03-101-0/+2
| |
| * api/generic_server.rs: Use new handle_forwarded_for_headers() function.Jonathan Davies2023-03-061-9/+4
| |
| * generic_server.rs: Added support for logging X-Forwarded-For header.Jonathan Davies2023-02-041-1/+20
| | | | | | | | Fixes: #460
| * error.rs: Corrected error messages to say unexpected scope.Jonathan Davies2023-02-023-3/+3
| |
| * Improved bucket authorization response strings.Jonathan Davies2023-01-291-6/+10
| |
| * api_server.rs: Adapted to use query string per Caddy upstream change.Jonathan Davies2023-01-291-15/+19
| |
| * More clippy fixesAlex Auvolat2023-01-264-5/+5
| |
| * Merge branch 'main' into k2v-watch-range-2Alex Auvolat2023-01-268-17/+79
| |\
| | * Cargo.toml: Loosen tracing dependency to just 0.1.Jonathan Davies2023-01-261-1/+1
| | |
| | * api/Cargo.toml: Updated idna from 0.2 to 0.3.Jonathan Davies2023-01-261-1/+1
| | |
| | * Cargo.toml: Updated base64 from 0.13 to 0.21.Jonathan Davies2023-01-266-12/+23
| | |
| | * api/Cargo.toml: Updated url from 2.1 to 2.3.Jonathan Davies2023-01-231-1/+1
| | |
| | * api/Cargo.toml: Updated httpdate from 0.3 to 1.0.Jonathan Davies2023-01-231-1/+1
| | |
| | * api/Cargo.toml: Updated pin-project to 1.0.12.Jonathan Davies2023-01-231-1/+1
| | |
| | * Implemented website hosting authorization endpoint.Jonathan Davies2023-01-132-0/+51
| | | | | | | | | | | | Fixes: #468
| * | PollRange & PollItem: min timeout = 1 secAlex Auvolat2023-01-112-2/+2
| | |
| * | Correctly return bad requests when seeh marker is invalidAlex Auvolat2023-01-112-11/+5
| | |
| * | Implement PollRange API endpointAlex Auvolat2023-01-105-17/+86
| | |
| * | K2V: Subscription to ranges of itemsAlex Auvolat2023-01-101-1/+1
| |/
| * PutObject: better cleanup on Drop (incl. when request is interrupted in the ↵Alex Auvolat2023-01-031-34/+59
| | | | | | | | middle)
* | Merge branch 'main' into nextAlex Auvolat2023-01-046-155/+177
|\|
| * cleanupAlex Auvolat2023-01-031-0/+1
| |
| * Bump everything to v0.8.1Alex Auvolat2023-01-021-6/+6
| |
| * Merge pull request 'Fix router keyword handling (fix #442)' (#446) from ↵Alex2022-12-154-149/+161
| |\ | | | | | | | | | | | | | | | router-keywords-fix into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/446
| | * Fix router keyword handling (fix #442)router-keywords-fixAlex Auvolat2022-12-124-149/+161
| | |
| * | Properly enforce allow_create_bucketfix-allow-create-bucketAlex Auvolat2022-12-121-0/+9
| |/
* | Merge commit 'ec12d6c' into nextAlex Auvolat2022-12-111-6/+8
|\ \ | |/ |/|
| * Fix HTTP return codeAlex Auvolat2022-11-081-1/+1
| |
| * Return more info when layout's .check() fails, fix compilation, fix testAlex Auvolat2022-11-081-5/+2
| |
| * Style improvementsAlex Auvolat2022-11-071-3/+3
| |
| * Merge branch 'main' into optimal-layoutAlex Auvolat2022-11-075-9/+9
| |\
| * | cargo fmtMendes2022-10-101-4/+4
| | |
| * | modifications in several files to :Mendes2022-10-051-1/+6
| | | | | | | | | | | | | | | | | | - have consistent error return types - store the zone redundancy in a Lww - print the error and message in the CLI (TODO: for the server Api, should msg be returned in the body response?)
* | | simplifyadmin-health-apiAlex Auvolat2022-12-111-8/+1
| | |
* | | Always return 200 OK on /v0/health, reinstate admin api doc as draft and ↵Alex Auvolat2022-12-111-6/+1
| | | | | | | | | | | | complete it
* | | Separate /health (simple text answer) and /v0/health (full json answer, ↵Alex Auvolat2022-12-053-48/+33
| | | | | | | | | | | | authenticated)
* | | Refactor health check and add ability to return it in jsonAlex Auvolat2022-12-052-85/+55
| | |
* | | Implement /health admin API endpoint to check node healthAlex Auvolat2022-12-052-0/+98
| | |