summary refs log tree commit diff
path: root/synapse/events/snapshot.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Replace `EventContext` fields `prev_group` and `delta_ids` with field `state_...Shay2023-06-131-49/+110
* Instrument `state` and `state_group` storage related things (tracing) (#15610)Eric Eastwood2023-05-191-0/+5
* Use immutabledict instead of frozendict (#15113)David Robertson2023-03-221-2/+2
* More speedups/fixes to creating batched events (#15195)Shay2023-03-071-0/+1
* Batch up storing state groups when creating new room (#14918)Shay2023-02-241-0/+49
* Add a class UnpersistedEventContext to allow for the batching up of storing s...Shay2023-02-091-4/+170
* Move `StateFilter` to `synapse.types` (#14668)David Robertson2022-12-121-1/+1
* Fix docstring in EventContext (#14145)Shay2022-10-181-1/+2
* Update type of `EventContext.rejected` (#13460)Richard van der Hoff2022-08-041-4/+3
* Rename storage classes (#12913)Erik Johnston2022-05-311-5/+5
* Update EventContext `get_current_event_ids` and `get_prev_event_ids` to accep...Shay2022-05-201-4/+15
* Refactor `EventContext` (#12689)Erik Johnston2022-05-101-145/+32
* Add some type hints to datastore. (#12477)Dirk Klimpel2022-05-101-1/+2
* Faster joins: persist to database (#12012)Richard van der Hoff2022-03-011-0/+9
* Add `FrozenEvent.get_state_key` and use it in a couple of places (#11793)Richard van der Hoff2022-01-211-1/+1
* Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke2022-01-131-9/+9
* Fix using MSC2716 batch sending with event persistence workers (#11220)Tulir Asokan2021-11-291-0/+5
* Add type hints to synapse.events.*. (#11066)Patrick Cloke2021-10-131-50/+60
* Factor out a separate `EventContext.for_outlier` (#10883)Richard van der Hoff2021-09-221-4/+10
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-2/+1
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-1/+1
* Convert a synapse.events to async/await. (#7949)Patrick Cloke2020-07-271-24/+22
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-3/+1
* Fix bug in EventContext.deserialize. (#7393)Erik Johnston2020-05-051-2/+5
* Add StateMap type alias (#6715)Erik Johnston2020-01-161-6/+5
* Change EventContext to use the Storage class (#6564)Erik Johnston2019-12-201-15/+21
* Fix bug which caused rejected events to be stored with the wrong room state ...Richard van der Hoff2019-11-061-2/+23
* Add some checks that we aren't using state from rejected events (#6330)Richard van der Hoff2019-11-051-5/+44
* Improve documentation for EventContext fields (#6319)Richard van der Hoff2019-11-051-26/+65
* Factor out an _AsyncEventContextImpl (#6298)Richard van der Hoff2019-11-011-65/+42
* Convert EventContext to attrs (#6218)Richard van der Hoff2019-10-281-61/+39
* Replace returnValue with return (#5736)Amber Brown2019-07-231-15/+13
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Run Black. (#5482)Amber Brown2019-06-201-25/+24
* Do checks on aliases for incoming m.room.aliases events (#5128)Brendan Abolivier2019-05-081-2/+6
* Handle delta_ids being None in _update_context_for_auth_eventsRichard van der Hoff2018-07-231-1/+2
* CommentsErik Johnston2018-07-231-2/+3
* Only get cached state from context in persist_eventErik Johnston2018-07-231-0/+13
* Fix missing attributes on workers.Erik Johnston2018-07-231-4/+6
* Fix EventContext when using workersErik Johnston2018-07-231-7/+7
* Update docstrings to make senseErik Johnston2018-07-231-5/+8
* Add support for updating stateErik Johnston2018-07-231-0/+19
* Make EventContext lazy load stateErik Johnston2018-07-231-41/+112
* pep8Erik Johnston2018-07-231-1/+1
* Refcator EventContext to accept state during initErik Johnston2018-07-231-21/+27
* Make the rest of the .iterwhatever go away (#3562)Amber Brown2018-07-211-1/+3
* run isortAmber Brown2018-07-091-2/+2
* Remove context.push_actionsErik Johnston2018-02-151-4/+0
* Don't serialize current state over replicationErik Johnston2018-02-151-6/+35
* Add replication http endpoint for event sendingErik Johnston2018-02-071-0/+72
* Store state groups separately from events (#2784)Erik Johnston2018-02-061-1/+3
* Add more granular event send metricsErik Johnston2017-05-021-0/+3
* Refactoring and cleanupsRichard van der Hoff2017-03-171-0/+26
* Add commentsErik Johnston2016-09-051-0/+5
* Move to storing state_groups_state as deltasErik Johnston2016-09-011-0/+16
* Correctly handle the difference between prev and current stateErik Johnston2016-08-311-2/+3
* Replace context.current_state with context.current_state_idsErik Johnston2016-08-251-11/+2
* Pull out event ids rather than full events for stateErik Johnston2016-08-251-0/+8
* Atomically persit push actions when we persist the eventErik Johnston2016-02-091-0/+1
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Remove concept of context.auth_events, instead use context.current_stateErik Johnston2015-03-161-2/+1
* Add support for storing rejected events in EventContext and data storesErik Johnston2015-01-221-0/+1
* Update copyright noticesMark Haines2015-01-061-1/+1
* Remove unused functionsErik Johnston2014-12-151-42/+0
* Various typos and bug fixes.Erik Johnston2014-12-081-1/+2
* WIP for new way of managing events.Erik Johnston2014-12-031-0/+63