aboutsummaryrefslogtreecommitdiff
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
* [fix-presigned-0.8] bump version to v0.8.7v0.8.7Alex Auvolat2024-03-041-1/+1
|
* [rel-0.8.6] Bump version to v0.8.6v0.8.6rel-0.8.6Alex Auvolat2024-03-011-1/+1
|
* Bump version to 0.8.5Alex Auvolat2024-01-161-1/+1
|
* config: refactor secret sourcingAlex Auvolat2024-01-151-213/+7
|
* Add allow_world_readable_secrets option to config fileFélix Baylac Jacqué2023-10-261-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>
* util: move reading secret file into seperate helpernetworkException2023-10-191-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.
* config: allow using paths for unix domain sockets in various placesnetworkException2023-09-291-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 addressesnetworkException2023-09-292-0/+45
| | | | | this patch introduces a new sum type that can represent either a tcp socket address or a unix domain socket path.
* config: make block_size and sled_cache_capacity expressable as stringsAlex Auvolat2023-09-112-8/+58
|
* make lmdb's map_size configurable (fix #628)Alex Auvolat2023-09-111-0/+4
|
* update version to 0.8.4v0.8.4hold-netapp-0.5.2Alex Auvolat2023-09-051-1/+1
|
* bump version to 0.8.3v0.8.3-rc1Alex Auvolat2023-08-281-1/+1
|
* src/util: fix typoFlorian Klink2023-07-141-1/+1
|
* set default for [consul-services] apiRoberto Hidalgo2023-05-221-0/+1
|
* simplify code according to feedbackRoberto Hidalgo2023-05-221-10/+5
|
* rename mode to consul_http_apiRoberto Hidalgo2023-05-221-8/+8
|
* follow feedback, fold into existing featureRoberto Hidalgo2023-05-221-20/+19
|
* allow additional ServiceMeta, docsRoberto Hidalgo2023-05-221-0/+3
|
* register consul services against local agent instead of catalog apiRoberto Hidalgo2023-05-221-2/+23
|
* Split format_table into separate crate and reduce k2v-client dependenciesformat_table-v0.1.0Alex Auvolat2023-05-172-33/+0
|
* *: apply clippy recommendations.Jonathan Davies2023-05-092-2/+2
|
* move git-version dependency to main crate to reduce rebuildsAlex Auvolat2023-05-092-9/+4
|
* Declare garage crates using workspace.dependenciesJakub Jirutka2023-05-091-1/+1
| | | | | | | | 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
* Prepare for v0.8.2Alex Auvolat2023-03-131-2/+2
|
* rpc/system_metrics.rs: Added rustversion label to garage_build_info metric.Jonathan Davies2023-03-103-0/+15
|
* util/forwarded_headers.rs: Generalized handle_forwarded_for_headers()Jonathan Davies2023-03-032-0/+64
| | | | here.
* fixes for pr 499config-files-envAlex Auvolat2023-02-061-4/+4
|
* secrets can be passed directly in config, as file, or as envAlex Auvolat2023-02-031-46/+70
|
* Cargo.toml: Loosen tracing dependency to just 0.1.Jonathan Davies2023-01-261-1/+1
|
* {model,util}/Cargo.toml: Updated blake2 from 0.9 to 0.10.Jonathan Davies2023-01-262-3/+3
|
* {db,util}/Cargo.toml: Updated mktemp from 0.4 to 0.5.Jonathan Davies2023-01-261-1/+1
|
* {garage,util}/Cargo.toml: Updated toml from 0.5 to 0.6.Jonathan Davies2023-01-261-1/+1
|
* util/time.rs: Updated deprecated associated function to timestamp_opt().Jonathan Davies2023-01-261-1/+1
|
* Add tests for `rpc_secret_file`Felix Scheinost2023-01-072-0/+122
|
* Error on both `rpc_secret` and `rpc_secret_file`Felix Scheinost2023-01-071-1/+7
|
* Implement `rpc_secret_file`Felix Scheinost2023-01-041-2/+24
|
* bg var operation on all nodes at onceworker-getAlex Auvolat2023-01-041-0/+6
|
* Uniform framework for bg variable managementAlex Auvolat2023-01-043-0/+142
|
* Remove token_bucket.rsAlex Auvolat2023-01-042-41/+0
|
* use impossible enum typeAlex Auvolat2023-01-031-1/+1
|
* more idiomatic and shorterAlex Auvolat2023-01-031-1/+1
|
* fix doc and add tests for migrate.rsformat-migrationAlex Auvolat2023-01-031-6/+91
|
* move debug_serialize to garage_util::encodeAlex Auvolat2023-01-033-16/+17
|
* Make it explicit when using nonversioned encodingAlex Auvolat2023-01-034-23/+34
|
* Refactor how things are migratedAlex Auvolat2023-01-034-12/+103
|
* Merge branch 'main' into internals-reworkinternals-reworkAlex Auvolat2023-01-021-2/+2
|\
| * Bump everything to v0.8.1Alex Auvolat2023-01-021-2/+2
| |
* | Get rid of background::spawnAlex Auvolat2022-12-141-16/+0
| |
* | Simplified and more aggressive worker exit logicAlex Auvolat2022-12-141-50/+23
| |
* | Refactor background runner and get rid of job workerAlex Auvolat2022-12-142-99/+13
|/