xmpp.chapril.org-conversejs/src/shared/chat
JC Brand 366932e999 Allow render_media setting to be an array of domains
This allows for more flexibility in configuring which media URLs will
automatically render and which media URLs may be manually rendered by
the user (via the message actions dropdown).

For example, suppose you want to automatically render all media URLs
from https://xmpp.org, but still allow other media (which won't render
by default) to be rendered manually by the user (by clicking the "Show
URL previews" message dropdown action).

In this case, you set `render_media` to `['xmpp.org']` and
`allowed_image_domains` to `null` or `undefined`.

Or if you want to automatically render images from xmpp.org, and
restrict the domains users might manually click to render, you can add
those extra domains to `allowed_image_domains`.
2021-09-30 16:30:30 +02:00
..
styles Render embedded media with full width in overlayed view mode 2021-06-24 16:13:02 +02:00
templates Allow render_media setting to be an array of domains 2021-09-30 16:30:30 +02:00
baseview.js Fix function not being exported 2021-06-17 16:32:58 +02:00
chat-content.js Call initialize in CustomElement's connectedCallback method 2021-09-23 14:25:42 +02:00
emoji-dropdown.js Move functions out of core.js 2021-07-19 16:40:40 +02:00
emoji-picker-content.js Use intersection observer to remember scrolling position 2021-06-03 18:24:55 +02:00
emoji-picker.js Fixes concerning dropdowns 2021-06-29 11:33:24 +02:00
help-messages.js Use DOMPurify instead of XSS.js 2021-07-15 14:16:41 +02:00
message-actions.js Allow render_media setting to be an array of domains 2021-09-30 16:30:30 +02:00
message-body.js No need to pass in render_media as a prop 2021-09-29 13:19:00 +02:00
message-history.js Add a placeholder to indicate a gap in the message history 2021-06-17 11:35:06 +02:00
message-limit.js Create converse-message-form component 2021-06-04 12:53:03 +02:00
message.js Allow render_media setting to be an array of domains 2021-09-30 16:30:30 +02:00
toolbar.js Add ability to let dropdown appear at the top, left-aligned 2021-07-01 15:23:37 +02:00
unfurl.js Re-render message if relevant config settings change 2021-09-23 21:50:24 +02:00
utils.js Fix function not being exported 2021-06-17 16:32:58 +02:00