JC Brand
cf8522b1ef
Fix attribute error
2021-10-04 10:56:13 +02:00
JC Brand
6cff47c6d8
Remove muc_ogp_show_unfurls
setting
...
And instead use the `render_media` setting to determine whether unfurls
should be shown.
2021-10-01 13:22:17 +02:00
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
JC Brand
be2ded3b7e
No need to pass in render_media as a prop
2021-09-29 13:19:00 +02:00
JC Brand
1809e38911
Move isUniView
function to utils
2021-09-29 12:03:21 +02:00
JC Brand
06ec539839
Update lit imports
2021-09-29 11:20:14 +02:00
JC Brand
84c6a0039c
Fix embedded, singleton mode.
...
It's now necessary to add a `converse-root` element in the DOM where you
want Converse to render (previously it was any element with the id
`#conversejs`).
Also, turned `converse-chats` element into a Lit element and re-render
`converse-root` and `converse-chats` when the `view-mode` or `singleton`
settings change. This is a step towards being able to change the view
mode on the fly and have the entire chat re-render appropriately.
Fixes #2647
2021-09-24 11:53:49 +02:00
JC Brand
5ff57258ec
Fix nickname form width
2021-09-23 22:31:30 +02:00
JC Brand
d4f6b040f3
Bugfix. Read jid from settings
...
Now that app settings are now longer saved directly on the `_converse` object
2021-09-23 22:27:49 +02:00
JC Brand
1104b28758
Bugfix. URL is passed in, not object
2021-09-23 21:56:32 +02:00
JC Brand
881a9a6d27
Re-render message if relevant config settings change
2021-09-23 21:50:24 +02:00
JC Brand
48f37aa1c0
Call initialize
in CustomElement's connectedCallback
method
2021-09-23 14:25:42 +02:00
JC Brand
7f2ab05f97
Move tests to separate file
2021-09-22 16:45:57 +02:00
JC Brand
de092f8f00
Emit events on the settings object
...
instead of on a separate object
2021-09-22 16:36:28 +02:00
JC Brand
9e48fdc91c
Emit an event when a configuration setting gets changed
2021-09-21 17:08:30 +02:00
JC Brand
05dcb4e8d7
Breaking change: stop setting config variables on the _converse object
2021-09-21 17:08:30 +02:00
JC Brand
864e8910c4
Move settings related files into one directory
2021-09-21 17:08:30 +02:00
JC Brand
efafc2d691
Allow media to be invidually shown/rendered...
...
even if the global configuration is to disallow it.
* When parsing, include all media URLs, not just the ones from allowed domains.
That makes it possible to change allowed domains on-the-fly,
while still allowing media in individual messages to be shown manually
(via the message actions dropdown).
* Merge `embed_audio`, `embed_video` and `show_images_inline` into `render_media`
* Create new config settings for allowable domains for images, video and audio
* Check the URL domain against a whitelist for the message actions dropdown
2021-09-21 17:08:30 +02:00
JC Brand
ed490fc202
Create directory for modal plugin
2021-09-20 11:13:26 +02:00
ayu
ae6dbeb287
Update vcard.js
...
Example code wouldn't work anymore.
2021-09-18 21:59:17 +02:00
JC Brand
75fee76693
Fixes #2650
2021-09-14 22:27:49 +02:00
JC Brand
caffcaaef2
Move occupant-related tests into new file
2021-09-14 22:03:10 +02:00
JC Brand
2b7624e622
Make sure all files are used when generating API docs
2021-09-14 15:04:12 +02:00
JC Brand
ad501d4309
Avoid AttributeError when _converse.disco_entities
is undefined
2021-09-13 14:23:46 +02:00
JC Brand
126fa1809e
Update changelog
2021-09-13 13:45:12 +02:00
Ariel Fuggini
d44abbb48e
Adds hook to fetchLoginCredentials function ( #2640 )
...
* Adds hook to fetchLoginCredentials function
* Adds documentation
2021-09-10 16:12:46 +02:00
JC Brand
40a49042e9
Postrelease
2021-09-09 22:43:37 +02:00
JC Brand
6b3f8a3f39
Release 8.0.1
2021-09-09 22:09:26 +02:00
Allan Nordhøy
2c1d6e3ecb
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 70.9% (362 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb_NO/
2021-09-09 21:45:42 +02:00
JC Brand
906a606010
Get rid of unnecessary specificity and functions
2021-09-09 11:35:00 +02:00
JC Brand
ef2c206507
Fix failing test
2021-09-09 11:12:31 +02:00
JC Brand
b78c19f6f2
Fix showing of HTML5 notifications for MEP messages
2021-09-08 17:30:30 +02:00
JC Brand
8aa16ea0be
Fix broken import
2021-09-08 10:52:37 +02:00
JC Brand
8d01d7a710
Use optional chaining and update changelog
2021-09-08 10:35:46 +02:00
The Stranjer
660d765c59
Ensure that the converse session is actually present ( #2636 )
...
* Ensure that the converse session is actually present before trying to get anything out of it
* Update changelog
2021-09-08 10:32:59 +02:00
JC Brand
8f34065fc0
Also create MEP messages received from a MAM archive
2021-09-08 10:22:26 +02:00
JC Brand
f40a8f69ae
Don't show minimized chats when logged out
2021-09-06 22:08:36 +02:00
JC Brand
0950555b49
Fix loading of CSS
2021-09-06 22:07:51 +02:00
JC Brand
286ab1ad83
Fixes #2633 .
2021-09-06 21:56:56 +02:00
JC Brand
90cac3ecae
Fixes #2326 : 404 for asset /logo/conversejs-filled.svg
2021-09-06 21:29:35 +02:00
JC Brand
f04a376653
Fixes #2628 : Open bookmarks toggle emits an error
2021-09-06 21:29:35 +02:00
JC Brand
b75e67fafa
Fixes #2629 OMEMO button tooltip is wrong in private chat
2021-09-06 20:59:26 +02:00
JC Brand
8854f67c20
Bugfix: Image previews not loading when not serving Converse locally
...
Fixes #2634
2021-09-06 20:00:01 +02:00
JC Brand
9b4ce0011e
Postrelease
2021-09-04 09:42:45 +02:00
JC Brand
c03bc7d600
Prepare release 8.0.0
2021-09-03 15:40:11 +02:00
random r
8f2f3e6498
Translated using Weblate (Italian)
...
Currently translated at 100.0% (510 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/it/
2021-09-03 14:44:41 +02:00
ButterflyOfFire
730cb9c822
Translated using Weblate (Arabic)
...
Currently translated at 69.8% (356 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ar/
2021-09-03 14:44:41 +02:00
Tymofii Lytvynenko
acbd6000fc
Translated using Weblate (Ukrainian)
...
Currently translated at 33.7% (172 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/uk/
2021-09-03 14:44:41 +02:00
Xosé M
e80a12a8a4
Translated using Weblate (Galician)
...
Currently translated at 100.0% (510 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/gl/
2021-09-03 14:44:41 +02:00
Quentin PAGÈS
a21abae5f6
Translated using Weblate (Occitan)
...
Currently translated at 81.5% (416 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/oc/
2021-09-03 14:38:43 +02:00