| Commit message (Expand) | Author | Age | Files | Lines |
* | Faster joins: do not wait for full state when creating events to send (#14403) | Mathieu Velten | 2022-11-17 | 1 | -1/+7 |
* | Prepatory work for batching events to send (#13487) | Shay | 2022-09-28 | 1 | -0/+63 |
* | Avoid putting rejected events in room state (#13723) | Sean Quah | 2022-09-16 | 1 | -0/+15 |
* | Remove cached wrap on `_get_joined_users_from_context` method (#13569) | Nick Mills-Barrett | 2022-08-31 | 1 | -1/+1 |
* | Rename `event_map` to `unpersisted_events` (#13603) | David Robertson | 2022-08-24 | 1 | -32/+37 |
* | Cache user IDs instead of profile objects (#13573) | Nick Mills-Barrett | 2022-08-23 | 1 | -7/+6 |
* | Correct a misnamed argument in state res v2 (#13467) | David Robertson | 2022-08-08 | 1 | -6/+6 |
* | Refactor `_resolve_state_at_missing_prevs` to return an `EventContext` (#13404) | Sean Quah | 2022-08-01 | 1 | -0/+8 |
* | Faster room joins: avoid blocking when pulling events with missing prevs (#13... | Sean Quah | 2022-07-26 | 1 | -6/+12 |
* | Don't hold onto full state in state cache (#13324) | Erik Johnston | 2022-07-21 | 1 | -15/+53 |
* | Don't pull out the full state when creating an event (#13281) | Erik Johnston | 2022-07-18 | 1 | -1/+2 |
* | Don't pull out the full state when storing state (#13274) | Erik Johnston | 2022-07-15 | 1 | -15/+21 |
* | Use state before join to determine if we `_should_perform_remote_join` (#13270) | David Robertson | 2022-07-15 | 1 | -8/+13 |
* | Fix a bug which could lead to incorrect state (#13278) | Erik Johnston | 2022-07-15 | 1 | -5/+14 |
* | Rip out auth-event reconciliation code (#12943) | Richard van der Hoff | 2022-07-14 | 1 | -26/+0 |
* | Don't pull out state in `compute_event_context` for unconflicted state (#13267) | Erik Johnston | 2022-07-14 | 1 | -50/+67 |
* | Faster room joins: fix race in recalculation of current room state (#13151) | Sean Quah | 2022-07-07 | 1 | -0/+25 |
* | Skip waiting for full state for incoming events (#13144) | Richard van der Hoff | 2022-07-01 | 1 | -3/+9 |
* | Move some event auth checks out to a different method (#13065) | Richard van der Hoff | 2022-06-15 | 2 | -3/+3 |
* | Track a histogram of state res durations (#13036) | David Robertson | 2022-06-15 | 1 | -0/+12 |
* | Merge branch 'rav/simplify_event_auth_interface' into develop | Richard van der Hoff | 2022-06-13 | 2 | -4/+1 |
|\ |
|
| * | Remove `room_version` param from `check_auth_rules_for_event` | Richard van der Hoff | 2022-06-12 | 2 | -4/+1 |
* | | Type annotations for `test_v2` (#12985) | David Robertson | 2022-06-09 | 1 | -15/+42 |
|/ |
|
* | Reduce state pulled from DB due to sending typing and receipts over federatio... | Erik Johnston | 2022-06-06 | 1 | -4/+0 |
* | Reduce the amount of state we pull from the DB (#12811) | Erik Johnston | 2022-06-06 | 1 | -70/+3 |
* | Rename storage classes (#12913) | Erik Johnston | 2022-05-31 | 1 | -20/+31 |
* | Pull out less state when handling gaps mk2 (#12852) | Erik Johnston | 2022-05-26 | 1 | -12/+10 |
* | Fix up `state_store` naming (#12871) | Erik Johnston | 2022-05-25 | 1 | -7/+7 |
* | Refactor `resolve_state_groups_for_events` to not pull out full state when no... | Shay | 2022-05-18 | 1 | -16/+19 |
* | Add some type hints to datastore (#12717) | Dirk Klimpel | 2022-05-17 | 1 | -2/+2 |
* | Refactor `EventContext` (#12689) | Erik Johnston | 2022-05-10 | 1 | -4/+5 |
* | remove constantly lib use and switch to enums. (#12624) | andrew do | 2022-05-04 | 1 | -1/+1 |
* | Refactor and convert `Linearizer` to async (#12357) | Sean Quah | 2022-04-05 | 1 | -1/+1 |
* | Fix type of `events` in `StateGroupStorage` and `StateHandler` (#12156) | Richard van der Hoff | 2022-03-04 | 1 | -3/+3 |
* | Faster joins: persist to database (#12012) | Richard van der Hoff | 2022-03-01 | 1 | -2/+29 |
* | Remove `HomeServer.get_datastore()` (#12031) | Richard van der Hoff | 2022-02-23 | 1 | -1/+1 |
* | Remove `log_function` and its uses (#11761) | Richard van der Hoff | 2022-01-18 | 1 | -2/+0 |
* | Use auto_attribs/native type hints for attrs classes. (#11692) | Patrick Cloke | 2022-01-13 | 1 | -4/+4 |
* | Convert all namedtuples to attrs. (#11665) | Patrick Cloke | 2021-12-30 | 1 | -4/+1 |
* | Add type hints to `synapse/storage/databases/main/events_worker.py` (#11411) | Sean Quah | 2021-11-26 | 2 | -2/+3 |
* | Add remaining type hints to `synapse.events`. (#11098) | Patrick Cloke | 2021-11-02 | 1 | -1/+1 |
* | Annotate `log_function` decorator (#10943) | reivilibre | 2021-10-27 | 1 | -2/+3 |
* | Check *all* auth events for room id and rejection (#11009) | Richard van der Hoff | 2021-10-18 | 2 | -3/+3 |
* | `disallow-untyped-defs` for `synapse.state` (#11004) | David Robertson | 2021-10-06 | 3 | -4/+4 |
* | Split `event_auth.check` into two parts (#10940) | Richard van der Hoff | 2021-09-29 | 2 | -9/+3 |
* | Factor out a separate `EventContext.for_outlier` (#10883) | Richard van der Hoff | 2021-09-22 | 1 | -30/+4 |
* | Add type hints to state handler. (#10482) | Patrick Cloke | 2021-07-26 | 1 | -11/+15 |
* | Update the MSC3083 support to verify if joins are from an authorized server. ... | Patrick Cloke | 2021-07-26 | 3 | -21/+42 |
* | Use inline type hints in various other places (in `synapse/`) (#10380) | Jonathan de Jong | 2021-07-15 | 3 | -19/+21 |
* | Use get_current_users_in_room from store and not StateHandler (#9910) | Erik Johnston | 2021-05-05 | 1 | -3/+7 |
* | Remove `synapse.types.Collection` (#9856) | Richard van der Hoff | 2021-04-22 | 2 | -2/+4 |
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 3 | -3/+0 |
* | Add type hints to expiring cache. (#9730) | Patrick Cloke | 2021-04-06 | 1 | -2/+3 |
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 3 | -8/+26 |
* | Fix some typos. | Patrick Cloke | 2021-02-12 | 1 | -1/+1 |
* | Precompute joined hosts and store in Redis (#9198) | Erik Johnston | 2021-01-26 | 1 | -3/+8 |
* | Fix mainline ordering in state res v2 (#8971) | Erik Johnston | 2020-12-18 | 1 | -1/+1 |
* | Pass room_id to get_auth_chain_difference (#8879) | Erik Johnston | 2020-12-04 | 2 | -4/+9 |
* | Correctly handle unpersisted events when calculating auth chain difference. (... | Erik Johnston | 2020-12-02 | 1 | -4/+83 |
* | Fix typos and spelling errors. (#8639) | Patrick Cloke | 2020-10-23 | 3 | -3/+3 |
* | Enable mypy checking for unreachable code and fix instances. (#8432) | Patrick Cloke | 2020-10-01 | 1 | -1/+1 |
* | Report state res metrics to Prometheus and log | Richard van der Hoff | 2020-09-29 | 1 | -20/+124 |
* | Move Measure calls into `resolve_events_with_store` | Richard van der Hoff | 2020-09-29 | 1 | -32/+31 |
* | Move `resolve_events_with_store` into StateResolutionHandler | Richard van der Hoff | 2020-09-29 | 1 | -45/+47 |
* | Improve logging of state resolution (#8371) | Richard van der Hoff | 2020-09-23 | 1 | -48/+16 |
* | Use slots in attrs classes where possible (#8296) | Patrick Cloke | 2020-09-14 | 1 | -1/+1 |
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -4/+4 |
* | Define StateMap as immutable and add a MutableStateMap type. (#8183) | Patrick Cloke | 2020-08-28 | 3 | -20/+28 |
* | Add type hints for state. (#8140) | Patrick Cloke | 2020-08-24 | 3 | -186/+348 |
* | Convert events worker database to async/await. (#8071) | Patrick Cloke | 2020-08-18 | 1 | -1/+1 |
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -1/+1 |
* | Convert state resolution to async/await (#7942) | Patrick Cloke | 2020-07-24 | 3 | -120/+97 |
* | Add another yield point to state res v2 (#7746) | Erik Johnston | 2020-06-26 | 1 | -2/+10 |
* | Yield during large v2 state res. (#7735) | Erik Johnston | 2020-06-24 | 2 | -11/+51 |
* | Speed up state res v2 across large state differences. (#7725) | Erik Johnston | 2020-06-19 | 1 | -1/+2 |
* | Replace iteritems/itervalues/iterkeys with native versions. (#7692) | Patrick Cloke | 2020-06-15 | 3 | -30/+24 |
* | Allow configuration of Synapse's cache without using synctl or environment va... | Amber Brown | 2020-05-11 | 1 | -3/+1 |
* | Improve get auth chain difference algorithm. (#7095) | Erik Johnston | 2020-03-18 | 2 | -48/+12 |
* | Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) | Patrick Cloke | 2020-02-21 | 2 | -9/+9 |
* | Reduce auth chains fetched during v2 state res. (#6952) | Erik Johnston | 2020-02-19 | 2 | -6/+11 |
* | s/get_room_version/get_room_version_id/ | Richard van der Hoff | 2020-01-31 | 1 | -1/+1 |
* | Pass room version object into event_auth.check and check_redaction (#6788) | Richard van der Hoff | 2020-01-28 | 2 | -3/+5 |
* | Add StateMap type alias (#6715) | Erik Johnston | 2020-01-16 | 3 | -8/+11 |
* | Merge branch 'master' into develop | Richard van der Hoff | 2019-12-31 | 1 | -15/+37 |
|\ |
|
| * | Hacks to work around #6605 (#6608) | Richard van der Hoff | 2019-12-31 | 1 | -15/+37 |
| * | sanity-checking for events used in state res (#6531) | Richard van der Hoff | 2019-12-16 | 3 | -43/+123 |
* | | sanity-checking for events used in state res (#6531) | Richard van der Hoff | 2019-12-13 | 3 | -43/+123 |
* | | Prevent redacted events from appearing in message search (#6377) | Andrew Morgan | 2019-12-11 | 1 | -1/+2 |
|/ |
|
* | Fix bug which caused rejected events to be stored with the wrong room state ... | Richard van der Hoff | 2019-11-06 | 1 | -89/+83 |
* | Improve documentation for EventContext fields (#6319) | Richard van der Hoff | 2019-11-05 | 1 | -0/+3 |
* | Port to use state storage | Erik Johnston | 2019-10-30 | 1 | -5/+8 |
* | add some metrics on the federation sender (#6160) | Richard van der Hoff | 2019-10-03 | 1 | -6/+18 |
* | Remove double return statements (#5962) | Andrew Morgan | 2019-09-03 | 1 | -1/+0 |
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 3 | -38/+34 |
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -1/+1 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/histogram_... | Erik Johnston | 2019-06-20 | 3 | -151/+104 |
|\ |
|
| * | Run Black. (#5482) | Amber Brown | 2019-06-20 | 3 | -151/+104 |
* | | Add descriptions and remove redundant set(..) | Erik Johnston | 2019-06-19 | 1 | -1/+2 |
* | | Only count non-cache state resolution | Erik Johnston | 2019-06-18 | 1 | -3/+3 |
* | | Use consistent buckets | Erik Johnston | 2019-06-18 | 1 | -1/+1 |
* | | Add metric fo number of state groups in resolution | Erik Johnston | 2019-06-17 | 1 | -0/+10 |
|/ |
|
* | Fix grammar and document get_current_users_in_room (#4998) | Andrew Morgan | 2019-04-03 | 1 | -2/+13 |
* | Collect room-version variations into one place (#4969) | Richard van der Hoff | 2019-04-01 | 2 | -14/+13 |
* | Enable room version v3 | Erik Johnston | 2019-01-29 | 1 | -1/+1 |
* | Drop vdh support | Erik Johnston | 2019-01-29 | 1 | -1/+1 |
* | Pass through room version to event auth | Erik Johnston | 2019-01-25 | 3 | -9/+21 |
* | Merge pull request #4307 from matrix-org/erikj/v2_rooms | Richard van der Hoff | 2018-12-24 | 1 | -1/+3 |
|\ |
|
| * | Add v2 room version | Erik Johnston | 2018-12-18 | 1 | -1/+3 |
* | | Workaround for non-ascii event ids (#4241) | Richard van der Hoff | 2018-12-03 | 1 | -1/+3 |
|/ |
|
* | Add helpers for getting prev and auth events (#4139) | Erik Johnston | 2018-11-06 | 2 | -9/+9 |
* | Fix None exception in state res v2 | Erik Johnston | 2018-11-02 | 1 | -0/+4 |
* | Add STATE_V2_TEST room version | Erik Johnston | 2018-11-01 | 1 | -1/+1 |
* | Rename resolve_events_with_factory | Erik Johnston | 2018-10-24 | 3 | -9/+9 |
* | Add v2 state res algorithm. | Erik Johnston | 2018-10-16 | 2 | -18/+613 |
* | Logging improvements | Richard van der Hoff | 2018-09-26 | 1 | -2/+12 |
* | Fix some instances of ExpiringCache not expiring cache items | Erik Johnston | 2018-09-21 | 1 | -9/+0 |
* | Remove unnecessary resolve_events_with_state_map | Erik Johnston | 2018-08-22 | 2 | -56/+6 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/refactor_s... | Erik Johnston | 2018-08-20 | 1 | -3/+3 |
* | Remove redundant room_version checks | Erik Johnston | 2018-08-20 | 1 | -14/+3 |
* | Add fast path in state res for zero prev events | Erik Johnston | 2018-08-09 | 1 | -1/+6 |
* | Choose state algorithm based on room version | Erik Johnston | 2018-08-09 | 1 | -11/+93 |
* | Refactor state module | Erik Johnston | 2018-08-09 | 2 | -0/+895 |