0d86f6334a 
								
									
								
							
								 
							
						 
						
							
							
								
								Rename `get_access_token_for_user_id` method to `create_access_token_for_user_id` ( #11369 )  
							
							
							
						 
						
							2021-11-17 14:10:57 +00:00  
				
					
						
							
							
								 
						
							
							
								47854c71e9 
								
									
								
							
								 
							
						 
						
							
							
								
								Use direct references for configuration variables (part 4). ( #10893 )  
							
							
							
						 
						
							2021-09-23 12:03:01 -04:00  
				
					
						
							
							
								 
						
							
							
								7562d887e1 
								
									
								
							
								 
							
						 
						
							
							
								
								Change the format of access tokens away from macaroons ( #5588 )  
							
							
							
						 
						
							2021-05-12 15:04:51 +01:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								0b3112123d 
								
									
								
							
								 
							
						 
						
							
							
								
								Use mock from the stdlib. ( #9772 )  
							
							
							
						 
						
							2021-04-09 13:44:38 -04:00  
				
					
						
							
							
								 
						
							
							
								7eb6e39a8f 
								
									
								
							
								 
							
						 
						
							
							
								
								Record the SSO Auth Provider in the login token ( #9510 )  
							
							... 
							
							
							
							This great big stack of commits is a a whole load of hoop-jumping to make it easier to store additional values in login tokens, and then to actually store the SSO Identity Provider in the login token. (Making use of that data will follow in a subsequent PR.) 
							
						 
						
							2021-03-04 14:44:22 +00:00  
				
					
						
							
							
								 
						
							
							
								8a33d217bd 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert some test cases to use HomeserverTestCase. ( #9377 )  
							
							... 
							
							
							
							This has the side-effect of being able to remove use of `inlineCallbacks`
in the test-cases for cleaner tracebacks. 
							
						 
						
							2021-02-11 10:29:09 -05:00  
				
					
						
							
							
								 
						
							
							
								ca60822b34 
								
									
								
							
								 
							
						 
						
							
							
								
								Simplify the way the `HomeServer` object caches its internal attributes. ( #8565 )  
							
							... 
							
							
							
							Changes `@cache_in_self` to use underscore-prefixed attributes. 
							
						 
						
							2020-11-30 13:28:44 -05:00  
				
					
						
							
							
								 
						
							
							
								c9c0ad5e20 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove the deprecated Handlers object ( #8494 )  
							
							... 
							
							
							
							All handlers now available via get_*_handler() methods on the HomeServer. 
							
						 
						
							2020-10-09 07:24:34 -04:00  
				
					
						
							
							
								 
						
							
							
								cef00211c8 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow for make_awaitable's return value to be re-used. ( #8261 )  
							
							
							
						 
						
							2020-09-08 07:26:55 -04:00  
				
					
						
							
							
								 
						
							
							
								c619253db8 
								
									
								
							
								 
							
						 
						
							
							
								
								Stop sub-classing object ( #8249 )  
							
							
							
						 
						
							2020-09-04 06:54:56 -04:00  
				
					
						
							
							
								 
						
							
							
								b49a5b9307 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert stats and related calls to async/await ( #8192 )  
							
							
							
						 
						
							2020-08-27 17:24:37 -04:00  
				
					
						
							
							
								 
						
							
							
								aee9130a83 
								
									
								
							
								 
							
						 
						
							
							
								
								Stop Auth methods from polling the config on every req. ( #7420 )  
							
							
							
						 
						
							2020-05-06 15:54:58 +01:00  
				
					
						
							
							
								 
						
							
							
								eed7c5b89e 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert auth handler to async/await ( #7261 )  
							
							
							
						 
						
							2020-04-15 12:40:18 -04:00  
				
					
						
							
							
								 
						
							
							
								5f158ec039 
								
									
								
							
								 
							
						 
						
							
							
								
								Implement access token expiry ( #5660 )  
							
							... 
							
							
							
							Record how long an access token is valid for, and raise a soft-logout once it
expires. 
							
						 
						
							2019-07-12 17:26:02 +01:00  
				
					
						
							
							
								 
						
							
							
								32e7c9e7f2 
								
									
								
							
								 
							
						 
						
							
							
								
								Run Black. ( #5482 )  
							
							
							
						 
						
							2019-06-20 19:32:02 +10:00  
				
					
						
							
							
								 
						
							
							
								13ad9930c8 
								
							
								 
							
						 
						
							
							
								
								add new error type ResourceLimit  
							
							
							
						 
						
							2018-08-16 18:02:02 +01:00  
				
					
						
							
							
								 
						
							
							
								06b331ff40 
								
							
								 
							
						 
						
							
							
								
								fix off by 1 errors  
							
							
							
						 
						
							2018-08-14 15:28:15 +01:00  
				
					
						
							
							
								 
						
							
							
								ed4bc3d2fc 
								
							
								 
							
						 
						
							
							
								
								fix off by 1s on mau  
							
							
							
						 
						
							2018-08-14 15:04:48 +01:00  
				
					
						
							
							
								 
						
							
							
								99dd975dae 
								
									
								
							
								 
							
						 
						
							
							
								
								Run tests under PostgreSQL ( #3423 )  
							
							
							
						 
						
							2018-08-13 16:47:46 +10:00  
				
					
						
							
							
								 
						
							
							
								8b3d9b6b19 
								
							
								 
							
						 
						
							
							
								
								Run black.  
							
							
							
						 
						
							2018-08-10 23:54:09 +10:00  
				
					
						
							
							
								 
						
							
							
								74b1d46ad9 
								
							
								 
							
						 
						
							
							
								
								do mau checks based on monthly_active_users table  
							
							
							
						 
						
							2018-08-02 16:57:35 +01:00  
				
					
						
							
							
								 
						
							
							
								6eed16d8a2 
								
							
								 
							
						 
						
							
							
								
								fix test for py3  
							
							
							
						 
						
							2018-08-01 14:02:10 +01:00  
				
					
						
							
							
								 
						
							
							
								7931393495 
								
							
								 
							
						 
						
							
							
								
								make count_monthly_users async synapse/handlers/auth.py  
							
							
							
						 
						
							2018-08-01 10:21:56 +01:00  
				
					
						
							
							
								 
						
							
							
								df2235e7fa 
								
							
								 
							
						 
						
							
							
								
								coding style  
							
							
							
						 
						
							2018-07-31 13:16:20 +01:00  
				
					
						
							
							
								 
						
							
							
								251e6c1210 
								
							
								 
							
						 
						
							
							
								
								limit register and sign in on number of monthly users  
							
							
							
						 
						
							2018-07-30 15:55:57 +01:00  
				
					
						
							
							
								 
						
							
							
								49af402019 
								
							
								 
							
						 
						
							
							
								
								run isort  
							
							
							
						 
						
							2018-07-09 16:09:20 +10:00  
				
					
						
							
							
								 
						
							
							
								51adaac953 
								
							
								 
							
						 
						
							
							
								
								Fix email push in pusher worker  
							
							... 
							
							
							
							This was broken when device list updates were implemented, as Mailer
could no longer instantiate an AuthHandler due to a dependency on
federation sending. 
							
						 
						
							2017-02-02 10:53:36 +00:00  
				
					
						
							
							
								 
						
							
							
								1c4f05db41 
								
							
								 
							
						 
						
							
							
								
								Stop putting a time caveat on access tokens  
							
							... 
							
							
							
							The 'time' caveat on the access tokens was something of a lie, since we weren't
enforcing it; more pertinently its presence stops us ever adding useful time
caveats.
Let's move in the right direction by not lying in our caveats. 
							
						 
						
							2016-11-29 16:49:41 +00:00  
				
					
						
							
							
								 
						
							
							
								a8bcc7274d 
								
							
								 
							
						 
						
							
							
								
								PEP8  
							
							
							
						 
						
							2016-08-08 17:20:38 +01:00  
				
					
						
							
							
								 
						
							
							
								6fe6a6f029 
								
							
								 
							
						 
						
							
							
								
								Fix login with m.login.token  
							
							... 
							
							
							
							login with token (as used by CAS auth) was broken by 067596d 
							
						 
						
							2016-08-08 16:40:39 +01:00  
				
					
						
							
							
								 
						
							
							
								700487a7c7 
								
							
								 
							
						 
						
							
							
								
								Fix flake8 warnings for tests  
							
							
							
						 
						
							2016-02-19 15:34:38 +00:00  
				
					
						
							
							
								 
						
							
							
								6c28ac260c 
								
							
								 
							
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2016-01-07 04:26:29 +00:00  
				
					
						
							
							
								 
						
							
							
								617501dd2a 
								
							
								 
							
						 
						
							
							
								
								Move token generation to auth handler  
							
							... 
							
							
							
							I prefer the auth handler to worry about all auth, and register to call
into it as needed, than to smatter auth logic between the two. 
							
						 
						
							2015-08-20 11:35:56 +01:00