zulip/static/js
Tim Abbott 8c733fde8f Use message_store rather than all_msg_list to get messages by id.
There are 2 uses of all_msg_list previous to this commit:

(1) The contiguous block of messages to be used for constructing the
initial state of narrows.

(2) A way to look up an arbitrary message by ID that may or may not be
in the home view to check if we have it locally.

We eliminate all applications of use case (2), replacing them with
queries on message_store, since they are in fact wrong -- any messages
that are outside the contiguous time period of all_msg_list would not
appear in all_msg_list and thus would incorrectly not be returned.

(imported from commit e2e2efe919242331bbc44abc6c50b16e3ab1336e)
2014-02-03 13:32:02 -05:00
..
activity.js Move suppress_unread_counts to unread.js. 2014-01-31 15:57:28 -05:00
admin.js Fix the Admin page not working for newly-knighted users. 2014-01-29 12:41:22 -05:00
alert_words.js Simplify code by using message.alerted. 2014-01-10 21:39:02 -05:00
alert_words_ui.js Add an idempotent flag to the channel module. 2014-01-10 21:39:00 -05:00
api.js
avatar.js Allow users to upload avatars on the Settings page. 2013-10-29 10:59:41 -04:00
blueslip.js blueslip: Fix formating of log date strings 2013-11-15 11:00:56 -05:00
channel.js Always set data.method=PATCH in channel.patch() 2014-01-16 13:41:53 -05:00
colorspace.js
common.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
compose.js Move report_as_received to compose.js. 2014-02-03 13:32:02 -05:00
compose_fade.js Split out new module message_store.js. 2014-01-31 15:57:28 -05:00
composebox_typeahead.js Add an idempotent flag to the channel module. 2014-01-10 21:39:00 -05:00
custom_markdown.js Add JS to for the inline subscribe button 2014-01-22 11:28:31 -05:00
debug.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
dict.js Create blueslip error for undefined keys in Dict. 2013-09-11 18:07:37 -04:00
echo.js Use message_store rather than all_msg_list to get messages by id. 2014-02-03 13:32:02 -05:00
emoji.js Consolidate emoji tests and test on frontend as well 2014-01-27 12:07:48 -05:00
feature_flags.js Re-enable local echo for staging 2014-01-24 16:09:44 -05:00
fenced_code.js [localecho] Properly escape HTML in code blocks 2014-02-03 12:57:54 -05:00
filter.js Clean up double negatives in message_matches_search_term 2014-01-30 17:19:50 -05:00
hashchange.js Center on-page-load narrows on first unread message. 2014-02-03 13:32:02 -05:00
hotkey.js Have the ENTER key blur people searches. 2014-01-15 16:05:52 -05:00
initial_invite.js Unbreak sending invites from the first user. 2014-01-13 10:36:48 -05:00
invite.js Unconditionally subscribe new users to the notification stream if it is public. 2014-01-23 17:06:26 -05:00
landing-page.js Send you a registration email if you try to sign up for an existing realm. 2014-01-31 16:40:19 -05:00
localstorage.js Add a localstorage.js module 2014-01-23 16:28:58 -05:00
message_edit.js Allow editing of locally echoed messages that failed to be sent 2014-01-23 16:28:55 -05:00
message_flags.js Split out message_flags.js. 2014-01-31 14:59:03 -05:00
message_list.js Move message_range to a function on the message list. 2014-02-03 13:32:02 -05:00
message_list_view.js Fix scroll position on narrow and unnarrow 2014-01-30 01:48:15 -05:00
message_store.js Use message_store rather than all_msg_list to get messages by id. 2014-02-03 13:32:02 -05:00
metrics.js Use .operator to get operator for mixpanel. 2014-01-30 13:24:43 -05:00
muting.js Handle undefined keys in muting.is_topic_muted 2013-09-11 16:47:36 -04:00
muting_ui.js Add an idempotent flag to the channel module. 2014-01-10 21:39:00 -05:00
narrow.js Export message_store.get() for getting message objects. 2014-02-03 13:32:02 -05:00
navigate.js Move unread-related functions from zulip.js to unread.js. 2014-01-31 14:59:03 -05:00
notifications.js Move unread-related functions from zulip.js to unread.js. 2014-01-31 14:59:03 -05:00
notifications_bar.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
people.js Remove unused in_realm var in people.add() 2014-02-03 10:16:17 -05:00
popovers.js Don't allow editing of in-flight locally delivered messages 2014-01-23 16:28:55 -05:00
referral.js Add channel module wrapping our various JSON requests to the server. 2013-12-19 16:52:47 -05:00
reload.js Rename get_updates to get_events in the frontend. 2014-01-30 17:23:52 -05:00
rows.js Parse message IDs as floats 2014-01-07 17:33:33 -05:00
search.js Remove jquery.highlight 2014-01-15 16:07:20 -05:00
search_suggestion.js Fix undefined operator in search suggestions. 2014-01-21 17:07:50 -05:00
server_events.js Export message_store.get() for getting message objects. 2014-02-03 13:32:02 -05:00
settings.js Add an idempotent flag to the channel module. 2014-01-10 21:39:00 -05:00
setup.js Rename get_updates to get_events in the frontend. 2014-01-30 17:23:52 -05:00
signup.js Make login form validation errors not wrap 2013-09-16 14:20:43 -04:00
socket.js Rename get_updates to get_events in the frontend. 2014-01-30 17:23:52 -05:00
stream_color.js Fix stream color updates for left borders of messages. 2014-01-10 21:39:05 -05:00
stream_data.js tutorial: be flexible about the work-focused warm-up message recipient. 2014-01-23 17:06:28 -05:00
stream_list.js Move unread-related functions from zulip.js to unread.js. 2014-01-31 14:59:03 -05:00
subs.js Fix display of unread counts. 2014-01-31 17:53:11 -05:00
summary.js Split out message_flags.js. 2014-01-31 14:59:03 -05:00
tab_bar.js Split out new module people.js for tracking people. 2014-01-30 17:32:58 -05:00
templates.js Use compiled.js in dev environments. 2014-01-10 21:39:04 -05:00
timerender.js Better date separator rendering 2013-09-11 11:50:17 -07:00
tutorial.js Rename get_updates to get_events in the frontend. 2014-01-30 17:23:52 -05:00
typeahead_helper.js Prefer humans to bots when autocompleting PM recipients. 2014-01-10 21:39:05 -05:00
ui.js Use message_store rather than all_msg_list to get messages by id. 2014-02-03 13:32:02 -05:00
unread.js Move suppress_unread_counts to unread.js. 2014-01-31 15:57:28 -05:00
util.js Add a `.expectOne` method to jQuery objects. 2013-09-04 16:44:33 -04:00
viewport.js Fix scroll position on narrow and unnarrow 2014-01-30 01:48:15 -05:00
zulip.js Move message_range to a function on the message list. 2014-02-03 13:32:02 -05:00