zulip/static/js
Aman Agrawal fe27fe5555 message_events: Don't update data structures for unavailable msgs.
For messages which we don't have stored locally, we don't update
our data structures. This was actually our behaviour before
59e5f2d8fc, which introduced this
bug.

Not doing this caused a major bug where we ran into errors
moving messages for topics for which we didn't have all
the messages available.
2021-03-30 09:00:23 -07:00
..
analytics js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
billing js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
bundles message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
portico js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
stats js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
types eslint: Enable @typescript-eslint/consistent-type-imports. 2021-03-18 17:26:19 -07:00
activity.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
admin.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
alert_popup.ts blueslip_stacktrace: Enlarge click target for expanding rows. 2021-03-26 22:07:26 -07:00
alert_words.js js: Convert static/js/alert_words.js to ES6 module. 2021-02-10 10:27:14 -08:00
alert_words_ui.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
all_messages_data.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
archive.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
attachments_ui.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
avatar.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
blueslip.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
blueslip_stacktrace.ts eslint: Enable @typescript-eslint/consistent-type-imports. 2021-03-18 17:26:19 -07:00
bot_data.js js: Clean up typeof … === "undefined" checks. 2021-03-24 13:15:01 -07:00
browser_history.js js: Clean up typeof … === "undefined" checks. 2021-03-24 13:15:01 -07:00
buddy_data.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
buddy_list.js node tests: Use clean BuddyList instance in tests. 2021-03-18 16:37:20 -04:00
channel.js minor: Fix mention of success handler in error wrapper. 2021-03-18 10:09:22 -07:00
click_handlers.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
color_class.js refactor: Extract color_class module. 2021-03-24 12:22:27 -07:00
color_data.js js: Convert static/js/color_data.js to ES6 module. 2021-02-28 14:23:00 -08:00
colorspace.js js: Convert static/js/colorspace.js to ES6 module. 2021-02-10 10:27:14 -08:00
common.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
components.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
compose.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
compose_actions.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
compose_fade.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
compose_fade_helper.js compose fade: Extract compose_fade_users class. 2021-03-21 20:16:08 -07:00
compose_fade_users.js compose fade: Extract compose_fade_users class. 2021-03-21 20:16:08 -07:00
compose_pm_pill.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
compose_state.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
compose_ui.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
composebox_typeahead.js eslint: Enable spaced-comment rule. 2021-03-26 16:32:25 -07:00
condense.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
confirm_dialog.js confirm_dialog: Make it usable outside settings. 2021-03-23 00:17:15 -07:00
copy_and_paste.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
csrf.js js: Convert static/js/csrf.js to ES6 module. 2021-03-26 10:17:56 -07:00
css_variables.js eslint: Forbid CommonJS variables in ES6 modules. 2021-03-23 01:42:43 -07:00
debug.js eslint: Fix unicorn/no-array-for-each. 2021-01-25 14:53:19 -08:00
desktop_integration.js refactor: Extract browser_history module. 2021-03-22 13:29:32 -07:00
drafts.js eslint: Enable spaced-comment rule. 2021-03-26 16:32:25 -07:00
dropdown_list_widget.js js: Simplify code using default parameters and destructuring. 2021-03-26 09:21:46 -07:00
echo.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
emoji_picker.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
emojisets.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
favicon.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
feature_flags.js js: Convert static/js/feature_flags.js to ES6 module with modzulator. 2021-02-10 10:27:14 -08:00
feedback_widget.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
fetch_status.js js: Convert static/js/message_scroll.js to ES6 module. 2021-02-28 14:23:00 -08:00
filter.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
floating_recipient_bar.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
fold_dict.ts typescript: Enable strictNullChecks. 2020-07-28 11:01:35 -07:00
gear_menu.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
global.d.ts js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
hash_util.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
hashchange.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
hbs.d.ts
hotkey.js recent_topics: Don't revive focus when RT is not in focus. 2021-03-30 07:53:37 -07:00
hotspots.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
huddle_data.js node tests: Add test() wrapper for suggestions. 2021-03-12 15:29:23 -05:00
i18n.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
info_overlay.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
input_pill.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
invite.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
keydown_util.js js: Convert static/js/keydown_util.js to ES6 module. 2021-02-28 14:23:00 -08:00
lazy_set.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
lightbox.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
lightbox_canvas.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
list_cursor.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
list_util.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
list_widget.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
loading.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
local_message.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
localstorage.js js: Clean up typeof … === "undefined" checks. 2021-03-24 13:15:01 -07:00
markdown.js markdown: Extend user mention syntax to support user_id for mentioning. 2021-03-25 00:44:56 -07:00
markdown_config.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
message_edit.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
message_edit_history.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
message_events.js message_events: Don't update data structures for unavailable msgs. 2021-03-30 09:00:23 -07:00
message_fetch.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
message_flags.js left sidebar: Add support to unstar all messages in topic. 2021-03-23 00:17:15 -07:00
message_helper.js refactor: Move pm_conversations.process_message. 2021-03-29 14:53:57 -07:00
message_list.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
message_list_data.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
message_list_view.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
message_lists.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
message_live_update.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
message_parser.js refactor: Extract message_parser module. 2021-03-22 13:21:56 -07:00
message_scroll.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
message_store.js refactor: Extract echo.update_message_lists. 2021-03-29 14:53:57 -07:00
message_user_ids.js refactor: Extract message_helper.process_new_message. 2021-03-29 14:53:57 -07:00
message_util.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
message_view_header.js recent_topics: Remove beta label. 2021-03-28 16:16:48 -07:00
message_viewport.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
muting.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
muting_ui.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
narrow.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
narrow_banner.js refactor: Extract narrow_banner module. 2021-03-28 15:55:55 -07:00
narrow_state.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
navigate.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
night_mode.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
notifications.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
overlays.js refactor: Extract browser_history module. 2021-03-22 13:29:32 -07:00
padded_widget.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
page_params.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
panels.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
peer_data.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
people.js refactor: Extract message_helper.process_new_message. 2021-03-29 14:53:57 -07:00
pill_typeahead.js js: Convert static/js/typeahead_helper.js to ES6 module. 2021-02-28 14:23:00 -08:00
pm_conversations.js refactor: Move pm_conversations.process_message. 2021-03-29 14:53:57 -07:00
pm_list.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
pm_list_dom.js js: Convert static/js/pm_list_dom.js to ES6 module. 2021-02-28 14:23:00 -08:00
poll_widget.js js: Simplify code using default parameters and destructuring. 2021-03-26 09:21:46 -07:00
popovers.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
presence.js refactor: Move suspect_offline logic into watchdog. 2021-03-23 14:08:39 -04:00
reactions.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
ready.js ready: Wait for other ready callbacks before marking app loaded. 2021-03-14 17:36:22 -07:00
realm_icon.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
realm_logo.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
recent_senders.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
recent_topics.js recent_topics: Don't revive focus when RT is not in focus. 2021-03-30 07:53:37 -07:00
reload.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
reload_state.js node tests: Add test() wrapper for channel. 2021-03-20 11:00:48 -04:00
reminder.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
rendered_markdown.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
resize.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
rows.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
rtl.js js: Convert static/js/rtl.js to ES6 module. 2021-02-28 14:23:00 -08:00
schema.js js: Convert static/js/schema.js to ES6 module. 2021-02-10 10:27:14 -08:00
scroll_bar.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
scroll_util.js js: Convert static/js/ui.js to ES6 module. 2021-03-02 17:06:35 -08:00
search.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
search_pill.js js: Convert static/js/input_pill.js to ES6 module. 2021-03-02 17:06:35 -08:00
search_pill_widget.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
search_suggestion.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
search_util.js js: Convert static/js/search_util.js to ES6 module. 2021-02-10 10:27:14 -08:00
sent_messages.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
server_events.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
server_events_dispatch.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
settings.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_account.js custom profile fields: Rename "CHOICE" to "SELECT" in frontend. 2021-03-26 11:49:11 -07:00
settings_bots.js js: Convert static/js/csrf.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_config.js eslint: Enable spaced-comment rule. 2021-03-26 16:32:25 -07:00
settings_data.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_display.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_emoji.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_exports.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_invites.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_linkifiers.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_muting.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
settings_notifications.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_org.js js: Convert static/js/csrf.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_panel_menu.js refactor: Extract browser_history module. 2021-03-22 13:29:32 -07:00
settings_profile_fields.js custom profile fields: Rename few functions. 2021-03-26 11:49:28 -07:00
settings_sections.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
settings_streams.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_toggle.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_ui.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
settings_user_groups.js user groups: Add remove event. 2021-03-28 16:18:09 -07:00
settings_users.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
setup.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
spoilers.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
starred_messages.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
starred_messages_ui.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
stream_bar.js refactor: Extract color_class module. 2021-03-24 12:22:27 -07:00
stream_color.js refactor: Break stream_data's dep on stream_color. 2021-03-28 15:55:55 -07:00
stream_create.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
stream_data.js refactor: Move all_topics_in_cache. 2021-03-29 14:53:57 -07:00
stream_edit.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
stream_events.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
stream_list.js refactor: Extract color_class module. 2021-03-24 12:22:27 -07:00
stream_muting.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
stream_pill.js js: Convert static/js/stream_data.js to ES6 module. 2021-02-28 14:23:00 -08:00
stream_popover.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
stream_sort.js code cleanup: Remove obsolete stream_sort code. 2021-03-13 11:48:50 -05:00
stream_topic_history.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
stream_ui_updates.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
submessage.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
subs.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
templates.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
timerender.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
todo_widget.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
top_left_corner.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
topic_generator.js js: Convert static/js/unread.js to ES6 module. 2021-03-02 17:06:35 -08:00
topic_list.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
topic_list_data.js js: Convert static/js/unread.js to ES6 module. 2021-03-02 17:06:35 -08:00
topic_zoom.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
transmit.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
tutorial.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
typeahead_helper.js js: Simplify code using default parameters and destructuring. 2021-03-26 09:21:46 -07:00
typing.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
typing_data.js node tests: Add test() wrapper for typing_data. 2021-03-15 13:05:49 -04:00
typing_events.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
ui.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
ui_init.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
ui_report.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
ui_util.js js: Clean up typeof … === "undefined" checks. 2021-03-24 13:15:01 -07:00
unread.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
unread_ops.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
unread_ui.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
upload.js js: Convert static/js/csrf.js to ES6 module. 2021-03-26 10:17:56 -07:00
upload_widget.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
user_events.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
user_groups.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
user_pill.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
user_search.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
user_status.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
user_status_ui.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
util.js js: Convert static/js/util.js to ES6 module. 2021-02-10 10:27:14 -08:00
vdom.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
watchdog.js refactor: Move suspect_offline logic into watchdog. 2021-03-23 14:08:39 -04:00
webpack_public_path.js js: Convert static/js/page_params.js to ES6 module. 2021-03-26 10:17:56 -07:00
widgetize.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00
zcommand.js js: Convert static/js/i18n.js to ES6 module. 2021-03-26 10:17:56 -07:00
zform.js js: Convert static/js/blueslip.js to ES6 module. 2021-03-17 08:47:15 -04:00
zulip_test.js js: Move current_msg_list, home_msg_list to ES6 module message_lists. 2021-03-29 18:23:47 -07:00