Skip to content
Snippets Groups Projects
  1. Mar 29, 2023
  2. Mar 28, 2023
  3. Mar 24, 2023
    • Quentin Gliech's avatar
      Make cleaning up pushers depend on the device_id instead of the token_id (#15280) · 5b70f240
      Quentin Gliech authored
      This makes it so that we rely on the `device_id` to delete pushers on logout,
      instead of relying on the `access_token_id`. This ensures we're not removing
      pushers on token refresh, and prepares for a world without access token IDs
      (also known as the OIDC).
      
      This actually runs the `set_device_id_for_pushers` background update, which
      was forgotten in #13831.
      
      Note that for backwards compatibility it still deletes pushers based on the
      `access_token` until the background update finishes.
      Unverified
      5b70f240
    • Patrick Cloke's avatar
      Reject mentions on the C-S API which are invalid. (#15311) · 68a67173
      Patrick Cloke authored
      Invalid mentions data received over the Client-Server API should
      be rejected with a 400 error. This will hopefully stop clients from
      sending invalid data, although does not help with data received
      over federation.
      Unverified
      68a67173
  4. Mar 22, 2023
  5. Mar 21, 2023
  6. Mar 20, 2023
  7. Mar 16, 2023
  8. Mar 13, 2023
  9. Mar 10, 2023
  10. Mar 09, 2023
  11. Mar 07, 2023
  12. Mar 06, 2023
  13. Mar 03, 2023
  14. Mar 02, 2023
  15. Feb 28, 2023
    • Richard van der Hoff's avatar
      Remove support for aggregating reactions (#15172) · 2b789817
      Richard van der Hoff authored
      It turns out that no clients rely on server-side aggregation of `m.annotation`
      relationships: it's just not very useful as currently implemented.
      
      It's also non-trivial to calculate.
      
      I want to remove it from MSC2677, so to keep the implementation in line, let's
      remove it here.
      Unverified
      2b789817
    • reivilibre's avatar
      Fix a long-standing bug where an initial sync would not respond to changes to... · d62cd940
      reivilibre authored
      Fix a long-standing bug where an initial sync would not respond to changes to the list of ignored users if there was an initial sync cached. (#15163)
      
      Unverified
      d62cd940
    • Patrick Cloke's avatar
      Do not accept pattern_type from user input in push rules. (#15088) · e746f80b
      Patrick Cloke authored
      Internally the push rules module uses a `pattern_type` property for `event_match`
      conditions (and `related_event_match`) to mark the condition as matching the
      current user's Matrix ID or localpart.
      
      This is leaky to the Client-Server API where a user can successfully set a condition
      which provides `pattern_type` instead of `pattern` (note that there's no benefit to
      doing this -- the user can just use their own Matrix ID or localpart instead). When
      serializing back to the client the `pattern_type` property is converted into a proper
      `pattern`.
      
      The following changes are made to avoid this:
      
      * Separate the `KnownCondition::EventMatch` enum value into `EventMatch`
        and `EventMatchType`, each with their own expected properties. (Note that a
        similar change is made for `RelatedEventMatch`.)
      * Make it such that the `pattern_type` variants serialize to the same condition kind,
        but cannot be deserialized (since they're only provided by base rules).
      * As a final tweak, convert `user_id` vs. `user_localpart` values into an enum.
      Unverified
      e746f80b
    • Dirk Klimpel's avatar
      Admin API endpoint to delete a reported event (#15116) · 93f7955e
      Dirk Klimpel authored
      
      * Admin api to delete event report
      
      * lint +  tests
      
      * newsfile
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarDavid Robertson <david.m.robertson1@gmail.com>
      
      * revert changes - move to WorkerStore
      
      * update unit test
      
      * Note that timestamp is in millseconds
      
      ---------
      
      Co-authored-by: default avatarDavid Robertson <david.m.robertson1@gmail.com>
      Unverified
      93f7955e
  16. Feb 27, 2023
  17. Feb 24, 2023
  18. Feb 23, 2023
  19. Feb 22, 2023
Loading