Skip to content
Snippets Groups Projects
  1. May 10, 2021
  2. Apr 14, 2021
  3. Apr 03, 2020
  4. Sep 25, 2019
  5. Jul 04, 2019
  6. Jan 29, 2019
  7. Jan 22, 2019
  8. Apr 06, 2016
  9. Mar 01, 2016
    • Mark Haines's avatar
      Add a /replication API for extracting the updates that happened on · 60a0f81c
      Mark Haines authored
      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.
      60a0f81c
  10. Feb 05, 2016
    • Daniel Wagner-Hall's avatar
      Error if macaroon key is missing from config · 6a9f1209
      Daniel Wagner-Hall authored
      Currently we store all access tokens in the DB, and fall back to that
      check if we can't validate the macaroon, so our fallback works here, but
      for guests, their macaroons don't get persisted, so we don't get to
      find them in the database. Each restart, we generate a new ephemeral
      key, so guests lose access after each server restart.
      
      I tried to fix up the config stuff to be less insane, but gave up, so
      instead I bolt on yet another piece of custom one-off insanity.
      
      Also, add some basic tests for config generation and loading.
      6a9f1209
  11. Jan 07, 2016
  12. Jan 06, 2015
  13. Oct 30, 2014
  14. Sep 03, 2014
  15. Aug 13, 2014
  16. Aug 12, 2014
Loading