JC Brand
47bab27f7b
Fix JSDoc syntax error and update RELEASE.md
2021-11-29 10:11:56 +01:00
JC Brand
077162529d
Release 9.0.0
2021-11-29 10:00:38 +01:00
Siddhesh Mhadnak
32bc8917ab
Translated using Weblate (Marathi)
...
Currently translated at 5.5% (28 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/mr/
2021-11-29 09:35:28 +01:00
Kiiryth X
b418db5643
Translated using Weblate (Bulgarian)
...
Currently translated at 32.0% (163 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/bg/
2021-11-29 09:35:28 +01:00
Siw Falch
1c247969b4
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 71.1% (362 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb_NO/
2021-11-29 09:35:28 +01:00
Eric
c178cbbcd8
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (509 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/zh_Hans/
2021-11-29 09:35:28 +01:00
52871299hzy
d31f1ce317
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 99.2% (505 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/zh_Hans/
2021-11-29 09:35:28 +01:00
random r
209bea2fcc
Translated using Weblate (Italian)
...
Currently translated at 100.0% (509 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/it/
2021-11-29 09:35:28 +01:00
Kim Alvefur
c820920b2c
Translated using Weblate (Swedish)
...
Currently translated at 99.0% (504 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/sv/
2021-11-29 09:35:28 +01:00
Quentin PAGÈS
ed7efb2c61
Translated using Weblate (Occitan)
...
Currently translated at 80.5% (410 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/oc/
2021-11-29 09:35:28 +01:00
random r
801a21e049
Translated using Weblate (Italian)
...
Currently translated at 99.0% (504 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/it/
2021-11-29 09:35:28 +01:00
52871299hzy
a8a397d8b2
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 97.0% (494 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/zh_Hans/
2021-11-29 09:35:28 +01:00
Ali Frh
bdc7390eca
Translated using Weblate (Persian)
...
Currently translated at 23.9% (122 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fa/
2021-11-29 09:35:28 +01:00
Nikita Epifanov
0f99d4833e
Translated using Weblate (Russian)
...
Currently translated at 98.6% (502 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ru/
2021-11-29 09:35:28 +01:00
Jakub Tabor
b96150a629
Translated using Weblate (Polish)
...
Currently translated at 92.3% (470 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/pl/
2021-11-29 09:35:28 +01:00
Emmanuel Gil Peyrot
6001273c6f
Translated using Weblate (French)
...
Currently translated at 100.0% (509 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2021-11-29 09:35:28 +01:00
Oğuz Ersen
430f1f5a0e
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (509 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/tr/
2021-11-29 09:35:28 +01:00
Gediminas Murauskas
128079f2a4
Translated using Weblate (Lithuanian)
...
Currently translated at 64.0% (326 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/lt/
2021-11-29 09:35:28 +01:00
Xosé M
8efafc7c25
Translated using Weblate (Galician)
...
Currently translated at 100.0% (509 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/gl/
2021-11-29 09:35:28 +01:00
nautilusx
20666a334e
Translated using Weblate (German)
...
Currently translated at 100.0% (509 of 509 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/
2021-11-29 09:35:28 +01:00
JC Brand
c81841e036
Fix margin issues at different viewport sizes
2021-11-26 09:52:52 +01:00
JC Brand
3d74ed31c2
Fixes #2683 , Updates #1317
2021-11-24 22:44:02 +01:00
JC Brand
1a6a7ade73
Fixes #2715
2021-11-24 21:52:40 +01:00
JC Brand
ee4e056125
Fixes #2718 : Message is not displayed if it contains an invalid URL
2021-11-24 21:43:20 +01:00
JC Brand
e4da0f894d
MUC: Make info messages ephemeral
...
Otherwise they pollute the history and it's not easy to dedupe them
because they can be created before the MAM history is fetched.
2021-11-24 21:28:11 +01:00
JC Brand
284eccf047
Create converse-omemo-profile
component
...
Removes the need to override the ProfileModal
2021-11-24 21:14:11 +01:00
JC Brand
bad2577e5e
OMEMO Refactoring
...
When calling `getDeviceList`, wait for the devices to be fetched
Otherwise a race condition might occur, whereby a new device gets
created in the collection, and then removed again as the collection is
replaced with the values fetched from the browser-storage cache.
Also created `converse-omemo-fingerprints` component to asynchronously
render fingerprints in the user details modal. Was done as part of this
commit because due to `getDeviceList` being async, the relevant test for
the modal were also failing
2021-11-24 21:14:11 +01:00
JC Brand
9b1a7c70a3
Wait on OMEMOInitialized
promise...
...
before parsing message stanza for encryption parameters.
Otherwise we might not know what our own device-id/sid is, and therefore
can't decrypt the incoming message.
Fixes #2733
2021-11-24 21:14:11 +01:00
JC Brand
a06d180827
Could not find dependency "converse-controlbox" for plugin "converse-muc"
...
Fixes #2423
2021-11-21 12:13:13 +01:00
JC Brand
2af758e66d
Not sending headers with upload request
...
Fixes #2728
2021-11-21 11:56:53 +01:00
JC Brand
fa562cabae
Don't fetch member list if not affiliated
...
Fixes #1426
2021-11-21 11:05:23 +01:00
JC Brand
07b2425ff9
Don't show unnecessary errors for undecryptable OMEMO messages
...
As mentioned in the XEP, don't show error messages for OMEMO messages
that can't be decrypted because they were already decrypted before or
because they weren't encrypted for this device.
2021-11-20 13:43:27 +01:00
JC Brand
d48d748e30
Don't cache the most recent message.
...
Since messages are ordered by time, the call to get it isn't very
expensive and by not caching we avoid getting a stale cache value
2021-11-20 13:43:27 +01:00
JC Brand
33f3cb76ad
Use the extended MAM message data to get the sender's real JID
...
That solves the problem of not being able to look up OMEMO session data
from incoming MAM messages.
See here: https://github.com/conversejs/converse.js/issues/2241#issuecomment-974626847
Updates #2241
2021-11-20 12:50:25 +01:00
JC Brand
78846ab984
Fix: don't show avatars for followup messages
2021-11-19 23:05:16 +01:00
JC Brand
afbb46bd8c
Add converse-image
custom element
...
And use that to render images in unfurls.
This solves the issue of github URL unfurl images not having an image
extension and then being rendered as a hyperlink by `converse-rich-text`.
Instead, we know that it's supposed to be a url, so we just use `converse-image`.
2021-11-19 22:32:46 +01:00
JC Brand
ed63902ac1
Send presence status change to all connected MUCs
...
Fixes #2725
2021-11-19 21:26:35 +01:00
JC Brand
35947e3d62
Show avatars in MUC occupants sidebar
...
Fixes #1322
(Also clean up some loose threads)
2021-11-19 21:08:51 +01:00
JC Brand
bdac6f1b47
Split vcard plugin up into multiple files
2021-11-19 13:42:59 +01:00
Andy Friedman
c76e6fb86b
Compress new avatar images
2021-11-19 13:01:09 +01:00
JC Brand
664f290001
Use converse-avatar for setting avatar
2021-11-19 13:01:09 +01:00
JC Brand
c62ea03e2e
Use converse-avatar
for roster items
2021-11-19 13:01:09 +01:00
JC Brand
8db12e61bf
Use converse-avatar
and fix bug...
...
where avatar didn't show in 1:1 chat heading (due to a race condition)
2021-11-19 11:07:09 +01:00
JC Brand
f36c3fefdd
Fix the MUC occupant modal and add more info
...
Fixes #1419
2021-11-19 11:07:09 +01:00
JC Brand
a5b73f0309
Create the converse-avatar
custom element
2021-11-19 10:00:04 +01:00
JC Brand
e347621dc8
Add JSDoc example
2021-11-17 09:42:38 +01:00
JC Brand
1ee75b78b7
Replace more font icons with svg icons
...
Updates #1004
2021-11-14 22:53:04 +01:00
JC Brand
ecfc3e9fcf
Implement support for XEP-0421 occupant ids
...
This let's us populate the `from_real_jid` attribute for messages in
cases where the user's nickname has changed.
Only save the occupant-id if the MUC supports it
Store all advertised features on the `chatbox.features` model.
This allows us to look up a feature without using the async
`disco.supports` API.
Updates #2241
2021-11-06 22:25:02 +01:00
JC Brand
a60127e66f
Avoid possible exception when leaving/reconnecting in a MUC
...
- Unregister nickname before sending unavailable presence
- Send unavailable presence before destroying state
- Call `leave` after unregistering, otherwise the disco entry for the MUC gets removed in `leave` while it's still necessary to unregister
- Wrap `this.leave` in try/except in `onConnectionStatusChanged` handler
- Add new MUC connection status, `CLOSING` to avoid `this.leave()` being called when `hidden` gets set to `true` while the MUC is in the process of being closed.
2021-11-04 19:21:29 +01:00
JC Brand
2fb8ea3ea0
Only register new nick if auto_register_muc_nickname is set
2021-10-30 21:30:53 +02:00
John Spurlock
1c6ada4af8
Fix send button not working in a muc room
...
Was looking at the wrong form
2021-10-30 21:16:11 +02:00
JC Brand
ca02bdcb61
Bugfix. Use real JID when setting up a device session in a MUC
...
Thanks to @orbitz, see: https://github.com/conversejs/converse.js/issues/1481#issuecomment-509183431
Updates #1481
2021-10-30 21:14:11 +02:00
JC Brand
90d93b364a
Reregister nick when changing it in a members-only MUC
2021-10-30 20:56:23 +02:00
JC Brand
6177afd5b1
MUC: Don't send markers for non-groupchat messages.
...
I noticed that a marker was sent for an error message (created due to an
unencryptable OMEMO messages), and this caused the user to be kicked
from the MUC.
2021-10-30 20:56:23 +02:00
JC Brand
5abec5bff0
Remove tabs
2021-10-30 20:56:23 +02:00
Kim Alvefur
ec792abbda
Map XEP-0122 data types to HTML5 form field types
...
This should invoke nicer UI some browsers have for certain types, like numbers.
2021-10-26 11:57:05 +02:00
Kim Alvefur
6890da11ed
Factor out input field type mapping into a function to allow modified logic
2021-10-26 11:57:05 +02:00
JC Brand
1b31e80f25
Render MEP message reason as rich text
2021-10-21 10:43:24 +02:00
JC Brand
d2a33bc210
Add the ability to retract XEP-0316 MEP messages
2021-10-20 17:49:58 +02:00
JC Brand
3cfdf4c946
Fix trimming of chats in overlayed view mode
2021-10-14 17:49:20 +02:00
JC Brand
5a7f16b6f9
Bugfix. 'closed' value only relevant in overlayed view mode
2021-10-14 16:15:17 +02:00
JC Brand
32e521fdc7
Bugfix. MEP messages appear at bottom when returned from MAM
2021-10-13 21:14:57 +02:00
JC Brand
521f3d88d2
Move MUC MAM tests into a new file
2021-10-13 20:01:09 +02:00
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
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
286ab1ad83
Fixes #2633 .
2021-09-06 21:56:56 +02:00