zulip/static/js
Anders Kaseorg 1b94733953 webpack: Remove resolve.modules override.
The minimal syntactic sugar it might provide isn’t worth the
unexpected side effects (including side effects on third party
modules).

For now, we allow zrequire to emulate the previous syntax in the Node
test suite, even though stealing part of the NPM namespace is
confusing.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-07-02 16:38:26 -07:00
..
analytics activity: Extract most js from realm_summary_table to activity.js. 2019-06-14 10:20:59 -07:00
billing billing: Use javascript onhashchange handler instead of jQuery one. 2019-05-30 10:34:56 -07:00
bundles webpack: Remove resolve.modules override. 2019-07-02 16:38:26 -07:00
js_typings subs: Add `stream_ui_updates.js` module for managing ui elements. 2019-04-30 14:36:52 -07:00
portico signup, settings: Update password strength meter on input events. 2019-06-27 14:51:19 -07:00
stats stats: Fix the bug in showing all time actives by default. 2019-02-01 11:14:03 -08:00
.eslintrc.json
activity.js activity: Refactor logic for sending active status. 2019-06-28 18:06:31 -07:00
admin.js realm_plan_type: Restrict uploading organization logos by plan type. 2019-06-14 16:21:12 -07:00
alert_words.js lint: Add eslint enforcement for comma-spacing. 2018-12-07 12:22:24 -08:00
alert_words_ui.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
archive.js jQuery: Use positional methods on single selectors. 2019-06-06 15:21:26 -07:00
attachments_ui.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
avatar.js settings: Fix width not maximum while uploading user avatar. 2018-10-19 12:36:18 -07:00
blueslip.js Change ui check to ui_report in blueslip. 2018-08-03 15:59:10 -07:00
bot_data.js statis/js/bot_data.js: Add `get_bot_owner_email` function. 2018-11-16 09:52:05 -08:00
buddy_data.js user status: Change Active now to Online now in full user profile. 2019-03-14 15:19:09 -07:00
buddy_list.js Completely replace perfect-scrollbar with SimpleBar. 2019-05-17 12:06:51 -07:00
channel.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
click_handlers.js org_settings: Add collapse/show settings button for users and guests. 2019-05-31 22:42:02 -07:00
color_data.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
colorspace.js lint: Add eslint enforcement for comma-spacing. 2018-12-07 12:22:24 -08:00
common.js static/js/common: Extract function `adjust_mac_shortcuts`. 2019-06-24 14:04:42 -07:00
components.js components: Add `disable_tab` attribute. 2019-05-13 17:27:32 -07:00
compose.js compose: Rename New conversation button to New private message. 2019-06-26 14:12:24 -07:00
compose_actions.js popovers: Remove a few entries from stream popover. 2019-03-06 17:36:06 -08:00
compose_fade.js compose fade: Use "topic" internally. 2018-12-29 11:40:59 -08:00
compose_pm_pill.js compose pill: Add has_unconverted_data() helper. 2018-10-12 11:20:30 -07:00
compose_state.js subject -> topic: Rename compose fields. 2018-12-09 21:28:45 -08:00
compose_ui.js compose: Fix buggy escaping of LaTeX in quote-and-reply. 2019-04-13 10:52:44 -07:00
composebox_typeahead.js composebox_typeahead: Remove unnecessary string operation. 2019-03-21 13:33:27 -07:00
condense.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
confirm_dialog.js settings: Add confirm_dialog module. 2018-10-12 10:37:06 -07:00
copy_and_paste.js jQuery: Use positional methods on single selectors. 2019-06-06 15:21:26 -07:00
csrf.js csrf: Improve API for when no CSRF input is available. 2018-12-16 16:19:23 -08:00
debug.js eslint: Enable `no-extra-parens` rule. 2018-06-11 07:51:24 -04:00
dict.ts dependencies: Upgrade @typescript-eslint/eslint-plugin to 1.9.0. 2019-06-03 12:24:00 -07:00
drafts.js jQuery: Use positional methods on single selectors. 2019-06-06 15:21:26 -07:00
echo.js echo: Add tests for echo.process_from_server. 2019-06-28 06:13:41 +00:00
emoji.js emoji: Remove now unused `emoji.emojis` data structure. 2019-01-05 15:09:04 -08:00
emoji_picker.js ui: Replace set_up_scrollbar with data-simplebar attribute. 2019-05-19 18:06:38 -07:00
favicon.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
feature_flags.js Remove feature_flags.mark_read_at_bottom. 2018-07-07 10:19:15 +02:00
feedback_widget.js ui: Render feedback widget client side. 2019-01-04 10:54:10 -08:00
fenced_code.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
fetch_status.js message_fetch: Deduplicate logic for finish_newer_batch. 2018-12-13 08:43:56 -08:00
filter.js static/js/stream_data: Rename `in_home_view` functions. 2019-05-30 21:39:06 -07:00
floating_recipient_bar.js floating_recipient_bar: Fix incorrect use of jQuery .next(). 2019-02-11 16:46:11 -08:00
gear_menu.js settings: Extract gear_menu.update_org_settings_menu_item(). 2018-12-07 11:40:40 -08:00
hash_util.js subject -> topic: Fix hash_util.js. 2018-12-29 14:34:06 -08:00
hashchange.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
hotkey.js static/js/common: Extract function `has_mac_keyboard`. 2019-06-24 14:04:42 -07:00
hotspots.js hotspots: Add hotspot for gear menu. 2019-02-05 12:19:21 -08:00
info_overlay.js keyborad shortcuts: Document message formatting keyboard shortcuts. 2019-06-24 14:08:50 -07:00
input_pill.js input pills: Fix modal gets closed when user click on remove-pill-btn. 2018-11-28 16:33:08 -08:00
integration_bot_widget.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
invite.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
keydown_util.js keydown_util: Ignore alt-arrow and similar things. 2018-12-04 12:24:39 -08:00
lightbox.js url preview: Use oEmbed html for videos. 2019-05-31 15:59:03 -07:00
lightbox_canvas.js lightbox: Make `v` close the lightbox during Pan & Zoom. 2018-07-23 10:36:48 -07:00
list_cursor.js list_cursor: Promote error handling code. 2018-08-24 10:00:04 -07:00
list_render.js list_render: Change alphabetic sorting to be case insensitive. 2019-04-13 11:36:28 -07:00
list_util.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
loading.js org settings: Fix a bug where the loading spinner was not visible. 2018-08-08 10:59:23 -07:00
local_message.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
localstorage.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
markdown.js markdown: Make raw urls in topic names navigable. 2019-06-27 15:18:42 -07:00
message_edit.js Revert "message_edit: Change scroll calculations based on `.message_content`." 2019-06-24 23:29:28 -07:00
message_events.js message_edit: Fix rendering bug when topic-editing single messages. 2019-02-27 13:57:45 -08:00
message_fetch.js Refactor: Split up add_messages api. 2019-01-07 17:17:55 -08:00
message_flags.js message_flags: Batch read flag requests to at most 1k message IDs at a time. 2019-05-15 17:56:48 -07:00
message_list.js streams: Avoid showing more topics option when it's useless. 2019-03-14 21:51:24 -07:00
message_list_data.js subject -> topic: Sweep "message.subject" in frontend. 2019-01-01 20:49:38 -08:00
message_list_view.js activity: Rename has_focus to client_is_active. 2019-06-28 18:06:30 -07:00
message_live_update.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
message_scroll.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
message_store.js message_store: Add an `each` helper. 2019-02-25 21:12:07 +00:00
message_util.js message scrolling: Fix "Scroll down to view" warning. 2019-01-07 17:17:55 -08:00
message_viewport.js jQuery: Use positional methods on single selectors. 2019-06-06 15:21:26 -07:00
muting.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
muting_ui.js ui: Extract feedback_widget module. 2019-01-04 10:54:07 -08:00
narrow.js narrow: Fix incorrect method of querying for operands. 2019-06-30 23:00:23 -07:00
narrow_state.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
navigate.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
night_mode.js night mode: Fix initial state of night mode. 2019-03-08 15:45:11 -08:00
notifications.js static/js/stream_data: Extract function `receives_notifications`. 2019-06-24 14:46:45 -07:00
overlays.js user settings: Fix active background links when a modal is visible. 2018-12-09 22:32:53 -08:00
padded_widget.js buddy list: Add padding to progressive scrollings. 2018-08-02 16:59:27 -07:00
panels.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
people.js people: Refactor out user id string to array function. 2019-06-06 19:56:24 -07:00
pm_conversations.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
pm_list.js ui: Replace set_up_scrollbar with data-simplebar attribute. 2019-05-19 18:06:38 -07:00
pointer.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
poll_widget.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
popovers.js webpack: Elide node_modules when importing JS modules. 2019-06-26 16:49:32 -07:00
presence.js presence: Use people.is_my_user_id() for check. 2019-01-03 13:49:44 -08:00
reactions.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
realm_icon.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
realm_logo.js realm_logo: Refactor `build_realm_logo_widget` function. 2019-03-14 17:05:22 -07:00
recent_senders.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
reload.js subject -> topic: Fix subject in opts. 2018-12-16 11:26:18 -08:00
reload_state.js refactor: Extract reload_state module. 2018-08-04 13:55:02 +00:00
reminder.js reminder.js: Refactor to make notify_above_composebox conditional. 2019-01-14 12:11:27 -08:00
resize.js Completely replace perfect-scrollbar with SimpleBar. 2019-05-17 12:06:51 -07:00
rows.js jQuery: Use positional methods on single selectors. 2019-06-06 15:21:26 -07:00
rtl.js rtl.js: Fix support for supplementary planes of unicode characters (>= U+10000). 2018-08-14 11:39:29 -07:00
schema.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
scroll_bar.js css: Call set_layout_width even if the sbwidth is 0. 2019-07-02 15:47:03 -07:00
scroll_util.js Completely replace perfect-scrollbar with SimpleBar. 2019-05-17 12:06:51 -07:00
search.js lint: Add eslint enforcement for comma-spacing. 2018-12-07 12:22:24 -08:00
search_pill.js search: Add a basic implementation of search pills. 2018-07-23 11:29:10 -07:00
search_pill_widget.js pills: Use `widget` instead of `my_pill` throughout the app. 2018-07-23 11:29:10 -07:00
search_suggestion.js search: Fix searching and search suggestion in Group PM. 2019-06-28 12:45:37 -07:00
search_util.js Extract search_util.js module. 2018-07-30 11:25:32 -07:00
sent_messages.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
server_events.js server_events: Fix unnecessary call to insert_new_messages. 2019-02-20 16:24:28 -08:00
server_events_dispatch.js settings: Fix sort order display settings. 2019-06-25 16:57:06 -07:00
settings.js settings: Fix sort order display settings. 2019-06-25 16:57:06 -07:00
settings_account.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
settings_bots.js org settings: Standardize strings in Other permissions section. 2019-06-12 17:02:04 -07:00
settings_display.js display settings: Deduplicate display settings click handlers. 2019-06-24 14:41:53 -07:00
settings_emoji.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
settings_invites.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
settings_linkifiers.js settings: Rename "settings_filters" to "settings_linkifiers". 2018-12-17 12:28:55 -08:00
settings_muting.js muting: Add stream_id to markup for mute settings. 2018-12-14 16:05:35 -08:00
settings_notifications.js notification settings: Reorder notification settings labels. 2019-06-14 14:13:29 -07:00
settings_org.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
settings_panel_menu.js jQuery: Remove unnecessary :first selectors. 2019-06-06 15:21:26 -07:00
settings_profile_fields.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
settings_sections.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
settings_streams.js ui: Replace set_up_scrollbar with data-simplebar attribute. 2019-05-19 18:06:38 -07:00
settings_toggle.js org_settings: Add collapse/show settings button for users and guests. 2019-05-31 22:42:02 -07:00
settings_ui.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
settings_user_groups.js lint: Add eslint enforcement for comma-spacing. 2018-12-07 12:22:24 -08:00
settings_users.js org_settings: Display delivery_email to admins always is admin UI. 2019-05-20 18:13:31 -07:00
setup.js js: Extract csrf.js and include in common bundle. 2018-12-16 16:18:42 -08:00
socket.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
starred_messages.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
stream_color.js Extract color_data.js. 2018-11-28 14:51:51 -08:00
stream_create.js streams_edit: Prevent newline characters in the description. 2019-02-20 12:27:54 -08:00
stream_data.js static/js/stream_data: Deduplicate notification setting updates. 2019-06-24 14:46:45 -07:00
stream_edit.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
stream_events.js static/js/stream_events: Deduplicate notification settings updates. 2019-06-24 14:46:45 -07:00
stream_list.js stream_list: Pinned streams are never grayed out as inactive. 2019-06-03 17:23:01 -07:00
stream_muting.js stream settings: Change settings element-id to match with pattern. 2019-06-24 14:46:22 -07:00
stream_popover.js left sidebar: Add option to toggle 'Display starred count'. 2019-05-07 10:58:12 -07:00
stream_sort.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
stream_ui_updates.js Completely replace perfect-scrollbar with SimpleBar. 2019-05-17 12:06:51 -07:00
submessage.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00
subs.js stream settings: Deduplicate stream settings click handlers. 2019-06-24 14:46:45 -07:00
tab_bar.js static/js/stream_data: Rename `in_home_view` functions. 2019-05-30 21:39:06 -07:00
templates.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
tictactoe_widget.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
timerender.js timerender.js: Remove use of legacy font awesome base class 'icon-vector'. 2018-10-15 19:22:57 +05:30
todo_widget.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
top_left_corner.js top left: Simplify markup for main links. 2019-01-30 13:53:20 -08:00
topic_data.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
topic_generator.js static/js/stream_data: Rename `in_home_view` functions. 2019-05-30 21:39:06 -07:00
topic_list.js Completely replace perfect-scrollbar with SimpleBar. 2019-05-17 12:06:51 -07:00
topic_zoom.js Have ESC zoom out topics if you're zoomed in. 2018-10-24 16:54:35 -07:00
translations.js i18n: Fix reference error for localstorage. 2018-05-30 23:28:21 +05:30
transmit.js subject -> topic: Sweep "message.subject" in frontend. 2019-01-01 20:49:38 -08:00
tsconfig.json dependencies: Upgrade typescript to 3.5.1. 2019-06-03 12:24:00 -07:00
tslint.json typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
tutorial.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
typeahead_helper.js typeahead helper: Hide email under hidden email-address-visibility cases. 2019-05-20 15:56:23 -07:00
typing.js tests: Add tests for the logic of typing_status.handle_text_input. 2019-06-06 19:56:24 -07:00
typing_data.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
typing_events.js typing_events: Make explicit call of narrow change handle function. 2018-11-29 12:36:00 -08:00
typing_status.js tests: Add tests for the logic of typing_status.handle_text_input. 2019-06-06 19:56:24 -07:00
ui.js static/js/common: Extract function `has_mac_keyboard`. 2019-06-24 14:04:42 -07:00
ui_init.js tooltips: Fix doubling of keyboard-icon. 2019-06-24 12:57:48 -07:00
ui_report.js ui_report: Remove now redundant `type` argument from `.message()`. 2019-01-17 10:28:59 -08:00
ui_util.js compose: Fix recent autocomplete regression. 2018-12-22 08:07:23 -08:00
unread.js static/js/stream_data: Rename `in_home_view` functions. 2019-05-30 21:39:06 -07:00
unread_ops.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
unread_ui.js left sidebar: Remove broken animation for new PMs. 2019-03-15 13:33:11 -07:00
upload.js uploads: Remove unusable UI elements if file uploading is disabled. 2019-05-08 17:10:07 -07:00
upload_widget.js settings: Add support for uploading logo for night mode. 2019-02-18 15:15:57 -08:00
user_events.js user_info: Add `bot_owner_id` to user info dataset. 2019-05-28 12:41:52 -07:00
user_groups.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
user_pill.js compose pill: Add has_unconverted_data() helper. 2018-10-12 11:20:30 -07:00
user_search.js refactor: Add an explicit `user_search_section`. 2019-02-11 19:12:51 -08:00
user_status.js typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
user_status_ui.js user status: Add "clear message (x)" button for status message input. 2019-05-01 16:36:45 -07:00
util.js message_edit_history: Add UI for seeing topic edits. 2019-03-25 15:10:47 -07:00
widgetize.js widgets: Rename voting_widget to poll_widget. 2018-12-16 19:46:48 -08:00
zcommand.js slash commands: Add undo for /day and /night. 2019-01-04 10:54:10 -08:00
zform.js refactor: Use explicit path when referencing handlebars templates. 2019-07-02 16:23:30 -07:00
zulip.js app: Prepare JS files for consumption by webpack. 2018-07-05 10:53:36 +02:00