Skip to content
Snippets Groups Projects
  1. Feb 03, 2023
  2. 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
  3. Jan 11, 2023
  4. Nov 28, 2022
  5. Oct 25, 2022
  6. Oct 12, 2022
  7. Sep 30, 2022
    • Erik Johnston's avatar
      Speed up calculating push actions in large rooms (#13973) · 285b9e9b
      Erik Johnston authored
      We move the expensive check of visibility to after calculating push actions, avoiding the expensive check for users who won't get pushed anyway.
      
      I think this should have a big impact on rooms with large numbers of local users that have pushed disabled.
      285b9e9b
  8. Sep 29, 2022
  9. Jul 20, 2022
  10. May 24, 2022
    • Patrick Cloke's avatar
      Experimental support for MSC3772 (#12740) · 88ce3080
      Patrick Cloke authored
      Implements the following behind an experimental configuration flag:
      
      * A new push rule kind for mutually related events.
      * A new default push rule (`.m.rule.thread_reply`) under an unstable prefix.
      
      This is missing part of MSC3772:
      
      * The `.m.rule.thread_reply_to_me` push rule, this depends on MSC3664 / #11804.
      88ce3080
  11. Mar 21, 2022
  12. Feb 28, 2022
  13. May 11, 2021
    • Richard van der Hoff's avatar
      Merge pull request from GHSA-x345-32rc-8h85 · 03318a76
      Richard van der Hoff authored
      
      * tests for push rule pattern matching
      
      * tests for acl pattern matching
      
      * factor out common `re.escape`
      
      * Factor out common re.compile
      
      * Factor out common anchoring code
      
      * add word_boundary support to `glob_to_regex`
      
      * Use `glob_to_regex` in push rule evaluator
      
      NB that this drops support for character classes. I don't think anyone ever
      used them.
      
      * Improve efficiency of globs with multiple wildcards
      
      The idea here is that we compress multiple `*` globs into a single `.*`. We
      also need to consider `?`, since `*?*` is as hard to implement efficiently as
      `**`.
      
      * add assertion on regex pattern
      
      * Fix mypy
      
      * Simplify glob_to_regex
      
      * Inline the glob_to_regex helper function
      
      Signed-off-by: default avatarDan Callahan <danc@element.io>
      
      * Moar comments
      
      Signed-off-by: default avatarDan Callahan <danc@element.io>
      
      Co-authored-by: default avatarDan Callahan <danc@element.io>
      03318a76
  14. Apr 14, 2021
  15. Jan 25, 2021
  16. Jul 06, 2020
    • reivilibre's avatar
      Don't ignore `set_tweak` actions with no explicit `value`. (#7766) · 57feeab3
      reivilibre authored
      * Fix spec compliance; tweaks without values are valid
      
      (default to True, which is only concretely specified for
      `highlight`, but it seems only reasonable to generalise)
      
      * Changelog for 7766.
      
      * Add documentation to `tweaks_for_actions`
      
      May as well tidy up when I'm here.
      
      * Add a test for `tweaks_for_actions`
      57feeab3
  17. Jun 15, 2020
  18. Apr 22, 2020
  19. Apr 16, 2020
Loading