Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Tim Abbott 1cf2d993a6 Fix un-narrowing while the home view messages are still loading.
The bug we experienced here was that if you loaded the page in a
narrowed view, and then un-narrowed before the first block of messages
for the home view arrived via load_old_messages, then
narrow.deactivate() would re-select ID -1 in home_msg_list.  This ends
up calling recenter_view() on the message, which in turn tries to
access the message with message id -1, which fails.

We do sometimes re-select a message ID in order to recenter the view
properly when we prepend messages to a message list, so we can't make
this always a nop; instead we add a check for id -1 in the
message_selected.zephyr event handler.

(imported from commit 66f84a586e59d99aaf0e4ba2cda9fe597b033145)
2013-05-30 10:29:04 -04:00
api api: bump version to 0.1.7. 2013-05-29 15:23:26 -04:00
assets favicon: Add an 'infinite' favicon for more than 99 messages 2013-02-15 16:18:24 -05:00
bots Move check_send_receive.py to the naigos plugins directory, renaming it. 2013-05-29 15:36:47 -04:00
certs [manual] Include SSL certificate for wildcard humbughq.com and corresponding chains. 2013-05-29 15:36:47 -04:00
confirmation Wrap render_to_response 2013-05-21 17:56:49 -04:00
humbug Use proper randomization when generating new API keys. 2013-05-29 15:11:24 -04:00
node_modules Import Handlebars compiler and dependencies 2013-04-02 14:43:58 -04:00
servers Depend on nagios-plugins-basic, not nagios. 2013-05-29 17:57:33 -04:00
templates Revert "Experimental navigation: t and b keys" 2013-05-29 18:10:43 -04:00
tools Remove unnecessary code in check-all.js. 2013-05-29 17:52:14 -04:00
zephyr Fix un-narrowing while the home view messages are still loading. 2013-05-30 10:29:04 -04:00
.gitignore Add some things to .gitignore that are part of local deploy testing 2013-05-24 21:23:55 -04:00
manage.py Make manage.py spit out tracebacks, without a patched django 2013-05-28 19:05:06 -04:00