summary refs log tree commit diff
path: root/synapse/handlers/federation.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix up logcontextsErik Johnston2016-02-081-45/+5
* Federation: drop events which cause SynapseErrorsRichard van der Hoff2016-01-271-1/+7
* Add regex cache. Only caculate push actions for users that have sent read rec...Erik Johnston2016-01-191-1/+1
* Re-enable urnead notificationsErik Johnston2016-01-181-7/+6
* Require unbanning before other membership changesDaniel Wagner-Hall2016-01-151-2/+2
* Temporarily disable notification branchErik Johnston2016-01-131-6/+7
* Merge pull request #456 from matrix-org/store_event_actionsDavid Baker2016-01-081-0/+8
|\
| * Add is_guest flag to users db to track whether a user is a guest user or not....David Baker2016-01-061-3/+3
| * Address minor PR issuesDavid Baker2016-01-041-2/+2
| * Merge remote-tracking branch 'origin/develop' into store_event_actionsDavid Baker2015-12-211-7/+48
| |\
| * | Only run pushers for users on this hs!David Baker2015-12-211-1/+1
| * | Having consulted The Erikle, this should go at the end of on_receive_pdu, oth...David Baker2015-12-101-11/+6
| * | Very first cut of calculating actions for events as they come in. Doesn't sto...David Baker2015-12-101-1/+14
* | | copyrightsMatthew Hodgson2016-01-071-1/+1
| |/ |/|
* | Add display_name to 3pid invite in m.room.member invitesDaniel Wagner-Hall2015-12-171-1/+31
* | Strip address and such out of 3pid invitesDaniel Wagner-Hall2015-12-171-1/+12
* | Ensure that the event that gets persisted is the one that was signedPaul "LeoNerd" Evans2015-12-101-6/+6
|/
* Use the context returned by _handle_new_eventMark Haines2015-12-021-4/+1
* Add commentsMark Haines2015-12-021-0/+3
* Merge branch 'develop' into markjh/edu_frequencyMark Haines2015-12-021-11/+8
|\
| * Wrap calls to distributor.fire in appropriately named functions so that stati...Mark Haines2015-12-011-11/+8
* | Only fire user_joined_room if the membership has changedMark Haines2015-12-011-3/+8
|/
* Fix missing profile data in federation joinsErik Johnston2015-11-121-4/+7
* Allow guest users to join and message roomsDaniel Wagner-Hall2015-11-101-5/+5
* Exchange 3pid invites for m.room.member invitesDaniel Wagner-Hall2015-11-051-18/+81
* Remove the LockManager class because it wasn't being usedMark Haines2015-11-041-2/+0
* Allow rejecting invitesDaniel Wagner-Hall2015-10-201-41/+168
* Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-151-1/+1
|\
| * Remove unused room_id argErik Johnston2015-10-141-1/+1
* | Remove unnecessary class-wrappingDaniel Wagner-Hall2015-10-131-6/+7
* | Re-add accidentally removed codeDaniel Wagner-Hall2015-10-131-1/+1
* | Move event contents into third_party_layout fieldDaniel Wagner-Hall2015-10-131-2/+3
* | Revert "Revert "Merge pull request #283 from matrix-org/erikj/atomic_join_fed...Daniel Wagner-Hall2015-10-061-76/+131
* | Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-061-1/+2
|\|
| * Explicitly add Create event as auth eventErik Johnston2015-10-021-2/+3
* | Revert "Merge pull request #283 from matrix-org/erikj/atomic_join_federation"Daniel Wagner-Hall2015-10-051-131/+76
* | Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-051-76/+131
|\|
| * Merge pull request #283 from matrix-org/erikj/atomic_join_federationErik Johnston2015-10-021-76/+131
| |\
| | * CommentErik Johnston2015-09-301-0/+8
| | * Rename varErik Johnston2015-09-301-3/+3
| | * Fix getting an event for a room the server forgot it was inErik Johnston2015-09-171-47/+59
| | * Also persist stateErik Johnston2015-09-171-1/+1
| | * Capture errErik Johnston2015-09-171-2/+2
| | * Also handle stateErik Johnston2015-09-171-3/+3
| | * Don't bail out of joining if we encounter a rejected eventErik Johnston2015-09-171-13/+20
| | * Refactor do_invite_joinErik Johnston2015-09-171-28/+56
* | | Implement third party identifier invitesDaniel Wagner-Hall2015-10-011-4/+12
|/ /
* / synapse/handlers/federation.py:_handle_auth_events was unusedMark Haines2015-09-231-49/+0
|/
* Add missing param in store.get_state_groups invocationErik Johnston2015-08-211-1/+1
* Remove pointless mapErik Johnston2015-08-131-7/+3
* Fix application of ACLsErik Johnston2015-08-111-6/+5
* Use dictionary cache to do group -> state fetchingErik Johnston2015-08-051-1/+1
* Speed up event filtering (for ACL) logicErik Johnston2015-08-041-1/+5
* Merge pull request #193 from matrix-org/erikj/bulk_persist_eventErik Johnston2015-07-141-106/+121
|\
| * Add bulk insert events APIErik Johnston2015-06-251-106/+121
* | Add commentErik Johnston2015-07-091-0/+4
* | Rename key and values for m.room.history_visibility. Support 'invited' valueErik Johnston2015-07-061-14/+20
* | Filter and redact events that the other server doesn't have permission to see...Erik Johnston2015-07-031-0/+44
|/
* Merge pull request #176 from matrix-org/erikj/backfill_authErik Johnston2015-06-031-1/+46
|\
| * Add a timeoutErik Johnston2015-06-021-0/+1
| * Handle the fact we might be missing auth eventsErik Johnston2015-06-021-15/+19
| * Add some loggingErik Johnston2015-06-021-0/+5
| * Correctly look up auth_eventsErik Johnston2015-06-021-9/+12
| * Don't process events we've already processed. Remember to process state eventsErik Johnston2015-06-021-0/+22
| * Correctly pass in auth_eventsErik Johnston2015-06-011-1/+11
* | Don't needlessly compute contextErik Johnston2015-06-031-2/+4
|/
* Actually fetch state for new backwards extremeties when backfilling.Erik Johnston2015-05-201-61/+103
* Don't apply new room join hack if depth > 5Erik Johnston2015-05-191-3/+6
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-191-10/+15
|\
| * Merge branch 'notifier_unify' into notifier_performanceMark Haines2015-05-141-0/+2
| |\
| * | Don't bother checking for updates if the stream token hasn't advanced for a userMark Haines2015-05-131-10/+15
* | | Do work in parellel when joining a roomErik Johnston2015-05-181-19/+50
| |/ |/|
* | Don't talk to yourself when backfillingErik Johnston2015-05-121-0/+2
|/
* Merge pull request #144 from matrix-org/erikj/logging_contextMark Haines2015-05-121-13/+19
|\
| * Unwrap defer.gatherResults failuresErik Johnston2015-05-121-1/+2
| * Fix up leak. Add warnings.Erik Johnston2015-05-081-12/+17
* | s/backfil/backfill/Erik Johnston2015-05-121-4/+4
* | Typos everywhereErik Johnston2015-05-121-1/+1
* | And another typo.Erik Johnston2015-05-121-3/+3
* | Err, gatherResults doesn't take a dict...Erik Johnston2015-05-121-4/+7
* | Handle the case where the other side is unreachable when backfillingErik Johnston2015-05-121-14/+42
* | Initial hack at wiring together pagination and backfillErik Johnston2015-05-111-2/+106
|/
* That wasn't a deferredErik Johnston2015-05-011-1/+1
* Remove inlineCallbacks from non-generatorErik Johnston2015-05-011-2/+0
* Remove some run_on_reactorsErik Johnston2015-05-011-2/+0
* Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-04-081-4/+36
|\
| * typoErik Johnston2015-04-081-1/+1
| * Don't yield on notifying all listenersErik Johnston2015-04-081-4/+36
* | Sanitize TransactionStoreErik Johnston2015-03-231-1/+1
|/
* Clean out event_forward_extremities table when the server rejoins the roomErik Johnston2015-03-181-0/+2
* Remove concept of context.auth_events, instead use context.current_stateErik Johnston2015-03-161-5/+3
* Merge branch 'develop' of github.com:matrix-org/synapse into batched_get_pduErik Johnston2015-02-231-1/+1
|\
| * Add missing comma so that it generates a dict and not a setErik Johnston2015-02-201-1/+1
* | Implement and use new batched get missing pduErik Johnston2015-02-231-0/+23
* | Initial stab at implementing a batched get_missing_pdus requestErik Johnston2015-02-191-4/+5
|/
* Change some debug logging to infoErik Johnston2015-02-171-2/+4
* resolve_events expect lists, not dictsErik Johnston2015-02-151-1/+1
* Fix wrong variable nameErik Johnston2015-02-131-1/+1
* pyflakesErik Johnston2015-02-131-1/+1
* When we see a difference in current state, actually use state conflict resolu...Erik Johnston2015-02-131-0/+34
* Remove more debug loggingErik Johnston2015-02-111-2/+0
* Remove debug loggingErik Johnston2015-02-111-10/+0
* Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder...Erik Johnston2015-02-111-1/+14
* Explicitly list the RejectedReasons that we can proveErik Johnston2015-02-061-1/+6
* Don't query auth if the only difference is events that were rejected due to a...Erik Johnston2015-02-061-56/+72
* Make seen_ids a setErik Johnston2015-02-061-1/+3
* Handle the fact the list.remove raises if element doesn't existErik Johnston2015-02-061-4/+10
* Pass through list of room hosts from room alias query to federation so that i...Erik Johnston2015-02-051-7/+13
* Merge branch 'signature_failures' of github.com:matrix-org/synapse into feder...Erik Johnston2015-02-041-1/+3
|\
| * Change context.auth_events to what the auth_events would be bases on context....Erik Johnston2015-02-041-1/+3
* | Apply sanity to the transport client interface. Convert 'make_join' and 'send...Erik Johnston2015-02-041-2/+2
|/
* Rearrange persist_event so that do all the queries that need to be done befor...Erik Johnston2015-02-041-0/+2
* Neaten the handling of state and auth_chain up a bitErik Johnston2015-02-031-27/+30
* Don't completely die if get auth_chain or querying auth_chain requests failErik Johnston2015-02-031-63/+72
* Set combinations is | and not +Erik Johnston2015-02-031-2/+2
* SpellingErik Johnston2015-02-031-1/+1
* Give exception better messageErik Johnston2015-02-031-1/+1
* Add FIXME note.Erik Johnston2015-02-031-0/+2
* Return rejected events if asked for it over federation.Erik Johnston2015-02-031-0/+1
* Try to ensure we don't persist an event we have already persisted. In persist...Erik Johnston2015-02-031-14/+28
* Resign events when we return them via /query_auth/Erik Johnston2015-01-301-0/+9
* Fix bug where accepting invite over federation didn't work. Add logging.Erik Johnston2015-01-301-8/+49
* Only auth_events with event if event in event.auth_eventsErik Johnston2015-01-301-1/+3
* Fix bug where we superfluously asked for current state. Change API of /query_...Erik Johnston2015-01-301-33/+18
* Update the current state of an event if we update auth events.Erik Johnston2015-01-301-1/+3
* Fix regression where we no longer correctly handled the case of gaps in our e...Erik Johnston2015-01-301-2/+6
* Initial implementation of auth conflict resolutionErik Johnston2015-01-291-75/+132
* Start implementing auth conflict resErik Johnston2015-01-281-35/+176
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-6/+7
* Finish renaming "context" to "room_id" in federation codebaseMark Haines2015-01-161-5/+5
* PEP8 and pyflakes warningsKegan Dougal2015-01-071-1/+1
* SYN-154: Better error messages when joining an unknown room by ID.Kegan Dougal2015-01-071-2/+2
* Update copyright noticesMark Haines2015-01-061-1/+1
* Supply auth_chain along with current state in '/state/', fetch auth events fr...Mark Haines2014-12-181-23/+32
* Don't yield on sending the event accross federation.Mark Haines2014-12-181-2/+2
* Fix where we pulled in event.state_events from hotfixes branchErik Johnston2014-12-161-1/+1
* Merge branch 'hotfixes-v0.5.4a' of github.com:matrix-org/synapse into release...Erik Johnston2014-12-161-2/+6
|\
| * Add FIXMEErik Johnston2014-12-161-0/+1
| * Fix bug where we did not send the full auth chain to people that joined over ...Erik Johnston2014-12-161-2/+5
* | Make error messages slightly more helpfulErik Johnston2014-12-161-5/+5
* | Construct the EventContext in the state handler rather than constructing one ...Mark Haines2014-12-161-10/+4
* | 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
* 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 work...Erik Johnston2014-11-271-0/+11
* Add a workaround for bug where some initial join events don't reference creat...Erik Johnston2014-11-261-1/+7
* 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 tu...Erik Johnston2014-11-261-28/+44
* Fix bugs in invite/join dances.Erik Johnston2014-11-251-52/+92
* 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 b...Mark Haines2014-11-201-2/+2
* 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
* 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
* 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 event.s...Erik Johnston2014-10-161-8/+75
* 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 f...Erik Johnston2014-09-251-1/+9
* Correctly handle receiving 'missing' Pdus from federation, rather than just d...Erik Johnston2014-09-151-7/+5
* 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 an...Erik Johnston2014-09-031-2/+3
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* 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
|\
| * 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 client_server_ur...Kegan Dougal2014-08-261-2/+27
|\
| * 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