David Baker
|
992928304f
|
Delete notifications for redacted events
|
2016-01-06 11:58:46 +00:00 |
|
David Baker
|
c79f221192
|
Add is_guest flag to users db to track whether a user is a guest user or not. Use this so we can run _filter_events_for_client when calculating event_push_actions.
|
2016-01-06 11:38:09 +00:00 |
|
David Baker
|
c914d67cda
|
Rename event-actions to event_push_actions as per PR request
|
2016-01-04 14:05:37 +00:00 |
|
David Baker
|
3051c9d002
|
Address minor PR issues
|
2016-01-04 13:39:29 +00:00 |
|
David Baker
|
9b4cd0cd0f
|
pep8 & unused variable
|
2015-12-22 17:25:09 +00:00 |
|
David Baker
|
4c8f6a7e42
|
Insert push actions in a single db query rather than one per user/profile_tag
|
2015-12-22 17:04:31 +00:00 |
|
David Baker
|
65c451cb38
|
Add bulk push rule evaluator which actually still evaluates rules one by one, but does far fewer db queries to fetch the rules
|
2015-12-22 15:19:34 +00:00 |
|
David Baker
|
f73f154ec2
|
Only run pushers for users on this hs!
|
2015-12-21 15:28:54 +00:00 |
|
David Baker
|
42ad49f5b7
|
still very WIP, but now sends unread_notifications_count in the room object on sync (only actually corrrect in a full sync: hardcoded to 0 in incremental syncs).
|
2015-12-16 18:42:09 +00:00 |
|
David Baker
|
5e909c73d7
|
Store nothing instead of ['dont_notify'] for events with no notification 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.
|
2015-12-10 18:40:28 +00:00 |
|
David Baker
|
aa667ee396
|
Save event actions to the db
|
2015-12-10 17:51:15 +00:00 |
|
David Baker
|
21f135ba76
|
Very first cut of calculating actions for events as they come in. Doesn't store them yet. Not very efficient.
|
2015-12-10 16:26:08 +00:00 |
|