Commit Graph

393 Commits (d5305000f1c5799ffb6fcd64ad27e7bfd8ba2113)

Author SHA1 Message Date
Patrick Cloke bb4b11846f
Add missing type hints to handlers and fix a Spam Checker type hint. (#9896) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Jonathan de Jong 2ca4e349e9
Bugbear: Add Mutable Parameter fixes (#9682) 4 years ago
Richard van der Hoff f02663c4dd
Replace `room_invite_state_types` with `room_prejoin_state` (#9700) 4 years ago
AndrewFerr 9bc74743d5
Add configs to make profile data more private (#9203) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Travis Ralston b60bb28bbc
Add an admin API to get the current room state (#9168) 4 years ago
Erik Johnston dd8da8c5f6
Precompute joined hosts and store in Redis (#9198) 4 years ago
Erik Johnston 70586aa63e
Try and drop stale extremities. (#8929) 4 years ago
David Teller f14428b25c
Allow spam-checker modules to be provide async methods. (#8890) 4 years ago
Erik Johnston f737368a26
Add admin API for logging in as a user (#8617) 4 years ago
Erik Johnston 243d427fbc
Block clients from sending server ACLs that lock the local server out. (#8708) 4 years ago
Richard van der Hoff 90c900a8ff Merge pull request #8678 from matrix-org/rav/fix_frozen_events 4 years ago
Richard van der Hoff b6ca69e4f1 Remove frozendict_json_encoder and support frozendicts everywhere 4 years ago
Andrew Morgan a699c044b6
Abstract code for stripping room state into a separate method (#8671) 4 years ago
Patrick Cloke 34a5696f93
Fix typos and spelling errors. (#8639) 4 years ago
Richard van der Hoff da0090fdff
Fix modifying events in `ThirdPartyRules` modules (#8564) 4 years ago
Richard van der Hoff a34b17e492 Simplify `_locally_reject_invite` 4 years ago
Richard van der Hoff 617e8a4653 Allow ThirdPartyRules modules to replace event content 4 years ago
Richard van der Hoff d9d86c2996 Remove redundant `token_id` parameter to create_event 4 years ago
Richard van der Hoff 123711ed19 Move third_party_rules check to event creation time 4 years ago
Patrick Cloke 629a951b49
Move additional tasks to the background worker, part 4 (#8513) 4 years ago
Erik Johnston b2486f6656
Fix message duplication if something goes wrong after persisting the event (#8476) 4 years ago
Andrew Morgan 66ac4b1e34
Allow modules to create and send events into rooms (#8479) 4 years ago
Patrick Cloke c9c0ad5e20
Remove the deprecated Handlers object (#8494) 4 years ago
Richard van der Hoff 903fcd2d35 update wording 4 years ago
Richard van der Hoff e775b5bb5b kill off `send_nonmember_event` 4 years ago
Richard van der Hoff fd0282201e pull up event.sender assertion 4 years ago
Richard van der Hoff 2ee302d016 Move shadow-ban check down into `handle_new_client_event`. 4 years ago
Richard van der Hoff b520a1bf5a De-duplicate duplicate handling 4 years ago
Richard van der Hoff f31f8e6319
Remove stream ordering from Metadata dict (#8452) 4 years ago
Erik Johnston ac11fcbbb8
Add EventStreamPosition type (#8388) 4 years ago
Richard van der Hoff 2983049a77
Factor out `_send_dummy_event_for_room` (#8370) 4 years ago
Erik Johnston 04cc249b43
Add experimental support for sharding event persister. Again. (#8294) 4 years ago
Erik Johnston fe8ed1b46f
Make `StreamToken.room_key` be a `RoomStreamToken` instance. (#8281) 4 years ago
Erik Johnston 5d3e306d9f
Clean up `Notifier.on_new_room_event` code path (#8288) 4 years ago
Erik Johnston c9dbee50ae
Fixup pusher pool notifications (#8287) 4 years ago
Erik Johnston dc9dcdbd59 Revert "Fixup pusher pool notifications" 4 years ago
Erik Johnston e7fd336a53 Fixup pusher pool notifications 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Brendan Abolivier 9f8abdcc38
Revert "Add experimental support for sharding event persister. (#8170)" (#8242) 4 years ago
Erik Johnston 82c1ee1c22
Add experimental support for sharding event persister. (#8170) 4 years ago
Patrick Cloke da77520cd1
Convert additional databases to async/await part 2 (#8200) 4 years ago
Andrew Morgan e0d6244beb
Remove unused parameter from, and add safeguard in, get_room_data (#8174) 4 years ago
Patrick Cloke 5099bd68da
Do not allow send_nonmember_event to be called with shadow-banned users. (#8158) 4 years ago
Patrick Cloke cbd8d83da7
Stop shadow-banned users from sending non-member events. (#8142) 4 years ago
Patrick Cloke eebf52be06
Be stricter about JSON that is accepted by Synapse (#8106) 4 years ago
Patrick Cloke f40645e60b
Convert events worker database to async/await. (#8071) 4 years ago
Patrick Cloke 3c01724b33
Fix the return type of send_nonmember_events. (#8112) 4 years ago
Patrick Cloke 25e55d2598
Return the previous stream token if a non-member event is a duplicate. (#8093) 4 years ago