summary refs log tree commit diff
path: root/synapse/push/bulk_push_rule_evaluator.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-3/+4
* Fix some typos.Patrick Cloke2021-02-121-1/+1
* Improve the performance of calculating ignored users in large rooms (#9024)Patrick Cloke2021-01-071-4/+8
* Add type hints to the push module. (#8901)Patrick Cloke2020-12-111-37/+61
* Implement and use an @lru_cache decorator (#8595)Richard van der Hoff2020-10-301-13/+24
* Fix typos and spelling errors. (#8639)Patrick Cloke2020-10-231-2/+2
* Add `DeferredCache.get_immediate` method (#8568)Richard van der Hoff2020-10-191-1/+1
* Only add rows to the push actions table if the event notifies or should be ma...Brendan Abolivier2020-09-071-1/+6
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
* Re-implement unread counts (again) (#8059)Brendan Abolivier2020-09-021-28/+64
* Convert synapse.api to async/await (#8031)Patrick Cloke2020-08-061-1/+1
* Convert push to async/await. (#7948)Patrick Cloke2020-07-271-37/+25
* Convert state resolution to async/await (#7942)Patrick Cloke2020-07-241-1/+3
* Back out MSC2625 implementation (#7761)Brendan Abolivier2020-07-011-5/+2
* Merge branch 'develop' into babolivier/mark_unreadBrendan Abolivier2020-06-151-8/+6
|\
| * Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-8/+6
* | Incorporate review bitsBrendan Abolivier2020-06-121-7/+6
* | Actually act on mark_unreadBrendan Abolivier2020-06-111-3/+7
|/
* Allow configuration of Synapse's cache without using synctl or environment va...Amber Brown2020-05-111-1/+3
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-4/+4
* Change EventContext to use the Storage class (#6564)Erik Johnston2019-12-201-2/+2
* Don't call SQLBaseStore methods from outside storesErik Johnston2019-12-041-9/+1
* Update black to 19.10b0 (#6304)Amber Brown2019-11-011-3/+4
* Quick fix to ensure cache descriptors always return deferredsErik Johnston2019-10-281-1/+1
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-1/+1
* Replace returnValue with return (#5736)Amber Brown2019-07-231-5/+5
* Run Black. (#5482)Amber Brown2019-06-201-34/+29
* Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
* Use new gettersErik Johnston2018-07-231-3/+4
* run isortAmber Brown2018-07-091-8/+9
* Merge remote-tracking branch 'origin/develop' into 3218-official-promAmber Brown2018-05-281-6/+7
|\
| * replace some iteritems with sixAdrian Tschira2018-05-191-6/+7
* | fixesAmber Brown2018-05-231-2/+2
* | cleanupAmber Brown2018-05-221-2/+4
* | rest of the changesAmber Brown2018-05-211-17/+11
|/
* Update commentsErik Johnston2018-02-211-3/+4
* Batch inserts into event_push_actions_stagingErik Johnston2018-02-201-6/+9
* CommentsErik Johnston2018-02-161-0/+3
* Remove context.push_actionsErik Johnston2018-02-151-6/+3
* Store push actions in staging areaErik Johnston2018-02-151-0/+3
* pep8David Baker2017-10-101-2/+4
* Don't KeyError if no power_levels eventDavid Baker2017-10-101-1/+3
* Use notification levels in power_levelsDavid Baker2017-10-101-4/+6
* There was already a constant for thisDavid Baker2017-10-101-3/+4
* More optimisationDavid Baker2017-10-101-6/+9
* Make be fasterDavid Baker2017-10-051-3/+3
* Add fastpath optimisationDavid Baker2017-10-051-3/+9
* Support for channel notificationsDavid Baker2017-10-051-1/+18
* Increase cache hit ratio for pushErik Johnston2017-07-141-0/+8
* Add more metrics to push rule evaluationErik Johnston2017-07-131-2/+42
* Push: Don't acquire lock unless necessaryErik Johnston2017-07-131-0/+4
* Perf: Don't filter events for pushErik Johnston2017-07-071-17/+8
* CommentErik Johnston2017-05-221-0/+2
* Remove spurious log level guardsErik Johnston2017-05-221-6/+3
* Check if current event is a membership eventErik Johnston2017-05-221-4/+9
* Add debug loggingErik Johnston2017-05-221-0/+24
* CommentErik Johnston2017-05-221-1/+4
* Use tuple unpackingErik Johnston2017-05-221-2/+2
* Speed up calculating push rulesErik Johnston2017-05-191-8/+19
* Move invalidation cb to its own structureErik Johnston2017-05-191-6/+15
* Store ActionGenerator in HomeServerErik Johnston2017-05-191-1/+1
* Don't push users who have leftErik Johnston2017-05-181-1/+4
* Make get_if_app_services_interested_in_user fasterErik Johnston2017-05-181-3/+1
* Remove size of push get_rules cacheErik Johnston2017-05-181-1/+1
* Add commentErik Johnston2017-05-181-0/+3
* Faster push rule calculation via push specific cacheErik Johnston2017-05-171-37/+242
* Revert "Speed up filtering of a single event in push"Erik Johnston2017-05-081-8/+19
* Speed up filtering of a single event in pushErik Johnston2017-04-281-19/+8
* fix upErik Johnston2017-04-251-1/+2
* Don't specify default as dictErik Johnston2017-04-251-1/+1
* Reduce size of joined_user cacheErik Johnston2017-04-251-2/+5
* Add /room/<room_id>/joined_members APIErik Johnston2016-12-081-6/+6
* Ensure we don't mutate the cache of push rulesErik Johnston2016-09-151-9/+1
* Make bulk_get_push_rules_for_room use get_joined_users_from_context cacheErik Johnston2016-09-051-1/+1
* Correctly handle the difference between prev and current stateErik Johnston2016-08-311-1/+1
* Use state handler instead of get_users_in_room/get_joined_hostsErik Johnston2016-08-261-1/+1
* Replace context.current_state with context.current_state_idsErik Johnston2016-08-251-17/+15
* Move _bulk_get_push_rules_for_room to storage layerErik Johnston2016-08-191-33/+8
* Remove dead code.Mark Haines2016-06-071-8/+0
* Load push rules in storage layer, so that they get cachedErik Johnston2016-06-031-28/+0
* Remove unnecessary setsErik Johnston2016-06-031-6/+3
* Only get local usersErik Johnston2016-06-031-2/+5
* Use state to calculate get_users_in_roomErik Johnston2016-06-011-10/+17
* Add get_users_with_read_receipts_in_room cacheErik Johnston2016-06-011-4/+4
* Add caches to bulk_get_push_rules*Erik Johnston2016-05-311-3/+5
* move filter_events_for_client out of base handlerMark Haines2016-05-111-3/+4
* Don't push for everyone who ever sent an RR to the roomDavid Baker2016-04-141-1/+13
* Fix invite pushesDavid Baker2016-04-081-1/+11
* Make pushers use the event_push_actions table instead of listening on an even...David Baker2016-04-061-7/+18
* Use get_users_in_room to count the number of room members rather than using r...Mark Haines2016-03-221-1/+3
* Fix relative imports so they work in both py3 and py27Mark Haines2016-03-081-3/+3
* Merge branch 'develop' into rav/guest_access_after_room_joinRichard van der Hoff2016-02-191-1/+1
|\
| * Remove dead code for setting device specific rules.Mark Haines2016-02-181-1/+1
* | Allow guest users access to messages in rooms they have joinedRichard van der Hoff2016-02-191-1/+1
|/
* Pass in current state to push action handlerErik Johnston2016-02-091-7/+3
* Merge pull request #523 from matrix-org/dbkr/no_push_unless_notifyDavid Baker2016-01-221-9/+1
|\
| * Better fix for actions with both dont_notify and tweaksDavid Baker2016-01-221-1/+1
| * Revert b4a41aa542203c03bb8a6c93097b94bc5d167265 as it's just broken.David Baker2016-01-221-9/+1
* | Merge pull request #522 from matrix-org/dbkr/no_push_unless_notifyDavid Baker2016-01-221-1/+9
|\|
| * Don't add notifications to the table unless there's actually a 'notify' actionDavid Baker2016-01-221-1/+9
* | Don't mutate cached valuesErik Johnston2016-01-221-2/+6
|/
* Don't crash if a user has no push rule enabled entriesDavid Baker2016-01-221-0/+3
* Overlay the push_rules_enabled map for users, otherwise they won't be able to...David Baker2016-01-221-0/+14
* 'filtered' is a list of zero or 1David Baker2016-01-201-1/+1
* Don't generate push actions for our own eventsDavid Baker2016-01-201-0/+3
* Add regex cache. Only caculate push actions for users that have sent read rec...Erik Johnston2016-01-191-5/+10
* Return don't breakErik Johnston2016-01-191-1/+1
* Except truthy valuesErik Johnston2016-01-191-1/+1
* Don't split at word boundaries, actually use regexErik Johnston2016-01-181-1/+1
* Use static for const dictsErik Johnston2016-01-181-8/+7
* Make notifications go quickerErik Johnston2016-01-181-51/+65
* more commasDavid Baker2016-01-071-1/+1
* Add is_guest flag to users db to track whether a user is a guest user or not....David Baker2016-01-061-5/+22
* comment typoDavid Baker2016-01-051-1/+1
* Address minor PR issuesDavid Baker2016-01-041-1/+1
* pep8 & unused variableDavid Baker2015-12-221-2/+2
* Add some comments to areas that could be optimised.David Baker2015-12-221-0/+8
* Add bulk push rule evaluator which actually still evaluates rules one by one,...David Baker2015-12-221-0/+99