Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update MSC3786 implementation: Check the `state_key` (#12939) | Šimon Brandner | 2022-06-27 | 1 | -1/+7 |
| | | | Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> | ||||
* | Remove `dont_notify` from the `.m.rule.room.server_acl` rule (#12849) | Šimon Brandner | 2022-05-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> | ||||
* | Experimental support for MSC3772 (#12740) | Patrick Cloke | 2022-05-24 | 1 | -0/+14 |
| | | | | | | | | | | 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. | ||||
* | Implement MSC3786: Add a default push rule to ignore m.room.server_acl ↵ | Šimon Brandner | 2022-05-10 | 1 | -0/+15 |
| | | | | | | events (#12601) Fixes vector-im/element-web#20788 Implements matrix-org/matrix-spec-proposals#3786 | ||||
* | Add an additional HTTP pusher + push rule tests. (#12188) | Nick Mills-Barrett | 2022-03-11 | 1 | -19/+19 |
| | | | And rename the field used for caching from _id to _cache_key. | ||||
* | Upgrade mypy to version 0.931 (#12030) | Sean Quah | 2022-02-18 | 1 | -4/+6 |
| | | | Upgrade mypy to 0.931, mypy-zope to 0.3.5 and fix new complaints. | ||||
* | Revert experimental push rules from #7997. (#11884) | Patrick Cloke | 2022-02-02 | 1 | -212/+7 |
| | | | Manually reverts the merge from cdbb8e6d6e36e0b6bc36e676d8fe66c96986b399. | ||||
* | Add type hints to the push module. (#8901) | Patrick Cloke | 2020-12-11 | 1 | -5/+18 |
| | |||||
* | Add base pushrule to notify for jitsi conferences (#8286) | David Baker | 2020-11-02 | 1 | -0/+24 |
| | | | This could be customised to trigger a different kind of notification in the future, but for now it's a normal non-highlight one. | ||||
* | Fix typos and spelling errors. (#8639) | Patrick Cloke | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | Incorporate review | Brendan Abolivier | 2020-08-06 | 1 | -16/+4 |
| | |||||
* | Lint | Brendan Abolivier | 2020-07-30 | 1 | -19/+32 |
| | |||||
* | Implement new experimental push rules with a database hack to enable them | Brendan Abolivier | 2020-07-28 | 1 | -9/+208 |
| | |||||
* | Explicitly check that tombstone is a state event before notifying. | Erik Johnston | 2019-07-31 | 1 | -1/+7 |
| | |||||
* | Add default push rule to ignore reactions (#5623) | J. Ryan Stinnett | 2019-07-05 | 1 | -0/+13 |
| | | | | | | | This adds a default push rule following the proposal in [MSC2153](https://github.com/matrix-org/matrix-doc/pull/2153). See also https://github.com/vector-im/riot-web/issues/10208 See also https://github.com/matrix-org/matrix-js-sdk/pull/976 | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -234/+170 |
| | |||||
* | Add a default .m.rule.tombstone push rule (#4867) | Travis Ralston | 2019-04-29 | 1 | -0/+17 |
| | | | | | | | | | | * Add a default .m.rule.tombstone push rule In support of MSC1930: https://github.com/matrix-org/matrix-doc/pull/1930 * changelog * Appease the changelog linter | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -1/+2 |
| | |||||
* | Consistently use six's iteritems and wrap lazy keys/values in list() if ↵ | Amber Brown | 2018-05-31 | 1 | -1/+1 |
| | | | | they're not meant to be lazy (#3307) | ||||
* | Omit the *s for @room notifications | David Baker | 2017-10-16 | 1 | -1/+1 |
| | | | | They're just redundant | ||||
* | Use notification levels in power_levels | David Baker | 2017-10-10 | 1 | -2/+2 |
| | | | | | | Rather than making the condition directly require a specific power level. This way the level require to notify a room can be configured per room. | ||||
* | They're called rooms | David Baker | 2017-10-05 | 1 | -4/+4 |
| | |||||
* | Get rule type right | David Baker | 2017-10-05 | 1 | -1/+1 |
| | |||||
* | Support for channel notifications | David Baker | 2017-10-05 | 1 | -0/+23 |
| | | | | | Add condition type to check the sender's power level and add a base rule using it for @channel notifications. | ||||
* | _id field must uniquely identify different conditions | Erik Johnston | 2016-09-19 | 1 | -2/+2 |
| | |||||
* | proposal for notifying on e2e events | Matthew Hodgson | 2016-09-17 | 1 | -0/+49 |
| | |||||
* | s/underride/override/ in the rule_id too | David Baker | 2016-08-16 | 1 | -1/+1 |
| | |||||
* | Move display name rule | David Baker | 2016-08-15 | 1 | -16/+20 |
| | | | | As per https://github.com/matrix-org/matrix-doc/pull/373 and comment | ||||
* | Fix the rule_id for .m.rule.invite_for_me (#715) | Mark Haines | 2016-04-11 | 1 | -1/+1 |
| | |||||
* | Fix invite pushes | David Baker | 2016-04-08 | 1 | -35/+37 |
| | | | | | | * If the event is an invite event, add the invitee to list of user we run push rules for (if they have a pusher etc) * Move invite_for_me to be higher prio than member events otherwise member events matches them * Spell override right | ||||
* | Use google style doc strings. | Mark Haines | 2016-04-01 | 1 | -3/+5 |
| | | | | | | | pycharm supports them so there is no need to use the other format. Might as well convert the existing strings to reduce the risk of people accidentally cargo culting the wrong doc string format. | ||||
* | Never notify for member events. This fixes ↵ | David Baker | 2016-03-24 | 1 | -20/+21 |
| | | | | https://github.com/vector-im/vector-web/issues/828 | ||||
* | Add support for changing the actions for default rules | Mark Haines | 2016-02-26 | 1 | -7/+50 |
| | | | | | | See matrix-org/matrix-doc#283 Works by adding dummy rules to the push rules table with a negative priority class and then using those rules to clobber the default rule actions when adding the default rules in ``list_with_base_rules`` | ||||
* | Only notify for messages in one to one rooms, not every event | David Baker | 2016-01-26 | 1 | -0/+6 |
| | | | | Fixes the fact that candidate events and hangups generated notifications. | ||||
* | Remove member event rule as per SYN-607 | David Baker | 2016-01-21 | 1 | -17/+19 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into default_notify | Erik Johnston | 2016-01-19 | 1 | -190/+198 |
|\ | |||||
| * | Update _id | Erik Johnston | 2016-01-19 | 1 | -2/+3 |
| | | |||||
| * | Do for loop once at start | Erik Johnston | 2016-01-18 | 1 | -8/+17 |
| | | |||||
| * | Use static for const dicts | Erik Johnston | 2016-01-18 | 1 | -183/+181 |
| | | |||||
| * | Rename 'user_name' to 'user_id' in push to make it consistent with the rest ↵ | Mark Haines | 2016-01-13 | 1 | -6/+6 |
| | | | | | | | | of the code | ||||
* | | Change default pushrules back to notifying for all messages. | David Baker | 2016-01-13 | 1 | -1/+0 |
|/ | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Change the m.room.message rule to be disabled by default so we only notify ↵ | David Baker | 2015-12-02 | 1 | -0/+1 |
| | | | | for 1:1 rooms / highlights out-of-the-box | ||||
* | Oops: underride rule had an identifier with override in it. | David Baker | 2015-06-23 | 1 | -1/+1 |
| | |||||
* | Make one-to-one rule an underride otherwise bings don't work in one-to-one ↵ | David Baker | 2015-04-24 | 1 | -21/+21 |
| | | | | wrooms. Likewise a couple of other rules. | ||||
* | Copyright notices | Mark Haines | 2015-04-24 | 1 | -0/+14 |
| | |||||
* | 'false' is not False | David Baker | 2015-03-11 | 1 | -5/+5 |
| | |||||
* | PEP8 blank lines | David Baker | 2015-03-11 | 1 | -0/+1 |
| | |||||
* | Add the master push rule for the break-my-push button. Allow server default ↵ | David Baker | 2015-03-10 | 1 | -9/+49 |
| | | | | rules to be disabled by default. | ||||
* | D'oh: underscore, not hyphen | David Baker | 2015-03-09 | 1 | -1/+1 |
| | |||||
* | Call notifications should be override else they'll get clobbered by ↵ | David Baker | 2015-03-06 | 1 | -21/+21 |
| | | | | sender/room rules. | ||||
* | Specify when we don't want to highlight | David Baker | 2015-03-06 | 1 | -2/+17 |
| | |||||
* | Remove the fallback rule - we probably don't want to be notifying for ↵ | David Baker | 2015-03-06 | 1 | -9/+1 |
| | | | | everything even if we don't know what it is. | ||||
* | Add more server default rules so we have default rules for whether you get ↵ | David Baker | 2015-03-06 | 1 | -2/+72 |
| | | | | notifs for invites / random member events | ||||
* | Suppress notices should trump content/room/sender rules. | David Baker | 2015-03-06 | 1 | -13/+13 |
| | |||||
* | Add the highlight tweak where messages should be highlighted a different ↵ | David Baker | 2015-03-06 | 1 | -0/+4 |
| | | | | colour in appropriate clients. | ||||
* | Add default rule to suppress notices. | David Baker | 2015-03-04 | 1 | -0/+13 |
| | |||||
* | Rename the room-with-two-people rule to be more compatible if we have actual ↵ | David Baker | 2015-03-02 | 1 | -1/+1 |
| | | | | one to one rooms. | ||||
* | SYN-267 Add a fallback rule as an explicit server default rule and make the ↵ | David Baker | 2015-02-26 | 1 | -0/+15 |
| | | | | default dont-notify so you effectively have a "notify for everything else" switch you can turn on and off. | ||||
* | Add API for getting/setting enabled-ness of push rules. | David Baker | 2015-02-26 | 1 | -4/+4 |
| | |||||
* | Add enable/disable overlay for push rules (REST API not yet hooked up) | David Baker | 2015-02-25 | 1 | -0/+3 |
| | |||||
* | Code-style fixes | Mark Haines | 2015-02-10 | 1 | -5/+6 |
| | |||||
* | Fix server default rule injection (downwards, not upwards!) | David Baker | 2015-02-09 | 1 | -6/+6 |
| | |||||
* | Give server default rules the 'default' attribute and fix various brokenness. | David Baker | 2015-02-05 | 1 | -0/+1 |
| | |||||
* | Server default rules now of all kinds rather than all being at lowest prio. | David Baker | 2015-02-05 | 1 | -8/+54 |
| | |||||
* | Use set_tweak instead of set_sound | David Baker | 2015-02-03 | 1 | -1/+2 |
| | |||||
* | Spit out server default rules too. | David Baker | 2015-01-30 | 1 | -6/+5 |
| | |||||
* | Add room member count condition and default rule to make a noise on rooms of ↵ | David Baker | 2015-01-30 | 1 | -0/+14 |
| | | | | only 2 people. | ||||
* | Add default push rules including setting a sound for messages mentioning ↵ | David Baker | 2015-01-29 | 1 | -0/+35 |
your username / display name |