Commit graph

1315 commits

Author SHA1 Message Date
networkException 2a2eba84d8
everywhere: support unix sockets when binding in various places
this patch implements binding to paths as a unix socket for generic
server and web server.
2023-09-29 21:11:54 +02:00
networkException b3dcbec680
config: allow using paths for unix domain sockets in various places
this patch updates the config format to also allow paths in bind
addresses for unix domain sockets.

this has been added to all apis except rpc.
2023-09-29 21:11:53 +02:00
networkException 9e54c87d96
util: add helper sum type for unix and tcp socket addresses
this patch introduces a new sum type that can represent either a
tcp socket address or a unix domain socket path.
2023-09-29 21:11:53 +02:00
networkException e356413a45
cargo: add hyperlocal as a dependency 2023-09-29 21:11:52 +02:00
Alex e446a84b54
add ocp2023 presentation 2023-09-29 21:11:52 +02:00
Alex 7ee4dc9436
doc: update sticker 2023-09-29 21:11:51 +02:00
Alex 70c01b7bc3
fix hang on shutdown 2023-09-29 21:11:50 +02:00
Alex 157ba58f92
Fix error when none of S3/K2V/WEB/ADMIN server is started (fix #613) 2023-09-29 21:11:50 +02:00
Alex 781f3ea740
fix 32-bit build 2023-09-29 21:11:49 +02:00
Alex d662930669
use statvfs instead of mount list to determine free data/meta space (fix #611) 2023-09-29 21:11:49 +02:00
Alex 6fb98b9def
config: make block_size and sled_cache_capacity expressable as strings 2023-09-29 21:11:48 +02:00
Alex 530cc151d8
make lmdb's map_size configurable (fix #628) 2023-09-29 21:11:48 +02:00
Alex 92dbf9dc18
update version to 0.8.4 2023-09-29 21:11:47 +02:00
Alex b622613b91
Revert netapp update, hold to version 0.5.2 that uses rmp-serde 0.15 2023-09-29 21:11:46 +02:00
Alex 9441e953e6
add garage_db dependency in garage_rpc 2023-09-29 21:11:46 +02:00
Alex db8cfa7488
bump version to 0.8.3 2023-09-29 21:11:45 +02:00
Alex b3e4614a96
fix test_website_check_domain 2023-09-29 21:11:45 +02:00
Alex 8ba37a122b
integration test: move json_body to root of crate 2023-09-29 21:11:44 +02:00
Alex 3d00c6786e
move alpine linux info to binary package page 2023-09-29 21:11:43 +02:00
Jakub Jirutka b551c634c8
doc: Add information about Alpine Linux package to Quick Start 2023-09-29 21:11:43 +02:00
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
Alex 9fdbc6b939
update cargo.nix 2023-09-29 21:11:40 +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 64c8b6cb23
reverse-proxy.md: Added caching section for Caddy. 2023-09-29 21:11:35 +02:00
Jonathan Davies ce54f1571b
backup.md: Added restic-android note. 2023-09-29 21:11:35 +02:00
Jonathan Davies c55c7477cb
post_object.rs: Fixed typos / grammar. 2023-09-29 21:11:34 +02:00
Max Justus Spransy b7ca22681c
operations/durability-repairs-md: Fix typo 2023-09-29 21:11:34 +02:00
Florian Klink b4714e563e
nix/common.nix: use pattern from nix-community/flake-compat
This is still a bit confusing, as normally the flake.defaultNix attrset
gets exposed via a top-level default.nix, but at least it brings us
closer to that.
2023-09-29 21:11:33 +02:00
Florian Klink 5b1a3d9a2e
flake.nix: switch to nix-community/flake-compat
edolstra/flake-compat is unmaintained.

cargo2nix also still pulls in edolstra/flake-compat, make it follow the
nix-community one.
2023-09-29 21:11:32 +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
Florian Klink 612af4d4ff
doc/drafts: fix typo 2023-09-29 21:11:30 +02:00
Florian Klink dbe188e403
doc/book: fix typo 2023-09-29 21:11:30 +02:00
Florian Klink 64e404baf4
doc/api: fix typo 2023-09-29 21:11:29 +02:00
Alex 1cf60441d1
Update Cargo.nix 2023-09-29 21:11:28 +02:00
Jonathan Davies deb7160f32
cargo: Updated async-compression to 0.4. 2023-09-29 21:11:27 +02:00
Jonathan Davies 4e964a34a9
cargo: Updated tokio to 1.29. 2023-09-29 21:11:27 +02:00
Alex 3d72872ad7
Update Cargo.nix 2023-09-29 21:11:26 +02:00
Jonathan Davies b34e1ad44d
Cargo.lock: Updated. 2023-09-29 21:11:26 +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