Commit Graph

16 Commits (b2be8cec393b2f37eefe5cf19c86e26575664ad6)

Author SHA1 Message Date
Eric Eastwood 35a4569ce6 Remove debug changes 2021-07-14 23:32:24 -05:00
Eric Eastwood 8999567de4 Fix test case where insertion event is already in the normal DAG 2021-07-14 23:29:45 -05:00
Eric Eastwood f20ba0264c Clean up PR 2021-07-14 01:33:59 -05:00
Eric Eastwood ab8011bb5d Some marker event implemntation trials 2021-07-14 01:24:13 -05:00
Eric Eastwood 02b1bea935 Remove debug sql queries 2021-07-13 14:34:03 -05:00
Eric Eastwood defc53621d Merge branch 'develop' into madlittlemods/2716-backfill-historical-events-for-federation
Conflicts:
	scripts-dev/complement.sh
2021-07-06 23:39:08 -05:00
Eric Eastwood 05d6c513f6 Messing with selecting insertion event extremeties 2021-07-06 23:37:54 -05:00
Eric Eastwood 38bcf13e1e Add base starting insertion point when no chunk ID is provided 2021-06-25 01:04:38 -05:00
Eric Eastwood 2d942ec0c1 Debug message not available on federation 2021-06-24 20:20:09 -05:00
Richard van der Hoff 8beead66ae
Send out invite rejections and knocks over federation (#10223)
ensure that events sent via `send_leave` and `send_knock` are sent on to
the rest of the federation.
2021-06-23 12:54:50 +01:00
Eric Eastwood 96f6293de5
Add endpoints for backfilling history (MSC2716) (#9247)
Work on https://github.com/matrix-org/matrix-doc/pull/2716
2021-06-22 10:02:53 +01:00
Patrick Cloke 7d90d6ce9b
Run complement with Synapse workers manually. (#10039)
Adds an option to complement.sh to run Synapse in worker
mode (instead of the default monolith mode).
2021-05-24 15:32:45 -04:00
Patrick Cloke abc814dcbf
Enable complement tests for MSC2946. (#9771)
By providing the additional build tag for `msc2946`.
2021-04-09 08:11:51 -04:00
Patrick Cloke 452991527a
MSC3083: Check for space membership during a local join of restricted rooms. (#9735)
When joining a room with join rules set to 'restricted', check if the
user is a member of the spaces defined in the 'allow' key of the join rules.

This only applies to an experimental room version, as defined in MSC3083.
2021-04-08 08:28:32 -04:00
Andrew Morgan ac99774dac
Rewrite complement.sh (#9685)
This PR rewrites the original complement.sh script with a number of improvements:

* We can now use a local checkout of Complement (configurable with `COMPLEMENT_DIR`), though the default behaviour still downloads the master branch.
* You can now specify a regex of test names to run, or just run all tests.
* We now use the Synapse test blacklist tag (so all tests will pass).
2021-03-31 11:58:12 +01:00
Andrew Morgan 12f0d18611
Add support for running Complement against the local checkout (#8317)
This PR adds a script that:

* Builds the local Synapse checkout using our existing `docker/Dockerfile` image.
* Downloads [Complement](https://github.com/matrix-org/complement/)'s source code.
* Builds the [Synapse.Dockerfile](https://github.com/matrix-org/complement/blob/master/dockerfiles/Synapse.Dockerfile) using the above dockerfile as a base.
* Builds and runs Complement against it.

This set up differs slightly from [that of the dendrite repo](https://github.com/matrix-org/dendrite/blob/master/build/scripts/complement.sh) (`complement.sh`, `Complement.Dockerfile`), which instead stores a separate, but slightly modified, dockerfile in Dendrite's repo rather than running the one stored in Complement's repo. That synapse equivalent to that dockerfile (`Synapse.Dockerfile`) in Complement's repo is just based on top of `matrixdotorg/synapse:latest`, which we opt to build here locally.

Thus copying over the files from Complement's repo wouldn't change any functionality, and would result in two instances of the same files. So just using the dockerfile in Complement's repo was decided upon instead.
2020-09-29 13:47:47 +01:00