summary refs log tree commit diff
path: root/synapse/push/push_rule_evaluator.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Make push rules use proper structures. (#13522)Erik Johnston2022-08-161-8/+19
* Experimental support for MSC3772 (#12740)Patrick Cloke2022-05-241-1/+49
* Move free functions into PushRuleEvaluatorForEvent. (#12677)Patrick Cloke2022-05-101-4/+66
* Fix `PushRuleEvaluator` and `Filter` to work on frozendicts (#12100)Richard van der Hoff2022-02-281-4/+4
* Re-apply: Move glob_to_regex and re_word_boundary to matrix-python-common #11...reivilibre2022-01-051-3/+4
* Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common`...Sean Quah2021-12-071-4/+3
* Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505)Sean Quah2021-12-061-3/+4
* Add remaining type hints to `synapse.events`. (#11098)Patrick Cloke2021-11-021-5/+5
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-151-2/+2
* Merge pull request from GHSA-x345-32rc-8h85Richard van der Hoff2021-05-111-52/+3
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Add type hints to the push module. (#8901)Patrick Cloke2020-12-111-6/+22
* Apply suggestions from code reviewRichard van der Hoff2020-10-161-1/+1
* type annotations for LruCacheRichard van der Hoff2020-10-161-7/+9
* Make LruCache register its own metrics (#8561)Richard van der Hoff2020-10-161-3/+1
* Enable mypy checking for unreachable code and fix instances. (#8432)Patrick Cloke2020-10-011-2/+2
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Don't ignore `set_tweak` actions with no explicit `value`. (#7766)reivilibre2020-07-061-4/+27
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-3/+1
* Ensure the body is a string before comparing push rules. (#7701)Patrick Cloke2020-06-151-2/+2
* Allow configuration of Synapse's cache without using synctl or environment va...Amber Brown2020-05-111-2/+2
* Do not treat display names as globs for push rules. (#7271)Patrick Cloke2020-04-161-30/+39
* Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-2/+2
* Run Black. (#5482)Amber Brown2019-06-201-31/+26
* Clean up event accesses and testsErik Johnston2018-11-021-2/+2
* run isortAmber Brown2018-07-091-2/+2
* Merge remote-tracking branch 'origin/develop' into 3218-official-promAmber Brown2018-05-281-1/+3
|\
| * Replace some more comparisons with sixAdrian Tschira2018-05-191-1/+3
* | replacing portionsAmber Brown2018-05-211-1/+1
|/
* pep8David Baker2017-10-101-1/+1
* Use notification levels in power_levelsDavid Baker2017-10-101-6/+14
* What year is it!? Who's the president!?David Baker2017-10-101-1/+1
* pep8David Baker2017-10-051-0/+3
* Support for channel notificationsDavid Baker2017-10-051-7/+18
* Use better method for word boundary searchingDavid Baker2017-10-051-11/+3
* pep8David Baker2017-10-051-0/+1
* Fix notif kws that start/end with non-word charsDavid Baker2017-10-051-2/+21
* Fix caching error in the push evaluatorRichard van der Hoff2017-07-051-1/+3
* Cache glob to regex at a higher level for pushErik Johnston2017-03-291-47/+57
* 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
* 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
* 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 rec...Erik Johnston2016-01-191-3/+17
* 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 o...Mark Haines2016-01-131-12/+12
* Merge pull request #456 from matrix-org/store_event_actionsDavid Baker2016-01-081-7/+15
|\
| * Add bulk push rule evaluator which actually still evaluates rules one by one,...David Baker2015-12-221-5/+8
| * Store nothing instead of ['dont_notify'] for events with no notification requ...David Baker2015-12-101-2/+7
* | copyrightsMatthew Hodgson2016-01-071-1/+1
|/
* Split out the push rule evaluator into a separate file so it can be more read...David Baker2015-12-091-0/+224