- Mar 07, 2023
-
-
Patrick Cloke authored
This removes the experimental configuration option and always escapes the push rule condition keys. Also escapes any (experimental) push rule condition keys in the base rules which contain dot in a field name.
-
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 03, 2023
-
-
Erik Johnston authored
As we use some nightly only options, e.g. to group and sort imports consistently.
-
- 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 28, 2023
-
-
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.
-
- 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.
-
Richard van der Hoff authored
This does nothing and I want to remove it from the MSC.
-
- Feb 13, 2023
-
-
V02460 authored
Signed-off-by:
Kai A. Hiller <V02460@gmail.com>
-
- 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 07, 2023
-
-
Patrick Cloke authored
-
- 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.
-
- Feb 02, 2023
-
-
Patrick Cloke authored
-
- Feb 01, 2023
-
-
Patrick Cloke authored
* Correct the push rule IDs. * Removes the sound tweak for room notifications.
-
- Jan 31, 2023
-
-
Patrick Cloke authored
-
- 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
-
- Dec 02, 2022
-
-
Erik Johnston authored
-
- 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
-
Travis Ralston authored
* Add MSC1767's dedicated room version, based on v10 * Only enable MSC1767 room version if the config flag is on Using a similar technique to knocking: https://github.com/matrix-org/synapse/pull/6739/files#diff-3af529eedb0e00279bafb7369370c9654b37792af8eafa0925400e9281d57f0a * Support MSC3932: Extensible events room version feature flag * Changelog entry
-
- 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 14, 2022
-
-
Erik Johnston authored
This is to help downstream packagers.
-
dependabot[bot] authored
* Bump blake2 from 0.10.4 to 0.10.5 Bumps [blake2](https://github.com/RustCrypto/hashes) from 0.10.4 to 0.10.5. - [Release notes](https://github.com/RustCrypto/hashes/releases) - [Commits](https://github.com/RustCrypto/hashes/compare/blake2-v0.10.4...blake2-v0.10.5 ) --- updated-dependencies: - dependency-name: blake2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> * Changelog Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
GitHub Actions <github-actions[bot]@users.noreply.github.com>
-
- Nov 07, 2022
-
-
dependabot[bot] authored
* Bump pyo3 from 0.17.2 to 0.17.3 Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.17.2 to 0.17.3. - [Release notes](https://github.com/pyo3/pyo3/releases) - [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md) - [Commits](https://github.com/pyo3/pyo3/compare/v0.17.2...v0.17.3 ) --- updated-dependencies: - dependency-name: pyo3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> * Changelog Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
GitHub Actions <github-actions[bot]@users.noreply.github.com>
-
dependabot[bot] authored
* Bump regex from 1.6.0 to 1.7.0 Bumps [regex](https://github.com/rust-lang/regex) from 1.6.0 to 1.7.0. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.6.0...1.7.0 ) --- updated-dependencies: - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> * Changelog Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
GitHub Actions <github-actions[bot]@users.noreply.github.com>
-
- Oct 25, 2022
-
-
DeepBlueV7.X authored
-
- Oct 24, 2022
-
-
dependabot[bot] authored
-
dependabot[bot] authored
-
dependabot[bot] 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 21, 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 09, 2022
-
-
Erik Johnston authored
-
- Sep 06, 2022
-
-
Erik Johnston authored
-