summary refs log tree commit diff
path: root/scripts-dev (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove nuke-room-from-db.sh scriptRichard van der Hoff2018-09-171-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 HostRichard van der Hoff2018-06-121-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-nukeRichard van der Hoff2018-05-091-1/+1
|\ | | | | nuke-room-from-db.sh: fix deletion from search table
| * nuke-room-from-db.sh: nuke from table event_search toorubo772018-05-091-0/+1
| |
| * Dont nuke non-existing table event_search_contentrubo772018-05-091-1/+0
| |
* | nuke-room-from-db.sh: added postgresql option and helprubo772018-05-091-1/+11
|/
* federation_client script: Support for posting contentRichard van der Hoff2017-11-281-8/+34
|
* test federation client: Allow server-name and key-file as optionsRichard van der Hoff2017-08-221-8/+28
| | | | so that you don't necessarily need a config file.
* Improvements to the federation test clientRichard van der Hoff2017-08-171-7/+58
| | | | Make it read the config file, primarily.
* bring nuke-room script to current schemaChristian W. Zuckschwerdt2017-02-191-10/+33
| | | | Signed-off-by: Christian W. Zuckschwerdt <christian@zuckschwerdt.org>
* Print newline after result in federation_client scriptErik Johnston2016-08-051-0/+1
|
* Print status code in federation_client.pyErik Johnston2016-08-031-0/+1
|
* Print authorization header for federation_client.pyErik Johnston2016-08-021-5/+6
|
* Add option to definitions.py to search for functions a function refers toMark Haines2016-03-171-1/+22
|
* Add a /replication API for extracting the updates that happened onMark Haines2016-03-011-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 separatelyMark Haines2016-02-051-4/+12
|
* List the URL patterns in synapseMark Haines2016-02-051-0/+54
|
* Add macaroon inspection scriptDaniel Wagner-Hall2016-02-031-0/+24
|
* copyrightsMatthew Hodgson2016-01-072-4/+4
|
* Fix definitions scriptMark Haines2015-12-011-1/+1
|
* Add options to definitions.py to fetch referrers and to output dotMark Haines2015-12-011-6/+39
|
* Fix scripts-dev/definitions.py argparse optionsMark Haines2015-09-231-1/+1
|
* Use argparse for definition finderMark Haines2015-09-231-26/+38
|
* Add dev script for finding where functions are called from, and finding ↵Mark Haines2015-09-221-0/+130
| | | | functions that aren't called at all
* Don't require pdus in check_auth scriptErik Johnston2015-09-091-2/+1
|
* Replace syutil references in scriptsMark Haines2015-08-244-12/+10
|
* Add forgotten .items()Erik Johnston2015-05-191-1/+1
|
* Fix scripts-dev/convert_server_keys.py to have correct formatErik Johnston2015-05-191-1/+4
|
* SYN-376: Add script for converting server keys from v1 to v2Mark Haines2015-05-111-0/+113
|
* Acutally add scripts-dev/Erik Johnston2015-05-0611-0/+549