zulip/frontend_tests/node_tests
Tim Abbott bf2f36e6b4 message_fetch: Fix load_messages_for_narrow anchor parameter.
This makes the code more readable, by just passing the anchor through
without changing its field name back and forth.

There's no reason for this parameter to involve parsing and integer --
it should be a number in all incoming code paths.
2020-01-29 11:24:58 -08:00
..
.eslintrc.json lint: Add JS indentation eslint rules for node_tests. 2018-05-06 19:35:18 -07:00
activity.js js: Use IntDict in people.js. 2020-01-05 12:27:28 -08:00
alert_words.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
alert_words_ui.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
billing.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
billing_helpers.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
blueslip_stacktrace.js blueslip: Make stack trace more readable. 2019-10-31 13:47:54 -07:00
bot_data.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
buddy_data.js sidebar: Move the buddy list tooltip content logic to JS. 2019-11-20 17:04:31 -08:00
buddy_list.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
channel.js node tests: Consolidate some set_global() calls. 2018-08-02 08:02:12 -04:00
color_data.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
colorspace.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
common.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
components.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
compose.js bots: Remove feedback cross realm bot. 2020-01-25 22:54:44 -08:00
compose_actions.js dependencies: Remove WebSockets system for sending messages. 2020-01-14 22:34:00 -08:00
compose_fade.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
compose_pm_pill.js refactor: Use filter_taken_users in compose typeahead. 2020-01-08 12:55:42 -08:00
compose_ui.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
composebox_typeahead.js mobile sharing: Extract shared/js/typeahead.js. 2020-01-27 16:32:11 -08:00
copy_and_paste.js zjsunit: Make window a Proxy for global. 2019-11-13 14:27:13 -08:00
dict.js int_dict: Move filter_values helper to dict. 2020-01-05 13:18:34 -08:00
dispatch.js performance: Avoid expensive call in stream_data.is_active. 2019-12-30 09:45:46 -08:00
drafts.js compose_state: Rename compost_state.recipient to be about PMs only. 2019-12-02 08:53:55 -08:00
echo.js echo: Update topic_links when we get messages back from server. (#12832) 2019-07-20 14:38:52 -07:00
emoji.js zjsunit: Remove set_global side effect from zrequire. 2019-11-13 14:29:17 -08:00
emoji_picker.js zjsunit: Remove set_global side effect from zrequire. 2019-11-13 14:29:17 -08:00
fetch_status.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
filter.js filter: Allow marking is:mentioned messages as read. 2020-01-16 11:10:36 -08:00
fold_dict.js js: Extract FoldDict class. 2020-01-03 17:19:50 -08:00
general.js blueslip: Add feature to time common operations. 2020-01-15 12:01:16 -08:00
hash_util.js people: Clean up recip.id code. 2020-01-05 12:27:30 -08:00
hashchange.js zjsunit: Make window a Proxy for global. 2019-11-13 14:27:13 -08:00
hotkey.js hotkey: Rename confusingly named is_editing_stream_name. 2020-01-29 11:24:58 -08:00
i18n.js zjsunit: Remove set_global side effect from zrequire. 2019-11-13 14:29:17 -08:00
input_pill.js zjsunit: Make window a Proxy for global. 2019-11-13 14:27:13 -08:00
int_dict.js int_dict: Move filter_values helper to dict. 2020-01-05 13:18:34 -08:00
keydown_util.js keydown_util: Ignore alt-arrow and similar things. 2018-12-04 12:24:39 -08:00
lazy_set.js Fix type errors in LazySet. 2020-01-14 15:40:40 -08:00
lightbox.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
list_cursor.js node tests: Bring list_cursor to 100% coverage. 2018-08-24 10:00:04 -07:00
list_render.js blueslip: Add feature to time common operations. 2020-01-15 12:01:16 -08:00
markdown.js js: Automatically convert var to let and const in more files. 2019-11-20 14:10:47 -08:00
message_edit.js zjsunit: Remove set_global side effect from zrequire. 2019-11-13 14:29:17 -08:00
message_events.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
message_fetch.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
message_flags.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
message_list.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
message_list_data.js search: Don't mark messages as read in search narrow. 2019-07-17 17:58:20 -07:00
message_list_view.js zjsunit: Remove set_global side effect from zrequire. 2019-11-13 14:29:17 -08:00
message_store.js people: Clean up recip.id code. 2020-01-05 12:27:30 -08:00
muting.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
narrow.js compose_state: Rename compost_state.recipient to be about PMs only. 2019-12-02 08:53:55 -08:00
narrow_activate.js message_fetch: Fix load_messages_for_narrow anchor parameter. 2020-01-29 11:24:58 -08:00
narrow_local.js narrow: Use search reading behavior in all searches. 2019-12-10 16:26:06 -08:00
narrow_state.js unreads: Remove is_reading_mode(). 2020-01-16 10:54:59 -08:00
narrow_unread.js people: Clean up recip.id code. 2020-01-05 12:27:30 -08:00
notifications.js notifications: Support wildcard_mentions_notify for desktop. 2019-12-10 13:12:36 -08:00
password.js zjsunit: Remove set_global side effect from zrequire. 2019-11-13 14:29:17 -08:00
people.js refactor: Add filterer for user settings. 2020-01-14 22:43:08 -08:00
people_errors.js people: Use ints in is_my_user_id(). 2020-01-05 12:28:23 -08:00
pm_conversations.js bug fix: Fix huddles in "Private Messages". 2020-01-02 11:59:58 -08:00
pm_list.js node: Flatten pm_list testing code a bit. 2020-01-16 10:32:36 -08:00
popovers.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
presence.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
reactions.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
recent_senders.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
rtl.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
schema.js lint: Fix comma spacing in node tests. 2018-12-07 13:14:28 -08:00
scroll_util.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
search.js search performance: Stop at max_items. 2019-12-28 11:09:28 -08:00
search_legacy.js search performance: Stop at max_items. 2019-12-28 11:09:28 -08:00
search_pill.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
search_suggestion.js search: Retrofit recent changes to pills code. 2020-01-08 14:02:34 -08:00
search_suggestion_legacy.js search: Optimize search bar suggestions for large realms. 2020-01-04 12:58:00 -08:00
server_events.js zjsunit: Make window a Proxy for global. 2019-11-13 14:27:13 -08:00
settings_bots.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
settings_muting.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
settings_org.js org settings: Minor refactor to add notification stream id data in widget. 2020-01-14 17:16:23 -08:00
settings_profile_fields.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
settings_user_groups.js user_groups: Convert members from Dict to Set. 2020-01-16 13:23:47 -08:00
stream_data.js refactor: Extract is_subscriber_subset(). 2020-01-14 13:19:49 -08:00
stream_events.js wildcard_mentions_notify: Add per-stream override of global setting. 2019-12-09 16:09:38 -08:00
stream_list.js blueslip: Add feature to time common operations. 2020-01-15 12:01:16 -08:00
stream_search.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
stream_sort.js performance: Avoid dup calls to subscribed_streams(). 2019-12-30 09:50:22 -08:00
submessage.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
subs.js blueslip: Add feature to time common operations. 2020-01-15 12:01:16 -08:00
support.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
templates.js node tests: Fix test failure in templates.js. 2020-01-26 22:52:59 -08:00
timerender.js zjsunit: Remove Dict dependency. 2020-01-03 17:19:59 -08:00
top_left_corner.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
topic_data.js topic history: Avoid duplicate server fetches. 2020-01-23 13:28:52 -08:00
topic_generator.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
topic_list_data.js node tests: Get 100% coverage on topic_list_data. 2020-01-22 14:31:33 -08:00
transmit.js dependencies: Remove WebSockets system for sending messages. 2020-01-14 22:34:00 -08:00
typeahead.js emojis: Make it easier to type smiley icons. 2020-01-28 12:48:02 -08:00
typeahead_helper.js mobile sharing: Move sort_emojis into typeahead. 2020-01-28 12:48:02 -08:00
typing_data.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
typing_status.js typing: Fix invalid typing notifications for stream messages. 2019-12-02 09:31:16 -08:00
ui.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
ui_init.js search performance: Stop at max_items. 2019-12-28 11:09:28 -08:00
unread.js streams: Use IntDict for stream/topic unread counts. 2020-01-05 12:28:34 -08:00
upgrade.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
upload.js zjsunit: Make window a Proxy for global. 2019-11-13 14:27:13 -08:00
user_events.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
user_groups.js user_groups: Convert members from Dict to Set. 2020-01-16 13:23:47 -08:00
user_pill.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
user_status.js refactor: Use a Set for away_user_ids. 2020-01-14 17:52:25 +00:00
util.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
voting_widget.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
widgetize.js poll-widget: Refactor comment to option. 2019-01-29 09:34:14 -08:00
zblueslip.js blueslip: Replace jQuery wrappers with error event listener. 2019-07-09 11:38:20 -07:00
zjquery.js zjsquery: Add data support. 2020-01-05 12:28:37 -08:00