zulip/static/js
Steve Howell c1cd0b710e poll widget: Handle unknown keys.
This directly prevents a traceback when submessage events
arrive in the wrong order.  This was probably a symptom
of not updating message.submessages for not-yet-widgeted
messages, which was fixed in an earlier commit, but we
want defensive code in case of races or other glitches, and
it's not the end of the world is somebody sees partial
survey results due to some corner case.
2018-05-31 12:11:32 -04:00
..
portico desktop: Update app version to v2.3.2. 2018-05-30 15:08:06 -07:00
stats stats: Remove hour from on-hover date for Number of users. 2018-05-26 12:08:05 -07:00
.eslintrc.json Change name of eslintrc file to .eslintrc.json 2016-11-29 08:58:39 -08:00
activity.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
admin_sections.js js: Standardize indentation of switch/case statements. 2018-05-06 19:35:18 -07:00
admin.js admin: Move 'admin_settings_label' to top-level. 2018-05-30 23:28:21 +05:30
alert_words_ui.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
alert_words.js Highlight alert words in mentions you send to yourself. 2017-10-12 14:03:36 -07:00
archive.js third: Use Underscore throttle function instead of jQuery. 2018-05-16 11:56:49 -07:00
attachments_ui.js attachments: Implement frontend for real-time sync. 2018-05-04 16:22:27 -07:00
avatar.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
blueslip.js logging/errors/webpack: Improve error stack traces with blueslip. 2018-05-22 14:36:41 -07:00
bot_data.js botserver: Add outgoing webhook tokens to botserverrc. 2018-05-30 10:00:19 -04:00
buddy_data.js js: Standardize indentation of switch/case statements. 2018-05-06 19:35:18 -07:00
buddy_list.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
channel.js middleware: Use a proper error code on CSRF failure. 2017-07-25 14:02:12 -07:00
click_handlers.js onboarding: Redesign intro_reply hotspot in bottom whitespace. 2018-05-23 14:22:19 -07:00
colorspace.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
common.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
components.js refactor: Remove factory code for toggle component. 2018-04-20 13:45:58 -07:00
compose_actions.js search: Do not open compose box if invalid recipient present in pm-with. 2018-05-28 10:45:42 -07:00
compose_fade.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
compose_pm_pill.js compose: Add pills for typing in PM recipients. 2018-03-07 15:53:11 -08:00
compose_state.js compose: Add pills for typing in PM recipients. 2018-03-07 15:53:11 -08:00
compose_ui.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
compose.js reminders: Refactor relevant code to live in a separate reminder.js. 2018-05-21 09:03:31 -07:00
composebox_typeahead.js emoji: Don't start typeahead for colon-space. 2018-05-15 11:18:08 -07:00
condense.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
copy_and_paste.js desktop: Remove logic for legacy QT/webkit desktop app. 2018-05-15 16:00:14 -07:00
debug.js webpack: Move app_debug.js to webpack bundle. 2017-06-13 12:45:40 -07:00
dict.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
drafts.js drafts: Eliminate now-unnecessary ensure_i18n. 2018-05-30 09:06:13 -07:00
echo.js slash-commands: Suppress local echo for slash commands. 2018-05-20 14:42:09 -07:00
emoji_picker.js js: Standardize indentation of switch/case statements. 2018-05-06 19:35:18 -07:00
emoji.js emoji: Do selective local echo of emoticon conversions. 2018-03-27 17:16:55 -07:00
favicon.js lint: Ban two spaces after comma in JS code. 2017-10-18 10:22:18 -07:00
feature_flags.js cleanup: Remove the legacy Dropbox file upload integration. 2018-04-11 11:39:48 -07:00
fenced_code.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
fetch_status.js Add fetch_status.has_found_newest(). 2018-05-03 12:44:30 -07:00
filter.js search: Display invalid operand suggestion for is operator. 2018-05-22 18:27:50 +05:30
floating_recipient_bar.js Fix outerHeight to OR with 0 to not produce NaN. 2017-07-27 14:16:57 -07:00
gear_menu.js gear_menu: Remove now-unnecessary ensure_i18n call. 2018-05-30 09:13:12 -07:00
hash_util.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
hashchange.js Rename invite.initialize() to invite.launch(). 2018-05-15 15:43:55 -07:00
hotkey.js hotkey: Move ctrl+[ back from cmd+[. 2018-05-24 08:31:55 -07:00
hotspots.js onboarding: Redesign intro_reply hotspot in bottom whitespace. 2018-05-23 14:22:19 -07:00
info_overlay.js info_overlay: Remove unnecessary ensure_i18n call. 2018-05-30 09:09:17 -07:00
input_pill.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
integration_bot_widget.js template context: Give better names to the URLs for the API. 2017-10-30 18:29:29 -07:00
invite.js jquery-form: Remove use of jquery-form from invite-user form. 2018-05-30 03:14:39 +05:30
keydown_util.js buddy list: Fix and simplify up/down navigation. 2018-04-28 11:15:14 -07:00
lightbox_canvas.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
lightbox.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
list_cursor.js refactor: Extract scroll_util.js. 2018-04-28 11:15:14 -07:00
list_render.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
list_util.js Extract list_util.js for navigating lists. 2017-04-05 11:53:52 -07:00
loading.js display_settings: Change success/failure feedback interface. 2018-03-04 17:47:05 -08:00
local_message.js Extract local_message.js. 2018-05-16 09:30:49 -07:00
localstorage.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
markdown.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
message_edit.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
message_events.js search: Remove buggy double-call of set_message_booleans. 2018-04-28 14:39:24 -07:00
message_fetch.js unread: Fix messages that cannot be marked as read in narrows. 2018-04-23 11:46:46 -07:00
message_flags.js refactor: Rename mark_message(s)_as_read to notify_server_message(s)_read. 2018-04-05 09:54:48 -07:00
message_list_data.js Add message_list.is_at_end() helper. 2018-05-28 16:49:57 -07:00
message_list_view.js Add client code for handling submessages. 2018-05-16 15:13:33 -07:00
message_list.js Add message_list.is_at_end() helper. 2018-05-28 16:49:57 -07:00
message_live_update.js message_live_update: Fix double re-rendering of home_msg_list. 2018-04-02 18:58:51 -07:00
message_scroll.js third: Use Underscore throttle function instead of jQuery. 2018-05-16 11:56:49 -07:00
message_store.js js: Standardize indentation of switch/case statements. 2018-05-06 19:35:18 -07:00
message_util.js message_list: Remove unused delay_render option. 2018-05-15 14:25:21 -07:00
message_viewport.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
muting_ui.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
muting.js Revert "muting.js: Track muted streams using stream id." 2017-05-17 07:06:32 -07:00
narrow_state.js Expand get_unread_ids() to all local narrows. 2018-05-31 08:44:18 -07:00
narrow.js Avoid unneeded call to can_apply_locally(). 2018-05-31 08:44:18 -07:00
navigate.js hotkeys: Fix very recent regression with down key. 2018-05-28 16:49:57 -07:00
night_mode.js styles: Rename dark-mode to night-mode. 2018-03-28 10:41:26 -07:00
notifications.js notifications: Remove remaining basic window.bridge logic. 2018-05-15 16:00:30 -07:00
overlays.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
panels.js notifications: Check if localstorage is enabled. 2018-03-18 12:54:11 -07:00
people.js search: Remove blueslip warnings for invalid emails in 'pm-with' filter. 2018-05-30 07:49:59 -04:00
pm_conversations.js Add pm_conversations.recent.get_strings(). 2018-02-12 09:34:59 -08:00
pm_list.js search: Remove blueslip warnings for invalid emails in 'pm-with' filter. 2018-05-30 07:49:59 -04:00
pointer.js refactor: Rename mark_message(s)_as_read to notify_server_message(s)_read. 2018-04-05 09:54:48 -07:00
popovers.js user profile: Improve format of date type of custom fields in popover. 2018-05-27 23:01:22 -07:00
presence.js js: Reindent case clauses consistently. 2018-05-06 19:35:18 -07:00
reactions.js js: Standardize indentation of switch/case statements. 2018-05-06 19:35:18 -07:00
realm_icon.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
recent_senders.js recent senders: Use message ids instead of timestamps for sorting. 2018-02-08 18:39:10 -08:00
reload.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
reminder.js reminders: Add various design improvements for the UI/reminder msg. 2018-05-21 09:07:37 -07:00
resize.js right-sidebar: Add keyboard instructions shortcut in bottom-right corner. 2018-05-16 13:32:42 -07:00
rows.js js: Remove a few spurious arguments. 2017-08-22 09:37:17 -07:00
rtl.js eslint: Add and enforce space-in-parens lint rule. 2017-10-06 12:36:59 -07:00
schema.js Add a schema checking concept to the web app. 2018-05-24 09:30:22 -07:00
scroll_bar.js right-sidebar: Add keyboard instructions shortcut in bottom-right corner. 2018-05-16 13:32:42 -07:00
scroll_util.js refactor: Extract scroll_util.js. 2018-04-28 11:15:14 -07:00
search_suggestion.js search: Respect spaces in person name in new suggestions only. 2018-05-25 09:03:27 -07:00
search.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
sent_messages.js urls: Move the report endpoints to be API-style routes. 2017-10-17 22:05:56 -07:00
server_events_dispatch.js minor: Introduce submsg variable in a couple places. 2018-05-30 14:47:36 -07:00
server_events.js local echo: Bypass message.flags array. 2017-12-26 09:01:21 -05:00
settings_account.js jquery-form: Remove jquery-form use from get-API-key form in user settings. 2018-05-30 03:14:39 +05:30
settings_bots.js settings_bots: Move bot_creation_policy_values to top-level. 2018-05-30 23:25:02 +05:30
settings_display.js settings: Remove ensure_i18n from display settings. 2018-05-30 09:00:41 -07:00
settings_emoji.js emoji: Clean up variable names for rendered template content. 2018-04-12 09:48:02 -07:00
settings_filters.js settings: Clean up repeating code in error callbacks. 2018-03-25 10:40:40 -07:00
settings_invites.js minor: Add a comment explaining the need of stopPropagation(). 2018-05-23 14:07:30 -07:00
settings_muting.js Extract settings_muting.js. 2017-04-06 11:28:36 -07:00
settings_notifications.js settings_notifications: Remove now-unnecessary ensure_i18n. 2018-05-30 09:06:59 -07:00
settings_org.js settings_org: Move 'time_limit_dropdown_values' to top-level. 2018-05-30 23:28:18 +05:30
settings_profile_fields.js custom fields: Don't ask org admin to enter "value" for choice. 2018-05-15 12:08:29 -07:00
settings_sections.js settings_ui: Move settings_ui.strings to top-level. 2018-05-30 23:36:16 +05:30
settings_streams.js static/js/settings_streams.js: Move delete_stream func to stream_edit.js. 2018-04-30 17:48:16 +05:30
settings_toggle.js settings_toggle: Remove now-unnecessary ensure_i18n. 2018-05-30 09:02:29 -07:00
settings_ui.js settings_ui: Move settings_ui.strings to top-level. 2018-05-30 23:36:16 +05:30
settings_user_groups.js user groups: Sanitize pill_container selector to avoid escaped strings. 2018-05-25 12:02:34 -07:00
settings_users.js minor: Add a comment explaining the need of stopPropagation(). 2018-05-23 14:07:30 -07:00
settings.js Revert "i18n: Revert pieces of recent settings changes." 2018-05-30 23:52:09 +05:30
setup.js Fix outerHeight to OR with 0 to not produce NaN. 2017-07-27 14:16:57 -07:00
socket.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
stream_color.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
stream_create.js streams: Add create and edit ui for is_announcement_only. 2018-05-30 14:22:15 -07:00
stream_data.js streams: Rename change_change_subscription_type to reference permissions. 2018-05-21 16:14:18 -07:00
stream_edit.js streams: Add create and edit ui for is_announcement_only. 2018-05-30 14:22:15 -07:00
stream_events.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
stream_list.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
stream_muting.js message_list: Move set_message_offset into message_list_view. 2018-04-13 16:31:18 -07:00
stream_popover.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
stream_sort.js stream list: Use newer code for the list cursor. 2018-04-28 11:15:14 -07:00
submessage.js submessages: Add update_message() function. 2018-05-30 14:47:36 -07:00
subs.js subs: Remove now-unnecssary call to ensure_i18n. 2018-05-30 09:10:43 -07:00
tab_bar.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
templates.js templates: Fix typo in error message. 2017-06-26 19:33:25 -04:00
tictactoe_widget.js Add tictactoe widget. 2018-05-16 15:13:33 -07:00
timerender.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
top_left_corner.js pm_list: Do not expand pm_list for invalid emails in pm-with. 2018-05-28 11:29:54 -07:00
topic_data.js Fix regression with stream_has_topics(). 2018-05-21 12:58:04 -07:00
topic_generator.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
topic_list.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
translations.js i18n: Fix reference error for localstorage. 2018-05-30 23:28:21 +05:30
transmit.js transmit.js: Add reply_message(). 2018-05-24 09:30:22 -07:00
tutorial.js narrow: Remove unnecessary select_first_unread option. 2018-04-22 21:33:33 -07:00
typeahead_helper.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
typing_data.js refactor: Add util.sorted_ids(). 2018-05-02 09:16:24 -07:00
typing_events.js search: Remove blueslip warnings for invalid emails in 'pm-with' filter. 2018-05-30 07:49:59 -04:00
typing_status.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
typing.js Add typing.initialize() to prevent tracebacks. 2018-03-16 09:23:23 -07:00
ui_init.js Fix tracebacks related to direct use of msg_list._items. 2018-05-25 08:28:56 -07:00
ui_report.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
ui_util.js ui_util: Move place_caret_at_end to ui_util module. 2018-01-23 15:00:11 -08:00
ui.js ui: Remove do_stuff_for_desktop_app call. 2018-05-15 16:22:44 -07:00
unread_ops.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
unread_ui.js unread_ui: Remove now-unnecessary ensure_i18n call. 2018-05-30 09:07:49 -07:00
unread.js Add unread.get_missing_topics(). 2018-05-15 14:25:21 -07:00
upload_widget.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
upload.js desktop: Remove logic for legacy QT/webkit desktop app. 2018-05-15 16:00:14 -07:00
user_events.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
user_groups.js user-groups: Update user_group_name_dict, when name/description is edited. 2018-03-15 10:09:28 -07:00
user_pill.js user_pills: Extract generic functions for typeahead and pill creation. 2018-05-23 12:07:16 -07:00
user_search.js buddy list: Fix and simplify up/down navigation. 2018-04-28 11:15:14 -07:00
util.js js: Fix some invalid whitespace. 2018-05-06 12:38:44 -07:00
voting_widget.js poll widget: Handle unknown keys. 2018-05-31 12:11:32 -04:00
widgetize.js Add "zform" functionality to the web client. 2018-05-24 09:30:22 -07:00
zform.js Add "zform" functionality to the web client. 2018-05-24 09:30:22 -07:00
zulip.js refactor: Avoid positional params for MessageList. 2018-05-15 14:25:21 -07:00