Grapevine is a Matrix homeserver, forked from Conduit 0.7.0
Find a file
Benjamin Lee fe5626e93a
implement per-event filtering for /context
'end_token' and 'start_token' have been refactored a bit because we need
to take the bounds of the examined events *before* filtering, otherwise
we'll send a pagination token to the client that is inside the set of
events we examined on this call. In extreme situations, this may leave a
client unable to make progress at all, because the first event that
matches if filter is more than 'load_limit' away from the base event.

This bug was present before the filtering implementation, but was less
significant because we only dropped events when they were not visible to
the user.
2024-06-05 00:07:07 -07:00
bin use all-features devshell for clippy/all in CI 2024-05-30 21:19:08 -07:00
nix add all-features devshell 2024-05-30 21:19:08 -07:00
src implement per-event filtering for /context 2024-06-05 00:07:07 -07:00
.envrc optionally use nom to build devshell dependencies 2024-05-30 21:19:09 -07:00
.gitignore allow loading env vars from .env if it exists 2024-05-14 20:08:37 -07:00
.gitlab-ci.yml pin nixos/nix to 2.18.2 2024-05-26 19:47:00 -07:00
Cargo.lock switch to RustCrypto's argon2 crate 2024-06-04 19:35:21 -07:00
Cargo.toml switch to RustCrypto's argon2 crate 2024-06-04 19:35:21 -07:00
clippy.toml enable doc_markdown lint 2024-05-14 16:34:10 -07:00
default.nix feat: support non-flake users 2024-02-01 19:19:56 -08:00
engage.toml test all-features in CI 2024-05-30 21:19:09 -07:00
flake.lock update flake.lock 2024-05-24 20:08:54 -07:00
flake.nix add all-features devshell 2024-05-30 21:19:08 -07:00
LICENSE.md convert license to markdown 2024-04-30 21:54:56 -07:00
rust-toolchain.toml update the rust toolchain, ignore new lints 2024-05-24 20:09:41 -07:00
rustfmt.toml enable error_on_line_overflow and fix errors 2024-05-16 19:11:40 -07:00