summary refs log tree commit diff
path: root/synapse/handlers/federation.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1064 from matrix-org/erikj/on_receive_checkErik Johnston2016-09-021-6/+18
|\ | | | | Only check if host is in room if we have state and auth_chain
| * Comment on when auth chain and state are NoneErik Johnston2016-09-021-0/+3
| |
| * CommentErik Johnston2016-09-021-0/+3
| |
| * Only check if host is in room if we have state and auth_chainErik Johnston2016-09-021-6/+12
| |
* | DocstringsErik Johnston2016-09-021-0/+4
| |
* | Only pull out IDs from DB for /state_ids/ requestErik Johnston2016-09-021-0/+26
|/
* Correctly handle the difference between prev and current stateErik Johnston2016-08-311-9/+22
|
* Measure _filter_events_for_serverErik Johnston2016-08-261-0/+2
|
* Don't pull out full state for _filter_events_for_serverErik Johnston2016-08-261-1/+25
|
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_idsErik Johnston2016-08-261-1/+3
|\
| * Fix None check in backfillErik Johnston2016-08-251-1/+3
| |
* | Replace context.current_state with context.current_state_idsErik Johnston2016-08-251-48/+64
| |
* | Pull out event ids rather than full events for stateErik Johnston2016-08-251-0/+12
|/
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2016-08-241-2/+2
|\ | | | | | | erikj/preserve_log_contexts
| * Add None checks to backfillErik Johnston2016-08-241-2/+2
| |
* | Preserve some logcontextsErik Johnston2016-08-241-13/+15
|/
* Limit number of extremeties in backfill requestErik Johnston2016-08-161-4/+5
| | | | | This works around a bug where if we make a backfill request with too many extremeties it causes the request URI to be too long.
* Also check if server is in the roomErik Johnston2016-08-101-2/+7
|
* Correctly auth /event/ requestsErik Johnston2016-08-101-5/+6
|
* Only resign our own eventsErik Johnston2016-08-101-9/+10
|
* Fix backfill auth eventsErik Johnston2016-08-051-21/+50
|
* Merge pull request #940 from matrix-org/erikj/fed_state_cacheErik Johnston2016-08-021-6/+1
|\ | | | | Cache federation state responses
| * Cache federation state responsesErik Johnston2016-07-211-6/+1
| |
* | Mention that func will fetch auth eventsErik Johnston2016-07-291-0/+2
| |
* | Update docstringErik Johnston2016-07-291-0/+6
| |
* | Handle the case of missing auth events when joining a roomErik Johnston2016-07-281-4/+23
|/
* Don't notify pusher pool for backfilled eventsErik Johnston2016-07-201-5/+6
|
* CommentErik Johnston2016-07-151-0/+4
|
* Check sender signed eventErik Johnston2016-07-141-2/+2
|
* Add purge_history APIErik Johnston2016-07-051-1/+1
|
* Only re-sign our own eventsErik Johnston2016-06-171-6/+9
|
* Correctly mark backfilled events as backfilledErik Johnston2016-06-151-14/+16
|
* Remove dead code.Mark Haines2016-06-071-13/+0
| | | | | | | | | | | Loading push rules now happens in the datastore, so we can remove the methods that loaded them outside the datastore. The ``waiting_for_join_list`` in federation handler is populated by anything, so can be removed. The ``_get_members_events_txn`` method isn't called from anywhere so can be removed.
* Spell "domain" correctlyMark Haines2016-05-161-4/+4
| | | | s/domian/domain/g
* missed a spotMark Haines2016-05-121-1/+1
|
* Move _create_new_client_event and handle_new_client_event out of base handlerMark Haines2016-05-111-5/+12
|
* Add and use get_domian_from_idErik Johnston2016-05-091-8/+4
|
* Don't auto log failed auth checksErik Johnston2016-04-131-8/+26
|
* More commentsErik Johnston2016-04-121-0/+9
|
* More commentsErik Johnston2016-04-121-0/+6
|
* Don't append to unused listErik Johnston2016-04-121-4/+0
|
* Add back backfilled parameter that was removedErik Johnston2016-04-121-1/+3
|
* Add commentErik Johnston2016-04-121-0/+1
|
* Check if we've already backfilled eventsErik Johnston2016-04-121-7/+20
|
* Merge pull request #705 from matrix-org/dbkr/pushers_use_event_actionsDavid Baker2016-04-111-1/+7
|\ | | | | Change pushers to use the event_actions table
| * Merge remote-tracking branch 'origin/develop' into ↵David Baker2016-04-071-1/+4
| |\ | | | | | | | | | dbkr/pushers_use_event_actions
| * | Make pushers use the event_push_actions table instead of listening on an ↵David Baker2016-04-061-1/+7
| | | | | | | | | | | | | | | | | | | | | event stream & running the rules again. Sytest passes, but remaining to do: * Make badges work again * Remove old, unused code
* | | Move all the wrapper functions for distributor.fireMark Haines2016-04-081-4/+1
| |/ |/| | | | | | | | | | | Move the functions inside the distributor and import them where needed. This reduces duplication and makes it possible for flake8 to detect when the functions aren't used in a given file.
* | Merge pull request #693 from matrix-org/erikj/backfill_selfErik Johnston2016-04-051-1/+4
|\ \ | |/ |/| Don't backfill from self
| * Don't backfill from selfErik Johnston2016-04-051-1/+4
| |
* | Merge pull request #691 from matrix-org/erikj/memberErik Johnston2016-04-051-11/+23
|\ \ | | | | | | Fix stuck invites
| * | Fix stuck invitesErik Johnston2016-04-051-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | If rejecting a remote invite fails with an error response don't fail the entire request; instead mark the invite as locally rejected. This fixes the bug where users can get stuck invites which they can neither accept nor reject.
* | | Merge pull request #686 from matrix-org/markjh/doc_stringsMark Haines2016-04-011-10/+13
|\ \ \ | |/ / |/| | Use google style doc strings.
| * | Use google style doc strings.Mark Haines2016-04-011-10/+13
| | | | | | | | | | | | | | | | | | | | | pycharm supports them so there is no need to use the other format. Might as well convert the existing strings to reduce the risk of people accidentally cargo culting the wrong doc string format.
* | | Remove outlier parameter from compute_event_contextMark Haines2016-03-311-7/+4
|/ / | | | | | | Use event.internal_metadata.is_outlier instead.
* / Remove the is_new_state argument to persist event.Mark Haines2016-03-311-16/+4
|/ | | | | | | | | Move the checks for whether an event is new state inside persist event itself. This was harder than expected because there wasn't enough information passed to persist event to correctly handle invites from remote servers for new rooms.
* Remove unused backfilled parameter from persist_eventMark Haines2016-03-211-23/+15
|
* remove unused current_state variable from on_receive_pduMark Haines2016-03-211-2/+0
|
* Remove needless PreserveLoggingContextErik Johnston2016-03-151-5/+4
|
* Persist rejection of invites over federationErik Johnston2016-03-151-1/+17
|
* Use syntax that works on both py2.7 and py3Mark Haines2016-03-071-1/+1
|
* Pass whole requester to ratelimitingDaniel Wagner-Hall2016-03-031-2/+2
| | | | This will enable more detailed decisions
* Allow third_party_signed to be specified on /joinDaniel Wagner-Hall2016-02-231-21/+72
|
* Branch off member and non member sendsDaniel Wagner-Hall2016-02-151-2/+2
| | | | Unclean, needs tidy-up, but works
* Atomically persit push actions when we persist the eventErik Johnston2016-02-091-6/+6
|
* Fix up logcontextsErik Johnston2016-02-081-45/+5
|
* Federation: drop events which cause SynapseErrorsRichard van der Hoff2016-01-271-1/+7
| | | | | ... rather than rejecting any attempt to federate channels which contain such events.
* Add regex cache. Only caculate push actions for users that have sent read ↵Erik Johnston2016-01-191-1/+1
| | | | receipts, and are on that server
* 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
|\ | | | | Send unread notification counts
| * Add is_guest flag to users db to track whether a user is a guest user or ↵David Baker2016-01-061-3/+3
| | | | | | | | not. Use this so we can run _filter_events_for_client when calculating event_push_actions.
| * 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, ↵David Baker2015-12-101-11/+6
| | | | | | | | | | | | otherwise it will be triggered whenever we backfill too.
| * | Very first cut of calculating actions for events as they come in. Doesn't ↵David Baker2015-12-101-1/+14
| | | | | | | | | | | | store them yet. Not very efficient.
* | | 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
| | | | | | | | We're not meant to leak that into the graph
* | 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
|\ | | | | | | | | | | Conflicts: synapse/handlers/federation.py synapse/handlers/room.py
| * Wrap calls to distributor.fire in appropriately named functions so that ↵Mark Haines2015-12-011-11/+8
| | | | | | | | static analysis can work out want is calling what
* | 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
| | | | | There was a regression where we stopped including profile data in initial joins for rooms joined over federation.
* 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
| | | | | This is done by using the same /leave flow as you would use if you had already accepted the invite and wanted to leave.
* 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 ↵Daniel Wagner-Hall2015-10-061-76/+131
| | | | | | | | | | | | matrix-org/erikj/atomic_join_federation"" This reverts commit 34d26d36874ab0bc7fa4dab0db08bd37ba4936ae.
* | 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
| | | | | | | | | | This reverts commit 5879edbb097d19c2b5f5e064841909e67d6018fe, reversing changes made to b43930d4c9479973fb7225818e2e51bec022c4e6.
* | 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
| |\ | | | | | | Atomically persist events when joining a room over federation/
| | * 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 API
| * 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 ↵Erik Johnston2015-07-031-0/+44
|/ | | | see during backfill
* Merge pull request #176 from matrix-org/erikj/backfill_authErik Johnston2015-06-031-1/+46
|\ | | | | Improve backfill.
| * 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
|\ | | | | Preserving logging contexts
| * 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 ↵Erik Johnston2015-02-131-0/+34
| | | | resolution algorithm
* 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 ↵Erik Johnston2015-02-111-1/+14
| | | | JSONEncoder that understands FrozenDict
* 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 ↵Erik Johnston2015-02-061-56/+72
| | | | auth.
* 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 ↵Erik Johnston2015-02-051-7/+13
| | | | it can retry against different room hosts
* Merge branch 'signature_failures' of github.com:matrix-org/synapse into ↵Erik Johnston2015-02-041-1/+3
|\ | | | | | | federation_client_retries
| * Change context.auth_events to what the auth_events would be bases on ↵Erik Johnston2015-02-041-1/+3
| | | | | | | | context.current_state, rather than based on the auth_events from the event.
* | Apply sanity to the transport client interface. Convert 'make_join' and ↵Erik Johnston2015-02-041-2/+2
|/ | | | 'send_join' to accept iterables of destinations
* Rearrange persist_event so that do all the queries that need to be done ↵Erik Johnston2015-02-041-0/+2
| | | | before returning early if we have already persisted that event.
* 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 ↵Erik Johnston2015-02-031-14/+28
| | | | 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.
* 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 ↵Erik Johnston2015-01-301-33/+18
| | | | /query_auth/ so that we don't duplicate events in the response.
* 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 ↵Erik Johnston2015-01-301-2/+6
| | | | event graph
* 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
| | | | | | The simple fix doesn't work here because room creation also involves unknown room IDs. The check relies on the presence of m.room.create for rooms being created, whereas bogus room IDs have no state events at all.
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Supply auth_chain along with current state in '/state/', fetch auth events ↵Mark Haines2014-12-181-23/+32
| | | | from a remote server if we are missing some of them
* 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 ↵Erik Johnston2014-12-161-2/+6
|\ | | | | | | release-v0.6.0
| * 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
| | | | | | | | federation
* | 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
| | | | | | | | 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
|