Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								edb33eb163 
								
							 
						 
						
							
							
								
								Rename fields to _ids  
							
							
							
						 
						
							2016-08-03 17:19:15 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								bcc9cda8ca 
								
							 
						 
						
							
							
								
								Fix copy + paste fails  
							
							
							
						 
						
							2016-08-03 17:17:26 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								e3a720217a 
								
							 
						 
						
							
							
								
								Add /state_ids federation API  
							
							... 
							
							
							
							The new API only returns the event_ids for the state, as most
requesters will already have the vast majority of the events already. 
							
						 
						
							2016-08-03 14:47:37 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								c9154b970c 
								
							 
						 
						
							
							
								
								Don't double wrap 200  
							
							
							
						 
						
							2016-08-02 16:45:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								b3d5c4ad9d 
								
							 
						 
						
							
							
								
								Fix response cache  
							
							
							
						 
						
							2016-08-02 16:42:21 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								248e6770ca 
								
							 
						 
						
							
							
								
								Cache federation state responses  
							
							
							
						 
						
							2016-07-21 10:30:12 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								8f4a9bbc16 
								
							 
						 
						
							
							
								
								Linearize some federation endpoints based on (origin, room_id)  
							
							
							
						 
						
							2016-06-17 16:43:45 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								2884712ca7 
								
							 
						 
						
							
							
								
								Only re-sign our own events  
							
							
							
						 
						
							2016-06-17 14:47:33 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								d41a1a91d3 
								
							 
						 
						
							
							
								
								Linearize fetching of gaps on incoming events  
							
							... 
							
							
							
							This potentially stops the server from doing multiple requests for the
same data. 
							
						 
						
							2016-06-15 15:16:14 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								17aab5827a 
								
							 
						 
						
							
							
								
								Add some logging for when servers ask for missing events  
							
							
							
						 
						
							2016-06-08 11:55:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Haines 
								
							 
						 
						
							
							
							
							
								
							
							
								9c272da05f 
								
							 
						 
						
							
							
								
								Add an openidish mechanism for proving to third parties that you own a given user_id  
							
							
							
						 
						
							2016-05-05 13:42:44 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Haines 
								
							 
						 
						
							
							
							
							
								
							
							
								5244c0b48e 
								
							 
						 
						
							
							
								
								Remove unused backfilled parameter from persist_event  
							
							
							
						 
						
							2016-03-21 18:06:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								9adf0e92bc 
								
							 
						 
						
							
							
								
								Catch exceptions from EDU handling  
							
							
							
						 
						
							2016-03-18 15:12:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								3c5f25507b 
								
							 
						 
						
							
							
								
								Yield on EDU handling  
							
							
							
						 
						
							2016-03-18 13:55:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Daniel Wagner-Hall 
								
							 
						 
						
							
							
							
							
								
							
							
								577951b032 
								
							 
						 
						
							
							
								
								Allow third_party_signed to be specified on /join  
							
							
							
						 
						
							2016-02-23 15:11:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								2c1fbea531 
								
							 
						 
						
							
							
								
								Fix up logcontexts  
							
							
							
						 
						
							2016-02-08 14:26:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Hodgson 
								
							 
						 
						
							
							
							
							
								
							
							
								6c28ac260c 
								
							 
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2016-01-07 04:26:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Daniel Wagner-Hall 
								
							 
						 
						
							
							
							
							
								
							
							
								2cebe53545 
								
							 
						 
						
							
							
								
								Exchange 3pid invites for m.room.member invites  
							
							
							
						 
						
							2015-11-05 16:43:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Daniel Wagner-Hall 
								
							 
						 
						
							
							
							
							
								
							
							
								137fafce4e 
								
							 
						 
						
							
							
								
								Allow rejecting invites  
							
							... 
							
							
							
							This is done by using the same /leave flow as you would use if you had
