- Mar 22, 2023
-
-
David Robertson authored
Additionally: * Consistently use `freeze()` in test --------- Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com> Co-authored-by:
6543 <6543@obermui.de>
-
- Mar 07, 2023
-
-
Patrick Cloke authored
This removes the configuration flag & updates the identifiers to use the stable version.
-
- Mar 06, 2023
-
-
Patrick Cloke authored
This removes the configuration flag & updates the identifiers to use the stable version.
-
- Mar 02, 2023
-
-
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.
-
- Feb 22, 2023
-
-
dependabot[bot] authored
-
- Feb 16, 2023
-
-
Patrick Cloke authored
This replaces the specific `is_room_mention` push rule condition used in MSC3952 with the generic `exact_event_match` push rule condition from MSC3758. No functionality changes due to this.
-
- Feb 14, 2023
-
-
Patrick Cloke authored
The `exact_event_property_contains` condition can be used to search for a value inside of an array.
-
- Feb 10, 2023
-
-
Patrick Cloke authored
This specifies to search for an exact value match, instead of string globbing. It only works across non-compound JSON values (null, boolean, integer, and strings).
-
- Feb 03, 2023
-
-
Patrick Cloke authored
Co-authored-by:
Brad Murray <brad@beeper.com> Co-authored-by:
Nick Barrett <nick@beeper.com> Copy the suppress_edits push rule from Beeper to implement MSC3958. https://github.com/beeper/synapse/blame/9415a1284b1bfb558bd66f28c24ca1611e6c6fa2/rust/src/push/base_rules.rs#L98-L114
-
Patrick Cloke authored
If the feature is enabled and the event has a `m.mentions` property, skip processing of the legacy mentions rules.
-
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.
-
- Jan 27, 2023
-
-
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.
-
- Jan 19, 2023
-
-
Andrew Morgan authored
-
- Jan 12, 2023
-
-
Erik Johnston authored
* Re-enable some linting * Newsfile * Remove comment
-
- Jan 11, 2023
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Dec 21, 2022
-
-
Patrick Cloke authored
ruff is a flake8-compatible Python linter written in Rust. It supports the flake8 plugins that we use and is significantly faster in testing.
-
- Dec 13, 2022
-
-
reivilibre authored
-
- Dec 12, 2022
-
-
Brendan Abolivier authored
Fixes #13655 This change uses ICU (International Components for Unicode) to improve boundary detection in user search. This change also adds a new dependency on libicu-dev and pkg-config for the Debian packages, which are available in all supported distros.
-
- Nov 29, 2022
-
-
Travis Ralston authored
* Support MSC1767's `content.body` behaviour in push rules * Add the base rules from MSC3933 * Changelog entry * Flip condition around for finding `m.markup` * Remove forgotten import
-
- Nov 28, 2022
-
-
Travis Ralston authored
* Add support for MSC3931: Room Version Supports push rule condition * Create experimental flag for future work, and use it to gate MSC3931 * Changelog entry
-
- Nov 16, 2022
-
-
Andrew Morgan authored
-
- Oct 25, 2022
-
-
DeepBlueV7.X authored
-
- Oct 12, 2022
-
-
Patrick Cloke authored
MSC3772 has been abandoned.
-
- Oct 04, 2022
-
-
Patrick Cloke authored
Switches to the stable identifier for MSC3786 and enables it by default. This disables pushes of m.room.server_acl events.
-
- Sep 29, 2022
-
-
Erik Johnston authored
-
- Sep 20, 2022
-
-
Erik Johnston authored
-
- Sep 12, 2022
-
-
Erik Johnston authored
This protects against the common mistake of failing to remember to rebuild Rust code after making changes.
-
- Sep 06, 2022
-
-
Erik Johnston authored
-
- May 06, 2022
-
-
David Robertson authored
-
- Apr 27, 2022
-
-
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.
-
- Apr 25, 2022
-
-
David Robertson authored
-
- Mar 08, 2022
-
-
Patrick Cloke authored
Some properties were marked as RedisProtocol instead of ConnectionHandler, which wraps RedisProtocol instance(s).
-
- Feb 18, 2022
-
-
Sean Quah authored
Upgrade mypy to 0.931, mypy-zope to 0.3.5 and fix new complaints.
-
- Dec 14, 2021
-
-
Sean Quah authored
-
- Sep 10, 2021
-
-
reivilibre authored
-
- Sep 03, 2021
-
-
Erik Johnston authored
-
- Apr 14, 2021
-
-
Jonathan de Jong authored
Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by:
Jonathan de Jong <jonathan@automatia.nl>`>
-
- Mar 15, 2021
-
-
Patrick Cloke authored
-
- Mar 11, 2021
-
-
Richard van der Hoff authored
-