3b2dcfff78 
								
							
								 
							
						 
						
							
							
								
								Fix logging bug in EDU handling over replication  
							
							
							
						 
						
							2018-08-17 11:11:06 +01:00  
				
					
						
							
							
								 
						
							
							
								488ffe6fdb 
								
							
								 
							
						 
						
							
							
								
								Use federation handler function rather than duplicate  
							
							... 
							
							
							
							This involves renaming _persist_events to be a public function. 
							
						 
						
							2018-08-15 14:17:18 +01:00  
				
					
						
							
							
								 
						
							
							
								b179537f2a 
								
							
								 
							
						 
						
							
							
								
								Move clean_room_for_join to master  
							
							
							
						 
						
							2018-08-09 10:37:38 +01:00  
				
					
						
							
							
								 
						
							
							
								72d1902bbe 
								
							
								 
							
						 
						
							
							
								
								Fixup doc comments  
							
							
							
						 
						
							2018-08-09 10:23:49 +01:00  
				
					
						
							
							
								 
						
							
							
								5785b93711 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_federation  
							
							
							
						 
						
							2018-08-09 10:16:16 +01:00  
				
					
						
							
							
								 
						
							
							
								62564797f5 
								
							
								 
							
						 
						
							
							
								
								Fixup wording and remove dead code  
							
							
							
						 
						
							2018-08-09 09:56:10 +01:00  
				
					
						
							
							
								 
						
							
							
								bebe325e6c 
								
							
								 
							
						 
						
							
							
								
								Rename POST param to METHOD  
							
							
							
						 
						
							2018-08-08 10:36:18 +01:00  
				
					
						
							
							
								 
						
							
							
								5011417632 
								
							
								 
							
						 
						
							
							
								
								Fixup logging and docstrings  
							
							
							
						 
						
							2018-08-08 10:29:58 +01:00  
				
					
						
							
							
								 
						
							
							
								a3f5bf79a0 
								
							
								 
							
						 
						
							
							
								
								Add EDU/query handling over replication  
							
							
							
						 
						
							2018-08-06 15:23:31 +01:00  
				
					
						
							
							
								 
						
							
							
								e26dbd82ef 
								
							
								 
							
						 
						
							
							
								
								Add replication APIs for persisting federation events  
							
							
							
						 
						
							2018-08-06 15:02:28 +01:00  
				
					
						
							
							
								 
						
							
							
								051a99c400 
								
							
								 
							
						 
						
							
							
								
								Fix isort  
							
							
							
						 
						
							2018-08-06 14:29:31 +01:00  
				
					
						
							
							
								 
						
							
							
								cb298ff623 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into erikj/refactor_repl_servlet  
							
							
							
						 
						
							2018-08-03 09:25:15 +01:00  
				
					
						
							
							
								 
						
							
							
								01e93f48ed 
								
							
								 
							
						 
						
							
							
								
								Kill off MatrixCodeMessageException  
							
							... 
							
							
							
							This code brings the SimpleHttpClient into line with the
MatrixFederationHttpClient by having it raise HttpResponseExceptions when a
request fails (rather than trying to parse for matrix errors and maybe raising
MatrixCodeMessageException).
Then, whenever we were checking for MatrixCodeMessageException and turning them
into SynapseErrors, we now need to check for HttpResponseExceptions and call
to_synapse_error. 
							
						 
						
							2018-08-01 16:02:46 +01:00  
				
					
						
							
							
								 
						
							
							
								443da003bc 
								
							
								 
							
						 
						
							
							
								
								Use new helper base class for membership requests  
							
							
							
						 
						
							2018-07-31 14:32:23 +01:00  
				
					
						
							
							
								 
						
							
							
								729b672823 
								
							
								 
							
						 
						
							
							
								
								Use new helper base class for ReplicationSendEventRestServlet  
							
							
							
						 
						
							2018-07-31 14:32:23 +01:00  
				
					
						
							
							
								 
						
							
							
								d81602b75a 
								
							
								 
							
						 
						
							
							
								
								Add helper base class for generating new replication endpoints  
							
							... 
							
							
							
							This will hopefully reduce the boiler plate required to implement new
internal HTTP requests. 
							
						 
						
							2018-07-31 14:32:20 +01:00  
				
					
						
							
							
								 
						
							
							
								0faa3223cd 
								
							
								 
							
						 
						
							
							
								
								Fix missing attributes on workers.  
							
							... 
							
							
							
							This was missed during the transition from attribute to getter for
