Skip to content
Snippets Groups Projects
  1. Nov 27, 2024
  2. Nov 14, 2024
  3. Oct 14, 2024
  4. May 08, 2024
  5. Apr 09, 2024
  6. Jan 23, 2024
  7. Dec 01, 2023
  8. Nov 21, 2023
  9. Oct 06, 2023
  10. Sep 26, 2023
  11. Aug 23, 2023
  12. Aug 02, 2023
  13. Jun 16, 2023
  14. Jun 06, 2023
  15. May 04, 2023
  16. Apr 26, 2023
  17. Mar 07, 2023
  18. Mar 06, 2023
  19. Mar 03, 2023
  20. Mar 02, 2023
    • Patrick Cloke's avatar
      Update intentional mentions (MSC3952) to depend on... · 8ef324ea
      Patrick Cloke authored
      Update intentional mentions (MSC3952) to depend on `exact_event_property_contains` (MSC3966). (#15051)
      
      This replaces the specific `is_user_mention` push rule condition
      used in MSC3952 with the generic `exact_event_property_contains`
      push rule condition from MSC3966.
      8ef324ea
  21. Feb 28, 2023
    • 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.
      e746f80b
  22. Feb 16, 2023
  23. Feb 14, 2023
  24. Feb 10, 2023
  25. Feb 07, 2023
  26. Feb 03, 2023
  27. Feb 01, 2023
  28. Jan 27, 2023
    • Patrick Cloke's avatar
      Implement MSC3952: Intentional mentions (#14823) · 2a51f3ec
      Patrick Cloke authored
      MSC3952 defines push rules which searches for mentions in a list of
      Matrix IDs in the event body, instead of searching the entire event
      body for display name / local part.
      
      This is implemented behind an experimental configuration flag and
      does not yet implement the backwards compatibility pieces of the MSC.
      2a51f3ec
  29. Jan 19, 2023
  30. Dec 02, 2022
  31. Nov 29, 2022
  32. Nov 28, 2022
  33. Oct 25, 2022
  34. Oct 12, 2022
  35. Oct 04, 2022
Loading