b7ddece2a6 
								
									
								
							
								 
							
						 
						
							
							
								
								Lint the contrib/ directory in CI and linting scripts, add synctl to linting script ( #7914 )  
							
							... 
							
							
							
							Run `isort`, `flake8` and `black` over the `contrib/` directory and `synctl` script. The latter was already being done in CI, but now the linting script does it too.
Fixes https://github.com/matrix-org/synapse/issues/7910  
							
						 
						
							2020-07-20 21:43:49 +01:00  
				
					
						
							
							
								 
						
							
							
								f2af3e4fc5 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove Ubuntu Eoan that is now EOL ( #7888 )  
							
							
							
						 
						
							2020-07-17 15:38:41 -04:00  
				
					
						
							
							
								 
						
							
							
								62b1ce8539 
								
									
								
							
								 
							
						 
						
							
							
								
								isort 5 compatibility  ( #7786 )  
							
							... 
							
							
							
							The CI appears to use the latest version of isort, which is a problem when isort gets a major version bump. Rather than try to pin the version, I've done the necessary to make isort5 happy with synapse. 
							
						 
						
							2020-07-05 16:32:02 +01:00  
				
					
						
							
							
								 
						
							
							
								177b2d0c19 
								
									
								
							
								 
							
						 
						
							
							
								
								Move flake8 to end. Don't exit script on failure ( #7738 )  
							
							
							
						 
						
							2020-06-25 17:58:55 +01:00  
				
					
						
							
							
								 
						
							
							
								a3f11567d9 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace all remaining six usage with native Python 3 equivalents ( #7704 )  
							
							
							
						 
						
							2020-06-16 08:51:47 -04:00  
				
					
						
							
							
								 
						
							
							
								86d814cdde 
								
									
								
							
								 
							
						 
						
							
							
								
								Check the changelog number in check-newsfragment ( #7623 )  
							
							
							
						 
						
							2020-06-03 17:01:43 +01:00  
				
					
						
							
							
								 
						
							
							
								b2b8699070 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove Ubuntu Cosmic and Disco which are both EOL. ( #7539 )  
							
							
							
						 
						
							2020-05-20 10:08:46 -04:00  
				
					
						
							
							
								 
						
							
							
								02919bf4d8 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into develop  
							
							
							
						 
						
							2020-05-19 09:56:15 -04:00  
				
					
						
							
							
								 
						
							
							
								1fc8914f76 
								
									
								
							
								 
							
						 
						
							
							
								
								update dh-virtualenv ( #7526 )  
							
							
							
						 
						
							2020-05-19 13:48:41 +01:00  
				
					
						
							
							
								 
						
							
							
								e6027562e2 
								
							
								 
							
						 
						
							
							
								
								remove `builtins.buffer` code from storage code  
							
							... 
							
							
							
							this is no longer needed on python 3 
							
						 
						
							2020-05-15 19:37:41 +01:00  
				
					
						
							
							
								 
						
							
							
								509e381afa 
								
									
								
							
								 
							
						 
						
							
							
								
								Clarify list/set/dict/tuple comprehensions and enforce via flake8 ( #6957 )  
							
							... 
							
							
							
							Ensure good comprehension hygiene using flake8-comprehensions. 
							
						 
						
							2020-02-21 07:15:07 -05:00  
				
					
						
							
							
								 
						
							
							
								ba547ec3a9 
								
									
								
							
								 
							
						 
						
							
							
								
								Use BSD-compatible in-place editing for sed. ( #6887 )  
							
							
							
						 
						
							2020-02-12 07:02:19 -05:00  
				
					
						
							
							
								 
						
							
							
								07124d028d 
								
									
								
							
								 
							
						 
						
							
							
								
								Port synapse_port_db to async/await ( #6718 )  
							
							... 
							
							
							
							* Raise an exception if there are pending background updates
So we return with a non-0 code
* Changelog
* Port synapse_port_db to async/await
* Port update_database to async/await
* Add version string to mocked homeservers
* Remove unused imports
* Convert overseen bits to async/await
* Fixup logging contexts
* Fix imports
* Add a way to print an error without raising an exception
* Incorporate review 
							
						 
						
							2020-01-21 19:04:58 +00:00  
				
					
						
							
							
								 
						
							
							
								08815566bc 
								
									
								
							
								 
							
						 
						
							
							
								
								Automate generation of the sample and debian log configs ( #6627 )  
							
							
							
						 
						
							2020-01-03 17:14:00 +00:00  
				
					
						
							
							
								 
						
							
							
								2284eb3a53 
								
									
								
							
								 
							
						 
						
							
							
								
								Add database config class ( #6513 )  
							
							... 
							
							
							
							This encapsulates config for a given database and is the way to get new
connections. 
							
						 
						
							2019-12-18 10:45:12 +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  
				
					
						
							
							
								 
						
							
							
								6676ee9c4a 
								
									
								
							
								 
							
						 
						
							
							
								
								Add dev script to generate full SQL schema files ( #6394 )  
							
							
							
						 
						
							2019-12-11 13:16:01 +00:00  
				
					
						
							
							
								 
						
							
							
								67c991b78f 
								
							
								 
							
						 
						
							
							
								
								Fix upgrade db script  
							
							
							
						 
						
							2019-12-10 14:34:17 +00:00  
				
					
						
							
							
								 
						
							
							
								8b77fc6506 
								
							
								 
							
						 
						
							
							
								
								Fix DB scripts  
							
							
							
						 
						
							2019-12-05 11:20:49 +00:00  
				
					
						
							
							
								 
						
							
							
								ee86abb2d6 
								
							
								 
							
						 
						
							
							
								
								Remove underscore from SQLBaseStore functions  
							
							
							
						 
						
							2019-12-04 16:23:43 +00:00  
				
					
						
							
							
								 
						
							
							
								915903eada 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into develop  
							
							
							
						 
						
							2019-11-06 13:51:11 +00:00  
				
					
						
							
							
								 
						
							
							
								4257feb20f 
								
							
								 
							
						 
						
							
							
								
								build debs for eoan and bullseye  
							
							
							
						 
						
							2019-11-06 13:35:56 +00:00  
				
					
						
							
							
								 
						
							
							
								befd58f47b 
								
							
								 
							
						 
						
							
							
								
								Document lint.sh & allow application to specified files only ( #6312 )  
							
							
							
						 
						
							2019-11-01 10:52:20 +00:00  
				
					
						
							
							
								 
						
							
							
								2cab02f9d1 
								
									
								
							
								 
							
						 
						
							
							
								
								Update CI to run isort on scripts and scripts-dev ( #6270 )  
							
							
							
						 
						
							2019-10-30 11:17:14 +00:00  
				
					
						
							
							
								 
						
							
							
								14504ad573 
								
									
								
							
								 
							
						 
						
							
							
								
								Add CI for synapse_port_db ( #6140 )  
							
							... 
							
							
							
							This adds:
* a test sqlite database
* a configuration file for the sqlite database
* a configuration file for a postgresql database (using the credentials in `.buildkite/docker-compose.pyXX.pgXX.yaml`)
as well as a new script named `.buildkite/scripts/test_synapse_port_db.sh` that:
1. installs Synapse
2. updates the test sqlite database to the latest schema and runs background updates on it
3. creates an empty postgresql database
4. run the `synapse_port_db` script to migrate the test sqlite database to the empty postgresql database (with coverage)
Step `2` is done via a new script located at `scripts-dev/update_database`.
The test sqlite database is extracted from a SyTest run, so that it can be considered as an actual homeserver's database with actual data in it. 
							
						 
						
							2019-10-28 17:45:32 +00:00  
				
					
						
							
							
								 
						
							
							
								409c62b27b 
								
									
								
							
								 
							
						 
						
							
							
								
								Add config linting script that checks for bool casing ( #6203 )  
							
							... 
							
							
							
							Add a linting script that enforces all boolean values in the default config be lowercase.
This has annoyed me for a while so I decided to fix it. 
							
						 
						
							2019-10-23 13:22:54 +01:00  
				
					
						
							
							
								 
						
							
							
								cad0132fb5 
								
							
								 
							
						 
						
							
							
								
								Remove dead check_auth script  
							
							... 
							
							
							
							This doesn't work, and afaict hasn't been used since 2015. 
							
						 
						
							2019-10-11 11:24:03 +01:00  
				
					
						
							
							
								 
						
							
							
								3dd61d12cd 
								
									
								
							
								 
							
						 
						
							
							
								
								Add a linting script ( #5627 )  
							
							... 
							
							
							
							Add a dev script to cover all the different linting steps. 
							
						 
						
							2019-07-10 14:03:18 +01:00  
				
					
						
							
							
								 
						
							
							
								0e97284dfa 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove & changelog ( #5548 )  
							
							
							
						 
						
							2019-06-26 04:36:34 +10:00  
				
					
						
							
							
								 
						
							
							
								32e7c9e7f2 
								
									
								
							
								 
							
						 
						
							
							
								
								Run Black. ( #5482 )  
							
							
							
						 
						
							2019-06-20 19:32:02 +10:00  
				
					
						
							
							
								 
						
							
							
								b59a4eba64 
								
									
								
							
								 
							
						 
						
							
							
								
								Updates to the federation_client script ( #5447 )  
							
							... 
							
							
							
							* py3 fixes for federation_client
* .well-known support for federation_client 
							
						 
						
							2019-06-13 14:49:25 +01:00  
				
					
						
							
							
								 
						
							
							
								2889b05554 
								
									
								
							
								 
							
						 
						
							
							
								
								Unify v1 and v2 REST client APIs ( #5226 )  
							
							
							
						 
						
							2019-06-03 21:28:59 +10:00  
				
					
						
							
							
								 
						
							
							
								0b5cf95607 
								
							
								 
							
						 
						
							
							
								
								include disco in deb build target list  
							
							
							
						 
						
							2019-05-03 18:55:13 +01:00  
				
					
						
							
							
								 
						
							
							
								5fee9d8067 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4869  from matrix-org/erikj/yaml_load  
							
							... 
							
							
							
							Fix yaml warnings by using safe_load 
							
						 
						
							2019-03-22 11:58:13 +00:00  
				
					
						
							
							
								 
						
							
							
								3677548a82 
								
							
								 
							
						 
						
							
							
								
								Use yaml safe_load  
							
							
							
						 
						
							2019-03-22 10:20:17 +00:00  
				
					
						
							
							
								 
						
							
							
								224783a73f 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow newsfragments to end with exclamation marks! ( #4912 )  
							
							
							
						 
						
							2019-03-21 15:28:19 +00:00  
				
					
						
							
							
								 
						
							
							
								685704536f 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix check-newsfragment for debian-only changes. ( #4825 )  
							
							
							
						 
						
							2019-03-07 14:03:05 +00:00  
				
					
						
							
							
								 
						
							
							
								8e28bc5eee 
								
									
								
							
								 
							
						 
						
							
							
								
								Include a default configuration file in the 'docs' directory. ( #4791 )  
							
							
							
						 
						
							2019-03-04 17:14:58 +00:00  
				
					
						
							
							
								 
						
							
							
								57426ec6a3 
								
							
								 
							
						 
						
							
							
								
								Fix check-newsfragment script ( #4750 )  
							
							... 
							
							
							
							* Fix check-newsfragment script
I previously broke this so that it always succeeded...
* more fixes
* fix newsfiles 
							
						 
						
							2019-02-26 13:13:41 -08:00  
				
					
						
							
							
								 
						
							
							
								e1666af9be 
								
									
								
							
								 
							
						 
						
							
							
								
								Better checks on newsfragments ( #4698 )  
							
							... 
							
							
							
							* You need an entry in the debian changelog (and not a regular newsfragment)
  for debian packaging changes.
* Regular newsfragments must end in full stops. 
							
						 
						
							2019-02-22 10:56:59 +00:00  
				
					
						
							
							
								 
						
							
							
								6129e52f43 
								
									
								
							
								 
							
						 
						
							
							
								
								Support ACME for certificate provisioning ( #4384 )  
							
							
							
						 
						
							2019-01-23 19:39:06 +11:00  
				
					
						
							
							
								 
						
							
							
								b5b868d41e 
								
							
								 
							
						 
						
							
							
								
								Rewrite build_debian_packages  
							
							... 
							
							
							
							Rewrite this in python so that it can be run in parallel. 
							
						 
						
							2019-01-12 12:40:58 +00:00  
				
					
						
							
							
								 
						
							
							
								0f3f0a64bf 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4168  from matrix-org/babolivier/federation-client-content-type  
							
							... 
							
							
							
							Add a Content-Type header on POST requests to the federation client script 
							
						 
						
							2018-11-09 11:00:55 +00:00  
				
					
						
							
							
								 
						
							
							
								91d96759c9 
								
									
								
							
								 
							
						 
						
							
							
								
								Add a Content-Type header on POST requests to the federation client  
							
							
							
						 
						
							2018-11-09 10:41:34 +00:00  
				
					
						
							
							
								 
						
							
							
								4cd1c9f2ff 
								
									
								
							
								 
							
						 
						
							
							
								
								Delete the disused & unspecced identicon functionality ( #4106 )  
							
							
							
						 
						
							2018-10-29 23:57:24 +11:00  
				
					
						
							
							
								 
						
							
							
								ef771cc4c2 
								
							
								 
							
						 
						
							
							
								
								Fix a number of flake8 errors  
							
							... 
							
							
							
							Broadly three things here:
* disable W504 which seems a bit whacko
* remove a bunch of `as e` expressions from exception handlers that don't use
  them
* use `r""` for strings which include backslashes
Also, we don't use pep8 any more, so we can get rid of the duplicate config
there. 
							
						 
						
							2018-10-24 10:39:03 +01:00  
				
					
						
							
							
								 
						
							
							
								e1728dfcbe 
								
									
								
							
								 
							
						 
						
							
							
								
								Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) ( #4068 )  
							
							
							
						 
						
							2018-10-20 11:16:55 +11:00  
				
					
						
							
							
								 
						
							
							
								058a4c665e 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove Jenkins & other old dev junk ( #3988 )  
							
							
							
						 
						
							2018-10-03 00:59:11 +10:00  
				
					
						
							
							
								 
						
							
							
								dc5db01ff2 
								
							
								 
							
						 
						
							
							
								
								Replaced all occurences of e.message with str(e)  
							
							... 
							
							
							
							Signed-off-by: Schnuffle  <schnuffle@github.com> 
							
						 
						
							2018-09-27 13:38:50 +02:00  
				
					
						
							
							
								 
						
							
							
								d4e0861ff9 
								
									
								
							
								 
							
						 
						
							
							
								
								Reduce the load on our CI ( #3957 )  
							
							... 
							
							
							
							* changelog
* reduce circleci config
* plus a handy script
* fix regex 
							
						 
						
							2018-09-27 00:23:21 +10:00