zulip/zephyr
Tim Abbott 227995e971 narrow: Don't crash computing then_select_offset for offscreen then_select_id.
Unlike the other cases where we do this sort of offset calculation,
we're working with a message which is not msg_list.selected_id() --
which means that this message might not actually be rendered at all.
Correct for this by just letting then_select_offset stay undefined in
that case.

(imported from commit ebb8a23bf34c52f9495aa88ceca8eb4458d50be1)
2013-07-10 13:21:08 -04:00
..
fixtures Support JIRA workflow post-function web hooks 2013-05-24 21:23:56 -04:00
lib Allow deactivations to cascade to bots 2013-07-08 14:30:20 -04:00
management populate_db: Tweak the humbughq.com realm's default streams. 2013-07-09 14:35:02 -04:00
migrations [schema] Add PermissionsMixin to UserProfile 2013-07-08 17:07:55 -04:00
static narrow: Don't crash computing then_select_offset for offscreen then_select_id. 2013-07-10 13:21:08 -04:00
tests Put spaces after "function" in JS code (cosmetic). 2013-07-05 16:32:32 -04:00
__init__.py Initial Django commit: basic account, zephyr stream, narrowing, etc. 2012-08-28 12:44:51 -04:00
context_processors.py [manual] Use ujson instead of simplejson. 2013-06-24 10:17:10 -04:00
decorator.py Block API usage by deactivated users. 2013-07-08 14:00:19 -04:00
exceptions.py Add a rate limiting system to our backend 2013-06-04 09:43:09 -04:00
filters.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
finders.py Collect static files directly in the location that will be served 2013-06-12 17:46:38 -04:00
forms.py Remove unused imports 2013-06-27 16:22:39 -04:00
handlers.py Remove unused imports 2013-06-27 16:22:39 -04:00
middleware.py Fix buggy logging of database query time. 2013-06-28 15:57:28 -04:00
models.py Don't 500 when users try to make their name super long. 2013-07-09 17:43:47 -04:00
openid.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
retention_policy.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
static_header.txt Prepend the minified static file header using a custom Storage class 2013-06-12 17:46:38 -04:00
storage.py Create minified_assets.json in the deployment root 2013-06-24 15:55:04 -04:00
tests.py Refactor bot deactivation view to cover all users and expose via REST 2013-07-08 18:00:28 -04:00
tornado_callbacks.py Actually test callbacks in GetUpdatesTest. 2013-07-02 10:50:02 -04:00
tornadoviews.py Remove unused imports 2013-06-27 16:22:39 -04:00
views.py Don't 500 when users try to make their name super long. 2013-07-09 17:43:47 -04:00