zulip/static/js
Steve Howell 1f6ddf0110 refactor: Extract transmit.js from compose.js.
We now isolate the code to transmit messages into transmit.js.
It is stable code that most folks doing UI work in compose.js don't
care about the details of, so it's just clutter there.  Also, we may
soon have other widgets than the compose box that send messages.

This change mostly preserves test coverage, although in some cases
we stub at a higher level for the compose path (this is a good thing).
Extracting out transmit.js allows us to lock down 100% coverage on that
file.
2018-02-20 09:29:26 -08:00
..
portico signup: Show subdomain availability during signup. 2018-02-19 10:45:17 -08:00
stats stats: Add per-graph loading indicator 2017-12-13 14:44:28 -06:00
.eslintrc.json
activity.js right-sidebar: Enable up and down arrow keys. 2018-02-12 15:38:23 -08:00
admin.js org settings: Handle NEW_USER_BOT not being set. 2018-01-23 15:23:25 -05:00
admin_sections.js org settings: Add framework for User groups page. 2018-01-06 11:50:52 -05:00
alert_words.js Highlight alert words in mentions you send to yourself. 2017-10-12 14:03:36 -07:00
alert_words_ui.js urls: Change the method for adding alert words from PUT to POST. 2017-09-26 14:00:51 -07:00
attachments_ui.js user settings: Clean settings.css and fix bug 2017-12-18 10:12:33 -05:00
avatar.js settings: Allow uploading same image as avatar after deleting. 2018-02-14 09:37:16 -08:00
blueslip.js docs: Update links from codebase to point to ReadTheDocs. 2017-11-16 10:53:49 -08:00
bot_data.js frontend: Delete page_params.realm_bots after first usage. 2018-02-09 12:30:24 -08:00
channel.js middleware: Use a proper error code on CSRF failure. 2017-07-25 14:02:12 -07:00
click_handlers.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
colorspace.js
common.js passwords: Express the quality threshold as guesses required. 2017-10-08 15:48:44 -07:00
components.js tab-switcher: Switch tabs with left/right arrows. 2017-11-08 18:13:57 -08:00
compose.js refactor: Extract transmit.js from compose.js. 2018-02-20 09:29:26 -08:00
compose_actions.js hotkeys: Add '>' as a hotkey for quote and reply to message. 2018-02-02 17:37:53 -08:00
compose_fade.js people.js: Rename realm_get -> get_active_user_for_email. 2017-10-26 09:52:42 -07:00
compose_state.js refactor: new message content -> compose textarea. 2017-11-28 12:53:40 -08:00
compose_ui.js compose: Fix bug in undo operation 2017-12-10 04:10:18 -08:00
composebox_typeahead.js typeahead: Fix typeahead ordering for user group mentions. 2018-02-16 10:10:39 -08:00
condense.js frontend: Simplify saving collapsed/uncollapsed flags. 2017-12-26 09:01:21 -05:00
copy_and_paste.js refactor: new message content -> compose textarea. 2017-11-28 12:53:40 -08:00
custom_markdown.js Remove deprecated jQuery "delegate" function. 2017-07-24 10:47:16 -07:00
debug.js webpack: Move app_debug.js to webpack bundle. 2017-06-13 12:45:40 -07:00
dict.js dict: Add documentation for why we have dict.js. 2018-02-05 10:16:37 -08:00
drafts.js drafts: Sort drafts by last modified. 2018-02-19 09:55:50 -08:00
dynamic_text.js
echo.js refactor: Extract transmit.js from compose.js. 2018-02-20 09:29:26 -08:00
emoji.js emoji: Allow users to change emoji set. 2017-10-28 10:38:33 -07:00
emoji_picker.js Move insert_syntax_and_focus() to compose_ui.js. 2017-11-09 09:49:20 -08:00
favicon.js lint: Ban two spaces after comma in JS code. 2017-10-18 10:22:18 -07:00
feature_flags.js reminders: Hide message menu reminder's option behind features_flag. 2018-01-24 03:33:40 +05:30
fenced_code.js bugdown: Fix handling of nested fenced math blocks. 2017-11-22 12:19:43 -08:00
filter.js left sidebar: Change Home to All messages. 2017-11-28 15:42:58 -08:00
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
hash_util.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
hashchange.js minor: Fix typos in hashchange comments. 2018-02-19 09:03:11 -08:00
hotkey.js hotkey: Document message_view_only with a comment. 2018-02-14 09:34:32 -08:00
hotspots.js hotspots.js: Fix timeout millisecond conversion. 2017-09-15 04:14:52 -07:00
input_pill.js input-pill: Wrap "values" in IIFE. 2017-12-20 08:53:27 -05: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 invite: Update text of success message. 2017-12-19 17:46:36 -08:00
lightbox.js bugdown: Add preview for vimeo videos. 2018-01-17 09:11:43 -05:00
lightbox_canvas.js lightbox_canvas: Fix use of unsupported const. 2017-08-05 16:47:11 -07:00
list_render.js list_render: Add sorting reversal. 2017-11-01 13:26:40 -07:00
list_util.js
loading.js
localstorage.js
markdown.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
message_edit.js messages: Make checking for status message consistent with backend. 2018-01-23 09:26:41 -05:00
message_events.js messages: Make checking for status message consistent with backend. 2018-01-23 09:26:41 -05:00
message_fetch.js refactor: Upstream calls to `set_message_booleans`. 2017-12-26 09:01:21 -05:00
message_flags.js Use throttle, not debounce, to "read" messages. 2017-12-26 09:01:21 -05:00
message_list.js scrolling: Fix out-of-order bug in the message list. 2017-10-11 15:57:11 -07:00
message_list_view.js drafts: Add timestamps showing when last modified. 2018-02-19 09:55:50 -08:00
message_live_update.js
message_store.js refactor: Extract pm_conversations.recent. 2018-02-12 09:34:59 -08:00
message_util.js sending messages: Extract sent_messages.js. 2017-08-01 08:58:56 -07:00
message_viewport.js lint: Ban two spaces after comma in JS code. 2017-10-18 10:22:18 -07:00
muting.js
muting_ui.js Inline muting_ui.mute_topic and unmute_topic. 2017-10-17 17:41:21 -07:00
narrow.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
narrow_state.js Add narrow_state.pm_string(). 2018-02-12 09:34:59 -08:00
navigate.js Have home key go to actual first message in the list. 2017-10-03 11:28:28 -07:00
night_mode.js night-mode: Add custom CSS through JS. 2017-11-29 23:06:11 -08:00
notifications.js settings: Added setting to turn on and off realm name in email subject. 2018-02-05 18:01:54 -08:00
overlays.js settings: When overlay modal opens, remove previous alert messages. 2018-01-23 14:38:59 -05:00
panels.js panels: Give admins a red warning banner when email isn't configured. 2018-02-05 16:00:52 -08:00
people.js Calculate gravatar hashes on the webapp client. 2017-11-07 10:36:02 -08:00
pm_conversations.js Add pm_conversations.recent.get_strings(). 2018-02-12 09:34:59 -08:00
pm_list.js refactor: Extract pm_conversations.recent. 2018-02-12 09:34:59 -08:00
pointer.js left sidebar: Change Home to All messages. 2017-11-28 15:42:58 -08:00
popovers.js group popovers: Refactor setting up scrollbar. 2018-02-18 20:20:51 -08:00
presence.js presence: Change "unknown" to "offline". 2017-10-12 10:42:06 -07:00
reactions.js settings: Add "text" option to emoji_set model. 2018-01-02 14:55:01 -05:00
realm_icon.js
recent_senders.js recent senders: Use message ids instead of timestamps for sorting. 2018-02-08 18:39:10 -08:00
reload.js docs: Update links from codebase to point to ReadTheDocs. 2017-11-16 10:53:49 -08:00
resize.js panels: Rename "desktop_notifications_panel" => "panels". 2018-02-05 16:00:52 -08: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
scroll_bar.js Rewrite scrollbar width check to not use jQuery. 2017-08-22 12:50:54 -07:00
search.js eslint: Add and enforce space-in-parens lint rule. 2017-10-06 12:36:59 -07:00
search_suggestion.js left sidebar: Change Home to All messages. 2017-11-28 15:42:58 -08:00
sent_messages.js urls: Move the report endpoints to be API-style routes. 2017-10-17 22:05:56 -07:00
server_events.js local echo: Bypass message.flags array. 2017-12-26 09:01:21 -05:00
server_events_dispatch.js org settings: Add button to deactivate organization. 2018-02-18 10:20:38 -08:00
settings.js settings sidebar: Extract bot edit form. 2018-02-09 12:30:03 -08:00
settings_account.js settings: Restrict opening full name and email change overlay modal. 2018-02-02 17:50:37 -08:00
settings_bots.js bot settings: Move config item generation from js to handlebars. 2018-02-09 12:30:24 -08:00
settings_display.js settings_display: Change two "!" to one. 2018-01-03 13:29:49 -05:00
settings_emoji.js emoji: Merge the two semantically same tips on the `Custom emoji` page. 2017-07-21 13:29:27 -07:00
settings_filters.js Change from deprecated $.parseJSON to JSON.parse. 2017-07-27 14:16:57 -07:00
settings_invites.js settings: Show local time instead of UTC in invitations tab. 2017-12-20 07:08:46 -05:00
settings_lab.js settings: Remove autoscroll_forever setting. 2018-01-02 10:35:49 -05:00
settings_muting.js
settings_notifications.js settings: Added setting to turn on and off realm name in email subject. 2018-02-05 18:01:54 -08:00
settings_org.js org settings: Add button to deactivate organization. 2018-02-18 10:20:38 -08:00
settings_sections.js
settings_streams.js i18n: Translate deactivation errors in the webapp. 2017-11-07 09:52:20 -08:00
settings_user_groups.js settings_user_groups.js: Remove unnecessary call to get a person. 2018-01-20 08:01:06 -05:00
settings_users.js frontend: Internally refer to bots by ID. 2018-01-23 07:29:00 -05:00
setup.js Fix outerHeight to OR with 0 to not produce NaN. 2017-07-27 14:16:57 -07:00
socket.js local echo: Remove buggy restart-related code. 2017-07-18 12:03:16 -07:00
stream_color.js Revert "Make recipient bar styling more compact and clean." 2018-02-16 11:55:00 -08:00
stream_create.js Revert "Streams: Disallow certain markdown characters in stream names." 2018-02-05 16:55:21 -08:00
stream_data.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
stream_edit.js stream settings: Use a bulk query when changing all streams. 2018-02-16 11:28:55 -08:00
stream_events.js subs: Don't try to update stream settings UI when closed. 2017-10-23 22:44:27 -07:00
stream_list.js left-sidebar: Enable up and down arrow keys. 2018-02-12 15:35:56 -08:00
stream_muting.js
stream_popover.js bankruptcy: Add UI widget to mark all messages as read. 2018-02-15 18:01:03 -08:00
stream_sort.js Fix issues with left-sidebar stream search and multiple words. 2017-09-15 00:22:59 -07:00
subs.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
tab_bar.js left sidebar: Change Home to All messages. 2017-11-28 15:42:58 -08:00
templates.js templates: Fix typo in error message. 2017-06-26 19:33:25 -04:00
timerender.js drafts: Add timestamps showing when last modified. 2018-02-19 09:55:50 -08:00
top_left_corner.js Extract top_left_corner.js. 2017-08-14 13:03:57 -07:00
topic_data.js Add topic_data.get_server_history(). 2017-08-08 17:07:09 -04:00
topic_generator.js Add topic_generator.get_next_unread_pm_string(). 2018-02-12 09:34:59 -08:00
topic_list.js left-sidebar: Remove topics help code. 2017-11-15 11:01:33 -08:00
translations.js Revert "i18n: Only load active language." 2017-10-20 10:08:17 -07:00
transmit.js refactor: Extract transmit.js from compose.js. 2018-02-20 09:29:26 -08:00
tutorial.js urls: Move the json/tutorial_status endpoint to be an API-style route. 2017-10-09 15:13:33 -07:00
typeahead_helper.js typeahead: Fix typeahead ordering for user group mentions. 2018-02-16 10:10:39 -08:00
typing.js refactor: new message content -> compose textarea. 2017-11-28 12:53:40 -08:00
typing_data.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
typing_events.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
typing_status.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
ui.js informational-overlays: Fix category duplication bug, change map to array. 2018-01-27 15:20:49 -08:00
ui_init.js panels: Rename "desktop_notifications_panel" => "panels". 2018-02-05 16:00:52 -08:00
ui_report.js Revert "settings: Check if xhr response text include ':' or not." 2018-02-06 13:44:10 -08:00
ui_util.js ui_util: Move `place_caret_at_end` to ui_util module. 2018-01-23 15:00:11 -08:00
unread.js refactor: Stop using flags array for unread counts. 2017-12-26 09:01:21 -05:00
unread_ops.js unread_ops: Add a quick comment explaining an interface. 2018-02-16 11:44:41 -08:00
unread_ui.js bug: Show the count in the bankruptcy modal. 2017-08-17 23:30:41 -04:00
upload.js upload: Extract feature_check helper function. 2018-02-13 14:37:26 -08:00
upload_widget.js settings ui: Restrict file type for image file pickers. 2017-10-27 10:21:36 -07:00
user_events.js settings: Fix real-time sync for account settings. 2018-02-01 16:38:26 -08:00
user_groups.js org settings: Add user group deletion functionality. 2018-01-06 11:50:52 -05:00
util.js markdown: Require double-asterisk around all mentions. 2018-02-16 11:45:08 -08:00
zulip.js night-mode: Add custom CSS through JS. 2017-11-29 23:06:11 -08:00