summary refs log tree commit diff
path: root/synapse/push/action_generator.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add regex cache. Only caculate push actions for users that have sent read ↵Erik Johnston2016-01-191-3/+4
| | | | receipts, and are on that server
* Re-enable urnead notificationsErik Johnston2016-01-181-3/+0
|
* Temporarily disable notification branchErik Johnston2016-01-131-0/+3
|
* Delete notifications for redacted eventsDavid Baker2016-01-061-0/+7
|
* Add is_guest flag to users db to track whether a user is a guest user or ↵David Baker2016-01-061-3/+3
| | | | not. Use this so we can run _filter_events_for_client when calculating event_push_actions.
* Rename event-actions to event_push_actions as per PR requestDavid Baker2016-01-041-1/+1
|
* Address minor PR issuesDavid Baker2016-01-041-4/+3
|
* pep8 & unused variableDavid Baker2015-12-221-2/+0
|
* Insert push actions in a single db query rather than one per user/profile_tagDavid Baker2015-12-221-4/+6
|
* Add bulk push rule evaluator which actually still evaluates rules one by ↵David Baker2015-12-221-17/+11
| | | | one, but does far fewer db queries to fetch the rules
* Only run pushers for users on this hs!David Baker2015-12-211-1/+7
|
* still very WIP, but now sends unread_notifications_count in the room object ↵David Baker2015-12-161-1/+1
| | | | on sync (only actually corrrect in a full sync: hardcoded to 0 in incremental syncs).
* Store nothing instead of ['dont_notify'] for events with no notification ↵David Baker2015-12-101-4/+4
| | | | 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.
* Save event actions to the dbDavid Baker2015-12-101-2/+4
|
* Very first cut of calculating actions for events as they come in. Doesn't ↵David Baker2015-12-101-0/+47
store them yet. Not very efficient.