summary refs log tree commit diff
path: root/synapse/state/__init__.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Refactor `_resolve_state_at_missing_prevs` to return an `EventContext` (#13404)Sean Quah2022-08-011-0/+8
* Faster room joins: avoid blocking when pulling events with missing prevs (#13...Sean Quah2022-07-261-6/+12
* Don't hold onto full state in state cache (#13324)Erik Johnston2022-07-211-15/+53
* Don't pull out the full state when creating an event (#13281)Erik Johnston2022-07-181-1/+2
* Don't pull out the full state when storing state (#13274)Erik Johnston2022-07-151-15/+21
* Use state before join to determine if we `_should_perform_remote_join` (#13270)David Robertson2022-07-151-8/+13
* Fix a bug which could lead to incorrect state (#13278)Erik Johnston2022-07-151-5/+14
* Rip out auth-event reconciliation code (#12943)Richard van der Hoff2022-07-141-26/+0
* Don't pull out state in `compute_event_context` for unconflicted state (#13267)Erik Johnston2022-07-141-50/+67
* Faster room joins: fix race in recalculation of current room state (#13151)Sean Quah2022-07-071-0/+25
* Skip waiting for full state for incoming events (#13144)Richard van der Hoff2022-07-011-3/+9
* Track a histogram of state res durations (#13036)David Robertson2022-06-151-0/+12
* Reduce state pulled from DB due to sending typing and receipts over federatio...Erik Johnston2022-06-061-4/+0
* Reduce the amount of state we pull from the DB (#12811)Erik Johnston2022-06-061-70/+3
* Rename storage classes (#12913)Erik Johnston2022-05-311-20/+31
* Pull out less state when handling gaps mk2 (#12852)Erik Johnston2022-05-261-12/+10
* Fix up `state_store` naming (#12871)Erik Johnston2022-05-251-7/+7
* Refactor `resolve_state_groups_for_events` to not pull out full state when no...Shay2022-05-181-16/+19
* Add some type hints to datastore (#12717)Dirk Klimpel2022-05-171-2/+2
* Refactor `EventContext` (#12689)Erik Johnston2022-05-101-4/+5
* remove constantly lib use and switch to enums. (#12624)andrew do2022-05-041-1/+1
* Refactor and convert `Linearizer` to async (#12357)Sean Quah2022-04-051-1/+1
* Fix type of `events` in `StateGroupStorage` and `StateHandler` (#12156)Richard van der Hoff2022-03-041-3/+3
* Faster joins: persist to database (#12012)Richard van der Hoff2022-03-011-2/+29
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
* Remove `log_function` and its uses (#11761)Richard van der Hoff2022-01-181-2/+0
* Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke2022-01-131-4/+4
* Convert all namedtuples to attrs. (#11665)Patrick Cloke2021-12-301-4/+1
* Add type hints to `synapse/storage/databases/main/events_worker.py` (#11411)Sean Quah2021-11-261-1/+1
* Add remaining type hints to `synapse.events`. (#11098)Patrick Cloke2021-11-021-1/+1
* Annotate `log_function` decorator (#10943)reivilibre2021-10-271-2/+3
* `disallow-untyped-defs` for `synapse.state` (#11004)David Robertson2021-10-061-1/+1
* Factor out a separate `EventContext.for_outlier` (#10883)Richard van der Hoff2021-09-221-30/+4
* Add type hints to state handler. (#10482)Patrick Cloke2021-07-261-11/+15
* Update the MSC3083 support to verify if joins are from an authorized server. ...Patrick Cloke2021-07-261-4/+8
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-151-9/+11
* Use get_current_users_in_room from store and not StateHandler (#9910)Erik Johnston2021-05-051-3/+7
* Remove `synapse.types.Collection` (#9856)Richard van der Hoff2021-04-221-1/+2
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Add type hints to expiring cache. (#9730)Patrick Cloke2021-04-061-2/+3
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-4/+10
* Fix some typos.Patrick Cloke2021-02-121-1/+1
* Precompute joined hosts and store in Redis (#9198)Erik Johnston2021-01-261-3/+8
* Pass room_id to get_auth_chain_difference (#8879)Erik Johnston2020-12-041-2/+2
* Fix typos and spelling errors. (#8639)Patrick Cloke2020-10-231-1/+1
* Enable mypy checking for unreachable code and fix instances. (#8432)Patrick Cloke2020-10-011-1/+1
* Report state res metrics to Prometheus and logRichard van der Hoff2020-09-291-20/+124
* Move Measure calls into `resolve_events_with_store`Richard van der Hoff2020-09-291-32/+31
* Move `resolve_events_with_store` into StateResolutionHandlerRichard van der Hoff2020-09-291-45/+47
* Improve logging of state resolution (#8371)Richard van der Hoff2020-09-231-48/+16
* Use slots in attrs classes where possible (#8296)Patrick Cloke2020-09-141-1/+1
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-4/+4
* Define StateMap as immutable and add a MutableStateMap type. (#8183)Patrick Cloke2020-08-281-12/+20
* Add type hints for state. (#8140)Patrick Cloke2020-08-241-70/+122
* Convert events worker database to async/await. (#8071)Patrick Cloke2020-08-181-1/+1
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-1/+1
* Convert state resolution to async/await (#7942)Patrick Cloke2020-07-241-53/+42
* Yield during large v2 state res. (#7735)Erik Johnston2020-06-241-1/+5
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-12/+10
* Allow configuration of Synapse's cache without using synctl or environment va...Amber Brown2020-05-111-3/+1
* Improve get auth chain difference algorithm. (#7095)Erik Johnston2020-03-181-20/+8
* Reduce auth chains fetched during v2 state res. (#6952)Erik Johnston2020-02-191-5/+10
* s/get_room_version/get_room_version_id/Richard van der Hoff2020-01-311-1/+1
* Add StateMap type alias (#6715)Erik Johnston2020-01-161-2/+3
* sanity-checking for events used in state res (#6531)Richard van der Hoff2019-12-131-11/+21
* Prevent redacted events from appearing in message search (#6377)Andrew Morgan2019-12-111-1/+2
* Fix bug which caused rejected events to be stored with the wrong room state ...Richard van der Hoff2019-11-061-89/+83
* Improve documentation for EventContext fields (#6319)Richard van der Hoff2019-11-051-0/+3
* Port to use state storageErik Johnston2019-10-301-5/+8
* add some metrics on the federation sender (#6160)Richard van der Hoff2019-10-031-6/+18
* Remove double return statements (#5962)Andrew Morgan2019-09-031-1/+0
* Replace returnValue with return (#5736)Amber Brown2019-07-231-20/+18
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/histogram_...Erik Johnston2019-06-201-66/+41
|\
| * Run Black. (#5482)Amber Brown2019-06-201-66/+41
* | Add descriptions and remove redundant set(..)Erik Johnston2019-06-191-1/+2
* | Only count non-cache state resolutionErik Johnston2019-06-181-3/+3
* | Use consistent bucketsErik Johnston2019-06-181-1/+1
* | Add metric fo number of state groups in resolutionErik Johnston2019-06-171-0/+10
|/
* Fix grammar and document get_current_users_in_room (#4998)Andrew Morgan2019-04-031-2/+13
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-11/+5
* Enable room version v3Erik Johnston2019-01-291-1/+1
* Drop vdh supportErik Johnston2019-01-291-1/+1
* Pass through room version to event authErik Johnston2019-01-251-1/+1
* Add v2 room versionErik Johnston2018-12-181-1/+3
* Add helpers for getting prev and auth events (#4139)Erik Johnston2018-11-061-1/+1
* Add STATE_V2_TEST room versionErik Johnston2018-11-011-1/+1
* Rename resolve_events_with_factoryErik Johnston2018-10-241-7/+7
* Add v2 state res algorithm.Erik Johnston2018-10-161-18/+69
* Fix some instances of ExpiringCache not expiring cache itemsErik Johnston2018-09-211-9/+0
* Remove unnecessary resolve_events_with_state_mapErik Johnston2018-08-221-28/+6
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/refactor_s...Erik Johnston2018-08-201-3/+3
* Remove redundant room_version checksErik Johnston2018-08-201-14/+3
* Add fast path in state res for zero prev eventsErik Johnston2018-08-091-1/+6
* Choose state algorithm based on room versionErik Johnston2018-08-091-11/+93
* Refactor state moduleErik Johnston2018-08-091-0/+574