summary refs log tree commit diff
path: root/synapse/rest/client/events.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add new module API for adding custom fields to events `unsigned` section ↵Erik Johnston2023-10-271-1/+1
| | | | (#16549)
* Add a primitive helper script for listing worker endpoints. (#15243)reivilibre2023-03-231-0/+2
| | | | Co-authored-by: Patrick Cloke <patrickc@matrix.org>
* Pass the requester during event serialization. (#15174)Quentin Gliech2023-03-061-7/+9
| | | | This allows Synapse to properly include the transaction ID in the unsigned data of events.
* Do not allow a None-limit on PaginationConfig. (#14146)Patrick Cloke2022-10-141-1/+3
| | | | | | | The callers either set a default limit or manually handle a None-limit later on (by setting a default value). Update the callers to always instantiate PaginationConfig with a default limit and then assume the limit is non-None.
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
| | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
* Bundle aggregations outside of the serialization method. (#11612)Patrick Cloke2022-01-071-1/+1
| | | | | | | | This makes the serialization of events synchronous (and it no longer access the database), but we must manually calculate and provide the bundled aggregations. Overall this should cause no change in behavior, but is prep work for other improvements.
* Additional type hints for REST servlets (part 2). (#10674)Patrick Cloke2021-08-261-15/+23
| | | Applies the changes from #10665 to additional modules.
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-171-0/+94