zulip/frontend_tests/node_tests
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
..
activity.js right-sidebar: Enable up and down arrow keys. 2018-02-12 15:38:23 -08:00
alert_words.js node tests: Use zrequire in alert_words.js. 2017-11-08 12:24:17 -08:00
bot_data.js bot_data.js: Fix dict indentation. 2018-02-09 12:30:24 -08:00
channel.js node tests: Use zrequire in channel.js. 2017-11-08 12:24:17 -08:00
colorspace.js node tests: Use zrequire in colorspace.js. 2017-11-08 12:24:17 -08:00
common.js node tests: Use zrequire in common.js. 2017-11-08 12:24:17 -08:00
compose_actions.js narrow_state: Make set_compose_defaults return opts. 2017-12-03 14:01:19 -08:00
compose_fade.js node tests: Use zrequire in compose_fade.js. 2017-11-08 12:24:17 -08:00
compose_ui.js compose: Fix bug in undo operation 2017-12-10 04:10:18 -08:00
compose.js refactor: Extract transmit.js from compose.js. 2018-02-20 09:29:26 -08:00
composebox_typeahead.js typeahead: Fix typeahead ordering for user group mentions. 2018-02-16 10:10:39 -08:00
copy_and_paste.js Add filters for toMarkdown to paste data to compose-box. 2017-11-28 09:56:48 -08:00
dict.js node_tests: Remove unneeded var statements. 2017-11-08 12:24:17 -08:00
dispatch.js message-editing: Mark message as read before deleting it. 2018-02-16 12:53:20 -08:00
drafts.js refactor: new message content -> compose textarea. 2017-11-28 12:53:40 -08:00
emoji_picker.js node tests: Use zrequire in emoji_picker.js. 2017-11-08 12:24:17 -08:00
emoji.js node tests: Use zrequire in emoji.js. 2017-11-08 12:24:17 -08:00
filter.js refactor: Stop using flags array for unread counts. 2017-12-26 09:01:21 -05:00
hashchange.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
hotkey.js hotkeys: Add '>' as a hotkey for quote and reply to message. 2018-02-02 17:37:53 -08:00
i18n.js settings: Remove autoscroll_forever setting. 2018-01-02 10:35:49 -05:00
markdown.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
message_edit.js node tests: Use zrequire in message_edit.js. 2017-11-08 12:24:17 -08:00
message_list_view.js drafts: Add timestamps showing when last modified. 2018-02-19 09:55:50 -08:00
message_list.js node tests: Use zrequire in message_list.js. 2017-11-08 12:24:17 -08:00
message_store.js refactor: Extract pm_conversations.recent. 2018-02-12 09:34:59 -08:00
muting.js node tests: Use zrequire in muting.js. 2017-11-08 12:24:17 -08:00
narrow_state.js Add narrow_state.pm_string(). 2018-02-12 09:34:59 -08:00
narrow.js node_tests: Remove unneeded var statements. 2017-11-08 12:24:17 -08:00
password.js node tests: Use zrequire in password.js. 2017-11-08 12:24:17 -08:00
people_errors.js Change warn -> error in people.report_late_add(). 2017-11-07 09:51:10 -08:00
people.js node tests: Use zrequire in people.js. 2017-11-08 12:24:17 -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
presence.js node tests: Use zrequire in presence.js. 2017-11-08 12:24:17 -08:00
reactions.js settings: Add "text" option to emoji_set model. 2018-01-02 14:55:01 -05:00
recent_senders.js recent senders: Use message ids instead of timestamps for sorting. 2018-02-08 18:39:10 -08:00
rtl.js node tests: Use zrequire in rtl.js. 2017-11-08 12:24:17 -08:00
search_suggestion.js node tests: Use zrequire in search_suggestion.js. 2017-11-08 12:24:17 -08:00
server_events.js local echo: Bypass message.flags array. 2017-12-26 09:01:21 -05:00
settings_bots.js bot settings: Move config item generation from js to handlebars. 2018-02-09 12:30:24 -08:00
settings_org.js org-settings: Fix styling of Allowed Domains modal. 2018-02-16 16:00:21 -08:00
settings_user_groups.js settings_user_groups.js: Add 100% node test coverage. 2018-01-20 08:01:06 -05:00
stream_color.js node tests: Use zrequire in topic_data.js. 2017-11-08 12:24:17 -08:00
stream_data.js node tests: Enforce 100% coverage for stream_data.js. 2017-12-28 09:39:45 -05:00
stream_events.js Fix various typos. 2017-11-09 16:26:38 +01:00
stream_list.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
stream_sort.js node tests: Use zrequire in stream_sort.js. 2017-11-08 12:24:17 -08:00
subs.js node tests: Use zrequire in subs.js. 2017-11-08 12:24:17 -08:00
templates.js popovers: Add a popover for group mentions. 2018-02-16 13:37:02 -08: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 node tests: Use zrequire in topic_data.js. 2017-11-08 12:24:17 -08:00
topic_generator.js Add topic_generator.get_next_unread_pm_string(). 2018-02-12 09:34:59 -08:00
topic_list.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
transmit.js refactor: Extract transmit.js from compose.js. 2018-02-20 09:29:26 -08:00
typeahead_helper.js recent senders: Use message ids instead of timestamps for sorting. 2018-02-08 18:39:10 -08:00
typing_data.js node tests: Use zrequire in typing_data.js. 2017-11-08 12:24:17 -08:00
typing_status.js node tests: Use zrequire in typing_status.js. 2017-11-08 12:24:17 -08:00
unread.js refactor: Stop using flags array for unread counts. 2017-12-26 09:01:21 -05:00
upload.js upload: Refactor file upload code path to use more variables. 2018-02-13 14:37:26 -08:00
user_events.js settings: Fix real-time sync for account settings. 2018-02-01 16:38:26 -08:00
user_groups.js node tests: Add 100% test coverage for user_groups.js. 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
zjquery.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00