Skip to content
Snippets Groups Projects
  1. Nov 24, 2020
  2. Nov 23, 2020
  3. Nov 19, 2020
  4. Nov 18, 2020
  5. Nov 17, 2020
  6. Nov 16, 2020
  7. Nov 15, 2020
  8. Nov 14, 2020
  9. Nov 13, 2020
    • Andrew Morgan's avatar
      Generalise _maybe_store_room_on_invite (#8754) · e8d08537
      Andrew Morgan authored
      There's a handy function called maybe_store_room_on_invite which allows us to create an entry in the rooms table for a room and its version for which we aren't joined to yet, but we can reference when ingesting events about.
      
      This is currently used for invites where we receive some stripped state about the room and pass it down via /sync to the client, without us being in the room yet.
      
      There is a similar requirement for knocking, where we will eventually do the same thing, and need an entry in the rooms table as well. Thus, reusing this function works, however its name needs to be generalised a bit.
      
      Separated out from #6739.
      e8d08537
    • Erik Johnston's avatar
      1.23.0rc1 · 4a54b821
      Erik Johnston authored
      4a54b821
    • Dirk Klimpel's avatar
      Migrate documentation `docs/admin_api/event_reports` to markdown (#8742) · 023f7911
      Dirk Klimpel authored
      Related to #8714. `event_reports.rst` was introduced in Synapse 1.21.0.
      023f7911
    • Marcus Schopen's avatar
      SAML: add <mdui:UIInfo> element examples (#8718) · 68fc0dcb
      Marcus Schopen authored
      add some mdui:UIInfo element examples for saml2_config in homeserver.yaml
      68fc0dcb
    • chagai95's avatar
      Updating README.rst (#8746) · 69147ed1
      chagai95 authored
      Minor corrections and advice... Should help beginners.
      69147ed1
    • Erik Johnston's avatar
      Add metrics for tracking 3PID /requestToken requests. (#8712) · 427ede61
      Erik Johnston authored
      The main use case is to see how many requests are being made, and how
      many are second/third/etc attempts. If there are large number of retries
      then that likely indicates a delivery problem.
      427ede61
    • Erik Johnston's avatar
      Fix port script so that it can be run again after failure. (#8755) · 1b15a3d9
      Erik Johnston authored
      If the script fails (or is CTRL-C'ed) between porting some of the events table and copying of the sequences then the port script will immediately die if run again due to the postgres DB having inconsistencies between sequences and tables.
      
      The fix is to move the porting of sequences to before porting the tables, so that there is never a period where the Postgres DB is inconsistent. To do that we need to change how we port the sequences so that it calculates the values from the SQLite DB rather than the Postgres DB.
      
      Fixes #8619 
      1b15a3d9
    • Erik Johnston's avatar
      Cache event ID to auth event IDs lookups (#8752) · 4cb00d29
      Erik Johnston authored
      This should hopefully speed up `get_auth_chain_difference` a bit in the case of repeated state res on the same rooms.
      
      `get_auth_chain_difference` does a breadth first walk of the auth graphs by repeatedly looking up events' auth events. Different state resolutions on the same room will end up doing a lot of the same event to auth events lookups, so by caching them we should speed things up in cases of repeated state resolutions on the same room.
      4cb00d29
  10. Nov 12, 2020
    • Erik Johnston's avatar
      Enable reconnection in DB pool (#8726) · c2d4467c
      Erik Johnston authored
      `adbapi.ConnectionPool` let's you turn on auto reconnect of DB connections. This is off by default.
      As far as I can tell if its not enabled dead connections never get removed from the pool.
      
      Maybe helps #8574
      c2d4467c
  11. Nov 11, 2020
Loading