Commit Graph

823 Commits (7a3a55ac98847d7adb0e200378abe07ef8d0c645)

Author SHA1 Message Date
Erik Johnston 77a076bd25 Set combinations is | and not + 10 years ago
Erik Johnston fed29251d7 Spelling 10 years ago
Erik Johnston 06c34bfbae Give exception better message 10 years ago
Erik Johnston 4ff2273b30 Add FIXME note. 10 years ago
Erik Johnston 51969f9e5f Return rejected events if asked for it over federation. 10 years ago
Erik Johnston e7ca813dd4 Try to ensure we don't persist an event we have already persisted. In persist_event check if we already have the event, if so then update instead of replacing so that we don't cause a bump of the stream_ordering. 10 years ago
Erik Johnston 4c0da49d7c Resign events when we return them via /query_auth/ 10 years ago
Erik Johnston 2cd29dbdd9 Fix bug where accepting invite over federation didn't work. Add logging. 10 years ago
Erik Johnston b724a809c4 Only auth_events with event if event in event.auth_events 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 0c2d245fdf Update the current state of an event if we update auth events. 10 years ago
Erik Johnston c1d860870b Fix regression where we no longer correctly handled the case of gaps in our event graph 10 years ago
Erik Johnston 78015948a7 Initial implementation of auth conflict resolution 10 years ago
Erik Johnston 0ef5bfd6a9 Start implementing auth conflict res 10 years ago
Mark Haines 5759bec43c Replace hs.parse_userid with UserID.from_string 10 years ago
Mark Haines 5fed042640 Finish renaming "context" to "room_id" in federation codebase 10 years ago
Kegan Dougal 333836ff92 PEP8 and pyflakes warnings 10 years ago
Kegan Dougal 9cb4f75d53 SYN-154: Better error messages when joining an unknown room by ID. 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Mark Haines 041ac476a5 Supply auth_chain along with current state in '/state/', fetch auth events from a remote server if we are missing some of them 10 years ago
Mark Haines dea5d4b03b Don't yield on sending the event accross federation. 10 years ago
Erik Johnston f3788e3c78 Test some ideas that might help performance a bit 10 years ago
Erik Johnston 21cab3a7ec Fix where we pulled in event.state_events from hotfixes branch 10 years ago
Erik Johnston 3defd5b3ee Add FIXME 10 years ago
Erik Johnston 96779d2490 Fix bug where we did not send the full auth chain to people that joined over federation 10 years ago
Erik Johnston 2d7716d4d0 Make error messages slightly more helpful 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 3c7857e49b clean up coding style a bit 10 years ago
Erik Johnston 3c77d13aa5 Kill off synapse.api.events.* 10 years ago
Erik Johnston 6a1da99fab Add fixme to raising of AuthError in federation land 10 years ago
Erik Johnston d3eb12c7b8 Fix federation test 10 years ago
Erik Johnston 0b04369238 Fix public room joining by making sure replaces_state never points to itself. 10 years ago
Erik Johnston 1d2a0040cf Fix bug where we clobbered old state group values 10 years ago
Erik Johnston 02db1fd2e7 Fix AttributeError 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
Matthew Hodgson 8529fba02d fix a million stupid bugs and make it actually work 10 years ago
Erik Johnston 609c31e8df More bug fixes 10 years ago
Erik Johnston d044121168 Various typos and bug fixes. 10 years ago
Matthew Hodgson 9c43b258ec actually reset retry schedule if we can successfuly talk to it 10 years ago
Erik Johnston 6630e1b579 Start making more things use EventContext rather than event.* 10 years ago
Erik Johnston c31dba86ec Convert rest and handlers to use new event structure 10 years ago
Erik Johnston 5d7c9ab789 Begin converting things to use the new Event structure 10 years ago
Erik Johnston 027542e2e5 Fix bugs when joining a remote room that has dodgy event graphs. This should also fix the number of times a HS will trigger a GET /event/ 10 years ago
Erik Johnston 0294fba042 on_receive_pdu takes more args 10 years ago
Erik Johnston 07699b5871 Change the way we get missing auth and state events 10 years ago
Erik Johnston b8849c8cbf Re-sign events when we return them via federation as a temporary hack to work around the problem where we reconstruct events differently than when they were signed 10 years ago
Erik Johnston 858e87ab0d Add a workaround for bug where some initial join events don't reference creation events in their auth_events 10 years ago
Erik Johnston 6c485c282d Catch exceptions when trying to add an entry to rooms tables 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