Commit Graph

66 Commits (c4e3029d55c228375725ccacd326e1ee5cc8dd73)

Author SHA1 Message Date
Erik Johnston c4e3029d55 Add cache layer to state group resolution 10 years ago
Erik Johnston 650e32d455 Change context.auth_events to what the auth_events would be bases on context.current_state, rather than based on the auth_events from the event. 10 years ago
Erik Johnston f275ba49bb Fix state resolution to remember join_rules is a type of auth event. 10 years ago
Erik Johnston 7a1e881665 Remove debug logging 10 years ago
Erik Johnston 3d7026e709 Add a slightly more helpful comment 10 years ago
Erik Johnston 7a9f6f083e Remove commented line 10 years ago
Erik Johnston 76d7fd39cd Style changes. 10 years ago
Erik Johnston a70a801184 Fix bug where we superfluously asked for current state. Change API of /query_auth/ so that we don't duplicate events in the response. 10 years ago
Erik Johnston 73dd81ca62 fix pyflakes 10 years ago
Erik Johnston b390bf39f2 Remove unused function. Add comment. 10 years ago
Erik Johnston 6dcade97be Implement new state resolution algorithm 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Erik Johnston 52f99243ab Use is_outlier() so that we don't get AttributeError 10 years ago
Erik Johnston 23da4a4051 Fix typo where we thought a list was a dict 10 years ago
Mark Haines c3eae8a88c Construct the EventContext in the state handler rather than constructing one and then immediately calling state_handler.annotate_context_with_state 10 years ago
Mark Haines 8b8beba194 Remove annotate_event_with_state as nothing was using it. Update state tests to call annotate_context_with_state 10 years ago
Erik Johnston 8133cdcc88 Better english in docstrings are helpful. 10 years ago
Erik Johnston 4afac88390 Add basic docstring to annotate_context_with_state 10 years ago
Erik Johnston 3c77d13aa5 Kill off synapse.api.events.* 10 years ago
Erik Johnston 0b04369238 Fix public room joining by making sure replaces_state never points to itself. 10 years ago
Erik Johnston 8cdebce470 Fix redactions. Fix 'age' key 10 years ago
Erik Johnston 95aa903ffa Try and figure out how and why signatures are being changed. 10 years ago
Erik Johnston 5eca288d28 Fix joining from an invite 10 years ago
Erik Johnston 609c31e8df More bug fixes 10 years ago
Erik Johnston ee3df06183 More bug fixes 10 years ago
Erik Johnston d044121168 Various typos and bug fixes. 10 years ago
Erik Johnston 6630e1b579 Start making more things use EventContext rather than event.* 10 years ago
Erik Johnston 5d7c9ab789 Begin converting things to use the new Event structure 10 years ago
Erik Johnston 3598c11c8d Correctly handle the case where we get an event for an unknown room, which turns out we are actually in 10 years ago
Erik Johnston 997ed151db synapse.state docs. 10 years ago
Erik Johnston 3db2c0d43e Rename annotate_state_groups to annotate_event_with_state 10 years ago
Erik Johnston 092979b8cc Fix bugs which broke federation due to changes in function signatures. 10 years ago
Erik Johnston 5ff0bfb81d Fix bug where we /always/ created a new state group 10 years ago
Erik Johnston 46de65cab9 Don't query the DB for user power levels 10 years ago
Erik Johnston 4317c8e583 Implement new replace_state and changed prev_state 10 years ago
Erik Johnston 96c001e668 Fix auth checks to all use the given old_event_state 10 years ago
Erik Johnston aa76bf39ab Remove unused imports 10 years ago
Erik Johnston 9024a19658 Remove dead code. 10 years ago
Erik Johnston 2f39dc19a2 Remove more references to dead PDU tables 10 years ago
Erik Johnston 946d02536b Remove unused functions. 10 years ago
Erik Johnston d84f5b30b8 old_state_events should be a dict not list 10 years ago
Erik Johnston 12ce441e67 Convert event ids to be of the form :example.com 10 years ago
Erik Johnston da511334d2 Make federation return the old current state, so that we can use it to do auth 10 years ago
Erik Johnston e7858b6d7e Start filling out and using new events tables 10 years ago
Erik Johnston c372929ab6 Remove duplicate import 10 years ago
Erik Johnston b3b1961496 Fix bug where people could join private rooms 10 years ago
Erik Johnston 5ffe5ab43f Use state groups to get current state. Make join dance actually work. 10 years ago
Erik Johnston f71627567b Finish implementing the new join dance. 10 years ago
Mark Haines bb04447c44 Include hashes of previous pdus when referencing them 10 years ago
Erik Johnston e7bc1291a0 Begin making auth use event.old_state_events 10 years ago