Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s/get_room_version/get_room_version_id/ | Richard van der Hoff | 2020-01-31 | 1 | -1/+1 |
| | | | | | ... to make way for a forthcoming get_room_version which returns a RoomVersion object. | ||||
* | Pass room version object into event_auth.check and check_redaction (#6788) | Richard van der Hoff | 2020-01-28 | 2 | -3/+5 |
| | | | | | | | These are easier to work with than the strings and we normally have one around. This fixes `FederationHander._persist_auth_tree` which was passing a RoomVersion object into event_auth.check instead of a string. | ||||
* | 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 |
| | | | | | | | | | | When we have an event which refers to non-existent auth_events, ignore said events rather than exploding in a ball of fire. Fixes #6605. | ||||
| * | sanity-checking for events used in state res (#6531) | Richard van der Hoff | 2019-12-16 | 3 | -43/+123 |
| | | | | | | | | | | When we perform state resolution, check that all of the events involved are in the right room. | ||||
* | | sanity-checking for events used in state res (#6531) | Richard van der Hoff | 2019-12-13 | 3 | -43/+123 |
| | | | | | | | | | | | | | | When we perform state resolution, check that all of the events involved are in the right room. | ||||
* | | 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 |
| | | | | | | | | | | | | (#6320) Fixes a bug where rejected events were persisted with the wrong state group. Also fixes an occasional internal-server-error when receiving events over federation which are rejected and (possibly because they are backwards-extremities) have no prev_group. Fixes #6289. | ||||
* | 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 |
| | | | | | | | | | | Remove all the "double return" statements which were a result of us removing all the instances of ``` defer.returnValue(...) return ``` statements when we switched to python3 fully. | ||||
* | 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 ↵ | Erik Johnston | 2019-06-20 | 3 | -151/+104 |
|\ | | | | | | | erikj/histogram_extremities | ||||
| * | 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 |
| | | | | 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. | ||||
* | 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 | ||||
| * | 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 |
|/ | | | | | | It turns out that we accept events with non-ascii IDs, which would later cause an explosion during state res. Fixes #4226 | ||||
* | Add helpers for getting prev and auth events (#4139) | Erik Johnston | 2018-11-06 | 2 | -9/+9 |
| | | | | | | | * Add helpers for getting prev and auth events This is in preparation for allowing the event format to change between room versions. | ||||
* | 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 |
| | | | | We hook this up to the vdh test room version. | ||||
* | Logging improvements | Richard van der Hoff | 2018-09-26 | 1 | -2/+12 |
| | | | | Some logging tweaks to help with debugging incoming federation transactions | ||||
* | Fix some instances of ExpiringCache not expiring cache items | Erik Johnston | 2018-09-21 | 1 | -9/+0 |
| | | | | | | | | ExpiringCache required that `start()` be called before it would actually start expiring entries. A number of places didn't do that. This PR removes `start` from ExpiringCache, and automatically starts backround reaping process on creation instead. | ||||
* | Remove unnecessary resolve_events_with_state_map | Erik Johnston | 2018-08-22 | 2 | -56/+6 |
| | | | | | We only ever used the synchronous resolve_events_with_state_map in one place, which is trivial to replace with the async version. | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2018-08-20 | 1 | -3/+3 |
| | | | | erikj/refactor_state_handler | ||||
* | 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 |
We split out the actual state resolution algorithm to prepare for having multiple versions. |