Commit Graph

527 Commits (bc1db16086d0718c9c0bb61b32b825ba62049bb0)

Author SHA1 Message Date
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
Richard van der Hoff 53834bb9c4
Run `remove_push_actions_from_staging` in foreground (#8081) 4 years ago
Erik Johnston 5dd73d029e
Add type hints to handlers.message and events.builder (#8067) 4 years ago
Richard van der Hoff fcbab08cbd
Add an assertion on prev_events in create_new_client_event (#8041) 4 years ago
Patrick Cloke d4a7829b12
Convert synapse.api to async/await (#8031) 4 years ago
Erik Johnston a7bdf98d01
Rename database classes to make some sense (#8033) 4 years ago
Patrick Cloke d8a9cd8d3e
Remove hacky error handling for inlineDeferreds. (#7950) 4 years ago
Patrick Cloke cc9bb3dc3f
Convert the message handler to async/await. (#7884) 4 years ago
Patrick Cloke 6fca1b3506
Convert _base, profile, and _receipts handlers to async/await (#7860) 4 years ago
Richard van der Hoff 2ab0b021f1
Generate real events when we reject invites (#7804) 4 years ago
Patrick Cloke e060bf4462
Convert directory handler to async/await (#7727) 5 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 5 years ago
Patrick Cloke bd6dc17221
Replace iteritems/itervalues/iterkeys with native versions. (#7692) 5 years ago
Andrew Morgan f4e6495b5d
Performance improvements and refactor of Ratelimiter (#7595) 5 years ago
Richard van der Hoff f4269694ce
Optimise some references to hs.config (#7546) 5 years ago
Erik Johnston e5c67d04db
Add option to move event persistence off master (#7517) 5 years ago
Erik Johnston 1531b214fc
Add ability to wait for replication streams (#7542) 5 years ago
Aaron Raimist 250f3eb991
Omit displayname or avatar_url if they aren't set instead of returning null (#7497) 5 years ago
Erik Johnston 1124111a12
Allow censoring of events to happen on workers. (#7492) 5 years ago