summary refs log tree commit diff
path: root/synapse/events/builder.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Simplify `_locally_reject_invite`Richard van der Hoff2020-10-131-8/+13
| | | | | Update `EventCreationHandler.create_event` to accept an auth_events param, and use it in `_locally_reject_invite` instead of reinventing the wheel.
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
|
* Convert additional databases to async/await part 2 (#8200)Patrick Cloke2020-09-011-7/+12
|
* Add type hints to handlers.message and events.builder (#8067)Erik Johnston2020-08-121-27/+31
|
* Convert synapse.api to async/await (#8031)Patrick Cloke2020-08-061-1/+1
|
* Convert a synapse.events to async/await. (#7949)Patrick Cloke2020-07-271-11/+8
|
* Convert state resolution to async/await (#7942)Patrick Cloke2020-07-241-2/+2
|
* Add `HomeServer.signing_key` property (#7805)Richard van der Hoff2020-07-081-1/+1
| | | ... instead of duplicating `config.signing_key[0]` everywhere
* Add a `make_event_from_dict` method (#6858)Richard van der Hoff2020-02-071-7/+3
| | | | | | | ... and use it in places where it's trivial to do so. This will make it easier to pass room versions into the FrozenEvent constructors.
* Pass room_version into add_hashes_and_signaturesRichard van der Hoff2020-01-301-1/+1
|
* Pass room_version into create_local_event_from_event_dictRichard van der Hoff2020-01-301-22/+18
|
* Store the room version in EventBuilderRichard van der Hoff2020-01-301-5/+7
|
* Replace returnValue with return (#5736)Amber Brown2019-07-231-9/+7
|
* Run Black. (#5482)Amber Brown2019-06-201-20/+17
|
* Fix appservice timestamp massaging (#5233)Tulir Asokan2019-05-241-1/+6
| | | Signed-off-by: Tulir Asokan <tulir@maunium.net>
* Fix error handling for rooms whose versions are unknown. (#5219)Richard van der Hoff2019-05-211-3/+3
| | | | | | | If we remove support for a particular room version, we should behave more gracefully. This should make client requests fail with a 400 rather than a 500, and will ignore individiual PDUs in a federation transaction, rather than the whole transaction.
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-14/+22
| | | | Collect all the things that make room-versions different to one another into one place, so that it's easier to define new room versions.
* Implement event format v2Erik Johnston2019-01-291-3/+9
|
* Don't set event_id twiceErik Johnston2019-01-291-2/+0
|
* Refactor event building into EventBuilderErik Johnston2019-01-291-65/+219
| | | | | This is so that everything is done in one place, making it easier to change the event format based on room version
* Require event format version to parse or create eventsErik Johnston2019-01-251-1/+50
|
* Revert "Require event format version to parse or create events"Erik Johnston2019-01-251-50/+1
|
* Require event format version to parse or create eventsErik Johnston2019-01-231-1/+50
|
* run isortAmber Brown2018-07-091-3/+2
|
* Remove pointless create() methodRichard van der Hoff2017-10-201-1/+1
| | | | | It just calls the constructor, so we may as well kill it rather than having random codepaths.
* Optimise state resolutionErik Johnston2017-01-171-1/+5
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Fix bug where we changes in outlier in metadata dict propogated to other eventsErik Johnston2015-01-301-2/+3
|
* Remove unused functionsMark Haines2015-01-131-6/+0
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Fix redactions. Fix 'age' keyErik Johnston2014-12-111-3/+10
|
* Try and figure out how and why signatures are being changed.Erik Johnston2014-12-101-3/+4
|
* Add PEP8 newlinesErik Johnston2014-12-091-1/+1
|
* Convert rest and handlers to use new event structureErik Johnston2014-12-041-1/+4
|
* WIP for new way of managing events.Erik Johnston2014-12-031-14/+6
|
* Begin fleshing out a new Event objectErik Johnston2014-12-021-0/+74