getting state from context. 
							
						 
						
							2018-07-23 16:28:00 +01:00  
				
					
						
							
							
								 
						
							
							
								49af402019 
								
							
								 
							
						 
						
							
							
								
								run isort  
							
							
							
						 
						
							2018-07-09 16:09:20 +10:00  
				
					
						
							
							
								 
						
							
							
								77ac14b960 
								
									
								
							
								 
							
						 
						
							
							
								
								Pass around the reactor explicitly ( #3385 )  
							
							
							
						 
						
							2018-06-22 09:37:10 +01:00  
				
					
						
							
							
								 
						
							
							
								b78395b7fe 
								
							
								 
							
						 
						
							
							
								
								Refactor ResponseCache usage  
							
							... 
							
							
							
							Adds a `.wrap` method to ResponseCache which wraps up the boilerplate of a
(get, set) pair, and then use it throughout the codebase.
This will be largely non-functional, but does include the following functional
changes:
* federation_server.on_context_state_request: drops use of _server_linearizer
  which looked redundant and could cause incorrect cache misses by yielding
  between the get and the set.
* RoomListHandler.get_remote_public_room_list(): fixes logcontext leaks
* the wrap function includes some logging. I'm hoping this won't be too noisy
  on production. 
							
						 
						
							2018-04-12 13:02:15 +01:00  
				
					
						
							
							
								 
						
							
							
								b3384232a0 
								
							
								 
							
						 
						
							
							
								
								Add metrics for ResponseCache  
							
							
							
						 
						
							2018-04-10 23:14:47 +01:00  
				
					
						
							
							
								 
						
							
							
								0011ede3b0 
								
							
								 
							
						 
						
							
							
								
								Fix imports  
							
							
							
						 
						
							2018-03-14 14:19:23 +00:00  
				
					
						
							
							
								 
						
							
							
								62ad701326 
								
							
								 
							
						 
						
							
							
								
								s/join/joined/ in notify_user_membership_change  
							
							
							
						 
						
							2018-03-14 14:17:43 +00:00  
				
					
						
							
							
								 
						
							
							
								b27320b550 
								
							
								 
							
						 
						
							
							
								
								Implement RoomMemberWorkerHandler  
							
							
							
						 
						
							2018-03-13 18:26:00 +00:00  
				
					
						
							
							
								 
						
							
							
								d0fcc48f9d 
								
							
								 
							
						 
						
							
							
								
								extra_users is actually a list of UserIDs  
							
							
							
						 
						
							2018-03-13 11:20:06 +00:00  
				
					
						
							
							
								 
						
							
							
								126b9bf96f 
								
							
								 
							
						 
						
							
							
								
								Log in the correct places  
							
							
							
						 
						
							2018-03-01 12:05:33 +00:00  
				
					
						
							
							
								 
						
							
							
								157298f986 
								
							
								 
							
						 
						
							
							
								
								Don't do preserve_fn for every request  
							
							
							
						 
						
							2018-03-01 11:59:45 +00:00  
				
					
						
							
							
								 
						
							
							
								89f90d808a 
								
							
								 
							
						 
						
							
							
								
								Add some logging  
							
							
							
						 
						
							2018-03-01 11:59:16 +00:00  
				
					
						
							
							
								 
						
							
							
								8ded8ba2c7 
								
							
								 
							
						 
						
							
							
								
								Make repl send_event idempotent and retry on timeouts  
							
							... 
							
							
							
							If we treated timeouts as failures on the worker we would attempt to
clean up e.g. push actions while the master might still process the
event. 
							
						 
						
							2018-03-01 11:20:34 +00:00  
				
					
						
							
							
								 
						
							
							
								6b8604239f 
								
							
								 
							
						 
						
							
							
								
								Correctly send ratelimit and extra_users params  
							
							
							
						 
						
							2018-03-01 10:08:39 +00:00  
				
					
						
							
							
								 
						
							
							
								28e973ac11 
								
							
								 
							
						 
						
							
							
								
								Calculate push actions on worker  
							
							
							
						 
						
							2018-02-28 18:02:30 +00:00  
				
					
						
							
							
								 
						
							
							
								106906a65e 
								
							
								 
							
						 
						
							
							
								
								Don't serialize current state over replication  
							
							
							
						 
						
							2018-02-15 13:53:18 +00:00  
				
					
						
							
							
								 
						
							
							
								ef344b10e5 
								
							
								 
							
						 
						
							
							
								
								Don't log errors propogated from send_event  
							
							
							
						 
						
							2018-02-15 11:03:49 +00:00  
				
					
						
							
							
								 
						
							
							
								24dd73028a 
								
							
								 
							
						 
						
							
							
								
								Add replication http endpoint for event sending  
							
							
							
						 
						
							2018-02-07 10:32:32 +00:00