summary refs log tree commit diff
path: root/synapse/push/push_rule_evaluator.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove code that's now been obsoleted or moved elsewhereDavid Baker2016-04-071-126/+8
|
* Don't ignore the obey overlay if the rule has an enabled attribute of FalseDavid Baker2016-03-311-2/+3
| | | | Fixes https://github.com/vector-im/vector-web/issues/1244
* Fix relative imports so they work in both py3 and py27Mark Haines2016-03-081-2/+2
|
* Remove dead code for setting device specific rules.Mark Haines2016-02-181-10/+5
| | | | | | It wasn't possible to hit the code from the API because of a typo in parsing the request path. Since no-one was using the feature we might as well remove the dead code.
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+1
|
* Change regex cache size to 5000Erik Johnston2016-01-191-1/+1
|
* Add regex cache. Only caculate push actions for users that have sent read ↵Erik Johnston2016-01-191-3/+17
| | | | receipts, and are on that server
* Handle glob -> regex errorsErik Johnston2016-01-191-29/+33
|
* Preserve truthinessErik Johnston2016-01-181-1/+2
|
* You need to escape backslashesErik Johnston2016-01-181-2/+2
|
* Fix branch didn't check word_boundaryErik Johnston2016-01-181-3/+9
|
* Don't split at word boundaries, actually use regexErik Johnston2016-01-181-62/+47
|
* Drop log levelsErik Johnston2016-01-181-2/+2
|
* Add comments and remove dead codeErik Johnston2016-01-181-12/+11
|
* Use static for const dictsErik Johnston2016-01-181-6/+14
|
* Don't edit rulesetErik Johnston2016-01-181-5/+4
|
* Make notifications go quickerErik Johnston2016-01-181-76/+150
|
* Rename 'user_name' to 'user_id' in push to make it consistent with the rest ↵Mark Haines2016-01-131-12/+12
| | | | of the code
* Merge pull request #456 from matrix-org/store_event_actionsDavid Baker2016-01-081-7/+15
|\ | | | | Send unread notification counts
| * Add bulk push rule evaluator which actually still evaluates rules one by ↵David Baker2015-12-221-5/+8
| | | | | | | | one, but does far fewer db queries to fetch the rules
| * Store nothing instead of ['dont_notify'] for events with no notification ↵David Baker2015-12-101-2/+7
| | | | | | | | required: much as it would be nice to be able to tell between the event not having been processed and there being no notification for it, this isn't worth filling up the table with ['dont_notify'] I think. Consequently treat the empty actions array as dont_notify and filter dont_notify out of the result.
* | copyrightsMatthew Hodgson2016-01-071-1/+1
|/
* Split out the push rule evaluator into a separate file so it can be more ↵David Baker2015-12-091-0/+224
readily reused. Should be functionally identical.