Skip to content
Snippets Groups Projects
  1. Oct 14, 2024
  2. Apr 09, 2024
  3. Jan 23, 2024
  4. Nov 21, 2023
  5. Sep 26, 2023
  6. Aug 23, 2023
  7. Aug 02, 2023
  8. Jun 16, 2023
  9. Jun 06, 2023
  10. May 04, 2023
  11. Mar 07, 2023
  12. Mar 06, 2023
  13. 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
  14. 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
  15. Feb 16, 2023
  16. Feb 14, 2023
  17. Feb 07, 2023
  18. Feb 03, 2023
  19. Feb 01, 2023
  20. 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
  21. Jan 19, 2023
  22. Nov 29, 2022
  23. Oct 25, 2022
  24. Oct 12, 2022
  25. Oct 04, 2022
  26. Sep 29, 2022
  27. Sep 20, 2022
Loading