f21e24ffc2 
								
									
								
							
								 
							
						 
						
							
							
								
								Add ability for access tokens to belong to one user but grant access to another user. ( #8616 )  
							
							... 
							
							
							
							We do it this way round so that only the "owner" can delete the access token (i.e. `/logout/all` by the "owner" also deletes that token, but `/logout/all` by the "target user" doesn't).
A future PR will add an API for creating such a token.
When the target user and authenticated entity are different the `Processed request` log line will be logged with a: `{@admin:server as @bob:server} ...`. I'm not convinced by that format (especially since it adds spaces in there, making it harder to use `cut -d ' '` to chop off the start of log lines). Suggestions welcome. 
							
						 
						
							2020-10-29 15:58:44 +00:00  
				
					
						
							
							
								 
						
							
							
								4cce8ef74e 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert appservice to async. ( #7973 )  
							
							
							
						 
						
							2020-07-30 07:27:39 -04:00  
				
					
						
							
							
								 
						
							
							
								8b3d9b6b19 
								
							
								 
							
						 
						
							
							
								
								Run black.  
							
							
							
						 
						
							2018-08-10 23:54:09 +10:00  
				
					
						
							
							
								 
						
							
							
								49af402019 
								
							
								 
							
						 
						
							
							
								
								run isort  
							
							
							
						 
						
							2018-07-09 16:09:20 +10:00  
				
					
						
							
							
								 
						
							
							
								ab1dc84779 
								
							
								 
							
						 
						
							
							
								
								Add extra space before inline comment  
							
							
							
						 
						
							2017-11-16 18:22:40 +00:00  
				
					
						
							
							
								 
						
							
							
								e836bdf734 
								
							
								 
							
						 
						
							
							
								
								Fix tests  
							
							
							
						 
						
							2017-11-16 18:14:39 +00:00  
				
					
						
							
							
								 
						
							
							
								650f0e69f2 
								
							
								 
							
						 
						
							
							
								
								Compile the regex's used in ASes  
							
							
							
						 
						
							2017-03-28 13:27:21 +01:00  
				
					
						
							
							
								 
						
							
							
								320dfe523c 
								
							
								 
							
						 
						
							
							
								
								Make notify_interested_services faster  
							
							
							
						 
						
							2016-08-17 17:20:50 +01:00  
				
					
						
							
							
								 
						
							
							
								700487a7c7 
								
							
								 
							
						 
						
							
							
								
								Fix flake8 warnings for tests  
							
							
							
						 
						
							2016-02-19 15:34:38 +00:00  
				
					
						
							
							
								 
						
							
							
								2680043bc6 
								
							
								 
							
						 
						
							
							
								
								Require ID and as_token be unique for ASs  
							
							... 
							
							
							
							Defaults ID to as_token if not specified. This will change
when IDs are fully supported. 
							
						 
						
							2016-01-14 14:34:01 +00:00  
				
					
						
							
							
								 
						
							
							
								6c28ac260c 
								
							
								 
							
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2016-01-07 04:26:29 +00:00  
				
					
						
							
							
								 
						
							
							
								f43544eecc 
								
							
								 
							
						 
						
							
							
								
								Make the appservice use 'users_in_room' rather than get_room_members since it is cached  
							
							
							
						 
						
							2015-05-22 11:01:28 +01:00  
				
					
						
							
							
								 
						
							
							
								09cbff174a 
								
							
								 
							
						 
						
							
							
								
								Fix thinko whereby events *for the AS specifically* were not passed on.  
							
							... 
							
							
							
							This was caused by not explicitly checking the service.sender field. This
has now been fixed and a regression test has been added. 
							
						 
						
							2015-03-31 16:44:45 +01:00  
				
					
						
							
							
								 
						
							
							
								de190e49d5 
								
							
								 
							
						 
						
							
							
								
								Add more unit tests for exclusive namespaces.  
							
							
							
						 
						
							2015-02-27 11:51:06 +00:00  
				
					
						
							
							
								 
						
							
							
								127efeeb68 
								
							
								 
							
						 
						
							
							
								
								Update unit tests to use new format.  
							
							
							
						 
						
							2015-02-27 11:10:48 +00:00  
				
					
						
							
							
								 
						
							
							
								c7783d6fee 
								
							
								 
							
						 
						
							
							
								
								Notify ASes for events sent by other users in a room which an AS user is a part of.  
							
							
							
						 
						
							2015-02-11 10:36:08 +00:00  
				
					
						
							
							
								 
						
							
							
								89f2e8fbdf 
								
							
								 
							
						 
						
							
							
								
								Fix bug in store defer. Add more unit tests.  
							
							
							
						 
						
							2015-02-04 15:21:03 +00:00  
				
					
						
							
							
								 
						
							
							
								525a218b2b 
								
							
								 
							
						 
						
							
							
								
								Begin to add unit tests for appservice glue and regex testing.  
							
							
							
						 
						
							2015-02-04 12:24:20 +00:00