zulip/frontend_tests/node_tests
Steve Howell f6d670ae3d Extract sent_messages.js.
This is mostly straightforward moving of code out of compose.js.

The code that was moved currently supports sending time
reports for sent messages, but we intend to grow out the new
module to track more state about sent messages.

The following function names in this commit are new, but their
code was basically pulled over verbatim:

    process_success (was process_send_time)
    set_timer_for_restarting_event_loop
    clear
    initialize

All the code in the new module is covered by previous tests that
had been written for compose.js.  This commit only modifies
a few things to keep those tests.

The new module has 100% node coverage, so we updated `enforce_fully_covered`.
2017-07-13 23:42:27 -04:00
..
activity.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00
alert_words.js Add people.initialize(). 2017-05-23 19:35:08 -07:00
bot_data.js node tests: Add coverage for get_all_bots_for_current_user. 2017-05-25 09:54:05 -07:00
channel.js node tests: Add 100% coverage for channel.js. 2017-06-30 09:48:04 -04:00
colorspace.js node tests: Add tests for colorspace.js. 2017-05-25 10:09:39 -07:00
common.js Introduce make_zjquery(). 2017-05-24 17:41:41 -07:00
compose.js Extract sent_messages.js. 2017-07-13 23:42:27 -04:00
compose_actions.js common.js: Migrate `common.js` module to use IIFE module style. 2017-06-22 19:06:32 -04:00
compose_fade.js Use stream_id in recipient comparisons. 2017-02-26 16:18:02 -08:00
composebox_typeahead.js typeahead: Use recent_senders/pm_conversations to sort suggestions. 2017-07-09 10:51:19 -04:00
dict.js Add Dict.is_empty(). 2017-04-21 21:59:22 -07:00
dispatch.js Delete the old zulip.com "referrals" system. 2017-07-07 14:59:18 -07:00
drafts.js node tests: Test drafts_overlay_open(). 2017-06-07 00:02:14 -07:00
emoji.js emoji.js: Add test coverage for initialize. 2017-06-26 14:24:20 -04:00
filter.js search_suggestion: Remove unknown operand from 'is'. 2017-07-07 20:54:54 -07:00
hashchange.js Add people.initialize(). 2017-05-23 19:35:08 -07:00
hotkey.js compose_actions.js: Allow compose to empty narrow. 2017-06-27 14:06:59 -04:00
i18n.js home.py: move user_profile full_name to register_ret. 2017-04-28 23:31:28 -07:00
markdown.js emoji: Fix the title and alt text for unicode emojis. 2017-07-01 11:14:24 -07:00
message_edit.js node tests: Simplify i18n.js and avoid jquery leak. 2017-04-04 06:51:31 -07:00
message_list.js bookend: Hide re-subscribe button for private streams. 2017-06-20 20:56:26 -04:00
message_list_view.js bookend: Make ordering of subscribe bookends consistent. 2017-06-05 16:43:26 -07:00
message_store.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00
muting.js Revert "muting.js: Track muted streams using stream id." 2017-05-17 07:06:32 -07:00
narrow.js Add search support for is:unread. 2017-06-19 06:51:13 -04:00
narrow_state.js narrow.js: Create narrowed_by_stream_reply(). 2017-06-27 14:06:59 -04:00
password.js common.js: Don't set default password quality/length in frontend. 2017-07-07 14:48:06 -07:00
people.js people.js: Ignore diacritics in search bar. 2017-06-21 19:13:44 -04:00
pm_conversations.js typeahead: Add pm_conversations module. 2017-06-01 08:05:37 +00:00
pm_list.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00
presence.js node tests: Add test_set_user_status(). 2017-06-19 08:00:55 -04:00
reactions.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00
recent_senders.js node tests: Get recent_sender.js to 100% node coverage. 2017-06-07 03:23:57 -06:00
rtl.js Add rtl.js library for detecting direction of text. 2017-04-22 11:25:54 -07:00
search_suggestion.js filter.js: Make from/sender descriptions more concise. 2017-07-07 20:54:54 -07:00
server_events.js node tests: Test server_events_dispatch.js directly. 2017-07-01 08:50:50 -04:00
settings_bots.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00
settings_org.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00
stream_color.js eslint: change space-before-function-paren from warning to error. 2016-12-05 09:50:37 -08:00
stream_data.js stream_data: Add get_subscriber_count() function. 2017-06-29 10:34:47 -04:00
stream_events.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00
stream_list.js minor: Set object length for stream_list test. 2017-07-09 08:31:22 -04:00
stream_sort.js node tests: Get stream_sort.js to 100% node coverage. 2017-06-07 03:23:57 -06:00
subs.js refactor: Pass in a full sub to sub_or_unsub(). 2017-03-05 11:55:09 -08:00
templates.js subscriptions: Edit copy for the new stream creation confirmation flow. 2017-07-07 19:22:34 -07:00
timerender.js uploads: Display year in attachments UI upload timestamp. 2017-07-04 16:13:20 -07:00
topic_generator.js node_tests: Get topic_generator.js to 100% node coverage. 2017-05-23 19:00:56 -07:00
topic_list.js refactor: Use stream id more in topic_list.js. 2017-05-15 14:47:41 -07:00
typeahead_helper.js typeahead: Use recent_senders/pm_conversations to sort suggestions. 2017-07-09 10:51:19 -04:00
typing_data.js Extract typing indicator inbound timing logic. 2017-03-22 08:20:21 -07:00
typing_status.js Revamp state tracking for outbound typing indicators. 2017-03-22 07:01:20 -07:00
unread.js node tests: Get unread.js to 100% node coverage. 2017-06-07 03:23:57 -06:00
user_events.js user_events.js: Make node test coverage reach 100%. 2017-06-20 20:57:10 -04:00
util.js util: Remove execute_early. 2017-07-04 13:54:33 -07:00
zjquery.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00