zulip/frontend_tests/node_tests
Steve Howell a246d2dcb3 refactor: Eliminate presence_info params.
It's easier to reason about the activity.js code if we just
make it clear that presence_info is a global singleton.  Going
forward, functions that use that data will explicitly refer to
exports.presence_info.

This change makes some tests slightly more awkward to set up, but
with the actual code you now don't have to question whether there
are multiple copies of presence_info to maintain.

The diff for compare_function is a bit confusing to read, but it's
basically just de-dented since we don't need to parameterize the
compare function any more.
2017-03-08 11:32:23 -08:00
..
activity.js refactor: Eliminate presence_info params. 2017-03-08 11:32:23 -08:00
alert_words.js refactor: Remove last uses of page_params.email in JS code. 2017-01-21 21:45:12 -08:00
bot_data.js bot_data.js: Replace `remove()` with `deactivate()`. 2017-02-26 23:56:51 -08:00
compose.js Populate message.to_user_ids in compose.js. 2017-02-26 16:18:02 -08:00
compose_fade.js Use stream_id in recipient comparisons. 2017-02-26 16:18:02 -08:00
composebox_typeahead.js refactor: Use user_id as key for pm_recipient_count. 2017-02-06 22:38:22 -08:00
dict.js eslint: change quote-props from off to error and fix violations. 2016-12-02 18:35:53 -08:00
dispatch.js Use stream_id in update_subscription_properties(). 2017-03-05 15:44:43 -08:00
drafts.js Implement persistent drafts functionality 2017-02-23 02:58:23 -08:00
echo.js bugdown: Change rendered emoji image to `unicode/<codepoint>.png.` 2017-02-26 18:30:15 -08:00
filter.js Create filter.update_email(). 2017-02-14 23:25:22 -08:00
hashchange.js Make nicer slugs for "sender" narrows. 2017-01-19 14:54:50 -08:00
i18n.js Change "Reply" to "Quote and reply" in message popover 2017-02-11 14:51:55 -08:00
message_edit.js deps: Move `xdate` from `static/third` to `npm` 2017-01-19 17:07:55 -08:00
message_list.js eslint: Update node tests to use new comma-dangle rules. 2016-12-03 15:00:24 -08:00
message_list_view.js Move small_avatar_url() to people.js. 2017-01-21 21:45:12 -08:00
message_store.js Populate message.to_user_ids in message_store.js. 2017-02-26 16:18:02 -08:00
muting.js muting: Refactor to move side effects into UI layer. 2017-02-11 08:36:39 -08:00
narrow.js Create narrow.update_email(). 2017-02-14 23:25:22 -08:00
password.js Add node tests for password checks. 2017-01-10 04:55:41 -08:00
people.js Add people.update_email_in_reply_to() helper. 2017-02-10 21:57:50 -08:00
pm_list.js Extract frontend_tests/node_tests/pm_list.js. 2017-01-30 11:49:19 -08:00
search_suggestion.js search_suggestion: Suggest multiple people in `pm-with` searches. 2017-02-07 14:13:29 -08:00
server_events.js lint: Fix several no-unused-vars eslint rule violations. 2016-12-03 18:43:47 -08:00
settings.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08: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 refactor: Simplify code for renaming streams. 2017-03-05 11:55:09 -08:00
stream_list.js left-sidebar: Sort pinned streams by lowercase stream name. 2017-02-20 10:46:05 -08:00
subs.js refactor: Pass in a full sub to sub_or_unsub(). 2017-03-05 11:55:09 -08:00
templates.js Restyle and refactor .message_controls for better UX. 2017-03-06 22:24:21 -08:00
topic_list.js eslint: Update node tests to use new comma-dangle rules. 2016-12-03 15:00:24 -08:00
typeahead_helper.js lint: Add dangling commas in JavaScript objects. 2017-01-11 15:23:42 -08:00
unread.js Update PM unread counts more dynamically in the client. 2017-02-14 23:25:22 -08:00
user_events.js Add UI for changing the bot owners. 2017-02-26 21:39:22 -08:00
util.js Compare recipients using to_user_ids to fix live updates. 2017-02-26 16:18:02 -08:00