4b965c862d 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove redundant "coding: utf-8" lines ( #9786 )  
							
							... 
							
							
							
							Part of #9744 
Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now.
`Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` 
							
						 
						
							2021-04-14 15:34:27 +01:00  
				
					
						
							
							
								 
						
							
							
								b7748d3c00 
								
									
								
							
								 
							
						 
						
							
							
								
								Import HomeServer from the proper module. ( #9665 )  
							
							
							
						 
						
							2021-03-23 07:12:48 -04:00  
				
					
						
							
							
								 
						
							
							
								8dd2ea65a9 
								
									
								
							
								 
							
						 
						
							
							
								
								Consistently check whether a password may be set for a user. ( #9636 )  
							
							
							
						 
						
							2021-03-18 12:54:08 -04:00  
				
					
						
							
							
								 
						
							
							
								1baab20352 
								
									
								
							
								 
							
						 
						
							
							
								
								Add type hints to various handlers. ( #9223 )  
							
							... 
							
							
							
							With this change all handlers except the e2e_* ones have
type hints enabled. 
							
						 
						
							2021-01-26 10:50:21 -05:00  
				
					
						
							
							
								 
						
							
							
								8a4a4186de 
								
									
								
							
								 
							
						 
						
							
							
								
								Simplify super() calls to Python 3 syntax. ( #8344 )  
							
							... 
							
							
							
							This converts calls like super(Foo, self) -> super().
Generated with:
    sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py 
							
						 
						
							2020-09-18 09:56:44 -04:00  
				
					
						
							
							
								 
						
							
							
								9dc6f3075a 
								
									
								
							
								 
							
						 
						
							
							
								
								Hash passwords earlier in the password reset process ( #7538 )  
							
							... 
							
							
							
							This now matches the logic of the registration process as modified in
56db0b1365#7523 . 
							
						 
						
							2020-05-20 09:48:03 -04:00  
				
					
						
							
							
								 
						
							
							
								eed7c5b89e 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert auth handler to async/await ( #7261 )  
							
							
							
						 
						
							2020-04-15 12:40:18 -04:00  
				
					
						
							
							
								 
						
							
							
								e8e2ddb60a 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow server admins to define and enforce a password policy (MSC2000). ( #7118 )  
							
							
							
						 
						
							2020-03-26 16:51:13 +00:00  
				
					
						
							
							
								 
						
							
							
								88b41986db 
								
									
								
							
								 
							
						 
						
							
							
								
								Add an option to the set password API to choose whether to logout other devices. ( #7085 )  
							
							
							
						 
						
							2020-03-18 07:50:00 -04:00  
				
					
						
							
							
								 
						
							
							
								9646a593ac 
								
							
								 
							
						 
						
							
							
								
								Added possibilty to disable local password authentication ( #5092 )  
							
							... 
							
							
							
							Signed-off-by: Daniel Hoffend <dh@dotlan.net> 
							
						 
						
							2019-06-27 18:37:29 +01:00  
				
					
						
							
							
								 
						
							
							
								32e7c9e7f2 
								
									
								
							
								 
							
						 
						
							
							
								
								Run Black. ( #5482 )  
							
							
							
						 
						
							2019-06-20 19:32:02 +10:00  
				
					
						
							
							
								 
						
							
							
								49af402019 
								
							
								 
							
						 
						
							
							
								
								run isort  
							
							
							
						 
						
							2018-07-09 16:09:20 +10:00  
				
					
						
							
							
								 
						
							
							
								f8e1ab5fee 
								
							
								 
							
						 
						
							
							
								
								Do bcrypt hashing in a background thread  
							
							
							
						 
						
							2018-01-10 18:01:28 +00:00  
				
					
						
							
							
								 
						
							
							
								ad7e570d07 
								
							
								 
							
						 
						
							
							
								
								Delete devices in various logout situations  
							
							... 
							
							
							
							Make sure that we delete devices whenever a user is logged out due to any of
the following situations:
 * /logout
 * /logout_all
 * change password
 * deactivate account (by the user or by an admin)
 * invalidate access token from a dynamic module
Fixes  #2672 . 
							
						 
						
							2017-11-29 16:44:35 +00:00  
				
					
						
							
							
								 
						
							
							
								ae31f8ce45 
								
							
								 
							
						 
						
							
							
								
								Move set_password into its own handler  
							
							... 
							
							
							
							Non-functional refactoring to move set_password. This means that we'll be able
to properly deactivate devices and access tokens without introducing a
dependency loop. 
							
						 
						
							2017-11-29 16:44:35 +00:00