zulip/static/js
Anders Kaseorg 17749cb608 archive: Remove non-functional archive code.
This removes a bunch of non-functional duplicate JavaScript, HTML, and
CSS that was interfering with maintenance on the functional originals,
because it was never clear how to update the duplicates or how to
check that you’d updated the duplicates correctly.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-07-27 16:25:24 -07:00
..
analytics
billing billing: Make create_ajax_request accept callback function. 2021-07-20 14:43:38 -07:00
bundles js: Fix, and check for, non-ES5 syntax in webpack bundles. 2021-07-05 13:32:37 -07:00
portico help: Activate sidebar scrollbar when hamburger is clicked. 2021-07-26 15:30:55 -07:00
stats dependencies: Upgrade JavaScript dependencies. 2021-06-08 10:15:52 -07:00
types/stacktrace-gps dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
about_zulip.js about_zulip: Migrate to handlebars. 2021-06-15 11:55:20 -07:00
activity.js web_public_view: Replace `web_public_visitor` with `spectator`. 2021-06-16 07:46:34 -07:00
admin.js settings: Add moderators and full members options in user-group setting. 2021-07-14 14:38:44 -07:00
alert_popup.ts js: Make alert_popup shared. 2021-04-26 09:27:49 -07:00
alert_words.js alert_words: Revert back `before_punctuation` regex to stable one. 2021-05-06 20:36:52 -07:00
alert_words_ui.js alert_words_ui: Use e.key instead of deprecated e.which. 2021-06-02 14:04:53 -07:00
all_messages_data.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
attachments_ui.js templates: Move uploaded_files_list to settings/. 2021-06-02 20:36:21 -07:00
avatar.js frontend: Remove html_submit_button paramter passed to dialog_widget. 2021-07-14 13:02:25 -07:00
blueslip.ts blueslip: Remove SAVE_FRONTEND_STACKTRACES setting. 2021-07-07 09:26:02 -07:00
blueslip_stacktrace.ts dependencies: Upgrade JavaScript dependencies. 2021-05-10 18:07:13 -07:00
bot_data.js
browser_history.js browser_history: If changing_hash, don't set to hash_before_overlay. 2021-04-09 08:24:02 -07:00
buddy_data.js js: Split out muted_users module from muting. 2021-06-30 16:32:55 -07:00
buddy_list.js
channel.js
click_handlers.js js: Rename muting_ui module to muted_topics_ui. 2021-07-09 10:00:45 -07:00
color_class.ts ts: Convert color_class module to TypeScript. 2021-06-22 09:14:09 -07:00
color_data.ts ts: Convert color_data module to TypeScript. 2021-06-22 09:14:09 -07:00
colorspace.ts ts: Convert colorspace to typescript. 2021-05-21 16:53:30 -07:00
common.ts ts: Convert common module to TypeScript. 2021-06-22 09:09:36 -07:00
components.ts ts: Convert components module to TypeScript. 2021-07-05 17:04:06 -07:00
compose.js compose: Extract compose.toggle_entry_sends_ui function. 2021-07-27 15:52:53 -07:00
compose_actions.js compose: Improve how we handle over character limit message error. 2021-07-13 08:29:55 -07:00
compose_closed_ui.js compose: Add trigger for new private message. 2021-07-05 11:56:46 -07:00
compose_error.ts ts: Convert compose_error module to TypeScript. 2021-07-09 12:42:31 -07:00
compose_fade.js
compose_fade_helper.js refactor: Use sub_store for get/validation. 2021-04-15 17:26:17 -07:00
compose_fade_users.js
compose_pm_pill.js
compose_state.js
compose_ui.js compose: Fix expanded compose un-collapsible in presence of navbar_alerts. 2021-07-22 14:25:48 -07:00
compose_validate.js compose: Fix typos in error message for too-long compose content. 2021-07-27 16:03:19 -07:00
composebox_typeahead.js composebox_typeahead: Trigger foucs to send button only after keyup event. 2021-07-27 16:17:31 -07:00
condense.js message_body: Rename "Condense" to "Show less". 2021-07-05 20:15:14 -07:00
confirm_dialog.js dialog_widget: Remove is_confirm_dialog variable. 2021-07-14 13:32:24 -07:00
copy_and_paste.js Revert "compose: Convert pasted url to named link." 2021-07-08 12:00:22 -07:00
csrf.ts ts: Convert csrf module to TypeScript. 2021-07-05 17:04:06 -07:00
css_variables.js css_variables: Directly export number values for breakpoints. 2021-04-08 09:40:10 -07:00
debug.js
deprecated_feature_notice.js open_modal: Pass extra arguments as object. 2021-06-20 17:08:16 -07:00
desktop_integration.js
dialog_widget.js dialog_widget: Clear error element when clicked on the submit button. 2021-07-26 16:37:16 -07:00
drafts.js drafts: Delete old drafts on page load, not modal launch. 2021-07-16 12:50:51 -07:00
dropdown_list_widget.js minor: Use Array.includes instead of a regex to check for values. 2021-06-03 12:41:10 -07:00
echo.js recent_topics: Split into three modules. 2021-06-10 15:53:05 -07:00
emoji_picker.js emoji_picker: Update architecture to support status emoji. 2021-07-23 13:03:13 -07:00
emojisets.js
favicon.js favicon: Catch exceptions in update_favicon. 2021-05-12 15:06:59 -07:00
feature_flags.ts ts: Convert feature_flags to typescript. 2021-05-21 16:53:27 -07:00
feedback_widget.js
fetch_status.js
filter.js narrow: Do not mark messages as read in mentioned narrow. 2021-07-14 11:39:46 -07:00
floating_recipient_bar.js refactor: Rename `panels.js` to `navbar_alerts.js` as it better explains it. 2021-05-21 17:49:12 -07:00
fold_dict.ts
gear_menu.js users: Remove redundant compute_show_invites function. 2021-07-08 12:37:47 -07:00
giphy.js giphy: Load Giphy SDK lazily. 2021-05-28 15:44:49 -07:00
global.d.ts ts: Convert ui_util module to TypeScript. 2021-07-05 17:04:06 -07:00
hash_util.js settings: Separate "Your account" section in two different sections. 2021-06-30 16:56:03 -07:00
hashchange.js subs: Rename subs.js to stream_settings_ui.js. 2021-07-09 09:38:58 -07:00
hbs.d.ts
hotkey.js js: Rename muting_ui module to muted_topics_ui. 2021-07-09 10:00:45 -07:00
hotspots.js api: Fix encoding of strings in hotspot endpoint. 2021-05-07 11:45:25 -07:00
huddle_data.js
i18n.ts ts: Convert i18n module to TypeScript. 2021-06-22 09:09:36 -07:00
info_overlay.js info_overlay: Render search operators using info_overlay. 2021-06-28 09:14:09 -07:00
input_pill.js input_pill: Customize pills for deactivated users. 2021-06-25 18:06:42 -07:00
invite.js invite: Use handlebar template for invite-user overlay. 2021-06-14 13:46:57 -07:00
keydown_util.ts ts: Convert keydown_util to TypeScript. 2021-05-27 23:33:21 -07:00
lazy_set.js
lightbox.js lightbox_overlay: Migrate to handlebars. 2021-06-14 13:41:36 -07:00
lightbox_canvas.js eslint: Fix unicorn/prefer-switch. 2021-05-10 19:26:41 -07:00
linkifiers.js refactor: Extract linkifier non-settings logic from `markdown.js`. 2021-05-19 11:59:28 -07:00
list_cursor.js
list_util.ts ts: Convert list_util module to TypeScript. 2021-06-22 09:14:09 -07:00
list_widget.js list_widget: Allow instance to change load_count as per state. 2021-05-07 16:07:52 -07:00
loading.ts images: Rename loader.svg to loader-white.svg for clarity. 2021-07-18 11:44:17 -07:00
local_message.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
localstorage.js
markdown.js markdown: Add support for local rendering of user group mention in quote. 2021-05-20 11:35:04 -07:00
markdown_config.js docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
message_edit.js delete_topic: Remove unnecessary `close_modal` call. 2021-07-26 16:37:15 -07:00
message_edit_history.js open_modal: Pass extra arguments as object. 2021-06-20 17:08:16 -07:00
message_events.js recent_topics: Split into three modules. 2021-06-10 15:53:05 -07:00
message_fetch.js recent_topics: Split into three modules. 2021-06-10 15:53:05 -07:00
message_flags.js starred messages: Fix "unstar all in topic" is incomplete. 2021-04-29 16:43:39 -07:00
message_helper.js
message_list.js message lists: Exclude 1:1 PMs with muted users. 2021-05-07 16:21:35 -07:00
message_list_data.js js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07:00
message_list_view.js subs: Rename subs.js to stream_settings_ui.js. 2021-07-09 09:38:58 -07:00
message_lists.js
message_live_update.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
message_parser.ts ts: Convert message_parser module to TypeScript. 2021-07-09 12:42:31 -07:00
message_scroll.js recent_topics: Split into three modules. 2021-06-10 15:53:05 -07:00
message_store.js refactor: Extract people.get_display_full_names. 2021-05-10 12:36:39 -07:00
message_user_ids.ts ts: Convert message_user_ids to typescript. 2021-05-21 16:53:30 -07:00
message_util.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
message_view_header.js message_view_header: Don't include stream name is tooltip. 2021-07-06 08:41:44 -07:00
message_viewport.js js: Simplify more code using default parameters and destructuring. 2021-06-25 16:34:04 -07:00
muted_topics.js js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07:00
muted_topics_ui.js js: Rename muting_ui module to muted_topics_ui. 2021-07-09 10:00:45 -07:00
muted_users.js js: Split out muted_users module from muting. 2021-06-30 16:32:55 -07:00
muted_users_ui.js frontend: Remove html_submit_button paramter passed to dialog_widget. 2021-07-14 13:02:25 -07:00
narrow.js narrow: Remove unused import of stream_topic_history. 2021-07-05 10:29:49 -07:00
narrow_banner.js narrow_banner: Add banner for no resolved topics found search. 2021-07-13 23:36:24 -07:00
narrow_state.js
navbar_alerts.js compose: Fix expanded compose un-collapsible in presence of navbar_alerts. 2021-07-22 14:25:48 -07:00
navigate.js
night_mode.ts ts: Convert night_mode module to TypeScript. 2021-06-22 09:14:09 -07:00
notifications.js js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07:00
overlays.js open_modal: Pass extra arguments as object. 2021-06-20 17:08:16 -07:00
padded_widget.ts ts: Convert padded_widget module to TypeScript. 2021-07-05 17:04:06 -07:00
page_params.ts blueslip: Remove SAVE_FRONTEND_STACKTRACES setting. 2021-07-07 09:26:02 -07:00
password_quality.ts ts: Convert password_quality module to TypeScript. 2021-07-09 12:42:31 -07:00
peer_data.js refactor: Use sub_store for get/validation. 2021-04-15 17:26:17 -07:00
people.js compose: Fix validation treating welcome bot as deactivated. 2021-07-22 15:22:20 -07:00
pill_typeahead.js minor: Refactor pill_typeahead.js to use include_users check. 2021-06-12 07:59:43 -07:00
pm_conversations.js js: Split out muted_users module from muting. 2021-06-30 16:32:55 -07:00
pm_list.js refactor: Cleanup the existence of fraction_present. 2021-04-30 16:02:31 -07:00
pm_list_dom.js
poll_widget.js poll widget: Prevent question updates from non-authors. 2021-06-14 17:46:16 -07:00
popover_menus.js popover_menus: Add some comment documentation. 2021-06-18 17:25:45 -07:00
popovers.js bots: Rename is_cross_realm_bot API field to is_system_bot. 2021-07-24 15:46:40 -07:00
presence.js api: Add server_timestamp to register response. 2021-05-20 14:57:34 -07:00
reactions.js refactor: Extract people.get_display_full_names. 2021-05-10 12:36:39 -07:00
ready.ts ts: Convert ready module to TypeScript. 2021-06-22 09:14:09 -07:00
realm_icon.js register api: Rename max_icon_file_size. 2021-05-26 11:38:24 -07:00
realm_logo.js realm_logo: Rename realm_logo.rerender to realm_logo.render. 2021-07-19 09:45:29 -07:00
realm_playground.js realm_playground: Stop using Map incorrectly. 2021-05-09 22:01:00 -07:00
recent_senders.js refactor: Simplify recent_senders code. 2021-04-14 16:28:07 -07:00
recent_topics_data.js recent_topics: Split into three modules. 2021-06-10 15:53:05 -07:00
recent_topics_ui.js recent_topics_timestamp: Fix tooltip. 2021-07-03 06:59:55 -04:00
recent_topics_util.js recent_topics: Return false in `is_in_focus` if a modal is present. 2021-06-25 09:27:03 -07:00
reload.js docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
reload_state.ts ts: Convert reload_state to typescript. 2021-05-21 16:53:30 -07:00
reminder.js compose: Extract compose_error.js. 2021-06-24 16:19:22 -07:00
rendered_markdown.js markdown: Rewrite tooltips for <time> elements. 2021-07-05 18:09:47 -07:00
resize.js compose-box: Fix compose-box from covering last messages of stream. 2021-06-29 11:24:01 -07:00
rows.js compose: Use `class` to find `markdown_preview` related elements. 2021-04-27 10:06:25 -07:00
rtl.js eslint: Fix unicorn/prefer-switch. 2021-05-10 19:26:41 -07:00
schema.js
scroll_bar.js layout: Introduce a #compose-content div. 2021-06-10 11:22:05 -07:00
scroll_util.js
search.js search: Use e.key instead of deprecated e.which. 2021-06-02 14:04:53 -07:00
search_pill.js
search_pill_widget.js
search_suggestion.js search_suggestion: Add suggestion support for `is:resolved` keyword. 2021-07-13 23:35:41 -07:00
search_util.ts ts: Convert search_utils to typescript. 2021-05-21 16:53:30 -07:00
sent_messages.js dependencies: Upgrade JavaScript dependencies. 2021-06-08 10:15:52 -07:00
server_events.js web_public_view: Replace `web_public_visitor` with `spectator`. 2021-06-16 07:46:34 -07:00
server_events_dispatch.js settings: Move 'enter_sends' setting to property_types dict. 2021-07-27 15:52:53 -07:00
settings.js settings: Convert settings_overlay.html to handlebars template. 2021-07-15 08:59:23 -07:00
settings_account.js change_email_modal: Remove duplicate id attribute. 2021-07-26 16:37:15 -07:00
settings_bots.js bots: Remove the need to debounce for dispatching bot events. 2021-07-23 11:26:42 -07:00
settings_config.js settings: Add nobody option for invite_to_realm_policy in frontend. 2021-07-26 17:48:01 -07:00
settings_data.js settings: Add nobody option for invite_to_realm_policy in frontend. 2021-07-26 17:48:01 -07:00
settings_display.js settings: Use '/settings' endpoint for changing display settings. 2021-07-19 21:14:33 -07:00
settings_emoji.js settings_emoji: Rename can_admin_emoji to can_delete_emoji. 2021-07-14 14:57:09 -07:00
settings_exports.js template: Move `admin_export_list` template to `settings` folder. 2021-04-26 09:37:08 -07:00
settings_invites.js frontend: Remove html_submit_button paramter passed to dialog_widget. 2021-07-14 13:02:25 -07:00
settings_linkifiers.js settings: Use dialog_widget for edit-linkifier modal. 2021-07-14 13:02:26 -07:00
settings_muted_topics.js js: Rename muting_ui module to muted_topics_ui. 2021-07-09 10:00:45 -07:00
settings_muted_users.js js: Split out muted_users_ui from muting_ui module. 2021-07-09 10:00:45 -07:00
settings_notifications.js settings: Use '/settings' endpoint for changing notification settings. 2021-07-19 21:14:33 -07:00
settings_org.js setting: Allow only owners to change "Who can invite users" setting. 2021-07-26 17:48:01 -07:00
settings_panel_menu.js keydown_util: Use Event.key instead of deprecated properties. 2021-05-27 23:33:17 -07:00
settings_playgrounds.js playgrounds: Rename `name` field to `playground_name`. 2021-05-11 20:47:41 -07:00
settings_profile_fields.js docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
settings_sections.js settings: Separate "Your account" section in two different sections. 2021-06-30 16:56:03 -07:00
settings_streams.js settings_streams: Use e.key instead of deprecated e.which. 2021-06-02 14:04:53 -07:00
settings_toggle.js settings: Change "Settings" to "Personal" in the toggle tab. 2021-07-01 11:47:14 -07:00
settings_ui.js settings_ui: Add option for changing label on disabling input. 2021-07-26 17:48:01 -07:00
settings_user_groups.js settings: Add moderators and full members options in user-group setting. 2021-07-14 14:38:44 -07:00
settings_users.js settings: Show correct email in user-info form. 2021-07-15 14:26:40 -07:00
setup.js setup: Use the number of completed password changes for race detection. 2021-04-01 13:49:02 -07:00
spoilers.ts ts: Convert spoilers module to TypeScript. 2021-06-22 09:14:09 -07:00
starred_messages.js starred messages: Fix "unstar all in topic" is incomplete. 2021-04-29 16:43:39 -07:00
starred_messages_ui.js frontend: Remove html_submit_button paramter passed to dialog_widget. 2021-07-14 13:02:25 -07:00
stream_bar.js
stream_color.js subs: Rename subs.js to stream_settings_ui.js. 2021-07-09 09:38:58 -07:00
stream_create.js stream_create: Remove unnecessary export keyword. 2021-07-16 08:53:56 -07:00
stream_data.js streams: Add function to get subscribed streams of a user. 2021-06-17 17:57:20 -07:00
stream_edit.js stream settings: Use buddy list logic for filtering users. 2021-07-20 14:27:58 -07:00
stream_events.js subs: Rename subs.js to stream_settings_ui.js. 2021-07-09 09:38:58 -07:00
stream_list.js left_sidebar: Replace cog icon with plus icon. 2021-06-08 14:55:48 -07:00
stream_muting.js message_list: Downgrade message_list.all to MessageListData. 2021-03-30 08:33:47 -07:00
stream_pill.js refactor: Add type field to pill items. 2021-04-27 12:07:57 -07:00
stream_popover.js settings: Use '/settings' endpoint for changing display settings. 2021-07-19 21:14:33 -07:00
stream_settings_data.js stream-settings: Use util.strcmp instead of localeCompare for sorting. 2021-06-12 08:16:19 -07:00
stream_settings_ui.js stream_ui: Fix subscription button out of sync. 2021-07-21 22:02:33 -07:00
stream_sort.js minor: Move filter logic for stream sort to utils.js. 2021-06-08 14:58:45 -07:00
stream_topic_history.js message_edit: Fix live update bug in left sidebar. 2021-06-29 10:00:52 -07:00
stream_topic_history_util.js refactor: Extract stream_topic_history_util. 2021-04-15 17:26:17 -07:00
stream_ui_updates.js stream settings: Move subscription_type.hbs to stream settings folder. 2021-07-18 11:36:39 -07:00
sub_store.js refactor: Extract sub_store module. 2021-04-15 17:26:17 -07:00
submessage.js minor: Use warn instead of error for widgets. 2021-06-14 17:46:16 -07:00
templates.js templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
timerender.js markdown: Rewrite tooltips for <time> elements. 2021-07-05 18:09:47 -07:00
tippyjs.js tippy: Fix blueslip error on edit history timestamp hover. 2021-07-19 09:34:52 -07:00
todo_widget.js todo widget: Check types for inbound events. 2021-06-14 17:46:16 -07:00
top_left_corner.js top_left_corner: Directly use `span.unread_count` to display unreads. 2021-04-14 10:57:16 -07:00
topic_generator.js js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07:00
topic_list.js left-sidebar: Hide clear filter text button if topic filter is empty. 2021-06-10 15:49:34 -07:00
topic_list_data.js left-sidebar: Add support for showing resolve-topic-prefix. 2021-07-05 18:02:40 -07:00
topic_zoom.js
transmit.js
tutorial.js api: Fix encoding of strings in tutorial endpoint. 2021-05-07 14:06:54 -07:00
typeahead_helper.js typeahead: Make typeahead_helper.sort_recipients more readable. 2021-05-25 08:03:02 -07:00
typing.js
typing_data.js js: Split out muted_users module from muting. 2021-06-30 16:32:55 -07:00
typing_events.js typing: Display several people are typing... 2021-04-07 00:17:30 -07:00
ui.js deprecated_feature_notice: Move code to a separate module. 2021-06-15 11:58:45 -07:00
ui_init.js ui_init: Fix "Error: Unknown user_id in get_by_user_id: 0". 2021-07-22 14:06:13 -07:00
ui_report.ts ts: Convert ui_report module to TypeScript. 2021-06-22 09:09:36 -07:00
ui_util.ts ts: Convert ui_util module to TypeScript. 2021-07-05 17:04:06 -07:00
unread.js js: Rename muting module to muted_topics. 2021-06-30 16:32:55 -07:00
unread_ops.js js: Simplify more code using default parameters and destructuring. 2021-06-25 16:34:04 -07:00
unread_ui.js sidebar toggles: Lift code to display PM counts. 2021-03-30 12:07:51 -07:00
upload.js compose: Don’t convert absolute upload URLs to relative. 2021-07-07 15:41:52 -07:00
upload_widget.ts ts: Convert upload_widget to TypeScript. 2021-07-09 12:42:31 -07:00
user_events.js api: Include is_billing_admin as an attribute in user response. 2021-06-03 10:27:07 -07:00
user_group_pill.js refactor: Add type field to pill items. 2021-04-27 12:07:57 -07:00
user_groups.js js: Add functions to get user groups by user_id. 2021-06-02 20:06:03 -07:00
user_pill.js input_pill: Customize pills for deactivated users. 2021-06-25 18:06:42 -07:00
user_profile.js minor: Make group tab selector in profile modal more specific. 2021-07-02 13:53:46 -07:00
user_search.js
user_status.js user_status: Add `get_emoji_info` function. 2021-07-23 13:03:32 -07:00
user_status_ui.js emoji_picker: Update architecture to support status emoji. 2021-07-23 13:03:13 -07:00
util.js util: Remove unused code for lower_bound. 2021-07-02 11:37:01 -07:00
vdom.js Fix typos using codespell. 2021-05-18 17:33:51 -07:00
watchdog.ts ts: Convert watchdog module to TypeScript. 2021-07-09 12:42:31 -07:00
webpack_public_path.js
widgetize.js widgets: Avoid adding the widget_elem if it already exists. 2021-07-24 09:52:14 -07:00
zcommand.js slash commands: Remove /settings command. 2021-07-08 10:47:52 -04:00
zform.js
zulip_test.js blueslip: Remove SAVE_FRONTEND_STACKTRACES setting. 2021-07-07 09:26:02 -07:00