forked-synapse/synapse/handlers
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
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Send the invier's member event in room invite state so the invitee has their display name and avatar. 2016-02-25 18:12:09 +00:00
account_data.py copyrights 2016-01-07 04:26:29 +00:00
admin.py copyrights 2016-01-07 04:26:29 +00:00
appservice.py copyrights 2016-01-07 04:26:29 +00:00
auth.py Allow guests to upgrade their accounts 2016-01-05 18:01:18 +00:00
directory.py Branch off member and non member sends 2016-02-15 18:21:30 +00:00
events.py Initial cut 2016-02-17 15:40:50 +00:00
federation.py Allow third_party_signed to be specified on /join 2016-02-23 15:11:25 +00:00
identity.py Add missing param to the log line 2016-01-29 15:01:26 +00:00
message.py Merge pull request #582 from matrix-org/erikj/presence 2016-02-19 09:37:50 +00:00
presence.py Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00
profile.py Merge pull request #582 from matrix-org/erikj/presence 2016-02-19 09:37:50 +00:00
receipts.py copyrights 2016-01-07 04:26:29 +00:00
register.py Generate guest access token on 3pid invites 2016-02-24 14:41:25 +00:00
room.py Generate guest access token on 3pid invites 2016-02-24 14:41:25 +00:00
search.py copyrights 2016-01-07 04:26:29 +00:00
sync.py handlers/sync: style fix, line too long 2016-02-23 15:49:36 +01:00
typing.py Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00