summary refs log tree commit diff
path: root/synapse/handlers/federation.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Construct the EventContext in the state handler rather than constructing one ↵Mark Haines2014-12-161-10/+4
| | | | and then immediately calling state_handler.annotate_context_with_state
* clean up coding style a bitMark Haines2014-12-161-7/+4
|
* Kill off synapse.api.events.*Erik Johnston2014-12-161-11/+11
|
* Add fixme to raising of AuthError in federation landErik Johnston2014-12-161-0/+1
|
* Fix federation testErik Johnston2014-12-111-1/+1
|
* Fix public room joining by making sure replaces_state never points to itself.Erik Johnston2014-12-111-7/+7
|
* Fix bug where we clobbered old state group valuesErik Johnston2014-12-101-0/+9
|
* Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-101-0/+7
|\
| * fix a million stupid bugs and make it actually workMatthew Hodgson2014-12-081-1/+2
| |
| * actually reset retry schedule if we can successfuly talk to itMatthew Hodgson2014-12-081-0/+6
| |
* | Fix AttributeErrorErik Johnston2014-12-101-1/+1
| |
* | Try and figure out how and why signatures are being changed.Erik Johnston2014-12-101-3/+51
| |
* | Fix joining from an inviteErik Johnston2014-12-091-2/+0
| |
* | More bug fixesErik Johnston2014-12-081-16/+23
| |
* | Various typos and bug fixes.Erik Johnston2014-12-081-59/+38
| |
* | Start making more things use EventContext rather than event.*Erik Johnston2014-12-051-8/+11
| |
* | Convert rest and handlers to use new event structureErik Johnston2014-12-041-9/+10
| |
* | Begin converting things to use the new Event structureErik Johnston2014-12-041-7/+2
|/
* Fix bugs when joining a remote room that has dodgy event graphs. This should ↵Erik Johnston2014-11-271-28/+55
| | | | also fix the number of times a HS will trigger a GET /event/
* on_receive_pdu takes more argsErik Johnston2014-11-271-3/+3
|
* Change the way we get missing auth and state eventsErik Johnston2014-11-271-16/+61
|
* Re-sign events when we return them via federation as a temporary hack to ↵Erik Johnston2014-11-271-0/+11
| | | | work around the problem where we reconstruct events differently than when they were signed
* Add a workaround for bug where some initial join events don't reference ↵Erik Johnston2014-11-261-1/+7
| | | | creation events in their auth_events
* Catch exceptions when trying to add an entry to rooms tablesErik Johnston2014-11-261-6/+11
|
* Correctly handle the case where we get an event for an unknown room, which ↵Erik Johnston2014-11-261-28/+44
| | | | turns out we are actually in
* Fix bugs in invite/join dances.Erik Johnston2014-11-251-52/+92
| | | | | We now do more implement more of the auth on the events so that we don't reject valid events.
* We don't always want to Auth get_persisted_pduErik Johnston2014-11-241-7/+8
|
* Fix pep8 codestyle warningsMark Haines2014-11-201-2/+4
|
* Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵Mark Haines2014-11-201-2/+2
| | | | because they don't interact well with the logging contexts
* These lines aren't doing anythingMark Haines2014-11-171-5/+0
|
* Merge PDUs and Events into one objectMark Haines2014-11-141-43/+22
|
* Fix PDU and event signaturesMark Haines2014-11-141-2/+3
|
* Validate signatures on incoming eventsMark Haines2014-11-141-2/+35
|
* Add a few more comments to the federation handlerErik Johnston2014-11-121-0/+32
|
* Fix bugs with invites/joins across federatiom.Erik Johnston2014-11-121-9/+3
| | | | | Both in terms of auth and not trying to fetch missing PDUs for invites, joins etc.
* Rename annotate_state_groups to annotate_event_with_stateErik Johnston2014-11-111-7/+7
|
* Fix bug where we /always/ created a new state groupErik Johnston2014-11-111-1/+2
|
* PEP8Erik Johnston2014-11-101-1/+4
|
* Add auth to the various server-server APIsErik Johnston2014-11-101-2/+13
|
* Fix backfill to work. Add auth to backfill requestErik Johnston2014-11-101-5/+5
|
* Notify users about invites.Erik Johnston2014-11-101-1/+4
|
* Use current state to get room hosts, rather than querying the databaseErik Johnston2014-11-071-4/+17
|
* Add '/event_auth/' federation apiErik Johnston2014-11-071-0/+5
|
* Implement invite part of invite join danceErik Johnston2014-11-071-0/+37
|
* Return auth chain when handling send_joinErik Johnston2014-11-071-3/+12
|
* Fix joining over federationErik Johnston2014-11-071-0/+1
|
* Update to use replaces_state rather than prev_stateErik Johnston2014-11-061-2/+4
|
* Implement new replace_state and changed prev_stateErik Johnston2014-11-061-3/+1
| | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced.
* Fix auth checks to all use the given old_event_stateErik Johnston2014-11-051-3/+3
|
* Don't bother lockingErik Johnston2014-11-041-6/+5
|
* On AuthError, raise a FederationErrorErik Johnston2014-11-041-1/+9
|
* Remove unused importsErik Johnston2014-11-041-4/+2
|
* Rename PDU fields to match that of events.Erik Johnston2014-11-031-7/+5
|
* Actually don't store any PDUsErik Johnston2014-10-311-0/+22
|
* Move the impl of backfill to use events.Erik Johnston2014-10-311-1/+26
|
* Convert event ids to be of the form :example.comErik Johnston2014-10-301-2/+5
|
* Make federation return the old current state, so that we can use it to do authErik Johnston2014-10-301-5/+23
|
* Start filling out and using new events tablesErik Johnston2014-10-291-39/+51
|
* It doesn't want a dictErik Johnston2014-10-171-2/+0
|
* Fix bug where people could join private roomsErik Johnston2014-10-171-2/+8
|
* Use state groups to get current state. Make join dance actually work.Erik Johnston2014-10-171-21/+53
|
* Finish implementing the new join dance.Erik Johnston2014-10-171-97/+84
|
* Start implementing the invite/join dance. Continue moving auth to use ↵Erik Johnston2014-10-161-8/+75
| | | | event.state_events
* Begin making auth use event.old_state_eventsErik Johnston2014-10-151-2/+9
|
* SYN-46: An invite received from fedearation didn't wake up the event stream ↵Erik Johnston2014-09-251-1/+9
| | | | for the invited user.
* Correctly handle receiving 'missing' Pdus from federation, rather than just ↵Erik Johnston2014-09-151-7/+5
| | | | discarding them.
* Improve logging in federation handler.Erik Johnston2014-09-151-1/+3
|
* Error code must be an integerErik Johnston2014-09-031-1/+1
|
* Import SynapseErrorErik Johnston2014-09-031-0/+1
|
* Handle timeouts slightly nicer.Erik Johnston2014-09-031-1/+5
|
* Don't do auth for change_membership in federation handler, it doesn't work ↵Erik Johnston2014-09-031-2/+3
| | | | and federation doesn't do auth in general either. Add a hacky timeout when trying to join a remote room.
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Fix FederationHandler to event.originMark Haines2014-08-281-1/+1
|
* Remove get_state_for_room function from federation handlerMark Haines2014-08-281-15/+11
|
* Fix pyflakes warningsMark Haines2014-08-281-3/+1
|
* Merge backfill_ and backfill in federation handlerMark Haines2014-08-281-18/+5
|
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-271-1/+1
|\ | | | | | | | | | | Conflicts: synapse/handlers/room.py synapse/storage/stream.py
| * Remove store_id from notifier.on_new_room_event calls.Erik Johnston2014-08-271-1/+1
| |
* | add _get_room_member, fix datastore methodsMark Haines2014-08-271-2/+3
| |
* | Fill out prev_events before calling persist_eventMark Haines2014-08-271-59/+11
| |
* | Fold federation/handler into handlers/federationMark Haines2014-08-261-8/+134
|/
* Use state_key rather than target_user_idMark Haines2014-08-261-1/+1
|
* Fix pyflakes errorsMark Haines2014-08-261-1/+1
|
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Kegan Dougal2014-08-261-2/+27
|\ | | | | | | client_server_url_rename
| * Wait for getting a Join in response to an invite/join dance.Erik Johnston2014-08-211-2/+27
| |
* | Removed member list servlet: now using generic state paths.Kegan Dougal2014-08-261-1/+1
|/
* Better handle the edge cases of trying to remote join roomsErik Johnston2014-08-201-0/+78
|
* Print out stacktrace when we failed to persist event.Erik Johnston2014-08-191-1/+1
|
* Add a 'backfill room' buttonErik Johnston2014-08-191-3/+18
|
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+74