0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-16 06:51:46 +01:00
synapse/scripts-dev
Mark Haines 60a0f81c7a Add a /replication API for extracting the updates that happened on
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.
2016-03-01 14:49:41 +00:00
..
check_auth.py Don't require pdus in check_auth script 2015-09-09 13:47:14 +01:00
check_event_hash.py Replace syutil references in scripts 2015-08-24 16:30:35 +01:00
check_signature.py Replace syutil references in scripts 2015-08-24 16:30:35 +01:00
convert_server_keys.py Replace syutil references in scripts 2015-08-24 16:30:35 +01:00
copyrighter-sql.pl copyrights 2016-01-07 04:26:29 +00:00
copyrighter.pl copyrights 2016-01-07 04:26:29 +00:00
database-save.sh Acutally add scripts-dev/ 2015-05-06 11:46:02 +01:00
definitions.py Fix definitions script 2015-12-01 21:17:58 +00:00
dump_macaroon.py Add macaroon inspection script 2016-02-03 11:27:39 +00:00
federation_client.py Acutally add scripts-dev/ 2015-05-06 11:46:02 +01:00
hash_history.py Replace syutil references in scripts 2015-08-24 16:30:35 +01:00
list_url_patterns.py Report the v1 and v2 patterns separately 2016-02-05 15:43:27 +00:00
make_identicons.pl Acutally add scripts-dev/ 2015-05-06 11:46:02 +01:00
nuke-room-from-db.sh Acutally add scripts-dev/ 2015-05-06 11:46:02 +01:00
sphinx_api_docs.sh Acutally add scripts-dev/ 2015-05-06 11:46:02 +01:00
tail-synapse.py Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00