zulip/static/js
Steve Howell f67acb3157 Filter duplicate messages more aggresively.
This fixes a blueslip error where we were trying to add the same
message into a MessageList twice.  Muting complicates our duplicate
detection, because empty() can return true even when we already
are storing messages that just aren't shown (because of muting).

The name empty() should probably be fixed in light of muting,
but filtering with self.get() is not really a problem here.

(imported from commit 83b0890471c9a0aa21996f3d0d3be4a238f23e65)
2013-09-28 15:48:38 -04:00
..
activity.js Set focus-related flags correctly after a server reload 2013-09-16 12:29:34 -04:00
admin.js Maintain a list of people in the realm. 2013-09-09 12:13:33 -04:00
alert_words_ui.js Move code to alert_words_ui.js 2013-09-09 12:06:45 -04:00
alert_words.js Feature-flag alert words to staging + reddit 2013-09-05 10:21:39 -04:00
api.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
avatar.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
blueslip.js blueslip: Get complete stack traces in Chrome 2013-08-15 13:16:40 -04:00
colorspace.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
common.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
compose_fade.js Disable compose fading for incomplete/wrong stream names 2013-09-25 14:43:43 -04:00
compose.js Block mit.edu from showing mention invitations 2013-09-18 11:50:58 -04:00
composebox_typeahead.js Don't autocomplete mentions while message editing 2013-09-27 13:32:02 -04: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
emoji.js Show realm emoji in typeahead and update the list via events. 2013-08-23 21:39:29 -04:00
feature_flags.js Turn on 24-hour time for customer8.invalid (Iceland). 2013-09-25 22:10:44 -04:00
filter.js Allow filtering to alerted messages with is:alerted 2013-09-05 10:18:41 -04:00
hashchange.js Add administrative panel to allow for user deactivations etc. 2013-08-13 14:20:18 -04:00
hotkey.js Add expectOne() check when hitting enter to expand 2013-09-11 14:13:17 -04:00
initial_invite.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
invite.js Create stream_data.js module. 2013-08-19 12:17:55 -04:00
landing-page.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
message_edit.js Respect enter-to-send in edit box 2013-09-27 13:52:14 -04:00
message_list_view.js Hide muted messages. 2013-09-23 10:53:06 -04:00
message_list.js Filter duplicate messages more aggresively. 2013-09-28 15:48:38 -04:00
message_tour.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
metrics.js Rename our custom JS events to use Zulip, not Zephyr. 2013-07-29 12:11:26 -04:00
muting_ui.js Preserve muting preferences across reloads. 2013-09-28 15:48:37 -04:00
muting.js Handle undefined keys in muting.is_topic_muted 2013-09-11 16:47:36 -04:00
narrow.js Add muting_enabled option to MessageList. 2013-09-23 10:53:06 -04:00
navigate.js Restore centering when using the down arrow (or "j"). 2013-08-05 16:10:01 -04:00
notifications_bar.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
notifications.js Set focus-related flags correctly after a server reload 2013-09-16 12:29:34 -04:00
onboarding.js Check the 'Get our apps' checkbox if you click any of the links to the apps page 2013-09-19 13:23:35 -04:00
popovers.js Fix to list height computation 2013-09-20 12:11:31 -07:00
referral.js Add retractable left sidebar. 2013-08-23 14:16:51 -07:00
reload.js [schema] Collect data on when users are active on site. 2013-09-10 13:25:59 -04:00
rows.js Make narrowing click handlers work more generally. 2013-08-27 15:46:33 -04:00
search_suggestion.js Allow filtering to alerted messages with is:alerted 2013-09-05 10:18:41 -04:00
search.js Move parse/unparse from narrow to Filter. 2013-08-22 14:53:00 -04:00
settings.js Move code to alert_words_ui.js 2013-09-09 12:06:45 -04:00
setup.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
signup.js Make login form validation errors not wrap 2013-09-16 14:20:43 -04:00
stream_color.js Add a test for stream_color.js (pick_color). 2013-08-09 12:29:02 -04:00
stream_data.js Call blueslip.warn from stream_data.js functions. 2013-09-24 16:19:53 -04:00
stream_list.js Remove topic popovers when redrawing topics 2013-09-18 12:25:19 -04:00
subs.js Eliminate transitional email forwarding flags 2013-09-24 16:19:54 -04:00
summary.js Extract mark_summarized(). 2013-08-13 11:26:12 -04:00
tab_bar.js Create stream_data.js module. 2013-08-19 12:17:55 -04:00
templates.js Don't wait for DOM ready to register Handlebars helpers 2013-08-27 15:32:20 -04:00
timerender.js Better date separator rendering 2013-09-11 11:50:17 -07:00
tutorial.js Show desktop apps alert when tutorial completes 2013-09-19 13:23:35 -04:00
typeahead_helper.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
ui.js Close the compose box on a stream sidbar narrow. 2013-09-26 11:49:54 -04:00
unread.js Exclude muted topics from stream/home unread counts. 2013-09-28 14:53:11 -04:00
util.js Add a .expectOne method to jQuery objects. 2013-09-04 16:44:33 -04:00
viewport.js Use msg_list.get_row(id) instead of rows.get(id, msg_list.table_name) 2013-08-14 17:08:32 -04:00
zulip.js Add muting_enabled option to MessageList. 2013-09-23 10:53:06 -04:00