xmpp.chapril.org-conversejs/src/plugins/chatview/tests
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
..
chatbox.js Breaking change: stop setting config variables on the _converse object 2021-09-21 17:08:30 +02:00
corrections.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
emojis.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
http-file-upload.js Don't render OOB url if it's the same as the body 2021-09-01 10:35:32 +02:00
markers.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
me-messages.js Split out MUC tests 2021-06-29 15:59:49 +02:00
message-audio.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
message-gifs.js Handle GIFs inside Unfurls 2021-08-03 12:14:13 +02:00
message-images.js Allow render_media setting to be an array of domains 2021-09-30 16:30:30 +02:00
message-videos.js Allow render_media setting to be an array of domains 2021-09-30 16:30:30 +02:00
messages.js Breaking change: stop setting config variables on the _converse object 2021-09-21 17:08:30 +02:00
oob.js Don't render OOB url if it's the same as the body 2021-09-01 10:35:32 +02:00
receipts.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
spoilers.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
styling.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
unreads.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00
xss.js Stop using the Jasmine "done" callback 2021-06-29 15:59:49 +02:00