zulip/frontend_tests/node_tests
100RABHpy 039dd256a1 markdown: Fix a bug in query_and_reply.
Fixes #17466
This commit will change encoding logic. Initial logic
was not encoding parenthesis, and this creates conflicts
with the markdown link format. To resolve this while encoding,
we're now replacing parenthesis with ".28" and ".29."

There is no need to change decoding logic because before
decoding any URL, we first convert all the “.” to “%.”

optimization: No need to replace parenthesis in popovers.js.
2021-03-16 16:40:37 -07:00
..
lib display_settings: Allow user to set default_view. 2021-03-11 18:09:08 -08:00
activity.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
alert_words_ui.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
alert_words.js node tests: Avoid intra-test leaks for alert_words. 2021-03-08 10:45:17 -05:00
billing_helpers.js node tests: Explicitly set hash for billing test. 2021-03-13 11:48:50 -05:00
billing.js zjsunit: Do not run $(...) automatically. 2021-03-13 11:48:50 -05:00
blueslip_stacktrace.js zjsunit: Deglobalize run_test. 2020-12-01 07:14:00 -05:00
bot_data.js node tests: Add test() wrapper to bot_data. 2021-03-14 08:11:25 -04:00
buddy_data.js node tests: Clean up buddy_data tests. 2021-03-14 08:11:25 -04:00
buddy_list.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
channel.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
color_data.js js: Convert static/js/color_data.js to ES6 module. 2021-02-28 14:23:00 -08:00
colorspace.js node_tests: Don’t read from most deprecated global variables. 2021-02-10 07:40:22 -08:00
common.js zjsunit: Do not run $(...) automatically. 2021-03-13 11:48:50 -05:00
components.js node tests: Add env var to components test. 2021-03-14 08:11:25 -04:00
compose_actions.js node tests: Set compose state for compose_actions tests. 2021-03-16 09:04:26 -04:00
compose_fade.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
compose_pm_pill.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
compose_state.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
compose_ui.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
compose_video.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
compose.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
composebox_typeahead.js node tests: Use more overrides in composebox_typeahead. 2021-03-16 14:53:52 -04:00
copy_and_paste.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
dispatch_subs.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
dispatch.js refactor: Rename filter to linkifier in frontend code and docs. 2021-03-15 11:19:59 -07:00
drafts.js node tests: Clean up drafts tests. 2021-03-14 08:11:25 -04:00
dropdown_list_widget.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
echo.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
emoji_picker.js zjsunit: Remove rewiremock dependency. 2021-03-06 11:10:57 -05:00
emoji.js zjsunit: Remove rewiremock dependency. 2021-03-06 11:10:57 -05:00
example1.js node tests: Split up tutorial into smaller examples. 2021-03-15 10:46:00 -04:00
example2.js node tests: Split up tutorial into smaller examples. 2021-03-15 10:46:00 -04:00
example3.js node tests: Split up tutorial into smaller examples. 2021-03-15 10:46:00 -04:00
example4.js node tests: Split up tutorial into smaller examples. 2021-03-15 10:46:00 -04:00
example5.js node tests: Split up tutorial into smaller examples. 2021-03-15 10:46:00 -04:00
example6.js node tests: Split up tutorial into smaller examples. 2021-03-15 10:46:00 -04:00
example7.js node tests: Split up tutorial into smaller examples. 2021-03-15 10:46:00 -04:00
fenced_code.js node tests: Move test to fenced_code.js. 2021-03-12 11:18:44 -05:00
fetch_status.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
filter.js node tests: Add test() wrapper for filter tests. 2021-03-16 09:04:26 -04:00
fold_dict.js zjsunit: Deglobalize run_test. 2020-12-01 07:14:00 -05:00
hash_util.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
hashchange.js node tests: Clean up hashchange tests. 2021-03-14 08:11:25 -04:00
hotkey.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
i18n.js node_tests: Consistently move set_global mocks before zrequire calls. 2021-02-26 07:55:53 -08:00
input_pill.js node tests: Extract override_random_id. 2021-03-14 08:11:25 -04:00
keydown_util.js zjquery: Make zjquery a singleton. 2021-02-21 17:34:55 -05:00
lazy_set.js eslint: Fix unicorn/no-array-callback-reference. 2021-01-25 14:53:19 -08:00
lightbox.js node tests: Add test() wrapper for lightbox. 2021-03-14 10:46:45 -04:00
list_cursor.js js: Convert static/js/list_cursor.js to ES6 module. 2021-02-23 20:36:01 -08:00
list_widget.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
markdown_katex.js zjsunit: Remove rewiremock dependency. 2021-03-06 11:10:57 -05:00
markdown.js node tests: Add test() wrapper for markdown tests. 2021-03-16 09:04:26 -04:00
message_edit.js node_tests: Don’t read page_params from deprecated global variable. 2021-02-22 19:46:42 -08:00
message_events.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
message_fetch.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
message_flags.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
message_list_data.js zjsunit: Remove rewiremock dependency. 2021-03-06 11:10:57 -05:00
message_list_view.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
message_list.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
message_store.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
muting.js node tests: Clean up muting tests. 2021-03-12 04:42:37 -05:00
narrow_activate.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
narrow_local.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
narrow_state.js node tests: Clear data for narrow_state tests. 2021-03-10 07:07:34 -05:00
narrow_unread.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
narrow.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
notifications.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
password.js node tests: Break up password tests. 2021-03-12 04:42:37 -05:00
peer_data.js node tests: Clear data for peer_data tests. 2021-03-10 07:07:34 -05:00
people_errors.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
people.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
pm_conversations.js node tests: Clean up pm_conversations. 2021-03-12 04:42:37 -05:00
pm_list.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
poll_widget.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
popovers.js markdown: Fix a bug in query_and_reply. 2021-03-16 16:40:37 -07:00
presence.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
reactions.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
recent_senders.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
recent_topics.js node tests: Add explicit stub_templates calls. 2021-03-16 14:53:52 -04:00
rendered_markdown.js markdown: Add fa-clock icon before markdown timestamps. 2021-03-14 22:57:01 -07:00
rtl.js node tests: Directly test how we add/remove rtl class. 2021-03-05 12:57:20 -05:00
schema.js node_tests: Don’t read from most deprecated global variables. 2021-02-10 07:40:22 -08:00
scroll_util.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
search_legacy.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
search_pill.js node tests: Eliminate many __Rewire__ calls. 2021-03-07 11:19:33 -05:00
search_suggestion_legacy.js node tests: Add test() wrapper for suggestions. 2021-03-12 15:29:23 -05:00
search_suggestion.js node tests: Add test() wrapper for suggestions. 2021-03-12 15:29:23 -05:00
search.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
server_events.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
settings_bots.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
settings_data.js node_tests: Consistently move set_global mocks before zrequire calls. 2021-02-26 07:55:53 -08:00
settings_emoji.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
settings_muting.js node tests: Remove needless reset test. 2021-03-14 10:46:45 -04:00
settings_org.js node tests: Clean up settings_org. 2021-03-14 10:46:45 -04:00
settings_profile_fields.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
settings_user_groups.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
spoilers.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
stream_data.js node tests: Clean up all_topics_in_cache test. 2021-03-12 15:29:23 -05:00
stream_edit.js node tests: Avoid __Rewire__ in stream_edit. 2021-03-13 14:47:49 -05:00
stream_events.js node tests: Clean up stream_events. 2021-03-14 10:46:45 -04:00
stream_list.js node tests: Avoid __Rewire__ in stream_list. 2021-03-13 14:47:49 -05:00
stream_pill.js node_tests: Don’t read from most deprecated global variables. 2021-02-10 07:40:22 -08:00
stream_search.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
stream_sort.js code cleanup: Remove obsolete stream_sort code. 2021-03-13 11:48:50 -05:00
stream_topic_history.js node tests: Add test() wrapper for stream_topic_history. 2021-03-13 11:48:50 -05:00
submessage.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
subs.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
support.js zjsunit: Do not run $(...) automatically. 2021-03-13 11:48:50 -05:00
timerender.js node tests: Ensure clean data for timerender tests. 2021-03-14 11:38:21 -04:00
top_left_corner.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
topic_generator.js node tests: Eliminate many __Rewire__ calls. 2021-03-07 11:19:33 -05:00
topic_list_data.js node tests: Add test() wrapper for topic_list_data. 2021-03-12 17:52:04 -05:00
transmit.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
typeahead_helper.js node tests: Clear more data for typeahead_helper. 2021-03-16 09:04:26 -04:00
typeahead.js zjsunit: Remove rewiremock dependency. 2021-03-06 11:10:57 -05:00
typing_data.js node tests: Add test() wrapper for typing_data. 2021-03-15 13:05:49 -04:00
typing_status.js node tests: Call initialize_state() earlier. 2021-03-15 13:05:49 -04:00
ui.js node_tests: Consistently move set_global mocks before zrequire calls. 2021-02-26 07:55:53 -08:00
unread.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
upgrade.js zjsunit: Do not run $(...) automatically. 2021-03-13 11:48:50 -05:00
upload.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
user_events.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
user_groups.js node_tests: Don’t read from most deprecated global variables. 2021-02-10 07:40:22 -08:00
user_pill.js node_tests: Consistently move set_global mocks before zrequire calls. 2021-02-26 07:55:53 -08:00
user_status.js zjsunit: Lift restriction against mocking third party modules. 2021-03-12 10:06:30 -08:00
util.js node tests: Clean up robust_uri_decode. 2021-03-12 04:42:37 -05:00
vdom.js node_tests: Don’t read from most deprecated global variables. 2021-02-10 07:40:22 -08:00
widgetize.js node tests: Add test_all() wrapper for widgetize. 2021-03-15 13:05:49 -04:00
zblueslip.js zjsunit: Deglobalize run_test. 2020-12-01 07:14:00 -05:00
zjquery.js zjquery: Prohibit extensions to $.fn. 2021-02-22 10:04:29 -05:00