837293c314 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove obsolete __future__ imports ( #8337 )  
							
							
							
						 
						
							2020-09-17 08:37:01 -04:00  
				
					
						
							
							
								 
						
							
							
								a3a90ee031 
								
									
								
							
								 
							
						 
						
							
							
								
								Show a confirmation page during user password reset ( #8004 )  
							
							... 
							
							
							
							This PR adds a confirmation step to resetting your user password between clicking the link in your email and your password actually being reset.
This is to better align our password reset flow with the industry standard of requiring a confirmation from the user after email validation. 
							
						 
						
							2020-09-10 11:45:12 +01:00  
				
					
						
							
							
								 
						
							
							
								d250521cf5 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert the main methods run by the reactor to async. ( #8213 )  
							
							
							
						 
						
							2020-09-02 07:44:50 -04:00  
				
					
						
							
							
								 
						
							
							
								7620912d84 
								
									
								
							
								 
							
						 
						
							
							
								
								Add health check endpoint ( #8048 )  
							
							
							
						 
						
							2020-08-07 14:21:24 +01:00  
				
					
						
							
							
								 
						
							
							
								a7bdf98d01 
								
									
								
							
								 
							
						 
						
							
							
								
								Rename database classes to make some sense ( #8033 )  
							
							
							
						 
						
							2020-08-05 21:38:57 +01:00  
				
					
						
							
							
								 
						
							
							
								db5970ac6d 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert ACME code to async/await. ( #7989 )  
							
							
							
						 
						
							2020-08-03 07:09:33 -04:00  
				
					
						
							
							
								 
						
							
							
								00e57b755c 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert synapse.app to async/await. ( #7868 )  
							
							
							
						 
						
							2020-07-17 07:08:56 -04:00  
				
					
						
							
							
								 
						
							
							
								4d978d7db4 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into develop  
							
							
							
						 
						
							2020-07-02 10:55:41 -04:00  
				
					
						
							
							
								 
						
							
							
								ea26e9a98b 
								
							
								 
							
						 
						
							
							
								
								Ensure that HTML pages served from Synapse include headers to avoid embedding.  
							
							
							
						 
						
							2020-07-02 09:58:31 -04:00  
				
					
						
							
							
								 
						
							
							
								03619324fc 
								
									
								
							
								 
							
						 
						
							
							
								
								Create a ListenerConfig object ( #7681 )  
							
							... 
							
							
							
							This ended up being a bit more invasive than I'd hoped for (not helped by
generic_worker duplicating some of the code from homeserver), but hopefully
it's an improvement.
The idea is that, rather than storing unstructured `dict`s in the config for
the listener configurations, we instead parse it into a structured
`ListenerConfig` object. 
							
						 
						
							2020-06-16 12:44:07 +01:00  
				
					
						
							
							
								 
						
							
							
								bd6dc17221 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace iteritems/itervalues/iterkeys with native versions. ( #7692 )  
							
							
							
						 
						
							2020-06-15 07:03:36 -04:00  
				
					
						
							
							
								 
						
							
							
								02f345d053 
								
									
								
							
								 
							
						 
						
							
							
								
								Attempt to fix PhoneHomeStatsTestCase.test_performance_100 being flaky. ( #7634 )  
							
							
							
						 
						
							2020-06-05 07:36:47 -04:00  
				
					
						
							
							
								 
						
							
							
								e91abfd291 
								
									
								
							
								 
							
						 
						
							
							
								
								async/await get_user_id_by_threepid ( #7620 )  
							
							... 
							
							
							
							Based on #7619  
async's `get_user_id_by_threepid` and its call stack. 
							
						 
						
							2020-06-03 17:15:57 +01:00  
				
					
						
							
							
								 
						
							
							
								4429764c9f 
								
									
								
							
								 
							
						 
						
							
							
								
								Return 200 OK for all OPTIONS requests ( #7534 )  
							
							
							
						 
						
							2020-05-22 09:30:07 -04:00  
				
					
						
							
							
								 
						
							
							
								7cb8b4bc67 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow configuration of Synapse's cache without using synctl or environment variables ( #6391 )  
							
							
							
						 
						
							2020-05-11 18:45:23 +01:00  
				
					
						
							
							
								 
						
							
							
								616af44137 
								
									
								
							
								 
							
						 
						
							
							
								
								Implement OpenID Connect-based login ( #7256 )  
							
							
							
						 
						
							2020-05-08 08:30:40 -04:00  
				
					
						
							
							
								 
						
							
							
								51f7eaf908 
								
									
								
							
								 
							
						 
						
							
							
								
								Add ability to run replication protocol over redis. ( #7040 )  
							
							... 
							
							
							
							This is configured via the `redis` config options. 
							
						 
						
							2020-04-22 13:07:41 +01:00  
				
					
						
							
							
								 
						
							
							
								b0db928c63 
								
									
								
							
								 
							
						 
						
							
							
								
								Extend web_client_location to handle absolute URLs ( #7006 )  
							
							... 
							
							
							
							Log warning when filesystem path is used.
Signed-off-by: Martin Milata <martin@martinmilata.cz> 
							
						 
						
							2020-04-03 11:57:34 -04:00  
				
					
						
							
							
								 
						
							
							
								443162e577 
								
									
								
							
								 
							
						 
						
							
							
								
								Move pusherpool startup into _base.setup ( #7104 )  
							
							... 
							
							
							
							This should be safe to do on all workers/masters because it is guarded by
a config option which will ensure it is only actually done on the worker
assigned as a pusher. 
							
						 
						
							2020-03-19 09:48:45 +00:00  
				
					
						
							
							
								 
						
							
							
								1d66dce83e 
								
									
								
							
								 
							
						 
						
							
							
								
								Break down monthly active users by appservice_id  ( #7030 )  
							
							... 
							
							
							
							* Break down monthly active users by appservice_id and emit via prometheus.
Co-authored-by: Brendan Abolivier <babolivier@matrix.org> 
							
						 
						
							2020-03-06 18:14:19 +00:00  
				
					
						
							
							
								 
						
							
							
								8039685051 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow additional_resources to implement Resource directly ( #6686 )  
							
							... 
							
							
							
							AdditionalResource really doesn't add any value, and it gets in the way for
resources which want to support child resources or the like. So, if the
resource object already implements the IResource interface, don't bother
wrapping it. 
							
						 
						
							2020-01-13 12:42:44 +00:00  
				
					
						
							
							
								 
						
							
							
								e484101306 
								
									
								
							
								 
							
						 
						
							
							
								
								Raise an error if someone tries to use the log_file config option ( #6626 )  
							
							... 
							
							
							
							This has caused some confusion for people who didn't notice it going away. 
							
						 
						
							2020-01-03 17:11:29 +00:00  
				
					
						
							
							
								 
						
							
							
								98247c4a0e 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove unused, undocumented "content repo" resource ( #6628 )  
							
							... 
							
							
							
							This looks like it got half-killed back in #888 .
Fixes  #6567 . 
							
						 
						
							2020-01-03 17:10:52 +00:00  
				
					
						
							
							
								 
						
							
							
								bca30cefee 
								
									
								
							
								 
							
						 
						
							
							
								
								Improve diagnostics on database upgrade failure ( #6570 )  
							
							... 
							
							
							
							`Failed to upgrade database` is not helpful, and it's unlikely that UPGRADE.rst
has anything useful. 
							
						 
						
							2019-12-19 14:53:15 +00:00  
				
					
						
							
							
								 
						
							
							
								b8e4b39b69 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #6511  from matrix-org/erikj/remove_db_config_from_apps  
							
							... 
							
							
							
							Move database config from apps into HomeServer object 
							
						 
						
							2019-12-12 10:37:56 +00:00  
				
					
						
							
							
								 
						
							
							
								bc5cb8bfe8 
								
							
								 
							
						 
						
							
							
								
								Remove database config parsing from apps.  
							
							
							
						 
						
							2019-12-10 14:34:17 +00:00  
				
					
						
							
							
								 
						
							
							
								663238aeb4 
								
							
								 
							
						 
						
							
							
								
								Phone home stats DB reporting should not assume a single DB.  
							
							
							
						 
						
							2019-12-10 13:21:04 +00:00  
				
					
						
							
							
								 
						
							
							
								75f87450d8 
								
							
								 
							
						 
						
							
							
								
								Move start up DB checks to main data store.  
							
							
							
						 
						
							2019-12-06 16:02:21 +00:00  
				
					
						
							
							
								 
						
							
							
								d64bb32a73 
								
							
								 
							
						 
						
							
							
								
								Move are_all_users_on_domain checks to main data store.  
							
							
							
						 
						
							2019-12-06 13:43:40 +00:00  
				
					
						
							
							
								 
						
							
							
								4a33a6dd19 
								
							
								 
							
						 
						
							
							
								
								Move background update handling out of store  
							
							
							
						 
						
							2019-12-05 11:11:26 +00:00  
				
					
						
							
							
								 
						
							
							
								c2f525a525 
								
							
								 
							
						 
						
							
							
								
								Don't call SQLBaseStore methods from outside stores  
							
							
							
						 
						
							2019-12-04 16:23:43 +00:00  
				
					
						
							
							
								 
						
							
							
								65d54c5e8c 
								
							
								 
							
						 
						
							
							
								
								Fix phone home stats ( #6418 )  
							
							... 
							
							
							
							Fix phone home stats 
							
						 
						
							2019-11-26 13:28:40 +00:00  
				
					
						
							
							
								 
						
							
							
								052513958d 
								
							
								 
							
						 
						
							
							
								
								Fix phone home stats  
							
							
							
						 
						
							2019-11-05 17:44:09 +00:00  
				
					
						
							
							
								 
						
							
							
								4e1c7b79fa 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove the psutil dependency ( #6318 )  
							
							... 
							
							
							
							* remove psutil and replace with resource 
							
						 
						
							2019-11-05 05:05:48 +11:00  
				
					
						
							
							
								 
						
							
							
								1cb84c6486 
								
									
								
							
								 
							
						 
						
							
							
								
								Support for routing outbound HTTP requests via a proxy ( #6239 )  
							
							... 
							
							
							
							The `http_proxy` and `HTTPS_PROXY` env vars can be set to a `host[:port]` value which should point to a proxy.
The address of the proxy should be excluded from IP blacklists such as the `url_preview_ip_range_blacklist`.
The proxy will then be used for
 * push
 * url previews
 * phone-home stats
 * recaptcha validation
 * CAS auth validation
It will *not* be used for:
 * Application Services
 * Identity servers
 * Outbound federation
 * In worker configurations, connections from workers to masters
Fixes  #4198 . 
							
						 
						
							2019-11-01 14:07:44 +00:00  
				
					
						
							
							
								 
						
							
							
								54fef094b3 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove usage of deprecated logger.warn method from codebase ( #6271 )  
							
							... 
							
							
							
							Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated. 
							
						 
						
							2019-10-31 10:23:24 +00:00  
				
					
						
							
							
								 
						
							
							
								a0d0ba7862 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix MAU reaping where reserved users are specified. ( #6168 )  
							
							
							
						 
						
							2019-10-11 09:38:26 +01:00  
				
					
						
							
							
								 
						
							
							
								dd2e5b0038 
								
							
								 
							
						 
						
							
							
								
								add report_stats_endpoint config option ( #6012 )  
							
							... 
							
							
							
							This PR adds the optional `report_stats_endpoint` to configure where stats are reported to, if enabled. 
							
						 
						
							2019-09-12 11:24:57 +01:00  
				
					
						
							
							
								 
						
							
							
								7dc398586c 
								
									
								
							
								 
							
						 
						
							
							
								
								Implement a structured logging output system. ( #5680 )  
							
							
							
						 
						
							2019-08-28 21:18:53 +10:00  
				
					
						
							
							
								 
						
							
							
								6d86df73f1 
								
							
								 
							
						 
						
							
							
								
								Fix issue with Synapse not starting up.  Fixes   #5866 .  
							
							... 
							
							
							
							Signed-off-by: Chris Moos <chris@chrismoos.com> 
							
						 
						
							2019-08-16 22:16:13 +01:00  
				
					
						
							
							
								 
						
							
							
								4806651744 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace returnValue with return ( #5736 )  
							
							
							
						 
						
							2019-07-23 23:00:55 +10:00  
				
					
						
							
							
								 
						
							
							
								80cfad233e 
								
							
								 
							
						 
						
							
							
								
								Call startup commands as system triggers.  
							
							... 
							
							
							
							This helps ensures that we only consider ourselves "up" once all the
startup functions have completed. 
							
						 
						
							2019-07-22 15:22:14 +01:00  
				
					
						
							
							
								 
						
							
							
								7ad1d76356 
								
									
								
							
								 
							
						 
						
							
							
								
								Support Prometheus_client 0.4.0+ ( #5636 )  
							
							
							
						 
						
							2019-07-18 23:57:15 +10:00  
				
					
						
							
							
								 
						
							
							
								463b072b12 
								
									
								
							
								 
							
						 
						
							
							
								
								Move logging utilities out of the side drawer of util/ and into logging/ ( #5606 )  
							
							
							
						 
						
							2019-07-04 00:07:04 +10:00  
				
					
						
							
							
								 
						
							
							
								6cda36777b 
								
							
								 
							
						 
						
							
							
								
								Drop support for cpu_affinity ( #5525 )  
							
							... 
							
							
							
							This has no useful purpose on python3, and is generally a source of confusion. 
							
						 
						
							2019-06-22 11:01:55 +10:00  
				
					
						
							
							
								 
						
							
							
								32e7c9e7f2 
								
									
								
							
								 
							
						 
						
							
							
								
								Run Black. ( #5482 )  
							
							
							
						 
						
							2019-06-20 19:32:02 +10:00  
				
					
						
							
							
								 
						
							
							
								7e68691ce9 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of github.com:matrix-org/synapse into develop  
							
							
							
						 
						
							2019-06-11 17:25:16 +01:00  
				
					
						
							
							
								 
						
							
							
								10383e6e6f 
								
							
								 
							
						 
						
							
							
								
								Change password reset links to /_matrix.  
							
							
							
						 
						
							2019-06-11 11:34:33 +01:00  
				
					
						
							
							
								 
						
							
							
								94dac0f3e5 
								
									
								
							
								 
							
						 
						
							
							
								
								add monthly active users to phonehome stats ( #5252 )  
							
							... 
							
							
							
							* add monthly active users to phonehome stats 
							
						 
						
							2019-06-10 23:33:59 +01:00  
				
					
						
							
							
								 
						
							
							
								3719680ee4 
								
									
								
							
								 
							
						 
						
							
							
								
								Add ability to perform password reset via email without trusting the identity server ( #5377 )  
							
							... 
							
							
							
							Sends password reset emails from the homeserver instead of proxying to the identity server. This is now the default behaviour for security reasons. If you wish to continue proxying password reset requests to the identity server you must now enable the email.trust_identity_server_for_password_resets option.
This PR is a culmination of 3 smaller PRs which have each been separately reviewed:
* #5308 
* #5345 
* #5368  
							
						 
						
							2019-06-06 17:34:07 +01:00