49af402019 
								
							
								 
							
						 
						
							
							
								
								run isort  
							
							
							
						 
						
							2018-07-09 16:09:20 +10:00  
				
					
						
							
							
								 
						
							
							
								3cf3e08a97 
								
							
								 
							
						 
						
							
							
								
								Implementation of server_acls  
							
							... 
							
							
							
							... as described at
https://docs.google.com/document/d/1EttUVzjc2DWe2ciw4XPtNpUpIl9lWXGEsy2ewDS7rtw . 
							
						 
						
							2018-07-04 19:06:20 +01:00  
				
					
						
							
							
								 
						
							
							
								546bc9e28b 
								
							
								 
							
						 
						
							
							
								
								More server_name validation  
							
							... 
							
							
							
							We need to do a bit more validation when we get a server name, but don't want
to be re-doing it all over the shop, so factor out a separate
parse_and_validate_server_name, and do the extra validation.
Also, use it to verify the server name in the config file. 
							
						 
						
							2018-07-04 18:59:51 +01:00  
				
					
						
							
							
								 
						
							
							
								508196e08a 
								
									
								
							
								 
							
						 
						
							
							
								
								Reject invalid server names ( #3480 )  
							
							... 
							
							
							
							Make sure that server_names used in auth headers are sane, and reject them with
a sensible error code, before they disappear off into the depths of the system. 
							
						 
						
							2018-07-03 14:36:14 +01:00  
				
					
						
							
							
								 
						
							
							
								9255a6cb17 
								
							
								 
							
						 
						
							
							
								
								Improve exception handling for background processes  
							
							... 
							
							
							
							There were a bunch of places where we fire off a process to happen in the
background, but don't have any exception handling on it - instead relying on
the unhandled error being logged when the relevent deferred gets
garbage-collected.
This is unsatisfactory for a number of reasons:
 - logging on garbage collection is best-effort and may happen some time after
   the error, if at all
 - it can be hard to figure out where the error actually happened.
 - it is logged as a scary CRITICAL error which (a) I always forget to grep for
   and (b) it's not really CRITICAL if a background process we don't care about
   fails.
So this is an attempt to add exception handling to everything we fire off into
the background. 
							
						 
						
							2018-04-27 11:07:40 +01:00  
				
					
						
							
							
								 
						
							
							
								78a9698650 
								
							
								 
							
						 
						
							
							
								
								fix federation_domain_whitelist  
							
							... 
							
							
							
							we were checking the wrong server_name on inbound requests 
							
						 
						
							2018-04-13 15:47:43 +01:00  
				
					
						
							
							
								 
						
							
							
								25b0ba30b1 
								
							
								 
							
						 
						
							
							
								
								revert last to PR properly  
							
							
							
						 
						
							2018-04-13 15:46:37 +01:00  
				
					
						
							
							
								 
						
							
							
								f8d46cad3c 
								
							
								 
							
						 
						
							
							
								
								correctly auth inbound federation_domain_whitelist reqs  
							
							
							
						 
						
							2018-04-13 15:41:52 +01:00  
				
					
						
							
							
								 
						
							
							
								b370fe61c0 
								
							
								 
							
						 
						
							
							
								
								Implement group join API  
							
							
							
						 
						
							2018-04-06 15:43:27 +01:00  
				
					
						
							
							
								 
						
							
							
								1d71f484d4 
								
							
								 
							
						 
						
							
							
								
								use PUT instead of POST for federating groups/m.join_policy  
							
							
							
						 
						
							2018-04-06 12:54:09 +02:00  
				
					
						
							
							
								 
						
							
							
								104c0bc1d5 
								
							
								 
							
						 
						
							
							
								
								Use "/settings/" (plural)  
							
							
							
						 
						
							2018-04-05 14:07:16 +01:00  
				
					
						
							
							
								 
						
							
							
								eb8d8d6f57 
								
							
								 
							
						 
						
							
							
								
								Use join_policy API instead of joinable  
							
							... 
							
							
							
							The API is now under
 /groups/$group_id/setting/m.join_policy
and expects a JSON blob of the shape
```json
{
  "m.join_policy": {
    "type": "invite"
  }
}
```
where "invite" could alternatively be "open". 
							
						 
						
							2018-04-03 16:16:40 +01:00  
				
					
						
							
							
								 
						
							
							
								79452edeee 
								
							
								 
							
						 
						
							
							
								
								Add joinability for groups  
							
							... 
							
							
							
							Adds API to set the 'joinable' flag, and corresponding flag in the
table. 
							
						 
						
							2018-03-28 14:03:37 +01:00  
				
					
						
							
							
								 
						
							
							
								cea462e285 
								
							
								 
							
						 
						
							
							
								
								s/replication_server/federation_server  
							
							
							
						 
						
							2018-03-13 13:22:21 +00:00  
				
					
						
							
							
								 
						
							
							
								265b993b8a 
								
							
								 
							
						 
						
							
							
								
								Split replication layer into two  
							
							
							
						 
						
							2018-03-13 10:55:47 +00:00  
				
					
						
							
							
								 
						
							
							
								ab9f844aaf 
								
									
								
							
								 
							
						 
						
							
							
								
								Add federation_domain_whitelist option ( #2820 )  
							
							... 
							
							
							
							Add federation_domain_whitelist
gives a way to restrict which domains your HS is allowed to federate with.
useful mainly for gracefully preventing a private but internet-connected HS from trying to federate to the wider public Matrix network 
							
						 
						
							2018-01-22 19:11:18 +01:00  
				
					
						
							
							
								 
						
							
							
								82e4bfb53d 
								
							
								 
							
						 
						
							
							
								
								Add brackets  
							
							
							
						 
						
							2017-11-09 10:06:42 +00:00  
				
					
						
							
							
								 
						
							
							
								e8814410ef 
								
							
								 
							
						 
						
							
							
								
								Have an explicit API to update room config  
							
							
							
						 
						
							2017-11-08 16:13:27 +00:00  
				
					
						
							
							
								 
						
							
							
								94ff2cda73 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "Modify group room association API to allow modification of is_public"  
							
							
							
						 
						
							2017-11-08 15:43:34 +00:00  
				
					
						
							
							
								 
						
							
							
								20fe347906 
								
							
								 
							
						 
						
							
							
								
								Modify group room association API to allow modification of is_public  
							
							... 
							
							
							
							also includes renamings to make things more consistent. 
							
						 
						
							2017-10-31 17:04:28 +00:00  
				
					
						
							
							
								 
						
							
							
								39dc52157d 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into erikj/group_fed_update_profile  
							
							
							
						 
						
							2017-10-24 09:16:20 +01:00  
				
					
						
							
							
								 
						
							
							
								eaaabc6c4f 
								
							
								 
							
						 
						
							
							
								
								replace 'except:' with 'except Exception:'  
							
							... 
							
							
							
							what could possibly go wrong 
							
						 
						
							2017-10-23 15:52:32 +01:00  
				
					
						
							
							
								 
						
							
							
								ce6d4914f4 
								
							
								 
							
						 
						
							
							
								
								Correctly wire in update group profile over federation  
							
							
							
						 
						
							2017-10-23 15:21:24 +01:00  
				
					
						
							
							
								 
						
							
							
								011d03a0f6 
								
							
								 
							
						 
						
							
							
								
								Fix typo  
							
							
							
						 
						
							2017-10-19 11:22:48 +01:00  
				
					
						
							
							
								 
						
							
							
								9ab859f27b 
								
							
								 
							
						 
						
							
							
								
								Fix typo in group attestation handling  
							
							
							
						 
						
							2017-10-19 10:55:52 +01:00  
				
					
						
							
							
								 
						
							
							
								85f5674e44 
								
							
								 
							
						 
						
							
							
								
								Delint  
							
							
							
						 
						
							2017-10-16 15:52:17 +01:00  
				
					
						
							
							
								 
						
							
							
								2c5972f87f 
								
							
								 
							
						 
						
							
							
								
								Implement GET /groups/$groupId/invited_users  
							
							
							
						 
						
							2017-10-16 15:31:11 +01:00  
				
					
						
							
							
								 
						
							
							
								17b8e2bd02 
								
							
								 
							
						 
						
							
							
								
								Add remove room API  
							
							
							
						 
						
							2017-09-26 15:52:41 +01:00  
				
					
						
							
							
								 
						
							
							
								ef8e578677 
								
							
								 
							
						 
						
							
							
								
								Add bulk group publicised lookup API  
							
							
							
						 
						
							2017-08-09 13:36:22 +01:00  
				
					
						
							
							
								 
						
							
							
								6f443a74cf 
								
							
								 
							
						 
						
							
							
								
								Add update group profile API  
							
							
							
						 
						
							2017-07-20 09:46:33 +01:00  
				
					
						
							
							
								 
						
							
							
								14a34f12d7 
								
							
								 
							
						 
						
							
							
								
								Comments  
							
							
							
						 
						
							2017-07-18 17:28:42 +01:00  
				
					
						
							
							
								 
						
							
							
								12ed4ee48e 
								
							
								 
							
						 
						
							
							
								
								Correctly parse query params  
							
							
							
						 
						
							2017-07-18 15:33:09 +01:00  
				
					
						
							
							
								 
						
							
							
								cccfcfa7b9 
								
							
								 
							
						 
						
							
							
								
								Comments  
							
							
							
						 
						
							2017-07-18 10:35:18 +01:00  
				
					
						
							
							
								 
						
							
							
								2f9eafdd36 
								
							
								 
							
						 
						
							
							
								
								Add local group server support  
							
							
							
						 
						
							2017-07-17 12:03:49 +01:00  
				
					
						
							
							
								 
						
							
							
								cb3aee8219 
								
							
								 
							
						 
						
							
							
								
								Ensure category and role ids are non-null  
							
							
							
						 
						
							2017-07-14 14:06:55 +01:00  
				
					
						
							
							
								 
						
							
							
								8575e3160f 
								
							
								 
							
						 
						
							
							
								
								Comments  
							
							
							
						 
						
							2017-07-13 13:52:41 +01:00  
				
					
						
							
							
								 
						
							
							
								7a39da8cc6 
								
							
								 
							
						 
						
							
							
								
								Add summary APIs to federation  
							
							
							
						 
						
							2017-07-13 11:13:19 +01:00  
				
					
						
							
							
								 
						
							
							
								a62406aaa5 
								
							
								 
							
						 
						
							
							
								
								Add group summary APIs  
							
							
							
						 
						
							2017-07-12 11:36:15 +01:00  
				
					
						
							
							
								 
						
							
							
								fe4e885f54 
								
							
								 
							
						 
						
							
							
								
								Add federation API for adding room to group  
							
							
							
						 
						
							2017-07-11 14:35:07 +01:00  
				
					
						
							
							
								 
						
							
							
								6322fbbd41 
								
							
								 
							
						 
						
							
							
								
								Comment  
							
							
							
						 
						
							2017-07-11 11:52:03 +01:00  
				
					
						
							
							
								 
						
							
							
								b8ca494ee9 
								
							
								 
							
						 
						
							
							
								
								Initial group server implementation  
							
							
							
						 
						
							2017-07-10 15:44:15 +01:00  
				
					
						
							
							
								 
						
							
							
								5e49a57ecc 
								
							
								 
							
						 
						
							
							
								
								Separate federation servlet into different lists  
							
							
							
						 
						
							2017-07-05 14:32:24 +01:00  
				
					
						
							
							
								 
						
							
							
								310b1ccdc1 
								
							
								 
							
						 
						
							
							
								
								Use preserve_fn and add logs  
							
							
							
						 
						
							2017-05-05 13:41:19 +01:00  
				
					
						
							
							
								 
						
							
							
								db7d0c3127 
								
							
								 
							
						 
						
							
							
								
								Always mark remotes as up if we receive a signed request from them  
							
							
							
						 
						
							2017-05-05 10:34:53 +01:00  
				
					
						
							
							
								 
						
							
							
								c974116f19 
								
							
								 
							
						 
						
							
							
								
								Implement device key caching over federation  
							
							
							
						 
						
							2017-01-26 16:07:24 +00:00  
				
					
						
							
							
								 
						
							
							
								f32fb65552 
								
							
								 
							
						 
						
							
							
								
								Add new API appservice specific public room list  
							
							
							
						 
						
							2016-12-06 16:12:27 +00:00  
				
					
						
							
							
								 
						
							
							
								5810cffd33 
								
							
								 
							
						 
						
							
							
								
								Pass since/from parameters over federation  
							
							
							
						 
						
							2016-09-15 10:36:19 +01:00  
				
					
						
							
							
								 
						
							
							
								24f36469bc 
								
							
								 
							
						 
						
							
							
								
								Add federation /version API  
							
							
							
						 
						
							2016-08-05 16:36:07 +01:00  
				
					
						
							
							
								 
						
							
							
								597c79be10 
								
							
								 
							
						 
						
							
							
								
								Change the way we specify if we require auth or not  
							
							
							
						 
						
							2016-08-05 16:17:04 +01:00  
				
					
						
							
							
								 
						
							
							
								b4e2290d89 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_ids_api  
							
							
							
						 
						
							2016-08-04 14:04:35 +01:00