Commit graph

789 commits

Author SHA1 Message Date
Alex d106d503b8
admin api: refactor caddy check api code 2023-09-29 21:11:42 +02:00
Alex 81c6438f96
web_server.rs: handle error properly and refactor 2023-09-29 21:11:42 +02:00
Quentin ead4cdd49a
support index on path missing a trailing slash 2023-09-29 21:11:41 +02:00
Jonathan Davies 82a3ce6d5f
cargo: Updated gethostname v0.2.3 -> v0.4.3. 2023-09-29 21:11:39 +02:00
Jonathan Davies 1eea4a84f2
cargo: Updated pretty_env_logger v0.4.0 -> v0.5.0. 2023-09-29 21:11:39 +02:00
Jonathan Davies 154d67f2a7
garage/api: cargo: Updated idna dependency to 0.4. 2023-09-29 21:11:38 +02:00
Jonathan Davies fe1045ac93
garage/db: cargo: Updated rusqlite to 0.29. 2023-09-29 21:11:38 +02:00
Jonathan Davies 6a7c66ae5c
cargo: Updated:
* addr2line v0.19.0 -> v0.20.0
 * async-compression v0.4.0 -> v0.4.1
 * clap v4.3.8 -> v4.3.19
 * hyper v0.14.26 -> v0.14.27
 * ipnet v2.7.2 -> v2.8.0
 * rmp v0.8.11 -> v0.8.12
 * serde v1.0.164 -> v1.0.188
 * tokio v1.29.0 -> v1.31.0
 * zstd v0.12.3+zstd.1.5.2 -> v0.12.4
 * Others in `cargo update`
2023-09-29 21:11:37 +02:00
Quentin 71208fbacc
support {s3,web}.root_domains in /check endpoint 2023-09-29 21:11:36 +02:00
Jonathan Davies c55c7477cb
post_object.rs: Fixed typos / grammar. 2023-09-29 21:11:34 +02:00
Florian Klink 5a0bee62cf
src/util: fix typo 2023-09-29 21:11:32 +02:00
Florian Klink 885b80c4f1
src/garage/cli: fix typo 2023-09-29 21:11:31 +02:00
Jonathan Davies deb7160f32
cargo: Updated async-compression to 0.4. 2023-09-29 21:11:27 +02:00
Jonathan Davies 8fccc356cc
tests/bucket.rs: Adjusted as previously used function is now private. 2023-09-29 21:11:25 +02:00
Jonathan Davies 9a2e32c529
src/garage/tests: Updated types for aws-sdk-s3 bump. 2023-09-29 21:11:24 +02:00
Jonathan Davies df2ceee0ee
garage/Cargo.toml: Updated aws-sdk-s3 to 0.28, added aws-config. 2023-09-29 21:11:24 +02:00
Jonathan Davies ed4acb195b
api/Cargo.toml: Updated roxmltree to 0.18. 2023-09-29 21:11:23 +02:00
trinity-1686a 2d11a4b982
introduce dedicated return type for PollRange 2023-09-29 21:11:22 +02:00
trinity-1686a 6a91ab8a40
don't build sqlite by default
`bundled-libs` is enabled by default, and causes sqlite to be built too,
even if the sqlite backend isn't enabled.
2023-09-29 21:11:22 +02:00
Alex 001d3b0a28
Split garage/admin.rs into smaller files 2023-09-29 21:11:13 +02:00
Alex 65a4a8ce36
move admin.rs to admin/mod.rs, before splitting 2023-09-29 21:11:13 +02:00
Alex 429faccb0a
fix timestamps wrapping around in garage block list-errors (fix #584) 2023-09-29 21:11:12 +02:00
Jonathan Davies 1a03427102
payload.rs: Surround / in inverted commas. 2023-09-29 21:11:12 +02:00
Jonathan Davies 8bbbd3d70c
payload.rs: Fixed typo in error message. 2023-09-29 21:11:11 +02:00
Roberto Hidalgo eceea96e59
set default for [consul-services] api 2023-09-29 21:11:10 +02:00
Roberto Hidalgo c1c75d1201
simplify code according to feedback 2023-09-29 21:11:09 +02:00
Roberto Hidalgo b22c52effe
rename mode to consul_http_api 2023-09-29 21:11:08 +02:00
Roberto Hidalgo 95ff56f5e2
revert rpc/Cargo.toml 2023-09-29 21:11:08 +02:00
Roberto Hidalgo db296c3a84
follow feedback, fold into existing feature 2023-09-29 21:11:07 +02:00
Roberto Hidalgo dbc05ab96f
allow additional ServiceMeta, docs 2023-09-29 21:11:06 +02:00
Roberto Hidalgo 7e78e6298f
cargo fmt 2023-09-29 21:11:06 +02:00
Roberto Hidalgo 1c80e43edb
register consul services against local agent instead of catalog api 2023-09-29 21:11:05 +02:00
Alex 8125d79456
bump k2v-client to v0.0.4 2023-09-29 21:11:05 +02:00
Alex ccc2d0f375
Fix k2v_client with unicode in partition keys 2023-09-29 21:11:04 +02:00
Alex de5f3e2aa8
Add basic k2v_client integration tests 2023-09-29 21:11:04 +02:00
Alex d98428bcc6
Port k2v-client to aws-sigv4 since rusoto_signature is deprecated 2023-09-29 21:11:02 +02:00
Alex 5c084e8f9e
add tracing to k2v-client 2023-09-29 21:11:01 +02:00
Alex d0d698d1fc
k2v signature verification: double urlencoding (see comment in source code) 2023-09-29 21:11:00 +02:00
Alex 60292efcbb
fix clippy lint in format-table crate 2023-09-29 21:11:00 +02:00
Alex f2191fa171
Split format_table into separate crate and reduce k2v-client dependencies 2023-09-29 21:10:59 +02:00
Alex 562c821178
cargo fmt 2023-09-29 21:10:58 +02:00
Alex ba0a12c1ee
k2v-client 0.0.2 2023-09-29 21:10:58 +02:00
Alex 1b6cf5f1fb
k2v-cli: fix sort_key being partition_key and specify which key 2023-09-29 21:10:57 +02:00
Alex 491e3c3a8c
fix base64 uses 2023-09-29 21:10:57 +02:00
Jonathan Davies ca31a352fe
block/Cargo.toml: Bump tokio-util to 0.7. 2023-09-29 21:10:55 +02:00
Jonathan Davies 5ef407c70c
k2v-client/Cargo.toml: Make tokio dep match other packages. 2023-09-29 21:10:54 +02:00
Jonathan Davies 9357fab1d4
*: apply clippy recommendations. 2023-09-29 21:10:54 +02:00
Alex c111796bfd
move git-version dependency to main crate to reduce rebuilds 2023-09-29 21:10:53 +02:00
Jonathan Davies a0900a8943
block/manager.rs: In is_block_compressed - check which compression_level
is configured on a node and check for raw block first if compression is
disabled (to help reduce syscalls during a scrub).
2023-09-29 21:10:53 +02:00
Jakub Jirutka 00ab7a4d0d
Declare garage crates using workspace.dependencies
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
2023-09-29 21:10:51 +02:00