aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-05Fix CI and test.WithAllDatabasesTill Faelligen
2022-12-05Enable/Disable internal metrics (#2899)Till
Basically enables us to use `test.WithAllDatabases` when testing internal HTTP APIs, as this would otherwise result in Prometheus complaining about already registered metric names.
2022-12-02Add tests for the AS internal API (#2898)Till
2022-12-02Test and CI related changes (#2896)Till
In an attempt to: - make on-boarding a bit easier (`go test ./...` should now not need additional postgres setup) - get code coverage faster, not only scheduled at night - test the `create-account` binary
2022-12-01Fix `dendrite-demo-pinecone`, `/_dendrite` namespace setupNeil Alexander
2022-12-01Expose `/_dendrite` and `/_synapse` on the P2P demo HTTP muxesNeil Alexander
2022-12-01Make `create-account` more verboseNeil Alexander
2022-11-30Push rule evaluation tweaks (#2897)Neil Alexander
This tweaks push rule evaluation: 1. to be more strict around pattern matching and to not match empty patterns 3. to bail if we come across a `dont_notify`, since cycles after that are wasted 4. refactors `ActionsToTweaks` to make a bit more sense
2022-11-30Calculate correct room member count for push rule evaluation (#2894)Till
Fixes a bug where we would return only the local member count, which could result in wrongly calculated push rules.
2022-11-29Version 0.10.8v0.10.8Neil Alexander
2022-11-29Fix `m.receipt`s causing notifications (#2893)Till
Fixes https://github.com/matrix-org/dendrite/issues/2353
2022-11-29Update configurationNeil Alexander
2022-11-29Update NATS Server to 2.9.8Neil Alexander
2022-11-29Tweak event auth logging and cases (update to ↵Neil Alexander
matrix-org/gomatrixserverlib@8835f6d)
2022-11-28Return empty JSON if we don't have any protocols to return (#2892)Till
This should help with Element reporting `The homeserver may be too old to support third party networks.`
2022-11-22Never filter out a user's own membership when using LL (#2887)Erik Johnston
2022-11-18Update pinecone version (#2884)devonh
2022-11-18Fix registration for virtual hostingNeil Alexander
2022-11-18Add p2p wakeup broadcast handling to pinecone demos (#2841)devonh
Adds wakeup broadcast handling to the pinecone demos. This will reset their blacklist status and interrupt any ongoing federation queue backoffs currently in progress for this peer. The end result is that any queued events will quickly be sent to the peer if they had disconnected while attempting to send events to them.
2022-11-17Fix nightly code coverage (#2881)devonh
2022-11-17Try that againNeil Alexander
2022-11-17Fix `/key/v2/server`, add HTTP `Host` matchingNeil Alexander
2022-11-16Add test code coverage reporting (#2871)devonh
2022-11-16Fix bug in a2f72dd9Neil Alexander
2022-11-16Detect consumer being deleted in `JetStreamConsumer`Neil Alexander
2022-11-16Update to NATS Server 2.9.6 and nats.go 1.20.0Neil Alexander
2022-11-16Fix slice out of bounds in federation APINeil Alexander
2022-11-16Virtual host server name workaroundNeil Alexander
2022-11-16Tweak `/key/v2/server`Neil Alexander
2022-11-15Don't get blacklisted hosts when querying joined servers (#2880)Neil Alexander
Otherwise we just waste time/CPU.
2022-11-15Update to matrix-org/gomatrixserverlib@900369eNeil Alexander
2022-11-15Federation fixes for virtual hostingNeil Alexander
2022-11-14Fix Caddy config well-known delegation example (#2879)Omar Kotb
Signed-off-by: Omar Kotb <omar@omarkotb.com> Signed-off-by: Omar Kotb <omar@omarkotb.com>
2022-11-14Handle remote room upgrades (#2866)Till
Makes the following tests pass ``` /upgrade moves remote aliases to the new room Local and remote users' homeservers remove a room from their public directory on upgrade ```
2022-11-14Try to optimize CI (#2867)Till
Try to optimize CI by using caches
2022-11-14Use a writer to assign state key NIDs (#2877)Till
2022-11-11Virtual hosting schema and logic changes (#2876)Neil Alexander
Note that virtual users cannot federate correctly yet.
2022-11-11Fix oops, add simple UTTill Faelligen
2022-11-11Run upgrade tests for SQLite too (#2875)Neil Alexander
This should hopefully catch problems with database migrations in SQLite as well as PostgreSQL.
2022-11-11Fix issue with missing user NIDs (#2874)Till
This should fix #2696 and possibly other related issues regarding missing user NIDs. (https://github.com/matrix-org/dendrite/issues/2094?)
2022-11-11Deny guest access on several endpoints (#2873)Till
Second part for guest access, this adds a `WithAllowGuests()` option to `MakeAuthAPI`, allowing guests to access the specified endpoints. Endpoints taken from the [spec](https://spec.matrix.org/v1.4/client-server-api/#client-behaviour-14) and by checking Synapse endpoints for `allow_guest=true`.
2022-11-11Send presence to newly added servers (#2869)Till
This should make `New federated private chats get full presence information (SYN-115)` happy.
2022-11-10Fix lint errorNeil Alexander
2022-11-10Improve logging in upgrade testsNeil Alexander
2022-11-09Update RistrettoNeil Alexander
2022-11-09Remove unspecced fields from `Transaction` (update to ↵Neil Alexander
matrix-org/gomatrixserverlib@715dc88)
2022-11-07Add custom build flag to satisfy SytestTill Faelligen
2022-11-07Handle `m.room.tombstone` events in the UserAPI (#2864)Till
Fixes #2863 and makes ``` /upgrade preserves direct room state local user has tags copied to the new room remote user has tags copied to the new room ``` pass.
2022-11-04Revert Docker user changeNeil Alexander
2022-11-04Fix GHA release scriptTill Faelligen