separate media and database paths

The primary motivation for this change is to support databases that
don't take a path, e.g. out of process databases.

This configuration structure leaves the door open for other media
storage mechanisms in the future, such as S3.

It's also structured to avoid `#[serde(flatten)]` so that we can use
`#[serde(deny_unknown_fields)]`.
This commit is contained in:
Charles Hall 2025-02-28 10:56:08 -08:00
parent ae920fdbe8
commit 5a5608e088
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
6 changed files with 82 additions and 8 deletions

View file

@ -146,6 +146,9 @@ This will be the first release of Grapevine since it was forked from Conduit
the server is now behind the `serve` command, so `grapevine --config ...`
becomes `grapevine serve --config ...`.
([!108](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/108))
13. **BREAKING:** The path to media files is now specified separately from the
database path.
([!40](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/140))
### Fixed