zulip/zephyr
Leo Franchi 9466addbe2 Allow negative anchor param to get_old_message
When narrowing, we use the selected id in the home view as the anchor,
and if the user is new and hasn't selected any messages yet (or moved
the pointer since first using humbug), their home view selected message
will be -1. Rather than failing to get_old_messages for any narrows starting
from that point, return all matching messages.

(imported from commit 72cfe392d9ac01ed41abc8eadf0f47240e374665)
2013-03-11 15:11:24 -04:00
..
fixtures Rename zephyrs.json => messages.json in .gitignore. 2012-10-10 10:39:27 -04:00
jstemplates Unsmush the "Add members" textbox on the streams page. 2013-03-05 14:52:57 -05:00
lib [manual] Cache results of the Twitter API in the database. 2013-03-11 13:15:55 -04:00
management create_user: Remove unused import. 2013-03-08 17:24:33 -05:00
migrations [south] Add enter-sends field to UserProfile model. 2013-02-27 17:25:15 -05:00
static Don't open the composebox when you click on a Twitter avatar. 2013-03-11 14:38:21 -04:00
tests tests: Basic compose box tests 2013-03-07 14:30:08 -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 Fix use of case-sensitive comparisons on email addresses. 2013-02-28 17:49:57 -05:00
filters.py Filter out all cookies and the csrfmiddlewaretoken. 2013-02-05 16:12:48 -05:00
forms.py Rename is_active to is_inactive. 2013-02-12 16:15:29 -05:00
handlers.py Catch all exceptions when sending a message from AdminHumbugHandler 2013-02-05 16:12:48 -05:00
middleware.py logging: Fix super verbose logging of 404 errors. 2013-02-12 16:36:13 -05:00
models.py Attempt to render messages before accepting them from the user. 2013-03-08 17:24:33 -05:00
openid.py [manual] Implement backend support for authenticating a user via Google. 2013-02-27 10:16:54 -05:00
retention_policy.py Fix use of case-sensitive comparisons on email addresses. 2013-02-28 17:49:57 -05:00
tests.py Allow negative anchor param to get_old_message 2013-03-11 15:11:24 -04:00
tornadoviews.py Clean up fetch_table_messages code a bit. 2013-02-12 16:25:45 -05:00
views.py Allow negative anchor param to get_old_message 2013-03-11 15:11:24 -04:00