zulip/static/js
Steve Howell d3a7aa3a37 Have get_stream_li() take a stream_id.
Rather than having get_stream_li() look up stream id using
stream name, we force the callers to pass in the stream id.

This adds an extra line to most of the callers for now, but
this will eventually change as we fix some of the callers to
have their callers pass in stream_id.

In places where we now call stream_data.get_stream_id() to
get the stream id, we will be more resilient toward stream
renamings, at least until the next reload, since
stream_data.get_stream_id() can resolve old names that
are stored when we process stream-rename events.
2017-05-15 14:47:41 -07:00
..
portico product-pages: Fix broken click target on .hamburger. 2017-05-10 14:56:36 -07:00
src i18next: Add expirationTime option to cache. 2017-04-12 09:32:49 -07:00
stats stats: Change sort order of client labels to match default view. 2017-05-09 11:32:35 -07:00
.eslintrc.json Change name of eslintrc file to .eslintrc.json 2016-11-29 08:58:39 -08:00
activity.js presence: Check for unsuspend status on receiving responses. 2017-05-04 16:11:05 -07:00
admin.js org settings: Fix minor styling inconsistencies. 2017-05-15 11:35:58 -07:00
admin_sections.js admin/settings: Lazy-load Organization sections. 2017-04-17 20:55:42 -07:00
alert_words.js refactor: Move is_current_user() to people.js. 2017-01-21 21:45:12 -08:00
alert_words_ui.js alert_words: Trim whitespace around alert words. 2017-02-16 21:06:18 -08:00
attachments_ui.js attachment: Add file icon to the green box when file has no extension. 2017-03-09 00:56:37 -08:00
avatar.js Add size limit for uploading user avatars and realm icons. 2017-03-07 22:13:01 -08:00
blueslip.js Add ui_report shim. 2017-03-19 11:05:44 -07:00
bot_data.js home.py: move bot_list as realm_bots to register_ret. 2017-04-28 21:24:44 -07:00
channel.js reload: Remove cleanup_before_reload logic. 2017-03-27 13:23:10 -07:00
click_handlers.js Add settings sections to header. 2017-05-11 17:49:26 -07:00
colorspace.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
common.js auth: Make min password length and strength configurable. 2017-01-10 04:55:41 -08:00
components.js Select first toggle tab by default. 2017-02-21 11:30:59 -08:00
compose.js Make local_echo an official feature. 2017-05-09 11:06:10 -07:00
compose_actions.js Break compose.js and drafts.js dependency. 2017-05-08 14:43:49 -07:00
compose_fade.js Add recipient() and composing() shims. 2017-03-18 15:52:50 -07:00
compose_state.js compose: Distinguish get_message_type() from composing(). 2017-04-24 12:42:06 -07:00
compose_ui.js Break compose.js and drafts.js dependency. 2017-05-08 14:43:49 -07:00
composebox_typeahead.js Break compose.js and drafts.js dependency. 2017-05-08 14:43:49 -07:00
condense.js edit: Remove More/Collapse when in message edit/view source mode. 2017-03-16 11:30:49 -07: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 Add ui_report shim. 2017-03-19 11:05:44 -07:00
debug.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
dict.js Add Dict.is_empty(). 2017-04-21 21:59:22 -07:00
drafts.js Split out markdown.js from echo.js. 2017-05-09 11:06:10 -07:00
dynamic_text.js js: Implement DynamicText class. 2017-05-11 17:23:53 -07:00
echo.js Split out markdown.js from echo.js. 2017-05-09 11:06:10 -07:00
emoji.js emoji: Switch to using iamcal sprite sheets for reactions and pickers. 2017-05-03 13:30:42 -07:00
emoji_picker.js Add support for emoji picker hotkeys in compose context. 2017-05-10 16:26:58 -07:00
favicon.js Switch from deprecated $.browser to userAgent test. 2016-08-25 14:12:58 -07:00
feature_flags.js Make local_echo an official feature. 2017-05-09 11:06:10 -07:00
fenced_code.js bugdown: Remove trailing whitespace on fence code blocks. 2017-03-22 14:17:34 -07:00
filter.js Use stream ids to filter messages in client-side narrows. 2017-05-13 21:59:07 -07:00
floating_recipient_bar.js compose fade: Introduce message-fade/user-fade CSS classes. 2017-03-16 14:06:40 -07:00
gear_menu.js alerts: Change sidebar alerts to be at top of the screen. 2017-04-03 16:22:05 -07:00
hash_util.js js dependencies: Split hash_util.js from hashchange.js. 2017-03-18 20:40:34 -07:00
hashchange.js Enforce that only one modal can be open at any time. 2017-05-08 22:04:56 -07:00
hotkey.js settings: Add support for longer, markdown-powered realm descriptions. 2017-05-11 13:59:46 -07:00
hotspots.js hotspots: Add backend support for tutorial hotspots. 2017-03-29 11:34:32 -07:00
invite.js Use modal.open_overlay() in invite.js. 2017-05-08 22:04:56 -07:00
lightbox.js Remove lightbox.is_open property. 2017-05-10 09:46:21 -07:00
list_rendering.js Improve list_render implementation's edit flow. 2017-05-05 14:14:12 -07:00
list_util.js Extract list_util.js for navigating lists. 2017-04-05 11:53:52 -07:00
loading.js loading-spinner: Fix improper display in upload avatar setting. 2017-04-06 09:06:14 +05:30
localstorage.js localstorage: Allow regex based delete. 2017-04-26 09:11:44 -07:00
markdown.js Make local_echo an official feature. 2017-05-09 11:06:10 -07:00
message_edit.js Add error handling in watch_manual_resize(). 2017-05-11 15:45:47 -07:00
message_events.js Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
message_fetch.js Remove duplicate connection-error message. 2017-05-09 11:13:27 -07:00
message_flags.js Add "*" hotkey to toggle starred flag on the selected message. 2017-03-19 13:42:11 -07:00
message_list.js Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
message_list_view.js Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
message_live_update.js avatar live updates: Do full re-render. 2017-02-22 22:46:44 -08:00
message_store.js Fix internals of message_store.get_pm_emails(). 2017-04-17 20:36:59 -07:00
message_util.js Extract message_util.js 2017-03-19 21:03:45 -07:00
message_viewport.js Move keep_pointer_in_view() to message_viewport.js. 2017-03-19 10:56:09 -07:00
modals.js modals: Make error reports more specific. 2017-05-12 08:27:25 -07:00
muting.js muting: Refactor to move side effects into UI layer. 2017-02-11 08:36:39 -08:00
muting_ui.js muting_ui.js: Remove any popups when unmuting. 2017-03-25 12:49:14 -07:00
narrow.js narrow: Remove unused by_conversation_and_time and by_id helpers. 2017-05-09 09:59:37 -07:00
narrow_state.js Use stream_data.get_name() in narrow_state.stream(). 2017-05-13 21:59:08 -07:00
navigate.js Have get_stream_li() take a stream_id. 2017-05-15 14:47:41 -07:00
notifications.js home: Get page_params.enable_desktop_notifications from register_ret. 2017-04-28 23:15:35 -07:00
people.js home.py: move people_list as realm_users to register_ret. 2017-04-28 21:33:33 -07:00
pm_list.js Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
pointer.js home.py: move initial_pointer as pointer to register_ret. 2017-04-28 23:39:14 -07:00
popovers.js Improve error handling in get_action_menu_menu_items(). 2017-05-12 12:25:03 -07:00
presence.js presence.js: Make get_status return active for logged in user. 2017-05-12 14:28:23 -07:00
reactions.js Make reaction picker case-insensitive. 2017-05-11 19:10:21 -07:00
realm_icon.js Add size limit for uploading user avatars and realm icons. 2017-03-07 22:13:01 -08:00
referral.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
reload.js reload: Fix tracebacks on browsers without local storage. 2017-05-04 16:21:58 -07:00
resize.js Add error handling in watch_manual_resize(). 2017-05-11 15:45:47 -07:00
rows.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
rtl.js Add rtl.js library for detecting direction of text. 2017-04-22 11:25:54 -07:00
scroll_bar.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
search.js Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
search_suggestion.js Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
server_events.js Split out markdown.js from echo.js. 2017-05-09 11:06:10 -07:00
settings.js Add settings sections to header. 2017-05-11 17:49:26 -07:00
settings_account.js home.py: move password_auth_enabled as realm_password_auth_enabled. 2017-04-28 21:23:48 -07:00
settings_bots.js home.py: move password_auth_enabled as realm_password_auth_enabled. 2017-04-28 21:23:48 -07:00
settings_display.js frontend: Add UI necessary to change emoji set. 2017-04-24 22:31:30 -07:00
settings_emoji.js settings: Fix unnecessary/ugly exclamations in error messages. 2017-05-01 14:50:20 -07:00
settings_filters.js admin/settings: Lazy-load Organization sections. 2017-04-17 20:55:42 -07:00
settings_lab.js Extract settings_lab.js. 2017-04-06 11:28:36 -07:00
settings_muting.js Extract settings_muting.js. 2017-04-06 11:28:36 -07:00
settings_notifications.js home: Get page_params.enable_desktop_notifications from register_ret. 2017-04-28 23:15:35 -07:00
settings_org.js settings: Fix unnecessary/ugly exclamations in error messages. 2017-05-01 14:50:20 -07:00
settings_sections.js admin/settings: Lazy-load Organization sections. 2017-04-17 20:55:42 -07:00
settings_streams.js Change admin streams list to render progressively. 2017-05-05 14:14:37 -07:00
settings_users.js Change admin active users list to render progressively. 2017-05-05 14:14:37 -07:00
setup.js mobile: Disable tutorial on mobile clients. 2017-05-11 11:01:56 -07:00
socket.js home.py: move event_queue_id as queue_id to register_ret. 2017-04-28 21:33:17 -07:00
stream_color.js refactor: Remove stream_name param in update_stream_color(). 2017-03-05 15:44:43 -08:00
stream_create.js Move check_stream_existence() to compose.js. 2017-04-28 16:17:52 -07:00
stream_data.js Look up old stream names in stream_data.get_name(). 2017-05-13 21:59:08 -07:00
stream_edit.js Only render one stream at a time for editing. 2017-05-11 08:46:52 -07:00
stream_events.js Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
stream_list.js Have get_stream_li() take a stream_id. 2017-05-15 14:47:41 -07:00
stream_muting.js Have get_stream_li() take a stream_id. 2017-05-15 14:47:41 -07:00
stream_popover.js Extract stream_popover.topic_ops to muting_ui.js. 2017-03-25 09:42:49 -07:00
stream_sort.js Change argument type for stream_data.is_active(). 2017-04-28 07:39:52 -07:00
subs.js Use modal.open_overlay() in subs.js. 2017-05-08 22:04:56 -07:00
tab_bar.js Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
templates.js eslint: change no-plusplus from warning to 2 and fix violations. 2016-12-01 14:27:17 -08:00
timerender.js i18n: Add missed strings. 2017-03-27 14:30:28 -07:00
topic_generator.js Add topic_generator.get_next_topic(). 2017-04-21 21:59:22 -07:00
topic_list.js Speed up key handling by adding modals.is_active(). 2017-05-08 22:04:56 -07:00
tutorial.js Speed up key handling by adding modals.is_active(). 2017-05-08 22:04:56 -07:00
typeahead_helper.js Add typeahead for syntax highlighting languages. 2017-04-28 17:22:59 -07:00
typing.js compose: Distinguish get_message_type() from composing(). 2017-04-24 12:42:06 -07:00
typing_data.js Extract typing indicator inbound timing logic. 2017-03-22 08:20:21 -07:00
typing_events.js Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
typing_status.js Extract typing_events.js. 2017-03-22 07:29:42 -07:00
ui.js Use modal.open_overlay() for info overlays. 2017-05-08 22:04:56 -07:00
ui_init.js Split out markdown.js from echo.js. 2017-05-09 11:06:10 -07:00
ui_report.js alerts: Change sidebar alerts to be at top of the screen. 2017-04-03 16:22:05 -07:00
ui_util.js Extract js/ui_util.js. 2017-03-19 11:05:45 -07:00
unread.js Extract narrow_state.js. 2017-04-25 09:57:32 -07:00
unread_ops.js refactor: Extract unread_ops.js 2017-03-18 10:35:52 -07:00
unread_ui.js bankruptcy: Fix clicking outside bankruptcy modal. 2017-03-22 20:50:44 -07:00
upload_widget.js upload-widget: Correct file input clearing. 2017-03-21 00:59:17 -07:00
user_events.js account-settings: Always display the medium-size avatar. 2017-04-28 23:09:32 -07:00
util.js Add preview_node functionality to util.js. 2017-04-14 14:42:16 -07:00
zulip.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00