Dendrite is a second-generation Matrix homeserver written in Go!
Go to file
Kegsay 1414922026
sytest: Make 'Inbound federation can backfill events' pass (#1051)
* sytest: Make 'Inbound federation can backfill events' pass

This breaks 'Outbound federation can backfill events' because now
we are returning the right number of events, which the previous
test was relying on.

Previously, /messages was backfilling the membership event, causing
the test to pass. Now we are no longer backfilling the membership
event due to the change in this commit, causing the test to fail.

The test should instead be returning the membership event locally
from synacpis database, but it doesn't do it fast enough, resulting
in a no-op /sync response with a next_batch=s0_0 which will never
pick up the local membership event when it rolls in. The test
does attempt to retry, but doesn't take the new next_batch=s1_0
resulting in it missing from the /messages response.

* Linting
2020-05-20 16:04:31 +01:00
.github Add SyTest support to CI (#704) 2019-05-24 15:00:03 +01:00
appservice Add -api flag to monolith (#1044) 2020-05-18 10:56:43 +01:00
clientapi Set canonical alias on room creation (#1042) 2020-05-15 13:39:01 +01:00
cmd Bake in git commit into dendritejs binary (#1048) 2020-05-19 16:42:30 +01:00
common Add -api flag to monolith (#1044) 2020-05-18 10:56:43 +01:00
docker Keyserver skeleton (#1032) 2020-05-14 14:05:14 +01:00
docs Update INSTALL.md, move docs (#1034) 2020-05-14 16:49:18 +01:00
eduserver Add -api flag to monolith (#1044) 2020-05-18 10:56:43 +01:00
federationapi sytest: Make 'Inbound federation can backfill events' pass (#1051) 2020-05-20 16:04:31 +01:00
federationsender Add -api flag to monolith (#1044) 2020-05-18 10:56:43 +01:00
internal/sqlutil Limit database connections (#980, #564) (#998) 2020-05-01 13:34:53 +01:00
keyserver Keyserver skeleton (#1032) 2020-05-14 14:05:14 +01:00
mediaapi Enforce mediaIDRegex to be only valid mediaIDCharacters (#1020) 2020-05-13 12:04:54 +01:00
publicroomsapi Limit database connections (#980, #564) (#998) 2020-05-01 13:34:53 +01:00
roomserver sytest: Make 'Inbound federation can backfill events' pass (#1051) 2020-05-20 16:04:31 +01:00
scripts Move files back if linting fails (#810) 2019-12-25 18:14:58 +00:00
syncapi sytest: Make 'Inbound federation can backfill events' pass (#1051) 2020-05-20 16:04:31 +01:00
.gitignore Update .gitignore 2020-03-10 11:42:40 +00:00
.golangci.yml Get room versions from database (#918) 2020-03-17 18:00:10 +00:00
are-we-synapse-yet.list Direct messages (#1012) 2020-05-07 16:46:11 +01:00
are-we-synapse-yet.py Are we synapse yet? (#960) 2020-04-14 16:05:15 +01:00
build-dendritejs.sh Bake in git commit into dendritejs binary (#1048) 2020-05-19 16:42:30 +01:00
build.sh Unbreak the wasm build (#986) 2020-04-28 16:22:00 +01:00
dendrite-config.yaml Keyserver skeleton (#1032) 2020-05-14 14:05:14 +01:00
go.mod bump go-http-js-libp2p 2020-05-18 18:12:11 +01:00
go.sum bump go-http-js-libp2p 2020-05-18 18:12:11 +01:00
LICENSE Add Apache Version 2.0 license and headers to all golang files 2017-04-21 00:40:52 +02:00
README.md Update INSTALL.md, move docs (#1034) 2020-05-14 16:49:18 +01:00
show-expected-fail-tests.sh Fix newlines between white/blacklist test names in buildkite annotations (#1003) 2020-05-04 14:48:49 +01:00
sytest-blacklist Move /room/{roomID}/state endpoints into client API (#606) (#962) 2020-04-14 18:36:08 +01:00
sytest-whitelist sytest: Make 'Inbound federation can backfill events' pass (#1051) 2020-05-20 16:04:31 +01:00

Dendrite Build Status Dendrite Dev on Matrix Dendrite on Matrix

Dendrite will be a second-generation Matrix homeserver written in Go.

It's still very much a work in progress, but installation instructions can be found in INSTALL.md. It is not recommended to use Dendrite as a production homeserver at this time.

An overview of the design can be found in DESIGN.md.

Contributing

Everyone is welcome to help out and contribute! See CONTRIBUTING.md to get started!

Please note that, as of February 2020, Dendrite now only targets Go 1.13 or later. Please ensure that you are using at least Go 1.13 when developing for Dendrite.

Discussion

For questions about Dendrite we have a dedicated room on Matrix #dendrite:matrix.org. Development discussion should happen in #dendrite-dev:matrix.org.

Progress

There's plenty still to do to make Dendrite usable! We're tracking progress in a project board.