aboutsummaryrefslogtreecommitdiff
path: root/go.mod
AgeCommit message (Collapse)Author
2023-01-05Fix backfilling (#2926)Till
This should fix https://github.com/matrix-org/dendrite/issues/2923
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-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-16Update to NATS Server 2.9.6 and nats.go 1.20.0Neil Alexander
2022-11-15Update to matrix-org/gomatrixserverlib@900369eNeil Alexander
2022-11-15Federation fixes for virtual hostingNeil Alexander
2022-11-09Update RistrettoNeil Alexander
2022-11-09Remove unspecced fields from `Transaction` (update to ↵Neil Alexander
matrix-org/gomatrixserverlib@715dc88)
2022-11-03Update to matrix-org/pinecone@37f2e9bNeil Alexander
2022-11-02Fix `moderncsqlite` errors and rebase onto `main` (#2832)0x1a8510f2
This is #2819 but rebased on latest `main`. This PR is against main too as opposed to the `moderncsqlite` branch. The main change here is simply: ```go // add query parameters to the dsn if strings.Contains(dsn, "?") { dsn += "&" } else { dsn += "?" } // wait some time before erroring if the db is locked // https://gitlab.com/cznic/sqlite/-/issues/106#note_1058094993 dsn += "_pragma=busy_timeout%3d10000" ``` ### Pull Request Checklist <!-- Please read https://matrix-org.github.io/dendrite/development/contributing before submitting your pull request --> * [x] I have added tests for PR _or_ I have justified why this PR doesn't need tests. * [x] Pull request includes a [sign off below using a legally identifiable name](https://matrix-org.github.io/dendrite/development/contributing#sign-off) _or_ I have already signed off privately Signed off privately. Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-11-01Fix a panic in `ToClientEvents` etc.Neil Alexander
2022-11-01Update dependenciesNeil Alexander
2022-11-01Move code for calculating auth difference into GMSLNeil Alexander
2022-10-31Fix `go.mod`Neil Alexander
2022-10-31Update to matrix-org/gomatrixserverlib@0885c35Neil Alexander
2022-10-26Update Yggdrasil demoNeil Alexander
2022-10-26Add network interface callback to pinecone build (#2825)devonh
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-10-26Initial support for multiple server names (#2829)Neil Alexander
This PR is the first step towards virtual hosting by laying the groundwork for multiple server names being configured.
2022-10-21Verify `room_id`, `type`, `sender` and `state_key` field lengths using bytes ↵Neil Alexander
rather than codepoints (update to matrix-org/gomatrixserverlib@7c772f1, reverts bbb3ade4a2b49cfdaf7ec86ddf079ff7d48e0cf3)
2022-10-19Refactor Federation Destination Queues (#2807)devonh
This is a refactor of the federation destination queues. It fixes a few things, namely: - actually retry outgoing events with backoff behaviour - obtain enough events from the database to fill messages as much as possible - minimize the amount of running goroutines - use pure timers for backoff - don't restart queue unless necessary - close the background task when backing off - increase max edus in a transaction to match the spec - cleanup timers more aggresively to reduce memory usage - add jitter to backoff timers to reduce resource spikes - add a bunch of tests (with real and fake databases) to ensure everything is working
2022-10-18Try to make `AddEvent` less expensive (update to ↵Neil Alexander
matrix-org/gomatrixserverlib@a72a83f)
2022-10-14Update dependency now that it is fixedNeil Alexander
2022-10-14Update direct dependencies (#2794)Neil Alexander
This updates a number of Dendrite's dependencies.
2022-10-14Update to NATS Server v2.9.3 and nats.go v1.18.0Neil Alexander
2022-10-14Fix `outliers whose auth_events are in a different room are correctly ↵Till
rejected` (#2791) Fixes `outliers whose auth_events are in a different room are correctly rejected`, by validating that auth events are all from the same room and not using rejected events for event auth.
2022-10-13Revert "Federation backoff fixes and tests (#2792)"Neil Alexander
This reverts commit dcedd1b6bf1e890ff425bdf1fcd8a2e0850778b5.
2022-10-13Federation backoff fixes and tests (#2792)devonh
This fixes some edge cases where federation queue backoffs and blacklisting weren't behaving as expected. It also adds new tests for the federation queues to ensure their behaviour continues to work correctly.
2022-10-13Event relations (#2790)Neil Alexander
This adds support for tracking `m.relates_to`, as well as adding support for the various `/room/{roomID}/relations/...` endpoints to the CS API.
2022-09-30Update NATS Server to v2.9.2Neil Alexander
2022-09-29Enable knocking on room versions 8 and 9 (update to ↵Neil Alexander
matrix-org/gomatrixserverlib@91d455c)
2022-09-29Add network interface registration to pinecone demo (#2750)devonh
### Pull Request Checklist <!-- Please read docs/CONTRIBUTING.md before submitting your pull request --> No additional tests have been added as this simply extends the API for the embedded pinecone demo. Signed-off-by: `Devon Hudson <devonhudson@librem.one>`
2022-09-29Update to matrix-org/gomatrixserverlib@377b320Neil Alexander
2022-09-29Improve device list update parsing (update to matrix-org/gomatrixserverlib#342)Neil Alexander
2022-09-29P2P demo fixesNeil Alexander
2022-09-27Pinecone hybrid routing (update to matrix-org/pinecone#67)Neil Alexander
2022-09-26Remove `origin` field from PDUs (#2737)Neil Alexander
This nukes the `origin` field from PDUs as per matrix-org/matrix-spec#998, matrix-org/gomatrixserverlib#341.
2022-09-23Update to matrix-org/pinecone@0900fceecb89ad0c14ee0ce825be638bf2a18474Neil Alexander
2022-09-23Tweak mainline ordering (update to matrix-org/gomatrixserverlib@2217f6c)Neil Alexander
2022-09-22Update embedded NATS Server to v2.9.1-beta1 (as this includes a fix that ↵Neil Alexander
prevents high CPU usage after Dendrite startup)
2022-09-20Update dependencies (#2729)Neil Alexander
This updates Dendrite dependencies.
2022-09-14Update to matrix-org/pinecone@608215eb1b2920f3510b56c4a36a87ed9e75779fNeil Alexander
2022-09-12Update to matrix-org/gomatrixserverlib@7b96db4Neil Alexander
2022-09-12Update to NATS Server v2.9.0Neil Alexander
2022-09-12Update to matrix-org/pinecone@b215925Neil Alexander
2022-09-11Update to matrix-org/gomatrixserverlib@dec87dbaa40700a8c8f7c299c53f911047cf2cb9Neil Alexander
2022-09-07Fulltext implementation incl. config (#2480)Till
This adds the main component of the fulltext search. This PR doesn't do anything yet, besides creating an empty fulltextindex folder if enabled. Indexing events is done in a separate PR.
2022-09-07Update to matrix-org/gomatrixserverlib@637a173Neil Alexander