summary refs log tree commit diff
path: root/synapse/push/baserules.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use google style doc strings.Mark Haines2016-04-011-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 Baker2016-03-241-20/+21
| | | | https://github.com/vector-im/vector-web/issues/828
* Add support for changing the actions for default rulesMark Haines2016-02-261-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 eventDavid Baker2016-01-261-0/+6
| | | | Fixes the fact that candidate events and hangups generated notifications.
* Remove member event rule as per SYN-607David Baker2016-01-211-17/+19
|
* Merge branch 'develop' of github.com:matrix-org/synapse into default_notifyErik Johnston2016-01-191-190/+198
|\
| * Update _idErik Johnston2016-01-191-2/+3
| |
| * Do for loop once at startErik Johnston2016-01-181-8/+17
| |
| * Use static for const dictsErik Johnston2016-01-181-183/+181
| |
| * Rename 'user_name' to 'user_id' in push to make it consistent with the rest ↵Mark Haines2016-01-131-6/+6
| | | | | | | | of the code
* | Change default pushrules back to notifying for all messages.David Baker2016-01-131-1/+0
|/
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Change the m.room.message rule to be disabled by default so we only notify ↵David Baker2015-12-021-0/+1
| | | | for 1:1 rooms / highlights out-of-the-box
* Oops: underride rule had an identifier with override in it.David Baker2015-06-231-1/+1
|
* Make one-to-one rule an underride otherwise bings don't work in one-to-one ↵David Baker2015-04-241-21/+21
| | | | wrooms. Likewise a couple of other rules.
* Copyright noticesMark Haines2015-04-241-0/+14
|
* 'false' is not FalseDavid Baker2015-03-111-5/+5
|
* PEP8 blank linesDavid Baker2015-03-111-0/+1
|
* Add the master push rule for the break-my-push button. Allow server default ↵David Baker2015-03-101-9/+49
| | | | rules to be disabled by default.
* D'oh: underscore, not hyphenDavid Baker2015-03-091-1/+1
|
* Call notifications should be override else they'll get clobbered by ↵David Baker2015-03-061-21/+21
| | | | sender/room rules.
* Specify when we don't want to highlightDavid Baker2015-03-061-2/+17
|
* Remove the fallback rule - we probably don't want to be notifying for ↵David Baker2015-03-061-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 Baker2015-03-061-2/+72
| | | | notifs for invites / random member events
* Suppress notices should trump content/room/sender rules.David Baker2015-03-061-13/+13
|
* Add the highlight tweak where messages should be highlighted a different ↵David Baker2015-03-061-0/+4
| | | | colour in appropriate clients.
* Add default rule to suppress notices.David Baker2015-03-041-0/+13
|
* Rename the room-with-two-people rule to be more compatible if we have actual ↵David Baker2015-03-021-1/+1
| | | | one to one rooms.
* SYN-267 Add a fallback rule as an explicit server default rule and make the ↵David Baker2015-02-261-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 Baker2015-02-261-4/+4
|
* Add enable/disable overlay for push rules (REST API not yet hooked up)David Baker2015-02-251-0/+3
|
* Code-style fixesMark Haines2015-02-101-5/+6
|
* Fix server default rule injection (downwards, not upwards!)David Baker2015-02-091-6/+6
|
* Give server default rules the 'default' attribute and fix various brokenness.David Baker2015-02-051-0/+1
|
* Server default rules now of all kinds rather than all being at lowest prio.David Baker2015-02-051-8/+54
|
* Use set_tweak instead of set_soundDavid Baker2015-02-031-1/+2
|
* Spit out server default rules too.David Baker2015-01-301-6/+5
|
* Add room member count condition and default rule to make a noise on rooms of ↵David Baker2015-01-301-0/+14
| | | | only 2 people.
* Add default push rules including setting a sound for messages mentioning ↵David Baker2015-01-291-0/+35
your username / display name