zulip/frontend_tests/node_tests
Steve Howell 8125667f90 Add unread.id_flagged_as_unread().
This function allows us to see whether unread.js thinks a message
id is unread (as opposed to looking at the message itself).  This
method is useful when we get notifications from the server that a
message has been read.  In the future, we may not actually have
a local copy of an unread message, but we'll still know that it is
unread based on page_params.  We'll want to update the data in that
case.

Going forward, we'll want to deprecate message.flags for most use
cases and just use the unread.js data structures to track unread
messages.
2017-08-04 13:31:26 -07:00
..
activity.js jQuery: Remove broken use of "removeAttr". 2017-07-24 10:54:47 -07:00
alert_words.js alert_words: Don't muck up rendered HTML content while munging. 2017-07-31 21:20:21 -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 middleware: Use a proper error code on CSRF failure. 2017-07-25 14:02:12 -07: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 sending messages: Extract sent_messages.js. 2017-08-01 08:58:56 -07: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 emoji: Create tests to check the typeahead resuts. 2017-07-26 09:27:17 -07:00
dict.js Add Dict.is_empty(). 2017-04-21 21:59:22 -07:00
dispatch.js tutorial: Remove is_running and defer logic. 2017-08-01 22:38:22 -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 filter.js: Add test coverage for space after operator. 2017-07-14 17:33:09 -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
hotspots.js hotspots: Unit test hotspots.js. 2017-07-28 16:34:15 -07:00
i18n.js settings: Update text in templates. 2017-07-24 17:33:14 -07:00
markdown.js minor: Indentation fix. 2017-07-31 12:42:36 -07:00
message_edit.js message edit: Prevent editing any failed messages. 2017-07-21 11:38:25 -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 people.js: Explicitly sort user_ids numerically. 2017-08-02 09:40:47 -07: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 Add people.pm_lookup_key 2017-08-02 09:40:47 -07: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 reactions: Simplify markup related to message ids. 2017-07-21 11:38:25 -07:00
recent_senders.js recent_senders: Fix exception in certain typeahead flows. 2017-07-28 11:04:11 -07:00
rtl.js Add rtl.js library for detecting direction of text. 2017-04-22 11:25:54 -07:00
search_suggestion.js topic_data.js: Refactor topic history internals. 2017-07-27 14:26:22 -07:00
server_events.js Revert commits related to client_message_id. 2017-07-14 12:13:35 -07:00
settings_bots.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00
settings_org.js Move maybe_get_stream_name to stream_data.js. 2017-08-01 16:19:41 -07: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 Add tests for stream_data.maybe_get_stream_name(). 2017-08-01 16:19:41 -07:00
stream_events.js zjquery: Add $.create() method. 2017-07-08 10:32:32 -04:00
stream_list.js Rename subject_count -> topic_count. 2017-07-31 08:04:20 -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 tutorial: Remove rest of tutorial. 2017-08-01 22:38:22 -07:00
timerender.js uploads: Only display year uploaded if previous year. 2017-07-25 23:06:58 -07:00
topic_data.js Add topic_data.add_history(). 2017-07-27 14:26:22 -07:00
topic_generator.js Extract topic_data.js. 2017-07-27 14:26:22 -07:00
topic_list.js Rename num_unread_for_subject -> num_unread_for_topic. 2017-07-31 08:11:18 -04: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 Add unread.id_flagged_as_unread(). 2017-08-04 13:31:26 -07: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