Commit Graph

62 Commits (3a092699e569ebec37b0624be8164238cef949a5)

Author SHA1 Message Date
Patrick Cloke a8a46b1336
Replace simple_async_mock with AsyncMock (#16180) 1 year ago
Shay 5c7364fea5
Properly handle redactions of creation events (#15973) 1 year ago
Patrick Cloke 6d81aec09f
Support room version 11 (#15912) 1 year ago
Shay 553f2f53e7
Replace `EventContext` fields `prev_group` and `delta_ids` with field `state_group_deltas` (#15233) 1 year ago
Patrick Cloke c5d1e6d414
Properly parse event_fields in filters (#15607) 2 years ago
Patrick Cloke f2905d827f
Implement MSC3821 to update redaction rules (`third_party_invite.signed`) (#15563) 2 years ago
Patrick Cloke ba6b21c81e
Implement MSC3389 to protect relations from redaction. (#15565) 2 years ago
Patrick Cloke 2503126d52
Implement MSC2174: move redacts to a content property. (#15395) 2 years ago
Patrick Cloke 83649b891d
Implement MSC3989 to redact the origin field. (#15393) 2 years ago
Patrick Cloke 42aea0d8af
Add final type hint to tests.unittest. (#15072) 2 years ago
David Robertson 7081bb56e2
Proper types for `tests.module_api` (#15031) 2 years ago
David Robertson 6e6edea6c1
Properly typecheck tests.api (#14983) 2 years ago
Patrick Cloke 3c3ba31507
Add missing type hints for tests.events. (#14904) 2 years ago
David Robertson e2a1adbf5d
Allow selecting "prejoin" events by state keys (#14642) 2 years ago
realtyem 854a6884d8
Modernize unit tests configuration settings for workers. (#14568) 2 years ago
Andrew Morgan 40e3e68cd7
Register homeserver modules when creating test homeserver (#13558) 2 years ago
Erik Johnston 1e453053cb
Rename storage classes (#12913) 3 years ago
Patrick Cloke c52abc1cfd
Additional constants for EDU types. (#12884) 3 years ago
David Robertson 051a1c3f22
Convert stringy power levels to integers on room upgrade (#12657) 3 years ago
Patrick Cloke 1d11b452b7
Use the proper serialization format when bundling aggregations. (#12090) 3 years ago
Patrick Cloke 02d708568b
Replace assertEquals and friends with non-deprecated versions. (#12092) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Patrick Cloke 32072dcdac Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 3 years ago
Patrick Cloke d1bf5f7c9d
Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 3 years ago
Patrick Cloke 7d84d2523a
Fix errors in Synapse logs from unit tests. (#10939) 3 years ago
Patrick Cloke ae3c16318b
Support MSC3375: room version 9. (#10747) 3 years ago
Azrenbeth 1a9f531c79
Port the PresenceRouter module interface to the new generic interface (#10524) 3 years ago
reivilibre 642a42edde
Flatten the synapse.rest.client package (#10600) 3 years ago
Patrick Cloke 0c246dd4a0
Support MSC3289: Room version 8 (#10449) 3 years ago
Patrick Cloke 752fe0cd98
Restricted rooms (MSC3083) should not have their allow key redacted. (#10489) 3 years ago
Erik Johnston ac5c221208
Stagger send presence to remotes (#10398) 3 years ago
Jonathan de Jong 93729719b8
Use inline type hints in `tests/` (#10350) 3 years ago
Andrew Morgan 4d6e5a5e99
Use a database table to hold the users that should have full presence sent to them, instead of something in-memory (#9823) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 0b3112123d
Use mock from the stdlib. (#9772) 4 years ago
Andrew Morgan 04819239ba
Add a Synapse Module for configuring presence update routing (#9491) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke 9dde9c9f01
Implement MSC2176: Updated redaction rules (#8984) 4 years ago
Patrick Cloke cc9bb3dc3f
Convert the message handler to async/await. (#7884) 4 years ago
Patrick Cloke 08bc80ef09
Implement room version 6 (MSC2240). (#7506) 5 years ago
Erik Johnston 7941a70fa8
Fix bug in EventContext.deserialize. (#7393) 5 years ago
Patrick Cloke 06eb5cae08
Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 5 years ago
Richard van der Hoff 799001f2c0
Add a `make_event_from_dict` method (#6858) 5 years ago
Richard van der Hoff ee42a5513e Factor out a `copy_power_levels_contents` method 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Richard van der Hoff ef771cc4c2 Fix a number of flake8 errors 6 years ago
black 8b3d9b6b19 Run black. 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Erik Johnston 5d6bad1b3c Optimise state resolution 8 years ago
Kegan Dougal c3d963ac24 Review comments 8 years ago