zulip/static/js
Garvit 52069998eb compose: Preserve links when pasting html.
This uses the to-markdown.js library to do all the hard work of
parsing HTML and turning it into markdown and not e.g. uploaded files.

Tweaked by tabbott to better scope when it activates to just include
pastes of HTML content.

Fixes #5853.
2017-11-21 19:52:47 -08:00
..
portico portico: Add anchor link support to API and user docs. 2017-11-20 17:23:19 -08:00
stats lint: Ban two spaces after comma in JS code. 2017-10-18 10:22:18 -07:00
.eslintrc.json Change name of eslintrc file to .eslintrc.json 2016-11-29 08:58:39 -08:00
activity.js hotkeys: Expand collapsed sidebars when sidebar searches are initiated. 2017-11-14 11:12:13 -08:00
admin_sections.js Add UI for viewing and cancelling open Zulip invitations. 2017-10-27 13:07:43 -07:00
admin.js settings: Create UI and backend for setting signups stream. 2017-11-21 17:39:51 -08:00
alert_words_ui.js urls: Change the method for adding alert words from PUT to POST. 2017-09-26 14:00:51 -07:00
alert_words.js Highlight alert words in mentions you send to yourself. 2017-10-12 14:03:36 -07:00
attachments_ui.js settings: Enable sorting on uploads table. 2017-09-28 16:16:16 -07:00
avatar.js Add size limit for uploading user avatars and realm icons. 2017-03-07 22:13:01 -08:00
blueslip.js docs: Update links from codebase to point to ReadTheDocs. 2017-11-16 10:53:49 -08:00
bot_data.js bots: Add UI to view bot types of existing bots in "Your bots". 2017-06-15 10:08:31 -07:00
channel.js middleware: Use a proper error code on CSRF failure. 2017-07-25 14:02:12 -07:00
click_handlers.js reactions.js: Migrate webapp to use the new reactions API. 2017-11-20 15:27:20 -08:00
colorspace.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
common.js passwords: Express the quality threshold as guesses required. 2017-10-08 15:48:44 -07:00
components.js tab-switcher: Switch tabs with left/right arrows. 2017-11-08 18:13:57 -08:00
compose_actions.js compose_actions.js: Allow compose to empty narrow. 2017-06-27 14:06:59 -04:00
compose_fade.js people.js: Rename realm_get -> get_active_user_for_email. 2017-10-26 09:52:42 -07:00
compose_state.js Move insert_syntax_and_focus() to compose_ui.js. 2017-11-09 09:49:20 -08:00
compose_ui.js compose_ui: Automatically resize textarea after adding new syntax. 2017-11-21 19:52:47 -08:00
compose.js emoji: Display emoji in messages as text as well as reactions. 2017-11-15 16:59:11 -08:00
composebox_typeahead.js user-groups: Add user groups in typeahead code. 2017-11-13 11:42:17 -08:00
condense.js hotkeys: Add uncondense/collapse/uncollapse message functionality. 2017-09-06 08:53:39 -07:00
copy_and_paste.js compose: Preserve links when pasting html. 2017-11-21 19:52:47 -08:00
custom_markdown.js Remove deprecated jQuery "delegate" function. 2017-07-24 10:47:16 -07:00
debug.js webpack: Move app_debug.js to webpack bundle. 2017-06-13 12:45:40 -07:00
desktop_notifications_panel.js notification-banner: Check if mobile before displaying. 2017-10-20 13:07:40 -07:00
dict.js Add Dict.is_empty(). 2017-04-21 21:59:22 -07:00
drafts.js hotkeys: Modify draft toggle behavior. 2017-11-03 15:38:10 -07:00
dynamic_text.js js: Implement DynamicText class. 2017-05-11 17:23:53 -07:00
echo.js Highlight alert words in mentions you send to yourself. 2017-10-12 14:03:36 -07:00
emoji_picker.js Move insert_syntax_and_focus() to compose_ui.js. 2017-11-09 09:49:20 -08:00
emoji.js emoji: Allow users to change emoji set. 2017-10-28 10:38:33 -07:00
favicon.js lint: Ban two spaces after comma in JS code. 2017-10-18 10:22:18 -07:00
feature_flags.js Inline feature_flags.use_server_topic_history. 2017-09-26 13:58:54 -07:00
fenced_code.js Support special characters for code block languages. 2017-06-19 06:53:25 -04:00
filter.js Fix various typos. 2017-11-09 16:26:38 +01:00
floating_recipient_bar.js Fix outerHeight to OR with 0 to not produce NaN. 2017-07-27 14:16:57 -07:00
gear_menu.js gear_menu: Fix traceback accessing i18n before it is initialized. 2017-06-02 14:03:56 -07:00
hash_util.js lint: Ban two spaces after comma in JS code. 2017-10-18 10:22:18 -07:00
hashchange.js docs: Update links from codebase to point to ReadTheDocs. 2017-11-16 10:53:49 -08:00
hotkey.js dark-mode: Add "T" hotkey for dark mode theme. 2017-11-15 16:45:34 -08:00
hotspots.js hotspots.js: Fix timeout millisecond conversion. 2017-09-15 04:14:52 -07:00
input_pill.js input-pill: Add clean up functions. 2017-11-10 14:14:03 -08:00
integration_bot_widget.js template context: Give better names to the URLs for the API. 2017-10-30 18:29:29 -07:00
invite.js eslint: Add and enforce space-in-parens lint rule. 2017-10-06 12:36:59 -07:00
lightbox_canvas.js lightbox_canvas: Fix use of unsupported const. 2017-08-05 16:47:11 -07:00
lightbox.js lightbox: Fix repeated code in exports.open. 2017-09-10 00:40:03 -07:00
list_render.js list_render: Add sorting reversal. 2017-11-01 13:26:40 -07:00
list_util.js Extract list_util.js for navigating lists. 2017-04-05 11:53:52 -07:00
loading.js loading-spinner: Fix improper display in upload avatar setting. 2017-04-06 09:06:14 +05:30
localstorage.js localstorage: Allow regex based delete. 2017-04-26 09:11:44 -07:00
markdown.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
message_edit.js compose: Enable mention syntax when editing messages. 2017-10-12 18:08:32 -07:00
message_events.js message_edit: Fix red highlighting for messages mentioning you. 2017-10-23 11:02:30 -07:00
message_fetch.js Fix various typos. 2017-11-09 16:26:38 +01:00
message_flags.js Remove dead code: messages.flags.send_force_collapse. 2017-08-04 13:31:26 -07:00
message_list_view.js emoji: Display emoji in messages as text as well as reactions. 2017-11-15 16:59:11 -08:00
message_list.js scrolling: Fix out-of-order bug in the message list. 2017-10-11 15:57:11 -07:00
message_live_update.js avatar live updates: Do full re-render. 2017-02-22 22:46:44 -08:00
message_store.js refactor: Extract people.maybe_incr_recipient_count(). 2017-11-07 09:51:10 -08:00
message_util.js sending messages: Extract sent_messages.js. 2017-08-01 08:58:56 -07:00
message_viewport.js lint: Ban two spaces after comma in JS code. 2017-10-18 10:22:18 -07:00
muting_ui.js Inline muting_ui.mute_topic and unmute_topic. 2017-10-17 17:41:21 -07:00
muting.js Revert "muting.js: Track muted streams using stream id." 2017-05-17 07:06:32 -07:00
narrow_state.js narrow.js: Create narrowed_by_stream_reply(). 2017-06-27 14:06:59 -04:00
narrow.js urls: Move the report endpoints to be API-style routes. 2017-10-17 22:05:56 -07:00
navigate.js Have home key go to actual first message in the list. 2017-10-03 11:28:28 -07:00
notifications.js notifications: If "Notification" is undefined, just return "denied". 2017-10-23 21:29:42 -07:00
overlays.js hotkeys: Modify draft toggle behavior. 2017-11-03 15:38:10 -07:00
people.js Calculate gravatar hashes on the webapp client. 2017-11-07 10:36:02 -08:00
pm_conversations.js typeahead: Add pm_conversations module. 2017-06-01 08:05:37 +00:00
pm_list.js js: Remove a few spurious arguments. 2017-08-22 09:37:17 -07:00
pointer.js docs: Update links to ReadTheDocs to always use https. 2017-11-16 10:59:24 -08:00
popovers.js popovers: Include expanded mobile sidebars as active popovers. 2017-11-14 11:12:13 -08:00
presence.js presence: Change "unknown" to "offline". 2017-10-12 10:42:06 -07:00
reactions.js reactions.js: Migrate webapp to use the new reactions API. 2017-11-20 15:27:20 -08:00
realm_icon.js Add size limit for uploading user avatars and realm icons. 2017-03-07 22:13:01 -08:00
recent_senders.js recent_senders: Add sort by stream message recency. 2017-09-14 07:20:52 -07:00
reload.js docs: Update links from codebase to point to ReadTheDocs. 2017-11-16 10:53:49 -08:00
resize.js panels: Make them mobile responsive. 2017-10-18 21:55:43 -07:00
rows.js js: Remove a few spurious arguments. 2017-08-22 09:37:17 -07:00
rtl.js eslint: Add and enforce space-in-parens lint rule. 2017-10-06 12:36:59 -07:00
scroll_bar.js Rewrite scrollbar width check to not use jQuery. 2017-08-22 12:50:54 -07:00
search_suggestion.js eslint: Add and enforce space-in-parens lint rule. 2017-10-06 12:36:59 -07:00
search.js eslint: Add and enforce space-in-parens lint rule. 2017-10-06 12:36:59 -07:00
sent_messages.js urls: Move the report endpoints to be API-style routes. 2017-10-17 22:05:56 -07:00
server_events_dispatch.js settings: Create UI and backend for setting signups stream. 2017-11-21 17:39:51 -08:00
server_events.js Set client_gravatar=True in the webapp. 2017-11-07 16:38:14 -08:00
settings_account.js i18n: Translate strings in settings_account.js. 2017-11-07 09:52:20 -08:00
settings_bots.js bot settings: Properly hide bot_table_error. 2017-09-06 13:44:02 -07:00
settings_display.js settings: Add backend storage and interface for night mode. 2017-11-15 16:36:06 -08:00
settings_emoji.js emoji: Merge the two semantically same tips on the Custom emoji page. 2017-07-21 13:29:27 -07:00
settings_filters.js Change from deprecated $.parseJSON to JSON.parse. 2017-07-27 14:16:57 -07:00
settings_invites.js i18n: Translate deactivation errors in the webapp. 2017-11-07 09:52:20 -08:00
settings_lab.js settings: Remove save changes button from "UI settings" section. 2017-09-30 09:11:18 -07:00
settings_muting.js Extract settings_muting.js. 2017-04-06 11:28:36 -07:00
settings_notifications.js user settings: Make "Mobile push notifications always" a subsetting. 2017-09-29 17:58:41 -07:00
settings_org.js settings: Create UI and backend for setting signups stream. 2017-11-21 17:39:51 -08:00
settings_sections.js admin/settings: Lazy-load Organization sections. 2017-04-17 20:55:42 -07:00
settings_streams.js i18n: Translate deactivation errors in the webapp. 2017-11-07 09:52:20 -08:00
settings_users.js i18n: Translate deactivation errors in the webapp. 2017-11-07 09:52:20 -08:00
settings.js Use realistic filepaths in zuliprc docs and hints. 2017-11-21 07:32:24 -08:00
setup.js Fix outerHeight to OR with 0 to not produce NaN. 2017-07-27 14:16:57 -07:00
socket.js local echo: Remove buggy restart-related code. 2017-07-18 12:03:16 -07:00
stream_color.js Fix various typos. 2017-11-09 16:26:38 +01:00
stream_create.js stream_settings: Add loading spinner when creating a new stream. 2017-11-07 12:26:47 -08:00
stream_data.js Use user_ids, not emails, for bulk stream operations. 2017-10-08 12:31:12 -07:00
stream_edit.js streams: Re-render subscriber list on sub/unsub. 2017-10-18 11:45:07 -07:00
stream_events.js subs: Don't try to update stream settings UI when closed. 2017-10-23 22:44:27 -07:00
stream_list.js frontend: Remove redundant stream separator in the left sidebar. 2017-11-15 10:06:25 -08:00
stream_muting.js ui-refactor: Rename modals.js to overlays.js. 2017-05-29 11:24:46 -07:00
stream_popover.js stream_list: Use data-topic-name for topic names. 2017-08-16 18:03:44 -07:00
stream_sort.js Fix issues with left-sidebar stream search and multiple words. 2017-09-15 00:22:59 -07:00
subs.js subs: Fix exception with streams overlay open but no active stream. 2017-10-23 22:56:14 -07:00
tab_bar.js frontend: Add ability to search by "group-pm-with" search operator. 2017-09-24 11:58:48 -04:00
templates.js templates: Fix typo in error message. 2017-06-26 19:33:25 -04:00
timerender.js i18n: Do not concatenate i18n strings. 2017-09-06 07:01:43 -07:00
top_left_corner.js Extract top_left_corner.js. 2017-08-14 13:03:57 -07:00
topic_data.js Add topic_data.get_server_history(). 2017-08-08 17:07:09 -04:00
topic_generator.js hotkeys: Fix "n" key to work inside a muted stream. 2017-08-17 09:01:49 -07:00
topic_list.js left-sidebar: Remove topics help code. 2017-11-15 11:01:33 -08:00
translations.js Revert "i18n: Only load active language." 2017-10-20 10:08:17 -07:00
tutorial.js urls: Move the json/tutorial_status endpoint to be an API-style route. 2017-10-09 15:13:33 -07:00
typeahead_helper.js user-groups: Add user groups in typeahead code. 2017-11-13 11:42:17 -08:00
typing_data.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
typing_events.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
typing_status.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
typing.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
ui_init.js user-groups: Create static/js/user_groups.js. 2017-11-13 13:08:15 +05:00
ui_report.js Avoid double-escaping HTML for settings notifications. 2017-11-07 09:52:20 -08:00
ui_util.js Extract js/ui_util.js. 2017-03-19 11:05:45 -07:00
ui.js notifications: Fix realm emojis not appearing in desktop notifications. 2017-10-17 22:03:33 -07:00
unread_ops.js unread: Convert mark_topic_as_read to use stream IDs. 2017-08-15 10:40:02 -07:00
unread_ui.js bug: Show the count in the bankruptcy modal. 2017-08-17 23:30:41 -04:00
unread.js docs: Update links from codebase to point to ReadTheDocs. 2017-11-16 10:53:49 -08:00
upload_widget.js settings ui: Restrict file type for image file pickers. 2017-10-27 10:21:36 -07:00
user_events.js user_events: Fix buggy-looking logging code. 2017-08-16 16:23:41 -07:00
user_groups.js user-groups: Create static/js/user_groups.js. 2017-11-13 13:08:15 +05:00
util.js util: Remove execute_early. 2017-07-04 13:54:33 -07:00
zulip.js settings: Add backend storage and interface for night mode. 2017-11-15 16:36:06 -08:00