zulip/web/tests
Sahil Batra 440f9e397a message_edit: Apply topic edit restrictions to "(no topic)" messages.
Previously, editing topic of "(no topic)" messages was allowed
irrespective of time limit or the "edit_topic_policy" setting.
Since we are working in the direction of having "no topic" messages
feel reasonable, this commit changes the code to not consider them
as a special case and topic editing restrictions apply to them as
well now like all other messages.

We still highlight the topic edit icon in recipient bar without
hovering for "no topic" messages, but it is only shown when user
has permission to edit topics.
2023-04-11 11:07:23 -07:00
..
lib templates: Enable Handlebars strict mode. 2023-04-05 15:23:54 -07:00
templates
activity.test.js
alert_words.test.js
alert_words_ui.test.js
billing.test.js billing: Add sponsorship request form to the billing page. 2023-03-27 10:15:21 -07:00
billing_helpers.test.js
blueslip_stacktrace.test.js
bot_data.test.js
browser_history.test.js
buddy_data.test.js timerender: Reword user activity info from "Last active:" to "Active". 2023-04-07 09:24:15 -07:00
buddy_list.test.js
channel.test.js
color_data.test.js
colorspace.test.js
common.test.js
components.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
compose.test.js tests: Mock autosize. 2023-03-20 15:48:29 -07:00
compose_actions.test.js compose: Rename recipient selector classes to be more descriptive. 2023-03-31 13:45:24 -07:00
compose_closed_ui.test.js
compose_fade.test.js
compose_pm_pill.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
compose_state.test.js
compose_ui.test.js compose: Have at least 2 new lines before and after a quoted message. 2023-03-27 15:31:45 -07:00
compose_validate.test.js
compose_video.test.js
composebox_typeahead.test.js compose validate: Rename overflow verifier. 2023-03-31 13:40:41 -07:00
copy_and_paste.test.js
deprecated_feature_notice.test.js
dispatch.test.js recipient_row: Use a dimmed stream color for background. 2023-04-10 23:41:30 -07:00
dispatch_subs.test.js
drafts.test.js recipient_row: Use a dimmed stream color for background. 2023-04-10 23:41:30 -07:00
dropdown_list_widget.test.js
echo.test.js
emoji.test.js ts: Convert `emoji.js` to TypeScript. 2023-04-05 10:29:01 -07:00
emoji_picker.test.js
event_status.test.js web: Save a 301 redirect from /billing to /billing/. 2023-03-24 14:51:01 -07:00
example1.test.js docs: Change extensions from .js to .ts for some filenames. 2023-03-12 15:17:53 -07:00
example2.test.js
example3.test.js
example4.test.js server_events_dispatch: Update bots list only if needed. 2023-03-02 13:26:20 -08:00
example5.test.js insert_new_message: Rewrite using all_rendered_message_lists. 2023-03-31 10:41:06 -07:00
example6.test.js
example7.test.js
example8.test.js
fenced_code.test.js
fetch_status.test.js
filter.test.js stream_privacy: Use new lock and hashtag icons. 2023-04-10 23:41:30 -07:00
fold_dict.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
gear_menu.test.js
hash_util.test.js web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -07:00
hashchange.test.js
hotkey.test.js popovers: Refactor topic_menu visible check and hide logic. 2023-04-05 16:47:39 -07:00
i18n.test.js web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -07:00
input_pill.test.js
internal_url.test.js
keydown_util.test.js
lazy_set.test.js
lightbox.test.js
linkifiers.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
list_cursor.test.js
list_widget.test.js
markdown.test.js
markdown_parse.test.js
message_edit.test.js message_edit: Apply topic edit restrictions to "(no topic)" messages. 2023-04-11 11:07:23 -07:00
message_events.test.js
message_fetch.test.js
message_flags.test.js message_flags.test: Call send_read with an array. 2023-03-02 12:16:56 -08:00
message_list.test.js
message_list_data.test.js user_topics: Update user_topics.js to include all visibility policies. 2023-04-11 09:51:01 -07:00
message_list_view.test.js
message_store.test.js
muted_users.test.js i18n: Localize date and time displays across the app. 2023-02-26 17:43:47 -08:00
narrow.test.js tests-narrow: Remove unneeded helper function in `narrow.test.js`. 2023-04-07 09:18:16 -07:00
narrow_activate.test.js left sidebar: Scroll to current PM conversation on narrow. 2023-02-27 11:58:53 -08:00
narrow_local.test.js
narrow_state.test.js
narrow_unread.test.js
navbar_alerts.test.js
notifications.test.js user_topics: Update user_topics.js to include all visibility policies. 2023-04-11 09:51:01 -07:00
password.test.js
peer_data.test.js
people.test.js people: Do not return undefined for is_cross_realm_email. 2023-03-16 10:47:12 -07:00
people_errors.test.js web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -07:00
pill_typeahead.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
pm_conversations.test.js
pm_list.test.js
pm_list_data.test.js pm-list-data: Clean up node test for `pm_list_data.js`. 2023-03-31 14:22:30 -07:00
poll_widget.test.js
popovers.test.js web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -07:00
presence.test.js
reactions.test.js ts: Convert `emoji.js` to TypeScript. 2023-04-05 10:29:01 -07:00
realm_playground.test.js typeahead: Suggest existing custom language in Code Playground settings. 2023-03-01 17:02:44 -08:00
recent_senders.test.js people: Add function get participants from user_ids_string. 2023-03-07 15:43:03 -08:00
recent_topics.test.js recent_conversations: Exclude muted user PMs from recent conversations. 2023-03-28 14:40:50 -07:00
reload.test.js
reload_state.test.js
rendered_markdown.test.js install-node: Upgrade Node.js from 18.14.1 to 18.15.0. 2023-03-16 12:32:28 -07:00
resolved_topic.test.js
rtl.test.js
schema.test.js
scroll_util.test.js
search_future.test.js search: Rename .search_button to more correct .search_close_button. 2023-03-07 15:38:11 -08:00
search_now.test.js search: Rename .search_button to more correct .search_close_button. 2023-03-07 15:38:11 -08:00
search_pill.test.js private-messages: Update frontend strings to use "direct message" or "DM". 2023-02-24 11:47:26 -08:00
search_suggestion_future.test.js private-messages: Update frontend strings to use "direct message" or "DM". 2023-02-24 11:47:26 -08:00
search_suggestion_now.test.js private-messages: Update frontend strings to use "direct message" or "DM". 2023-02-24 11:47:26 -08:00
server_events.test.js
settings_bots.test.js web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -07:00
settings_config.test.js private-messages: Update frontend strings to use "direct message" or "DM". 2023-02-24 11:47:26 -08:00
settings_data.test.js
settings_emoji.test.js
settings_muted_topics.test.js user_topics: Update user_topics.js to include all visibility policies. 2023-04-11 09:51:01 -07:00
settings_muted_users.test.js i18n: Localize date and time displays across the app. 2023-02-26 17:43:47 -08:00
settings_org.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
settings_profile_fields.test.js
settings_realm_domains.test.js
settings_user_groups_legacy.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
spoilers.test.js
starred_messages.test.js popovers: Refactor topic_menu visible check and hide logic. 2023-04-05 16:47:39 -07:00
stream_create_subscribers_data.test.js
stream_data.test.js stream_color: Fix duplicate ids for colored privacy icons. 2023-03-27 22:24:45 -07:00
stream_edit.test.js
stream_events.test.js streams: Add an explanatory notice when left panel is empty. 2023-04-06 19:33:13 -07:00
stream_list.test.js recipient_row: Use a dimmed stream color for background. 2023-04-10 23:41:30 -07:00
stream_pill.test.js
stream_search.test.js
stream_settings_ui.test.js streams: Add an explanatory notice when left panel is empty. 2023-04-06 19:33:13 -07:00
stream_sort.test.js
stream_topic_history.test.js
submessage.test.js
support.test.js support: Fix scrubbing realms if string_id is a number. 2023-03-27 10:07:41 -07:00
templates.test.js
timerender.test.js timerender: Reword user activity info from "Last active:" to "Active". 2023-04-07 09:24:15 -07:00
top_left_corner.test.js
topic_generator.test.js
topic_list_data.test.js js: Break cyclic dependency between topic_list and topic_list_data. 2023-04-10 08:55:06 -07:00
transmit.test.js
typeahead.test.js
typeahead_helper.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
typing_data.test.js util: Change parameter type of `sorted_ids` to `number[]`. 2023-03-03 12:04:42 -08:00
typing_events.test.js
typing_status.test.js
unread.test.js user_topics: Update user_topics.js to include all visibility policies. 2023-04-11 09:51:01 -07:00
upgrade.test.js web: Save a 301 redirect from /billing to /billing/. 2023-03-24 14:51:01 -07:00
upload.test.js
user_events.test.js
user_group_pill.test.js
user_groups.test.js settings_config: Add "Nobody" group option to system_user_groups_list. 2023-04-11 09:02:09 -07:00
user_pill.test.js
user_search.test.js
user_status.test.js
user_topics.test.js user_topics: Update user_topics.js to include all visibility policies. 2023-04-11 09:51:01 -07:00
util.test.js web: Use `uri` instead of `url`. 2023-04-10 10:26:48 -07:00
vdom.test.js
watchdog.test.js
widgetize.test.js eslint: Fix unicorn/prefer-spread. 2023-03-02 12:16:56 -08:00
zblueslip.test.js
zjquery.test.js