Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add allow_world_readable_secrets option to config file | Félix Baylac Jacqué | 2023-10-26 | 1 | -5/+77 |
| | | | | | | | | | | | | | | | | | | | Sometimes, the secret files permissions checks gets in the way. It's by no mean complete, it doesn't take the Posix ACLs into account among other things. Correctly checking the ACLs would be too involving (see https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/658#issuecomment-7102) and would likely still fail in some weird chmod settings. We're adding a new configuration file key allowing the user to disable this permission check altogether. The (already existing) env variable counterpart always take precedence to this config file option. That's useful in cases where the configuration file is static and cannot be easily altered. Fixes https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/658 Co-authored-by: Florian Klink <flokli@flokli.de> | ||||
* | s3 api: add missing CORS headers to PostObject responses (fix #609)fix-cors-post-object | Alex Auvolat | 2023-10-20 | 1 | -3/+10 |
| | |||||
* | Merge pull request 'Add support for specifying `rpc_secret_file`, ↵ | Alex | 2023-10-19 | 4 | -22/+49 |
|\ | | | | | | | | | | | `metrics_token_file` and `admin_token_file` using environment variables' (#643) from networkException/garage:token-file-env into main-0.8.x Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/643 | ||||
| * | garage: support specifying token / secret as environment variables | networkException | 2023-10-19 | 3 | -5/+29 |
| | | | | | | | | | | this patch adds support for specifying the `rpc_secret_file`, `metrics_token_file` and `admin_token_file` as environment variables. | ||||
| * | garage: fix admin-token description | networkException | 2023-10-19 | 1 | -1/+1 |
| | | |||||
| * | util: move reading secret file into seperate helper | networkException | 2023-10-19 | 1 | -16/+19 |
| | | | | | | | | | | | | this patch moves the logic to read a secret file (and check for correct permissions) from `secret_from_file` into a new `read_secret_file` helper. | ||||
* | | Move convert_db command into main garage binaryconvert-db-main-binary | Alex Auvolat | 2023-10-10 | 5 | -30/+32 |
|/ | |||||
* | api: allow custom unix bind mode and use 0o220 for admin server | networkException | 2023-10-03 | 4 | -4/+8 |
| | |||||
* | everywhere: support unix sockets when binding in various places | networkException | 2023-09-29 | 6 | -28/+108 |
| | | | | | this patch implements binding to paths as a unix socket for generic server and web server. | ||||
* | config: allow using paths for unix domain sockets in various places | networkException | 2023-09-29 | 1 | -4/+5 |
| | | | | | | | 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. | ||||
* | util: add helper sum type for unix and tcp socket addresses | networkException | 2023-09-29 | 2 | -0/+45 |
| | | | | | this patch introduces a new sum type that can represent either a tcp socket address or a unix domain socket path. | ||||
* | cargo: add hyperlocal as a dependency | networkException | 2023-09-29 | 2 | -0/+4 |
| | |||||
* | fix hang on shutdown | Alex Auvolat | 2023-09-12 | 1 | -9/+9 |
| | |||||
* | Fix error when none of S3/K2V/WEB/ADMIN server is started (fix #613) | Alex Auvolat | 2023-09-12 | 1 | -10/+17 |
| | |||||
* | fix 32-bit buildfix-32bit | Alex Auvolat | 2023-09-11 | 1 | -2/+2 |
| | |||||
* | use statvfs instead of mount list to determine free data/meta space (fix #611) | Alex Auvolat | 2023-09-11 | 2 | -10/+9 |
| | |||||
* | config: make block_size and sled_cache_capacity expressable as strings | Alex Auvolat | 2023-09-11 | 4 | -21/+62 |
| | |||||
* | make lmdb's map_size configurable (fix #628) | Alex Auvolat | 2023-09-11 | 3 | -1/+18 |
| | |||||
* | update version to 0.8.4v0.8.4hold-netapp-0.5.2 | Alex Auvolat | 2023-09-05 | 9 | -9/+9 |
| | |||||
* | Revert netapp update, hold to version 0.5.2 that uses rmp-serde 0.15 | Alex Auvolat | 2023-09-05 | 1 | -1/+1 |
| | |||||
* | add garage_db dependency in garage_rpcnext-0.8 | Alex Auvolat | 2023-08-28 | 1 | -0/+1 |
| | |||||
* | bump version to 0.8.3v0.8.3-rc1 | Alex Auvolat | 2023-08-28 | 9 | -9/+9 |
| | |||||
* | fix test_website_check_domain | Alex Auvolat | 2023-08-28 | 1 | -9/+9 |
| | |||||
* | integration test: move json_body to root of crate | Alex Auvolat | 2023-08-28 | 7 | -17/+22 |
| | |||||
* | admin api: refactor caddy check api code | Alex Auvolat | 2023-08-28 | 1 | -17/+22 |
| | |||||
* | Merge pull request 'support index on path missing a trailing slash' (#612) ↵ | Alex | 2023-08-28 | 1 | -32/+96 |
|\ | | | | | | | | | | | from compat/index-without-trailing-slash into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/612 | ||||
| * | web_server.rs: handle error properly and refactorcompat/index-without-trailing-slash | Alex Auvolat | 2023-08-28 | 1 | -23/+13 |
| | | |||||
| * | support index on path missing a trailing slash | Quentin Dufour | 2023-08-08 | 1 | -28/+102 |
| | | |||||
* | | cargo: Updated gethostname v0.2.3 -> v0.4.3. | Jonathan Davies | 2023-08-28 | 1 | -1/+1 |
| | | |||||
* | | cargo: Updated pretty_env_logger v0.4.0 -> v0.5.0. | Jonathan Davies | 2023-08-28 | 1 | -1/+1 |
| | | |||||
* | | garage/api: cargo: Updated idna dependency to 0.4. | Jonathan Davies | 2023-08-28 | 1 | -1/+1 |
| | | |||||
* | | garage/db: cargo: Updated rusqlite to 0.29. | Jonathan Davies | 2023-08-28 | 1 | -1/+1 |
| | | |||||
* | | cargo: Updated: | Jonathan Davies | 2023-08-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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` | ||||
* | | support {s3,web}.root_domains in /check endpointbug/support-root-domains-on-demand-tls | Quentin Dufour | 2023-08-08 | 3 | -33/+67 |
|/ | |||||
* | post_object.rs: Fixed typos / grammar. | Jonathan Davies | 2023-08-01 | 1 | -7/+5 |
| | |||||
* | src/util: fix typo | Florian Klink | 2023-07-14 | 1 | -1/+1 |
| | |||||
* | src/garage/cli: fix typo | Florian Klink | 2023-07-14 | 1 | -1/+1 |
| | |||||
* | cargo: Updated async-compression to 0.4. | Jonathan Davies | 2023-06-28 | 1 | -1/+1 |
| | |||||
* | Merge pull request 'cargo: roxmltree-0.18 and aws-sdk-s3-0.28 bump' (#591) ↵ | Alex | 2023-06-27 | 9 | -22/+21 |
|\ | | | | | | | | | | | from jpds/garage:roxmltree-0.18 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/591 | ||||
| * | tests/bucket.rs: Adjusted as previously used function is now private. | Jonathan Davies | 2023-06-26 | 1 | -5/+1 |
| | | |||||
| * | src/garage/tests: Updated types for aws-sdk-s3 bump. | Jonathan Davies | 2023-06-25 | 7 | -16/+18 |
| | | |||||
| * | garage/Cargo.toml: Updated aws-sdk-s3 to 0.28, added aws-config. | Jonathan Davies | 2023-06-25 | 1 | -1/+2 |
| | | |||||
| * | api/Cargo.toml: Updated roxmltree to 0.18. | Jonathan Davies | 2023-06-24 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request 'introduce dedicated return type for PollRange' (#590) ↵ | Alex | 2023-06-27 | 2 | -13/+22 |
|\ \ | | | | | | | | | | | | | | | | from trinity-1686a/garage:k2v-client-poll-range-result into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/590 | ||||
| * | | introduce dedicated return type for PollRange | trinity-1686a | 2023-06-24 | 2 | -13/+22 |
| |/ | |||||
* / | don't build sqlite by default | trinity-1686a | 2023-06-26 | 1 | -1/+1 |
|/ | | | | | `bundled-libs` is enabled by default, and causes sqlite to be built too, even if the sqlite backend isn't enabled. | ||||
* | Split garage/admin.rs into smaller files | Alex Auvolat | 2023-06-13 | 4 | -765/+810 |
| | |||||
* | move admin.rs to admin/mod.rs, before splitting | Alex Auvolat | 2023-06-13 | 1 | -0/+0 |
| | |||||
* | fix timestamps wrapping around in `garage block list-errors` (fix #584)fix-future-timestamps | Alex Auvolat | 2023-06-12 | 1 | -1/+6 |
| | |||||
* | payload.rs: Surround / in inverted commas. | Jonathan Davies | 2023-06-06 | 1 | -1/+1 |
| |