Grapevine is a Matrix homeserver, forked from Conduit 0.7.0
Find a file
Benjamin Lee 93ad93a36b
respect filter.limit in the /messages endpoint
As far as I can tell, 'filter.limit' and the 'limit' query parameter are
completely redundant. I've moved the 'take(limit)' call until after
filtering, to ensure that we can return up to 'limit' events even when
some are rejected by the filter. In a future commit, I will add a global
limit on loaded events to avoid DoS.
2024-06-04 20:02:42 -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 respect filter.limit in the /messages endpoint 2024-06-04 20:02:42 -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