zulip/frontend_tests/node_tests
Steve Howell df03e30d68 popovers: Fix is-active checks for popovers.
We were incorrectly reporting active bots as non-active in
popovers, and we had no test coverage for cross-realm bots.

We also rename the function to is_active_user_for_popover,
since the old name, realm_user_is_active_human_or_bot, suggested
the wrong semantics for cross-realm bots.

Last but not least, we only do a blueslip warning if a user id
is not found.  When lookups fail, we are pretty confident that
the user is not active, so an error is overkill.  We can change
that as part of issue #7120.

Fixes #7153
2017-10-26 13:56:32 -07:00
..
activity.js presence: Change "unknown" to "offline". 2017-10-12 10:42:06 -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 eslint: Set array-bracket-spacing rule and clean project. 2017-10-06 12:43:12 -07:00
common.js Introduce make_zjquery(). 2017-05-24 17:41:41 -07:00
compose.js frontend: Show link to delete files in quota exceeded error. 2017-09-14 06:04:09 -07:00
compose_actions.js compose_state.js: Extract focus_in_empty_compose(). 2017-09-19 19:07:30 -07:00
compose_fade.js Use stream_id in recipient comparisons. 2017-02-26 16:18:02 -08:00
composebox_typeahead.js composebox_typeahead: Start emoji typeahead with single letter. 2017-10-17 16:06:13 -07:00
dict.js Add Dict.is_empty(). 2017-04-21 21:59:22 -07:00
dispatch.js js: Clean up how we track default stream names. 2017-08-27 19:08:04 -07:00
drafts.js eslint: Add and enforce space-in-parens lint rule. 2017-10-06 12:36:59 -07:00
emoji.js emoji_picker: Update emoji showcase on mouse hover. 2017-09-29 21:10:03 +00:00
emoji_picker.js build_emoji: Extend emoji mappings to use new emojis from iamcal dataset. 2017-10-04 23:09:14 -07:00
filter.js filter.js: Add test coverage for group-pm-with. 2017-09-24 15:13:58 -04:00
hashchange.js Add people.initialize(). 2017-05-23 19:35:08 -07:00
hotkey.js hotkeys: Remap ':' to close the reactions popover in case of empty search. 2017-10-05 19:05:27 +05:30
i18n.js user_settings: Add push notifications for all stream messages. 2017-09-14 05:41:37 -07:00
markdown.js eslint: Set array-bracket-spacing rule and clean project. 2017-10-06 12:43:12 -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 notifications: Fix desktop/sound notifications for @all. 2017-08-24 23:56:10 -07:00
message_store.js markdown: Remove is_me_message UserMessage flags. 2017-08-27 09:34:24 -07:00
muting.js Revert "muting.js: Track muted streams using stream id." 2017-05-17 07:06:32 -07:00
narrow.js Add empty narrow msg for group-pm-with. 2017-09-24 15:13:58 -04:00
narrow_state.js narrow.js: Create narrowed_by_stream_reply(). 2017-06-27 14:06:59 -04:00
password.js passwords: Express the quality threshold as guesses required. 2017-10-08 15:48:44 -07:00
people.js popovers: Fix is-active checks for popovers. 2017-10-26 13:56:32 -07:00
pm_conversations.js typeahead: Add pm_conversations module. 2017-06-01 08:05:37 +00:00
pm_list.js Use zrequire in node_tests/pm_list.js. 2017-08-09 12:32:09 -07:00
presence.js node tests: Add test_set_user_status(). 2017-06-19 08:00:55 -04:00
reactions.js reactions.js: Fix the conditional check for sending reaction request. 2017-10-09 11:31:21 -07:00
recent_senders.js recent_senders: Add sort by stream message recency. 2017-09-14 07:20:52 -07:00
rtl.js Add rtl.js library for detecting direction of text. 2017-04-22 11:25:54 -07:00
search_suggestion.js Add 'group-pm-with' to operator autocomplete. 2017-09-24 13:56:33 -04: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 Restructure organization settings and permissions. 2017-08-28 17:20:13 -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 stream_data.get_streams_for_admin(). 2017-08-27 19:08:04 -07:00
stream_events.js stream_events: Fix exceptions when subscribed by another client. 2017-10-17 23:42:29 -07:00
stream_list.js Extract top_left_corner.js. 2017-08-14 13:03:57 -07:00
stream_sort.js Fix issues with left-sidebar stream search and multiple words. 2017-09-15 00:22:59 -07:00
subs.js frontend: Make perfectScrollbars pass tests. 2017-08-16 08:07:28 -07:00
templates.js popovers: Hide user email and PM feature for deactivated users. 2017-10-18 00:06:12 -07:00
timerender.js uploads: Only display year uploaded if previous year. 2017-07-25 23:06:58 -07: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 hotkeys: Fix "n" key to work inside a muted stream. 2017-08-17 09:01:49 -07:00
topic_list.js Simplify rendering of "more topics" link. 2017-09-26 13:58:54 -07:00
typeahead_helper.js emoji: Migrate bugdown emoji to use sprite sheets. 2017-09-29 11:14:34 -07: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 Revert "Get unread messages from the server in the web app." 2017-09-22 10:20:19 -07:00
user_events.js node: Fix node test for user_events. 2017-08-16 16:46:41 -07: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