Skip to content
Snippets Groups Projects
  1. Oct 30, 2019
  2. Oct 28, 2019
    • Brendan Abolivier's avatar
      Add CI for synapse_port_db (#6140) · 14504ad5
      Brendan Abolivier authored
      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.
      Unverified
      14504ad5
  3. Oct 23, 2019
  4. Oct 11, 2019
  5. Jul 10, 2019
  6. Jun 25, 2019
  7. Jun 20, 2019
  8. Jun 13, 2019
  9. Jun 03, 2019
  10. May 03, 2019
  11. Mar 22, 2019
  12. Mar 21, 2019
  13. Mar 07, 2019
  14. Mar 04, 2019
  15. Feb 26, 2019
  16. Feb 22, 2019
  17. Jan 23, 2019
  18. Jan 12, 2019
  19. Nov 09, 2018
  20. Oct 29, 2018
  21. Oct 24, 2018
    • Richard van der Hoff's avatar
      Fix a number of flake8 errors · ef771cc4
      Richard van der Hoff authored
      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.
      ef771cc4
  22. Oct 20, 2018
  23. Oct 02, 2018
  24. Sep 27, 2018
  25. Sep 26, 2018
  26. Sep 17, 2018
    • Richard van der Hoff's avatar
      Remove nuke-room-from-db.sh script · e7b3b4d8
      Richard van der Hoff authored
      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.
      e7b3b4d8
  27. Jun 12, 2018
  28. May 08, 2018
  29. Nov 28, 2017
  30. Aug 22, 2017
  31. Aug 17, 2017
  32. Feb 19, 2017
  33. Aug 05, 2016
  34. Aug 03, 2016
  35. Aug 02, 2016
  36. Mar 17, 2016
  37. 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
  38. Feb 05, 2016
Loading