Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Automate generation of the sample and debian log configs (#6627) | Richard van der Hoff | 2020-01-03 | 1 | -0/+10 |
| | |||||
* | Add database config class (#6513) | Erik Johnston | 2019-12-18 | 1 | -7/+2 |
| | | | | | This encapsulates config for a given database and is the way to get new connections. | ||||
* | Merge pull request #6511 from matrix-org/erikj/remove_db_config_from_apps | Erik Johnston | 2019-12-12 | 1 | -27/+6 |
|\ | | | | | Move database config from apps into HomeServer object | ||||
| * | Fix upgrade db script | Erik Johnston | 2019-12-10 | 1 | -27/+6 |
| | | |||||
* | | Add dev script to generate full SQL schema files (#6394) | Andrew Morgan | 2019-12-11 | 1 | -0/+184 |
|/ | |||||
* | Fix DB scripts | Erik Johnston | 2019-12-05 | 1 | -10/+7 |
| | |||||
* | Remove underscore from SQLBaseStore functions | Erik Johnston | 2019-12-04 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into develop | Richard van der Hoff | 2019-11-06 | 1 | -0/+2 |
|\ | |||||
| * | build debs for eoan and bullseye github/release-v1.5.1 release-v1.5.1 | Richard van der Hoff | 2019-11-06 | 1 | -0/+2 |
| | | |||||
* | | Document lint.sh & allow application to specified files only (#6312) | Neil Pilgrim | 2019-11-01 | 1 | -3/+11 |
| | | |||||
* | | Update CI to run isort on scripts and scripts-dev (#6270) | Andrew Morgan | 2019-10-30 | 1 | -2/+1 |
| | | |||||
* | | Add CI for synapse_port_db (#6140) | Brendan Abolivier | 2019-10-28 | 1 | -0/+125 |
|/ | | | | | | | | | | | | | | | | | | 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. | ||||
* | Add config linting script that checks for bool casing (#6203) | Andrew Morgan | 2019-10-23 | 2 | -0/+10 |
| | | | | | 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. | ||||
* | Remove dead check_auth script | Richard van der Hoff | 2019-10-11 | 1 | -58/+0 |
| | | | | This doesn't work, and afaict hasn't been used since 2015. | ||||
* | Add a linting script (#5627) | Andrew Morgan | 2019-07-10 | 1 | -0/+12 |
| | | | Add a dev script to cover all the different linting steps. | ||||
* | Remove & changelog (#5548) | Amber Brown | 2019-06-26 | 1 | -54/+0 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 9 | -61/+54 |
| | |||||
* | Updates to the federation_client script (#5447) | Richard van der Hoff | 2019-06-13 | 1 | -5/+38 |
| | | | | | * py3 fixes for federation_client * .well-known support for federation_client | ||||
* | Unify v1 and v2 REST client APIs (#5226) | Amber Brown | 2019-06-03 | 1 | -3/+1 |
| | |||||
* | include disco in deb build target list | Richard van der Hoff | 2019-05-03 | 1 | -0/+1 |
| | |||||
* | Merge pull request #4869 from matrix-org/erikj/yaml_load | Erik Johnston | 2019-03-22 | 1 | -1/+1 |
|\ | | | | | Fix yaml warnings by using safe_load | ||||
| * | Use yaml safe_load | Erik Johnston | 2019-03-22 | 1 | -1/+1 |
| | | |||||
* | | Allow newsfragments to end with exclamation marks! (#4912) | Richard van der Hoff | 2019-03-21 | 1 | -2/+2 |
|/ | |||||
* | Fix check-newsfragment for debian-only changes. (#4825) | Richard van der Hoff | 2019-03-07 | 1 | -7/+5 |
| | |||||
* | Include a default configuration file in the 'docs' directory. (#4791) | Richard van der Hoff | 2019-03-04 | 1 | -0/+18 |
| | |||||
* | Fix check-newsfragment script (#4750) | Richard van der Hoff | 2019-02-26 | 1 | -3/+8 |
| | | | | | | | | | | * Fix check-newsfragment script I previously broke this so that it always succeeded... * more fixes * fix newsfiles | ||||
* | Better checks on newsfragments (#4698) | Richard van der Hoff | 2019-02-22 | 1 | -0/+36 |
| | | | | | * You need an entry in the debian changelog (and not a regular newsfragment) for debian packaging changes. * Regular newsfragments must end in full stops. | ||||
* | Support ACME for certificate provisioning (#4384) | Amber Brown | 2019-01-23 | 1 | -1/+1 |
| | |||||
* | Rewrite build_debian_packages github/release-v0.34.1.1 release-v0.34.1.1 | Richard van der Hoff | 2019-01-12 | 1 | -0/+154 |
| | | | | Rewrite this in python so that it can be run in parallel. | ||||
* | Merge pull request #4168 from ↵ | Brendan Abolivier | 2018-11-09 | 1 | -2/+7 |
|\ | | | | | | | | | matrix-org/babolivier/federation-client-content-type Add a Content-Type header on POST requests to the federation client script | ||||
| * | Add a Content-Type header on POST requests to the federation client | Brendan Abolivier | 2018-11-09 | 1 | -2/+7 |
| | | |||||
* | | Delete the disused & unspecced identicon functionality (#4106) | Amber Brown | 2018-10-29 | 1 | -39/+0 |
|/ | |||||
* | Fix a number of flake8 errors | Richard van der Hoff | 2018-10-24 | 1 | -1/+1 |
| | | | | | | | | | | | | 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. | ||||
* | Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase ↵ | Amber Brown | 2018-10-20 | 10 | -190/+222 |
| | | | | on py3) (#4068) | ||||
* | Remove Jenkins & other old dev junk (#3988) | Amber Brown | 2018-10-03 | 2 | -66/+0 |
| | |||||
* | Replaced all occurences of e.message with str(e) | Schnuffle | 2018-09-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Schnuffle <schnuffle@github.com> | ||||
* | Reduce the load on our CI (#3957) | Amber Brown | 2018-09-27 | 1 | -0/+9 |
| | | | | | | | | | | * changelog * reduce circleci config * plus a handy script * fix regex | ||||
* | Remove nuke-room-from-db.sh script | Richard van der Hoff | 2018-09-17 | 1 | -57/+0 |
| | | | | | | | | | | | | The problem with this script is that it is largely untested, entirely unmaintained, and running it is likely to make your synapse blow up in exciting ways. For example, it leaves a bunch of tables with dead values in it, like event_to_state_groups. Having it here sends a message that it is a supported part of synapse, which is absolutely not the case. | ||||
* | Fix federation_client to send the right Host | Richard van der Hoff | 2018-06-12 | 1 | -14/+51 |
| | | | | | | This appears to have stopped working since matrix.org moved to cloudflare. The Host header should match the name of the server, not whatever is in the SRV record. | ||||
* | Merge pull request #3194 from rubo77/fix-nuke | Richard van der Hoff | 2018-05-09 | 1 | -1/+1 |
|\ | | | | | nuke-room-from-db.sh: fix deletion from search table | ||||
| * | nuke-room-from-db.sh: nuke from table event_search too | rubo77 | 2018-05-09 | 1 | -0/+1 |
| | | |||||
| * | Dont nuke non-existing table event_search_content | rubo77 | 2018-05-09 | 1 | -1/+0 |
| | | |||||
* | | nuke-room-from-db.sh: added postgresql option and help | rubo77 | 2018-05-09 | 1 | -1/+11 |
|/ | |||||
* | federation_client script: Support for posting content | Richard van der Hoff | 2017-11-28 | 1 | -8/+34 |
| | |||||
* | test federation client: Allow server-name and key-file as options | Richard van der Hoff | 2017-08-22 | 1 | -8/+28 |
| | | | | so that you don't necessarily need a config file. | ||||
* | Improvements to the federation test client | Richard van der Hoff | 2017-08-17 | 1 | -7/+58 |
| | | | | Make it read the config file, primarily. | ||||
* | bring nuke-room script to current schema | Christian W. Zuckschwerdt | 2017-02-19 | 1 | -10/+33 |
| | | | | Signed-off-by: Christian W. Zuckschwerdt <christian@zuckschwerdt.org> | ||||
* | Print newline after result in federation_client script | Erik Johnston | 2016-08-05 | 1 | -0/+1 |
| | |||||
* | Print status code in federation_client.py | Erik Johnston | 2016-08-03 | 1 | -0/+1 |
| | |||||
* | Print authorization header for federation_client.py | Erik Johnston | 2016-08-02 | 1 | -5/+6 |
| | |||||
* | Add option to definitions.py to search for functions a function refers to | Mark Haines | 2016-03-17 | 1 | -1/+22 |
| | |||||
* | Add a /replication API for extracting the updates that happened on | Mark Haines | 2016-03-01 | 1 | -0/+67 |
| | | | | | | | | | | | | | | | | | | | | | | | | synapse This is necessary for replicating the data in synapse to be visible to a separate service because presence and typing notifications aren't stored in a database so won't be visible to another process. This API can be used to either get the raw data by requesting the tables themselves or to just receive notifications for updates by following the streams meta-stream. Returns updates for each table requested a JSON array of arrays with a row for each row in the table. Each table is prefixed by a header row with the: name of the table, current stream_id position for the table, number of rows, number of columns and the names of the columns. This is followed by the rows that have been added to the server since the requester last asked. The API has a timeout and is hooked up to the notifier so that a slave can long poll for updates. | ||||
* | Report the v1 and v2 patterns separately | Mark Haines | 2016-02-05 | 1 | -4/+12 |
| | |||||
* | List the URL patterns in synapse | Mark Haines | 2016-02-05 | 1 | -0/+54 |
| | |||||
* | Add macaroon inspection script | Daniel Wagner-Hall | 2016-02-03 | 1 | -0/+24 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 2 | -4/+4 |
| | |||||
* | Fix definitions script | Mark Haines | 2015-12-01 | 1 | -1/+1 |
| | |||||
* | Add options to definitions.py to fetch referrers and to output dot | Mark Haines | 2015-12-01 | 1 | -6/+39 |
| | |||||
* | Fix scripts-dev/definitions.py argparse options | Mark Haines | 2015-09-23 | 1 | -1/+1 |
| | |||||
* | Use argparse for definition finder | Mark Haines | 2015-09-23 | 1 | -26/+38 |
| | |||||
* | Add dev script for finding where functions are called from, and finding ↵ | Mark Haines | 2015-09-22 | 1 | -0/+130 |
| | | | | functions that aren't called at all | ||||
* | Don't require pdus in check_auth script | Erik Johnston | 2015-09-09 | 1 | -2/+1 |
| | |||||
* | Replace syutil references in scripts | Mark Haines | 2015-08-24 | 4 | -12/+10 |
| | |||||
* | Add forgotten .items() | Erik Johnston | 2015-05-19 | 1 | -1/+1 |
| | |||||
* | Fix scripts-dev/convert_server_keys.py to have correct format | Erik Johnston | 2015-05-19 | 1 | -1/+4 |
| | |||||
* | SYN-376: Add script for converting server keys from v1 to v2 | Mark Haines | 2015-05-11 | 1 | -0/+113 |
| | |||||
* | Acutally add scripts-dev/ | Erik Johnston | 2015-05-06 | 11 | -0/+549 |