zulip/static/js
Steve Howell 90fa797f9b Use stream id to live-update messages for name changes.
When we change a stream name, we now use the stream id as the
key to find messages we need to live update.  This eliminates
some possible race conditions from two users renaming a stream.

This commit introduces message_live_update.js.

The new call stack is this:

    subs.update_subscription_properties
    subs.update_stream_name
    message_live_update.update_stream_name
    message_list.update_stream_name
2017-01-05 15:32:45 -08:00
..
portico Move portico-only JS to static/js/portico/. 2016-12-30 14:47:49 -08:00
src eslint: change no-plusplus from warning to 2 and fix violations. 2016-12-01 14:27:17 -08:00
.eslintrc.json Change name of eslintrc file to .eslintrc.json 2016-11-29 08:58:39 -08:00
activity.js Live-update user list for name changes. 2017-01-04 19:45:15 -08:00
admin.js Clean PUT /default_streams to POST /default_streams. 2017-01-03 15:40:00 -08:00
alert_words.js lint: Fix several no-unused-vars eslint rule violations. 2016-12-03 18:43:47 -08:00
alert_words_ui.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
avatar.js settings: Implement delete avatar functionality 2016-12-21 13:35:22 -08:00
blueslip.js Add missing exports to js modules 2016-12-29 06:01:33 -08:00
bot_data.js admin: Limit bots in settings page. 2016-12-14 19:29:02 -08:00
channel.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
click_handlers.js notifications: Cleanup click-through implementation. 2017-01-02 16:51:23 -08:00
colorspace.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
common.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
components.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
compose.js compose: Fix bug on sending message to invalid streams. 2017-01-05 15:26:54 -08:00
compose_fade.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
composebox_typeahead.js compose: Show description in autocomplete. 2017-01-04 22:48:34 -08:00
condense.js perf: Use offsetHeight rather than getBoundingClientRect() in condenser. 2017-01-04 12:42:16 -08:00
copy_and_paste.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
custom_markdown.js Migrated json/subscribtions/remove to REST endpoint 2016-12-24 09:27:25 -08:00
debug.js Add debugging device to check for duplicate IDs in markup. 2016-12-29 15:56:48 -08:00
dict.js lint: Fix several no-unused-vars eslint rule violations. 2016-12-03 18:43:47 -08:00
echo.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
emoji.js Add frontend support for emoji reactions. 2016-12-30 21:42:54 -08:00
favicon.js Switch from deprecated $.browser to userAgent test. 2016-08-25 14:12:58 -07:00
feature_flags.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
fenced_code.js eslint: change no-else-return to error and fix violations 2016-12-02 14:43:09 -08:00
filter.js narrow: Fix the client sending more than one search operator. 2017-01-04 16:02:41 -08:00
floating_recipient_bar.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
gear_menu.js redesign: Convert subscriptions page to overlay. 2016-12-09 11:08:08 -08:00
hashchange.js Blur the active element on settings/streams modal exit. 2016-12-14 15:37:43 -08:00
hotkey.js Change escape key interception with subscription overlay. 2017-01-03 17:55:22 -08:00
invite.js invite: Leave not yet invited users in the invite modal's textarea. 2016-12-27 17:14:21 -08:00
loading.js Moved loading_indicator functions to loading.js. 2014-03-14 20:48:52 -04:00
localstorage.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
message_edit.js message edit: Change the empty topic placeholder to be the original topic. 2017-01-04 22:51:36 -08:00
message_flags.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
message_list.js Use stream id to live-update messages for name changes. 2017-01-05 15:32:45 -08:00
message_list_view.js Add frontend support for emoji reactions. 2016-12-30 21:42:54 -08:00
message_live_update.js Use stream id to live-update messages for name changes. 2017-01-05 15:32:45 -08:00
message_store.js Add frontend support for emoji reactions. 2016-12-30 21:42:54 -08:00
muting.js Update unread counts for streams when muting topics. 2016-03-27 13:49:52 -07:00
muting_ui.js lint: Fix remaining no-unused-vars eslint rule violations. 2016-12-14 22:36:47 -08:00
narrow.js lint: Fix remaining no-unused-vars eslint rule violations. 2016-12-14 22:36:47 -08:00
navigate.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
notifications.js Fix duplicate notifications when multiple Zulip tabs are openend. 2017-01-02 16:58:51 -08:00
people.js Live-update user list for name changes. 2017-01-04 19:45:15 -08:00
pm_list.js Make Private Messages work better when zoomed in. 2016-12-27 13:36:30 -08:00
pointer.js Clean PUT /users/me/pointer to POST /users/me/pointer. 2017-01-03 15:43:11 -08:00
popovers.js Automatically hide all popovers on scroll. 2017-01-03 18:45:21 -08:00
reactions.js reactions: Clean up popovers and hover logic. 2016-12-30 21:42:54 -08:00
referral.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
reload.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
resize.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
rows.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
scroll_bar.js eslint: change quote-props from off to error and fix violations. 2016-12-02 18:35:53 -08:00
search.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
search_suggestion.js eslint: change no-plusplus from warning to 2 and fix violations. 2016-12-01 14:27:17 -08:00
server_events.js Add frontend support for emoji reactions. 2016-12-30 21:42:54 -08:00
settings.js Add setting hiding private message content in desktop notifications. 2016-12-30 14:10:34 -08:00
setup.js Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
socket.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
stream_color.js eslint: change space-before-function-paren from warning to error. 2016-12-05 09:50:37 -08:00
stream_data.js redesign: Convert subscriptions page to overlay. 2016-12-09 11:08:08 -08:00
stream_list.js Make Private Messages work better when zoomed in. 2016-12-27 13:36:30 -08:00
subs.js Use stream id to live-update messages for name changes. 2017-01-05 15:32:45 -08:00
tab_bar.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
templates.js eslint: change no-plusplus from warning to 2 and fix violations. 2016-12-01 14:27:17 -08:00
timerender.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
topic_list.js Remove spurious blueslip error for topic lists. 2016-11-16 22:01:30 -08:00
tutorial.js Move static/third/gemoji to static/generated/emoji. 2016-12-27 20:16:23 -08:00
typeahead_helper.js compose: Show description in autocomplete. 2017-01-04 22:48:34 -08:00
ui.js Fix z-index Issues. 2017-01-03 15:33:54 -08:00
unread.js lint: Fix many no-unused-vars eslint rule violations. 2016-12-14 21:34:51 -08:00
unread_ui.js eslint: change no-else-return to error and fix violations 2016-12-02 14:43:09 -08:00
util.js invite: Leave not yet invited users in the invite modal's textarea. 2016-12-27 17:14:21 -08:00
viewport.js Add missing exports to js modules 2016-12-29 06:01:33 -08:00
zulip.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00