Andrew Morgan
1b410419c2
Automate generation of the sample and debian log configs ( #6627 )
...
* commit '08815566b':
Automate generation of the sample and debian log configs (#6627 )
2020-03-20 16:58:07 +00:00
Andrew Morgan
032fed6f42
Add database config class ( #6513 )
...
* commit '2284eb3a5':
Add database config class (#6513 )
too many parens
2020-03-20 14:39:41 +00:00
Andrew Morgan
49ba0a7434
Merge pull request #6511 from matrix-org/erikj/remove_db_config_from_apps
...
* commit 'b8e4b39b6':
Add new config param to docstring and add types
Newsfile
Fix upgrade db script
Remove database config parsing from apps.
2020-03-19 17:59:17 +00:00
Andrew Morgan
b10a35db1f
Add dev script to generate full SQL schema files ( #6394 )
...
* commit '6676ee9c4':
Add dev script to generate full SQL schema files (#6394 )
2020-03-19 17:48:51 +00:00
Andrew Morgan
60baffdaa4
Merge pull request #6469 from matrix-org/erikj/make_database_class
...
* commit 'f3ea2f5a0':
Remove unused var
Fix DB scripts
Newsfile
Move background update handling out of store
Comments
Move DB pool and helper functions into dedicated Database class
2020-03-19 17:12:37 +00:00
Andrew Morgan
237f3fe187
Merge pull request #6464 from matrix-org/erikj/make_public_sql_base
...
* commit 'ddbbfc951':
Newsfile
Remove underscore from SQLBaseStore functions
Don't call SQLBaseStore methods from outside stores
2020-03-19 16:28:41 +00:00
Andrew Morgan
831869729e
Make numeric user_id checker start at @0, and don't ratelimit on checking ( #6338 )
2020-03-18 16:12:48 +00:00
Andrew Morgan
22f14ae26c
Document lint.sh & allow application to specified files only ( #6312 )
...
* commit 'befd58f47':
Document lint.sh & allow application to specified files only (#6312 )
2020-03-16 19:23:55 +00:00
Andrew Morgan
4f2e76e6d2
Update CI to run isort on scripts and scripts-dev ( #6270 )
...
* commit '2cab02f9d':
2020-03-16 15:36:28 +00:00
Andrew Morgan
3ac38d49ca
Add CI for synapse_port_db ( #6140 )
...
* commit '14504ad57':
Add CI for synapse_port_db (#6140 )
2020-03-16 15:32:46 +00:00
Andrew Morgan
3d5a537934
Add config linting script that checks for bool casing ( #6203 )
...
* commit '409c62b27':
Add config linting script that checks for bool casing (#6203 )
2020-03-16 15:26:24 +00:00
Andrew Morgan
6ff79e8054
Merge pull request #6214 from matrix-org/rav/event_auth/1
...
* commit '47ada4dff':
changelog
rip out some unreachable code
Remove dead check_auth script
2020-03-16 14:55:17 +00:00
Andrew Morgan
e88fb44997
Add a linting script ( #5627 )
2020-02-17 16:35:48 +00:00
Andrew Morgan
bbb39634d6
Remove & changelog ( #5548 )
2020-02-14 10:51:03 +00:00
Andrew Morgan
28eba8747e
Run Black. ( #5482 )
2020-02-13 11:30:15 +00:00
Andrew Morgan
dd486836f7
Merge remote-tracking branch 'dinsic/dinsic' into dinsic-release-v1.1.0
2020-02-10 16:37:49 +00:00
Richard van der Hoff
08815566bc
Automate generation of the sample and debian log configs ( #6627 )
2020-01-03 17:14:00 +00:00
Erik Johnston
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
Erik Johnston
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
Andrew Morgan
6676ee9c4a
Add dev script to generate full SQL schema files ( #6394 )
2019-12-11 13:16:01 +00:00
Erik Johnston
67c991b78f
Fix upgrade db script
2019-12-10 14:34:17 +00:00
Erik Johnston
8b77fc6506
Fix DB scripts
2019-12-05 11:20:49 +00:00
Erik Johnston
ee86abb2d6
Remove underscore from SQLBaseStore functions
2019-12-04 16:23:43 +00:00
Richard van der Hoff
915903eada
Merge branch 'master' into develop
2019-11-06 13:51:11 +00:00
Richard van der Hoff
4257feb20f
build debs for eoan and bullseye
2019-11-06 13:35:56 +00:00
Neil Pilgrim
befd58f47b
Document lint.sh & allow application to specified files only ( #6312 )
2019-11-01 10:52:20 +00:00
Andrew Morgan
2cab02f9d1
Update CI to run isort on scripts and scripts-dev ( #6270 )
2019-10-30 11:17:14 +00:00
Brendan Abolivier
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
Andrew Morgan
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
Richard van der Hoff
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
Brendan Abolivier
6cf60da6e9
Fix CI
2019-09-05 16:40:55 +01:00
Andrew Morgan
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
Amber Brown
0e97284dfa
Remove & changelog ( #5548 )
2019-06-26 04:36:34 +10:00
Amber Brown
32e7c9e7f2
Run Black. ( #5482 )
2019-06-20 19:32:02 +10:00
Richard van der Hoff
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
Amber Brown
2889b05554
Unify v1 and v2 REST client APIs ( #5226 )
2019-06-03 21:28:59 +10:00
Richard van der Hoff
0b5cf95607
include disco in deb build target list
2019-05-03 18:55:13 +01:00
Erik Johnston
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
Erik Johnston
3677548a82
Use yaml safe_load
2019-03-22 10:20:17 +00:00
Richard van der Hoff
224783a73f
Allow newsfragments to end with exclamation marks! ( #4912 )
2019-03-21 15:28:19 +00:00
Richard van der Hoff
685704536f
Fix check-newsfragment for debian-only changes. ( #4825 )
2019-03-07 14:03:05 +00:00
Richard van der Hoff
8e28bc5eee
Include a default configuration file in the 'docs' directory. ( #4791 )
2019-03-04 17:14:58 +00:00
Richard van der Hoff
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
Richard van der Hoff
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
Amber Brown
6129e52f43
Support ACME for certificate provisioning ( #4384 )
2019-01-23 19:39:06 +11:00
Richard van der Hoff
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
Brendan Abolivier
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
Brendan Abolivier
91d96759c9
Add a Content-Type header on POST requests to the federation client
2018-11-09 10:41:34 +00:00
Amber Brown
4cd1c9f2ff
Delete the disused & unspecced identicon functionality ( #4106 )
2018-10-29 23:57:24 +11:00
Richard van der Hoff
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