zulip/zephyr
Tim Abbott 62c632ceef presence: Fix loop making database queries.
The previous select_related didn't properly get the User object,
containing the email address, and thus would make one query per user
with presernce information.

(imported from commit 3341bc5a65387030fa8737b03ca43f79089ef56b)
2013-02-12 14:52:59 -05:00
..
fixtures Rename zephyrs.json => messages.json in .gitignore. 2012-10-10 10:39:27 -04:00
jstemplates Restore click-to-reply in the blank space between the sender name and timestamp 2013-02-12 12:36:39 -05:00
lib Add https?: greedy url matching before falling back to our url guesser 2013-02-12 12:24:15 -05:00
management management: add a remove_users_from_stream command. 2013-02-12 11:49:22 -05:00
migrations [manual][schema] Add an API for user presence (idle) information 2013-02-11 18:05:57 -05:00
static Remove sort by PM status in activity list 2013-02-12 14:41:24 -05:00
tests Fix wait condition in subscriptions frontend test 2013-02-06 13:49:37 -05:00
__init__.py Initial Django commit: basic account, zephyr stream, narrowing, etc. 2012-08-28 12:44:51 -04:00
context_processors.py [manual] Get rid of the static-access-control mechanism 2013-01-31 15:34:12 -05:00
decorator.py Log requestor email address for non-error requests too. 2013-02-12 11:07:36 -05:00
filters.py Filter out all cookies and the csrfmiddlewaretoken. 2013-02-05 16:12:48 -05:00
forms.py Move action functions from models.py to zephyr/lib/actions.py. 2013-01-11 16:11:03 -05:00
handlers.py Catch all exceptions when sending a message from AdminHumbugHandler 2013-02-05 16:12:48 -05:00
middleware.py Monkeypatch Django cursor to log query times even when DEBUG=False. 2013-02-12 12:01:02 -05:00
models.py [manual][schema] Add an API for user presence (idle) information 2013-02-11 18:05:57 -05:00
retention_policy.py retention: look up domain instead of inferring from a user's email. 2013-02-08 13:20:18 -05:00
tests.py Add active test for MIT being empty and fix same_realm test 2013-02-12 13:57:10 -05:00
tornadoviews.py If a web client is requesting message that are too old, force a reload. 2013-01-23 11:33:07 -05:00
views.py presence: Fix loop making database queries. 2013-02-12 14:52:59 -05:00