zulip/zerver
Steve Howell f5edeb01ae Calculate idle users more efficiently when sending messages.
Usually a small minority of users are eligible to receive missed
message emails or mobile notifications.

We now filter users first before hitting UserPresence to find idle
users.  We also simply check for the existence of recent activity
rather than borrowing the more complicated data structures that we
use for the buddy list.
2017-09-07 06:59:44 -07:00
..
fixtures test fixtures: Add some more quotes and remove some Oscar Wilde. 2017-08-23 13:00:39 -07:00
lib Calculate idle users more efficiently when sending messages. 2017-09-07 06:59:44 -07:00
management makemessages: Allow whitespaces after comma in i18n. 2017-09-06 07:01:43 -07:00
migrations model: Remove user_profile.muted_topics. 2017-09-02 09:19:51 -07:00
templatetags templatetags: Fix buggy exception clause. 2017-08-25 00:39:58 -07:00
tests Calculate idle users more efficiently when sending messages. 2017-09-07 06:59:44 -07:00
tornado Calculate idle users more efficiently when sending messages. 2017-09-07 06:59:44 -07:00
views Add MutedTopic model. 2017-09-02 09:19:51 -07:00
webhooks trello: Use client_head wrapper in tests. 2017-08-26 13:45:27 -07:00
worker mypy: Set assign_queue() parameter queue_type to not be Optional. 2017-08-07 21:27:50 -07:00
__init__.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
apps.py Add notifications on new logins to Zulip. 2017-03-25 16:50:52 -07:00
context_processors.py settings: Rename SERVER_URI to ROOT_DOMAIN_URI. 2017-08-28 14:09:28 -07:00
decorator.py logger: Add new create_logger abstraction to simplify logging. 2017-08-27 18:31:53 -07:00
filters.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
forms.py forms: Replace is_inactive with more comprehensive check. 2017-08-24 23:16:31 -07:00
logging_handlers.py logging_handlers: Fix tracebacks being emailed in subject lines. 2017-04-25 18:55:11 -07:00
middleware.py mypy: Correct 2 type annotations in zerver/middleware.py. 2017-08-15 17:50:18 -07:00
models.py model: Remove user_profile.muted_topics. 2017-09-02 09:19:51 -07:00
signals.py Update "MacOS" text to "macOS" 2017-08-26 09:00:42 -07:00
static_header.txt Update static_header.txt with new license information. 2016-08-13 00:37:21 -07:00
storage.py mypy: Remove type: ignores not needed in Python 3. 2017-08-25 11:04:20 -07:00