Skip to content
Snippets Groups Projects
  1. Sep 01, 2021
  2. Aug 27, 2021
  3. Aug 26, 2021
  4. Aug 19, 2021
  5. Aug 17, 2021
  6. Aug 16, 2021
  7. Aug 11, 2021
  8. Aug 10, 2021
  9. Aug 09, 2021
  10. Aug 05, 2021
  11. Jul 29, 2021
    • Eric Eastwood's avatar
      Fix backfilled events being rejected for no `state_groups` (#10439) · db6e7f15
      Eric Eastwood authored
      Reproducible on a federated homeserver when there is a membership auth event as a floating outlier. Then when we try to backfill one of that persons messages, it has missing membership auth to fetch which caused us to mistakenly replace the `context` for the message with that of the floating membership `outlier` event. Since `outliers` have no `state` or `state_group`, the error bubbles up when we continue down the persisting route: `sqlite3.IntegrityError: NOT NULL constraint failed: event_to_state_groups.state_group`
      
      Call stack:
      
      ```
      backfill
      _auth_and_persist_event
      _check_event_auth
      _update_auth_events_and_context_for_auth
      ```
      Unverified
      db6e7f15
  12. Jul 28, 2021
  13. Jul 27, 2021
  14. Jul 13, 2021
    • Patrick Cloke's avatar
      Show all joinable rooms in the spaces summary. (#10298) · 2d16e69b
      Patrick Cloke authored
      Previously only world-readable rooms were shown. This means that
      rooms which are public, knockable, or invite-only with a pending invitation,
      are included in a space summary. It also applies the same logic to
      the experimental room version from MSC3083 -- if a user has access
      to the proper allowed rooms then it is shown in the spaces summary.
      
      This change is made per MSC3173 allowing stripped state of a room to
      be shown to any potential room joiner.
      Unverified
      2d16e69b
    • Jonathan de Jong's avatar
      [pyupgrade] `tests/` (#10347) · 89cfc3dd
      Jonathan de Jong authored
      Unverified
      89cfc3dd
  15. Jul 12, 2021
  16. Jul 08, 2021
  17. Jul 06, 2021
  18. Jul 01, 2021
  19. Jun 29, 2021
  20. Jun 24, 2021
  21. Jun 23, 2021
  22. Jun 22, 2021
  23. Jun 18, 2021
    • Patrick Cloke's avatar
      Fix a missing await when in the spaces summary. (#10208) · 0bd96892
      Patrick Cloke authored
      This could cause a minor data leak if someone defined a non-restricted join rule
      with an allow key or used a restricted join rule in an older room version, but this is
      unlikely.
      
      Additionally this starts adding unit tests to the spaces summary handler.
      Unverified
      0bd96892
    • Brendan Abolivier's avatar
      Standardise the module interface (#10062) · 1b3e398b
      Brendan Abolivier authored
      This PR adds a common configuration section for all modules (see docs). These modules are then loaded at startup by the homeserver. Modules register their hooks and web resources using the new `register_[...]_callbacks` and `register_web_resource` methods of the module API.
      Unverified
      1b3e398b
  24. Jun 17, 2021
  25. Jun 09, 2021
  26. Jun 07, 2021
    • 14mRh4X0r's avatar
      Always update AS last_pos, even on no events (#10107) · 8942e23a
      14mRh4X0r authored
      
      Fixes #1834.
      
      `get_new_events_for_appservice` internally calls `get_events_as_list`, which will filter out any rejected events. If all returned events are filtered out, `_notify_interested_services` will return without updating the last handled stream position. If there are 100 consecutive such events, processing will halt altogether.
      
      Breaking the loop is now done by checking whether we're up-to-date with `current_max` in the loop condition, instead of relying on an empty `events` list.
      
      
      Signed-off-by: default avatarWillem Mulder <14mRh4X0r@gmail.com>
      Unverified
      8942e23a
  27. May 21, 2021
  28. May 12, 2021
Loading