already accepted the invite and wanted to leave. 
							
						 
						
							2015-10-20 11:58:58 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Daniel Wagner-Hall 
								
							 
						 
						
							
							
							
							
								
							
							
								0c38e8637f 
								
							 
						 
						
							
							
								
								Remove unnecessary class-wrapping  
							
							
							
						 
						
							2015-10-13 18:00:38 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Daniel Wagner-Hall 
								
							 
						 
						
							
							
							
							
								
							
							
								5b3e9713dd 
								
							 
						 
						
							
							
								
								Implement third party identifier invites  
							
							
							
						 
						
							2015-10-01 17:49:52 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Haines 
								
							 
						 
						
							
							
							
							
								
							
							
								0cceb2ac92 
								
							 
						 
						
							
							
								
								Add a few strategic new lines to break up the on_query_client_keys and on_claim_client_keys methods in federation_server.py  
							
							
							
						 
						
							2015-08-13 17:27:46 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Haines 
								
							 
						 
						
							
							
							
							
								
							
							
								62c010283d 
								
							 
						 
						
							
							
								
								Add federation support for end-to-end key requests  
							
							
							
						 
						
							2015-07-23 16:03:38 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								476899295f 
								
							 
						 
						
							
							
								
								Change the way we do logging contexts so that they survive divergences  
							
							
							
						 
						
							2015-05-08 16:32:18 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								23c639ff32 
								
							 
						 
						
							
							
								
								Split a storage function in two so that we don't have to do extra work.  
							
							
							
						 
						
							2015-05-01 10:17:19 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Paul "LeoNerd" Evans 
								
							 
						 
						
							
							
							
							
								
							
							
								2e4f0b2bd7 
								
							 
						 
						
							
							
								
								Replace the @metrics.counted annotations in federation with specifically-written counters and distributions  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Paul "LeoNerd" Evans 
								
							 
						 
						
							
							
							
							
								
							
							
								9470412316 
								
							 
						 
						
							
							
								
								Initial attempt at sprinkling some @metrics.counted decorations around the federation code  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								9708f49abf 
								
							 
						 
						
							
							
								
								Docs  
							
							
							
						 
						
							2015-03-05 16:35:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								ae702d161a 
								
							 
						 
						
							
							
								
								Handle if get_missing_pdu returns 400 or not all events.  
							
							
							
						 
						
							2015-03-05 16:08:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								0a036944bd 
								
							 
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into batched_get_pdu  
							
							
							
						 
						
							2015-03-02 13:53:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								29481690c5 
								
							 
						 
						
							
							
								
								If we're yielding don't add errback  
							
							
							
						 
						
							2015-03-02 11:50:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								23d9bd1d74 
								
							 
						 
						
							
							
								
								Process transactions serially.  
							
							... 
							
							
							
							Since the events received in a transaction are ordered, later events
might depend on earlier events and so we shouldn't blindly process them
in parellel. 
							
						 
						
							2015-03-02 11:39:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								db215b7e00 
								
							 
						 
						
							
							
								
								Implement and use new batched get missing pdu  
							
							
							
						 
						
							2015-02-23 13:58:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								0ac2a79faa 
								
							 
						 
						
							
							
								
								Initial stab at implementing a batched get_missing_pdus request  
							
							
							
						 
						
							2015-02-19 17:24:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								676e8ee78a 
								
							 
						 
						
							
							
								
								Remove debug raise  
							
							
							
						 
						
							2015-02-17 15:22:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								c02da58a9d 
								
							 
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into failures  
							
							
							
						 
						
							2015-02-17 15:15:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								659ead082f 
								
							 
						 
						
							
							
								
								Format the response of transaction request in a nicer way  
							
							
							
						 
						
							2015-02-17 15:11:44 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								c82e26ad4b 
								
							 
						 
						
							
							
								
								Actually respond with JSON to incoming transaction  
							
							
							
						 
						
							2015-02-17 13:24:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								02bfa889de 
								
							 
						 
						
							
							
								
								Handle recieving failures in transactions  
							
							
							
						 
						
							2015-02-17 13:13:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								72a4de2ce6 
								
							 
						 
						
							
							
								
								Use consumeErrors=True on all DeferredLists.  
							
							... 
							
							
							
							This is so that the DeferredLists actually consume the error instead of
propogating down the non-existent errback chain. This should reduce the
number of unhandled errors we are seeing. 
							
						 
						
							2015-02-17 10:07:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								91fc5eef1d 
								
							 
						 
						
							
							
								
								Mark old events as outliers.  
							
							... 
							
							
							
							This is to fix the issue where if a remote server sends an event
that references a really "old" event, then the local server will pull
that in and send to all clients.
We decide if an event is old if its depth is less than the minimum depth
of the room. 
							
						 
						
							2015-02-16 14:27:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								6138584651 
								
							 
						 
						
							
							
								
								Don't return anything from _handle_new_pdu, since we ignore the return value anyway  
							
							
							
						 
						
							2015-02-16 14:08:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								963256638d 
								
							 
						 
						
							
							
								
								Correctly handle all the places that can throw exceptions  
							
							
							
						 
						
							2015-02-12 18:17:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								697ab75a34 
								
							 
						 
						
							
							
								
								Sign auth_chains when returned by /state/ requests  
							
							
							
						 
						
							2015-02-10 15:46:24 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								8dae5c8108 
								
							 
						 
						
							
							
								
								Remove unused imports  
							
							
							
						 
						
							2015-02-03 15:01:12 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								0dd3aea319 
								
							 
						 
						
							
							
								
								Keep around the old (buggy) version of the prune_event function so that we can use it to check signatures for events on old servers  
							
							
							
						 
						
							2015-02-03 14:58:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								776ac820f9 
								
							 
						 
						
							
							
								
								Briefly doc structure of query_auth API.  
							
							
							
						 
						
							2015-01-30 15:58:28 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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.  
							
							
							
						 
						
							2015-01-30 13:34:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								c1d860870b 
								
							 
						 
						
							
							
								
								Fix regression where we no longer correctly handled the case of gaps in our event graph  
							
							
							
						 
						
							2015-01-30 10:48:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erik Johnston 
								
							 
						 
						
							
							
							
							
								
							
							
								78015948a7 
								
							 
						 
						
							
							
								
								Initial implementation of auth conflict resolution  
							
							
							
						 
						
							2015-01-29 16:52:33 +00:00