c3f296af32 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler._check_for_soft_fail async  
							
							
							
						 
						
							2020-02-03 16:16:31 +00:00  
				
					
						
							
							
								 
						
							
							
								dbdf843012 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler._persist_auth_tree async  
							
							
							
						 
						
							2020-02-03 16:14:58 +00:00  
				
					
						
							
							
								 
						
							
							
								ebd6a15af3 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler.do_invite_join async  
							
							
							
						 
						
							2020-02-03 16:13:13 +00:00  
				
					
						
							
							
								 
						
							
							
								94f7b4cd54 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler.on_event_auth async  
							
							
							
						 
						
							2020-02-03 16:06:46 +00:00  
				
					
						
							
							
								 
						
							
							
								863087d186 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler.on_exchange_third_party_invite_request async  
							
							
							
						 
						
							2020-02-03 16:02:50 +00:00  
				
					
						
							
							
								 
						
							
							
								957129f4a7 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler.construct_auth_difference async  
							
							
							
						 
						
							2020-02-03 16:00:46 +00:00  
				
					
						
							
							
								 
						
							
							
								0d5f2f4bb0 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler._update_context_for_auth_events async  
							
							
							
						 
						
							2020-02-03 15:55:35 +00:00  
				
					
						
							
							
								 
						
							
							
								a25ddf26a3 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler._update_auth_events_and_context_for_auth async  
							
							
							
						 
						
							2020-02-03 15:53:54 +00:00  
				
					
						
							
							
								 
						
							
							
								bc9b75c6f0 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler.do_auth async  
							
							
							
						 
						
							2020-02-03 15:51:24 +00:00  
				
					
						
							
							
								 
						
							
							
								8033b257a7 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler._prep_event async  
							
							
							
						 
						
							2020-02-03 15:49:32 +00:00  
				
					
						
							
							
								 
						
							
							
								1cdc253e0a 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler._handle_new_event async  
							
							
							
						 
						
							2020-02-03 15:48:33 +00:00  
				
					
						
							
							
								 
						
							
							
								c556ed9e15 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler._handle_new_events async  
							
							
							
						 
						
							2020-02-03 15:43:51 +00:00  
				
					
						
							
							
								 
						
							
							
								6e89ec5e32 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler.on_make_leave_request async  
							
							
							
						 
						
							2020-02-03 15:40:41 +00:00  
				
					
						
							
							
								 
						
							
							
								d184cbc031 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler.on_send_leave_request async  
							
							
							
						 
						
							2020-02-03 15:39:24 +00:00  
				
					
						
							
							
								 
						
							
							
								98681f90cb 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler.on_make_join_request async  
							
							
							
						 
						
							2020-02-03 15:38:02 +00:00  
				
					
						
							
							
								 
						
							
							
								af8ba6b525 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler.on_invite_request async  
							
							
							
						 
						
							2020-02-03 15:33:42 +00:00  
				
					
						
							
							
								 
						
							
							
								7571bf86f0 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler.on_send_join_request async  
							
							
							
						 
						
							2020-02-03 15:32:48 +00:00  
				
					
						
							
							
								 
						
							
							
								b3e44f0bdf 
								
							
								 
							
						 
						
							
							
								
								make FederationHandler.on_query_auth async  
							
							
							
						 
						
							2020-02-03 15:30:23 +00:00  
				
					
						
							
							
								 
						
							
							
								7f93eb1903 
								
									
								
							
								 
							
						 
						
							
							
								
								pass room_version into compute_event_signature ( #6807 )  
							
							
							
						 
						
							2020-01-31 13:47:43 +00:00  
				
					
						
							
							
								 
						
							
							
								160522e32c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #6820  from matrix-org/rav/get_room_version_id  
							
							... 
							
							
							
							Make `get_room_version` return a RoomVersion object 
							
						 
						
							2020-01-31 10:56:42 +00:00  
				
					
						
							
							
								 
						
							
							
								d7bf793cc1 
								
							
								 
							
						 
						
							
							
								
								s/get_room_version/get_room_version_id/  
							
							... 
							
							
							
							... to make way for a forthcoming get_room_version which returns a RoomVersion
object. 
							
						 
						
							2020-01-31 10:06:21 +00:00  
				
					
						
							
							
								 
						
							
							
								7d846e8704 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix bug with getting missing auth event during join 500'ed ( #6810 )  
							
							
							
						 
						
							2020-01-31 09:49:13 +00:00  
				
					
						
							
							
								 
						
							
							
								46a446828d 
								
									
								
							
								 
							
						 
						
							
							
								
								pass room version into FederationHandler.on_invite_request ( #6805 )  
							
							
							
						 
						
							2020-01-30 22:13:02 +00:00  
				
					
						
							
							
								 
						
							
							
								b660327056 
								
									
								
							
								 
							
						 
						
							
							
								
								Resync remote device list when detected as stale. ( #6786 )  
							
							
							
						 
						
							2020-01-30 17:06:38 +00:00  
				
					
						
							
							
								 
						
							
							
								dcd85b976d 
								
							
								 
							
						 
						
							
							
								
								Make /directory/room/<alias> handle restrictive power levels  
							
							... 
							
							
							
							Fixes a bug where the alias would be added, but `PUT /directory/room/<alias>`
would return a 403. 
							
						 
						
							2020-01-29 11:52:52 +00:00  
				
					
						
							
							
								 
						
							
							
								b36095ae5c 
								
							
								 
							
						 
						
							
							
								
								Set the PL for aliases events to 0.  
							
							
							
						 
						
							2020-01-29 11:52:52 +00:00  
				
					
						
							
							
								 
						
							
							
								ee42a5513e 
								
							
								 
							
						 
						
							
							
								
								Factor out a `copy_power_levels_contents` method  
							
							... 
							
							
							
							I'm going to need another copy (hah!) of this. 
							
						 
						
							2020-01-29 11:52:52 +00:00  
				
					
						
							
							
								 
						
							
							
								2cad8baa70 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix bug when querying remote user keys that require a resync. ( #6796 )  
							
							... 
							
							
							
							We ended up only returning a single device, rather than all of them. 
							
						 
						
							2020-01-29 09:56:41 +00:00  
				
					
						
							
							
								 
						
							
							
								e17a110661 
								
									
								
							
								 
							
						 
						
							
							
								
								Detect unknown remote devices and mark cache as stale ( #6776 )  
							
							... 
							
							
							
							We just mark the fact that the cache may be stale in the database for
now. 
							
						 
						
							2020-01-28 14:43:21 +00:00  
				
					
						
							
							
								 
						
							
							
								a8ce7aeb43 
								
									
								
							
								 
							
						 
						
							
							
								
								Pass room version object into event_auth.check and check_redaction ( #6788 )  
							
							... 
							
							
							
							These are easier to work with than the strings and we normally have one around.
This fixes `FederationHander._persist_auth_tree` which was passing a
RoomVersion object into event_auth.check instead of a string. 
							
						 
						
							2020-01-28 14:18:29 +00:00  
				
					
						
							
							
								 
						
							
							
								8df862e45d 
								
									
								
							
								 
							
						 
						
							
							
								
								Add `rooms.room_version` column ( #6729 )  
							
							... 
							
							
							
							This is so that we don't have to rely on pulling it out from `current_state_events` table. 
							
						 
						
							2020-01-27 14:30:57 +00:00  
				
					
						
							
							
								 
						
							
							
								9f7aaf90b5 
								
									
								
							
								 
							
						 
						
							
							
								
								Validate client_secret parameter ( #6767 )  
							
							
							
						 
						
							2020-01-24 14:28:40 +00:00  
				
					
						
							
							
								 
						
							
							
								ce84dd9e20 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary abstractions in admin handler ( #6751 )  
							
							
							
						 
						
							2020-01-22 15:09:57 +00:00  
				
					
						
							
							
								 
						
							
							
								a17f64361c 
								
									
								
							
								 
							
						 
						
							
							
								
								Add more logging around message retention policies support ( #6717 )  
							
							... 
							
							
							
							So we can debug issues like #6683  more easily 
							
						 
						
							2020-01-17 20:51:44 +00:00  
				
					
						
							
							
								 
						
							
							
								3b72bb780a 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #6714  from matrix-org/babolivier/retention_select_event  
							
							... 
							
							
							
							Fix instantiation of message retention purge jobs 
							
						 
						
							2020-01-17 14:23:51 +00:00  
				
					
						
							
							
								 
						
							
							
								59dc87c618 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #6724  from matrix-org/rav/log_saml_attributes  
							
							... 
							
							
							
							Log saml assertions rather than the whole response 
							
						 
						
							2020-01-17 10:33:24 +00:00  
				
					
						
							
							
								 
						
							
							
								2b6a77fcde 
								
									
								
							
								 
							
						 
						
							
							
								
								Delegate remote_user_id mapping to the saml mapping provider ( #6723 )  
							
							... 
							
							
							
							Turns out that figuring out a remote user id for the SAML user isn't quite as obvious as it seems. Factor it out to the SamlMappingProvider so that it's easy to control. 
							
						 
						
							2020-01-17 10:32:47 +00:00  
				
					
						
							
							
								 
						
							
							
								acc7820574 
								
							
								 
							
						 
						
							
							
								
								Log saml assertions rather than the whole response  
							
							... 
							
							
							
							... since the whole response is huge.
We even need to break up the assertions, since kibana otherwise truncates them. 
							
						 
						
							2020-01-16 22:26:34 +00:00  
				
					
						
							
							
								 
						
							
							
								d386f2f339 
								
									
								
							
								 
							
						 
						
							
							
								
								Add StateMap type alias ( #6715 )  
							
							
							
						 
						
							2020-01-16 13:31:22 +00:00  
				
					
						
							
							
								 
						
							
							
								48c3a96886 
								
									
								
							
								 
							
						 
						
							
							
								
								Port synapse.replication.tcp to async/await ( #6666 )  
							
							... 
							
							
							
							* Port synapse.replication.tcp to async/await
* Newsfile
* Correctly document type of on_<FOO> functions as async
* Don't be overenthusiastic with the asyncing.... 
							
						 
						
							2020-01-16 09:16:12 +00:00  
				
					
						
							
							
								 
						
							
							
								855af069a4 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix instantiation of message retention purge jobs  
							
							... 
							
							
							
							When figuring out which topological token to start a purge job at, we
need to do the following:
1. Figure out a timestamp before which events will be purged
2. Select the first stream ordering after that timestamp
3. Select info about the first event after that stream ordering
4. Build a topological token from that info
In some situations (e.g. quiet rooms with a short max_lifetime), there
might not be an event after the stream ordering at step 3, therefore we
abort the purge with the error `No event found`. To mitigate that, this
patch fetches the first event _before_ the stream ordering, instead of
after. 
							
						 
						
							2020-01-15 18:56:18 +00:00  
				
					
						
							
							
								 
						
							
							
								28c98e51ff 
								
									
								
							
								 
							
						 
						
							
							
								
								Add `local_current_membership` table ( #6655 )  
							
							... 
							
							
							
							Currently we rely on `current_state_events` to figure out what rooms a
user was in and their last membership event in there. However, if the
server leaves the room then the table may be cleaned up and that
information is lost. So lets add a table that separately holds that
information. 
							
						 
						
							2020-01-15 14:59:33 +00:00  
				
					
						
							
							
								 
						
							
							
								326c893d24 
								
									
								
							
								 
							
						 
						
							
							
								
								Kill off RegistrationError ( #6691 )  
							
							... 
							
							
							
							This is pretty pointless. Let's just use SynapseError. 
							
						 
						
							2020-01-13 12:48:22 +00:00  
				
					
						
							
							
								 
						
							
							
								2d07c73777 
								
									
								
							
								 
							
						 
						
							
							
								
								Don't assign numeric IDs for empty usernames ( #6690 )  
							
							... 
							
							
							
							Fix a bug where we would assign a numeric userid if somebody tried registering
with an empty username 
							
						 
						
							2020-01-13 12:47:30 +00:00  
				
					
						
							
							
								 
						
							
							
								dc69a1cf43 
								
							
								 
							
						 
						
							
							
								
								Pass client redirect URL into SAML mapping providers  
							
							
							
						 
						
							2020-01-12 21:40:49 +00:00  
				
					
						
							
							
								 
						
							
							
								47e63cc67a 
								
							
								 
							
						 
						
							
							
								
								Pass the module_api into the SamlMappingProvider  
							
							... 
							
							
							
							... for consistency with other modules, and because we'll need it sooner or
later and it will be a pain to introduce later. 
							
						 
						
							2020-01-12 21:40:49 +00:00  
				
					
						
							
							
								 
						
							
							
								d2906fe666 
								
							
								 
							
						 
						
							
							
								
								Allow admin users to create or modify users without a shared secret ( #6495 )  
							
							... 
							
							
							
							Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de> 
							
						 
						
							2020-01-09 13:31:00 +00:00  
				
					
						
							
							
								 
						
							
							
								be29ed7ad8 
								
									
								
							
								 
							
						 
						
							
							
								
								Correctly proxy remote group HTTP errors. ( #6654 )  
							
							... 
							
							
							
							e.g. if remote returns a 404 then that shouldn't be treated as an error
but should be proxied through. 
							
						 
						
							2020-01-07 15:36:41 +00:00  
				
					
						
							
							
								 
						
							
							
								0ab5853ec9 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #6652  from matrix-org/babolivier/depth_missing_events  
							
							... 
							
							
							
							Fix conditions failing if min_depth = 0 
							
						 
						
							2020-01-07 15:22:07 +01:00  
				
					
						
							
							
								 
						
							
							
								cd428a93e2 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix conditions failing if min_depth = 0  
							
							... 
							
							
							
							This could result in Synapse not fetching prev_events for new events in the room if it has missed some events. 
							
						 
						
							2020-01-07 12:08:58 +00:00