zulip/zerver
Steve Howell 941b1c781c Refactor get_unread_message_ids_per_recipient().
We now have two helper functions:

    * get_raw_unread_data
    * aggregate_unread_data

Separating the concerns is nice.  The first function does
all the data collection.  The second function should be fast,
and it only re-organizes the data into an aggregated form
that makes the page_params payload smaller and easier for
clients to work with.

For the first function, we try to return data structures
that are easier to manipulate than the end result.  This
will allow us to apply events more easily, in a subsequent
commit.
2017-10-05 09:32:16 -07:00
..
fixtures build_emoji: Extend emoji mappings to use new emojis from iamcal dataset. 2017-10-04 23:09:14 -07:00
lib Refactor get_unread_message_ids_per_recipient(). 2017-10-05 09:32:16 -07:00
management subdomains: Hardcode can_add_realm_domains=True. 2017-10-02 16:32:10 -07:00
migrations zerver/migrations: Remove from __future__ import *. 2017-09-28 10:16:18 -07:00
templatetags zerver: Remove the rest of absolute_import. 2017-09-27 10:02:39 -07:00
tests reactions: Switch to using `name_to_codepoint`. 2017-10-04 23:09:14 -07:00
tornado Notify offline users about edited stream messages. 2017-10-03 15:57:06 -07:00
views email_log: Make sure email generation requests are successful. 2017-10-04 14:45:08 -07:00
webhooks webhooks: Remove use of get_user_profile_by_email. 2017-10-02 15:28:44 -07:00
worker Retry email failures in missed-message emails queue. 2017-10-03 10:35:07 -07:00
__init__.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
apps.py Remove the rest of print_function. 2017-09-27 18:06:47 -07:00
context_processors.py subdomains: Hardcode REALMS_HAVE_SUBDOMAINS=True. 2017-10-02 16:42:43 -07:00
decorator.py decorator: Improve wrong-subdomain logging output. 2017-10-02 13:31:20 -07:00
filters.py zerver: Remove the rest of absolute_import. 2017-09-27 10:02:39 -07:00
forms.py forms: Extract check_subdomain_available. 2017-10-03 17:44:46 -07:00
logging_handlers.py docs: Add more comprehensive documentation on error reporting. 2017-09-27 19:47:08 -07:00
middleware.py subdomains: Hardcode REALMS_HAVE_SUBDOMAINS=True. 2017-10-02 16:42:43 -07:00
models.py subdomains: Hardcode REALMS_HAVE_SUBDOMAINS=True. 2017-10-02 16:42:43 -07:00
signals.py zerver: Remove the rest of absolute_import. 2017-09-27 10:02:39 -07:00
static_header.txt Update static_header.txt with new license information. 2016-08-13 00:37:21 -07:00
storage.py zerver: Remove the rest of absolute_import. 2017-09-27 10:02:39 -07:00