aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* block/repair.rs: Added a timestamp argument toJonathan Davies2023-03-091-5/+5
| | | | randomize_next_scrub_run_time().
* block/repair.rs: Added migration for ScrubWorkerPersisted's time_next_run_scrub.Jonathan Davies2023-03-091-10/+44
| | | | Fixes: #520.
* Merge pull request 'block/repair.rs: Added a random element of 10 days to ↵Alex2023-03-062-11/+40
|\ | | | | | | | | | | SCRUB_INTERVAL' (#516) from jpds/garage:scrub-randomize-window into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/516
| * block/manager.rs: Display scrub-next-run.Jonathan Davies2023-03-061-0/+3
| |
| * block/repair.rs: Added function and time_next_run_scrub with a random element ofJonathan Davies2023-03-061-11/+37
| | | | | | | | 10 days to SCRUB_INTERVAL to help balance scrub load across cluster.
* | Merge pull request 'web_server.rs: Log X-Forwarded-For IP' (#504) from ↵Alex2023-03-064-10/+82
|\ \ | |/ |/| | | | | | | jpds/garage:web_server-log-x-forwarded-for into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/504
| * web/web_server.rs: Handle X-Forwarded-For here too.Jonathan Davies2023-03-061-1/+14
| |
| * api/generic_server.rs: Use new handle_forwarded_for_headers() function.Jonathan Davies2023-03-061-9/+4
| |
| * util/forwarded_headers.rs: Generalized handle_forwarded_for_headers()Jonathan Davies2023-03-032-0/+64
| | | | | | | | here.
* | Clearer error message when LMDB has oom error (fix #517)Alex Auvolat2023-03-061-3/+10
|/
* Merge pull request 'generic_server.rs: Added support for logging ↵Alex2023-02-061-1/+20
|\ | | | | | | | | | | X-Forwarded-For header.' (#500) from jpds/garage:generic_server-log-x-forwarded-for into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/500
| * generic_server.rs: Added support for logging X-Forwarded-For header.Jonathan Davies2023-02-041-1/+20
| | | | | | | | Fixes: #460
* | Merge pull request 'Secrets can be passed directly in config, as file, or as ↵Alex2023-02-065-66/+133
|\ \ | |/ |/| | | | | | | env' (#499) from config-files-env into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/499
| * fixes for pr 499config-files-envAlex Auvolat2023-02-062-5/+6
| |
| * secrets can be passed directly in config, as file, or as envAlex Auvolat2023-02-035-66/+132
| |
* | error.rs: Corrected error messages to say unexpected scope.Jonathan Davies2023-02-023-3/+3
|/
* Merge pull request 'Fix duplicated content-type in error document' (#493) ↵Alex2023-01-301-1/+0
|\ | | | | | | | | | | from baptiste/garage:fix_error_document_content_type into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/493
| * Fix duplicated content-type in error documentBaptiste Jonglez2023-01-291-1/+0
| | | | | | | | Fixes #492
* | Improved bucket authorization response strings.Jonathan Davies2023-01-292-9/+13
| |
* | api_server.rs: Adapted to use query string per Caddy upstream change.Jonathan Davies2023-01-292-29/+70
|/
* fix cli display bugk2v-watch-range-2Alex Auvolat2023-01-261-1/+1
|
* Fix fmtAlex Auvolat2023-01-262-2/+2
|
* More clippy fixesAlex Auvolat2023-01-2614-27/+29
|
* more fixesAlex Auvolat2023-01-264-9/+10
|
* fix clippyAlex Auvolat2023-01-261-1/+3
|
* Merge branch 'main' into k2v-watch-range-2Alex Auvolat2023-01-2632-158/+590
|\
| * Merge branch 'main' into report-disk-usageAlex Auvolat2023-01-2621-115/+143
| |\
| | * db/Cargo.toml: Updated rusqlite from 0.27 to 0.28.Jonathan Davies2023-01-261-1/+1
| | |
| | * Cargo.toml: Loosen tracing dependency to just 0.1.Jonathan Davies2023-01-269-9/+9
| | |
| | * {model,util}/Cargo.toml: Updated blake2 from 0.9 to 0.10.Jonathan Davies2023-01-264-6/+6
| | |
| | * {db,util}/Cargo.toml: Updated mktemp from 0.4 to 0.5.Jonathan Davies2023-01-262-2/+2
| | |
| | * api/Cargo.toml: Updated idna from 0.2 to 0.3.Jonathan Davies2023-01-261-1/+1
| | |
| | * garage/Cargo.toml: Updated timeage from 0.3 to 0.4.Jonathan Davies2023-01-261-1/+1
| | |
| | * {garage,util}/Cargo.toml: Updated toml from 0.5 to 0.6.Jonathan Davies2023-01-262-2/+2
| | |
| | * util/time.rs: Updated deprecated associated function to timestamp_opt().Jonathan Davies2023-01-261-1/+1
| | |
| | * Cargo.toml: Updated clap from 3.1.18 to 4.1.Jonathan Davies2023-01-262-2/+2
| | |
| | * k2v-client/Cargo.toml: Loosen dependencies.Jonathan Davies2023-01-261-5/+5
| | |
| | * Cargo.toml: Updated base64 from 0.13 to 0.21.Jonathan Davies2023-01-2612-80/+108
| | |
| | * 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
| | |
| | * Cargo.toml: Updated zstd from 0.9 to 0.12.Jonathan Davies2023-01-232-2/+2
| | |
| * | Add local disk usage to exported prometheus metricsreport-disk-usageAlex Auvolat2023-01-263-12/+75
| | |
| * | Disk space reportAlex Auvolat2023-01-265-33/+186
| |/ | | | | | | Report available disk space on nodes and calculate cluster-wide available space in `garage stats` (fix #479)
| * tests/s3/website.rs: Added website hosting authorization check tests.Jonathan Davies2023-01-132-0/+138
| |
| * Implemented website hosting authorization endpoint.Jonathan Davies2023-01-132-0/+51
| | | | | | | | Fixes: #468
* | Merge branch 'main' into k2v-watch-range-2Alex Auvolat2023-01-119-7/+221
|\|
| * Merge pull request 'Implement `rpc_secret_file`' (#466) from ↵Alex2023-01-114-4/+154
| |\ | | | | | | | | | | | | | | | felix.scheinost/garage:feature/implement-rpc-secret-file into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/466
| | * 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
| | |