Skip to content
Snippets Groups Projects
  1. Feb 03, 2023
    • Patrick Cloke's avatar
      Reload the pyo3-log config when the Python logging config changes. (#14976) · 8e9fc28c
      Patrick Cloke authored
      Since pyo3-log is initialized very early in the Python start-up
      it caches the state of the loggers before they're fully initialized
      (and thus are essentially disabled). Whenever we reload the
      logging configuration we now also tell pyo3-log to discard
      any cached logging configuration it has; it will refetch the
      current logging configuration from Python at the next point
      it logs.
      
      This fixes Rust log lines not appearing in the homeserver logs.
      Unverified
      8e9fc28c
  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.
      Unverified
      2a51f3ec
  3. Jan 19, 2023
  4. Jan 12, 2023
  5. Jan 11, 2023
  6. Dec 21, 2022
  7. Dec 13, 2022
  8. Dec 12, 2022
  9. Nov 29, 2022
  10. Nov 28, 2022
  11. Nov 16, 2022
  12. Oct 25, 2022
  13. Oct 12, 2022
  14. Oct 04, 2022
  15. Sep 29, 2022
  16. Sep 20, 2022
  17. Sep 12, 2022
  18. Sep 06, 2022
  19. May 06, 2022
  20. Apr 27, 2022
    • David Robertson's avatar
      Remove unused `# type: ignore`s (#12531) · 64632443
      David Robertson authored
      Over time we've begun to use newer versions of mypy, typeshed, stub
      packages---and of course we've improved our own annotations. This makes
      some type ignore comments no longer necessary. I have removed them.
      
      There was one exception: a module that imports `select.epoll`. The
      ignore is redundant on Linux, but I've kept it ignored for those of us
      who work on the source tree using not-Linux. (#11771)
      
      I'm more interested in the config line which enforces this. I want
      unused ignores to be reported, because I think it's useful feedback when
      annotating to know when you've fixed a problem you had to previously
      ignore.
      
      * Installing extras before typechecking
      
      Lacking an easy way to install all extras generically, let's bite the bullet and
      make install the hand-maintained `all` extra before typechecking.
      
      Now that https://github.com/matrix-org/backend-meta/pull/6 is merged to
      the release/v1 branch.
      Unverified
      64632443
  21. Apr 25, 2022
  22. Mar 08, 2022
  23. Feb 18, 2022
  24. Dec 14, 2021
  25. Sep 10, 2021
  26. Sep 03, 2021
  27. Apr 14, 2021
  28. Mar 15, 2021
  29. Mar 11, 2021
  30. Feb 16, 2021
  31. Jan 26, 2021
  32. Jan 25, 2021
    • Patrick Cloke's avatar
      Add an admin API for shadow-banning users. (#9209) · 4a55d267
      Patrick Cloke authored
      This expands the current shadow-banning feature to be usable via
      the admin API and adds documentation for it.
      
      A shadow-banned users receives successful responses to their
      client-server API requests, but the events are not propagated into rooms.
      
      Shadow-banning a user should be used as a tool of last resort and may lead
      to confusing or broken behaviour for the client.
      Unverified
      4a55d267
  33. Jan 08, 2021
  34. Oct 15, 2020
  35. Oct 02, 2020
  36. Aug 24, 2020
  37. Jul 21, 2020
  38. May 04, 2020
Loading