JC Brand
8378ce739b
Remove unfurls for hyperlinks removed in a message correction
2022-09-12 10:05:54 +02:00
Keith Maika
92f71bafb2
Fix muc icons not working due to incorrect target element.
2022-09-08 11:21:53 +02:00
JC Brand
ca3c8fc10b
Fixes #3007
...
Bugfix: Links in message become text when the message is edited
2022-08-20 11:12:59 +02:00
JC Brand
97be0bd8ac
Styling: Use zero-width space and maintain position of newline char
...
Fixes #2879
2022-08-15 15:56:15 +02:00
Debanjana Sarkar
7f99b24e28
Fix for #2870
2022-08-15 15:54:29 +02:00
Keith Maika
17e5804be7
Select the immediate body, not the one in fallback.
2022-08-13 10:00:40 +02:00
Johan Oudinet
760f4f7dd1
Fix missing disco-items in session storage
...
This should fix #2925 .
2022-08-12 10:07:12 +02:00
JC Brand
7028286855
Restrict editing of MUC messages...
...
to ones with the same XEP-0421 occupant ID
2022-08-11 22:44:11 +02:00
JC Brand
f014db8b7a
Update nick
attr on ChatRoom when user nick changes
2022-08-11 10:23:16 +02:00
JC Brand
45e989f048
Move converse-oauth
to the community-plugins
repo
2022-08-09 10:42:33 +02:00
Johan Oudinet
c245599e65
docs: enable_smacks is set to true by default since v6.0.0
...
Fix #2936 .
2022-06-20 20:57:45 +02:00
Johan Oudinet
7e86c561c7
CHANGES.md: fix typo in 6.0.0 changes
2022-06-20 20:57:45 +02:00
JC Brand
6573d080e4
Message carbons
...
- Remove the `converse-carbons` plugin and make carbons part of the `converse-chat` plugin.
- Remove the `message_carbons` configuration setting. Carbons are now always enabled.
2022-05-13 10:32:54 +02:00
JC Brand
12a0d0e3cc
Show roster contacts with subscription
set to none
...
Remove the `allow_chat_pending_contacts` config option.
2022-05-13 10:19:52 +02:00
JC Brand
ab7e879261
Don't automatically convert OpenStreetMap URLs into geo:
URIs in sent messages
...
Updates #1850 and #2914
2022-05-13 10:14:31 +02:00
JC Brand
ae2bd63d8f
Release 9.1.1
2022-05-05 21:33:31 +02:00
JC Brand
3b4ef074b9
Add changelog entry for #1130
...
Fixes #1130
2022-04-30 13:21:55 +02:00
JC Brand
0260e5f803
Fix infinite loop in service discovery
...
When there is a circular dependency between disco entities (via their
advertised `disco#items`), Converse went into an infinite loop because
even though there was a check whether an entity already existed, it
failed to add newly created entities to the global
`_converse.disco_entities` collection.
2022-04-22 09:39:47 +02:00
JC Brand
e492885ac0
Set jid
as the id attribute of the VCards collection
...
This reduces lookup time for vcards greatly, since we don't can access a
map of ids instead of using `findWhere` through an array of models.
2022-04-16 00:15:27 +02:00
SilverYoCha
7cb86638b5
Fixing display problems with chatbox view with mobile view mode
2022-04-15 06:48:25 +02:00
JC Brand
2d5b0753e2
Remove local contacts not returned from a full roster response
2022-04-14 11:29:28 +02:00
JC Brand
8e1c3e47df
Improve how the muc_domain
setting is populated via disco
...
Remove brittle code that uses `querySelector` to get the rooms list model.
This code was causing a TypeError due to a race condition.
2022-04-09 10:57:55 +02:00
JC Brand
7b31f4d333
Remove allow_muc
setting
2022-04-09 09:11:54 +02:00
JC Brand
8930201b99
Fixes #2746
...
Update to latest Strophe which adds a fallback handler for unhandled incoming "get" and "set" IQs.
2022-04-08 22:17:01 +02:00
SilverYoCha
b331405658
Bugfix: selected emoji inserted into all open chat boxes
...
when in overlay view mode.
2022-04-08 08:21:19 +02:00
JC Brand
5d3895078b
Use the loading
HTML attr to lazily load images
2022-04-06 08:33:23 +02:00
JC Brand
2fa1d00fb4
Postrelease
...
- Pull first before installing node via nvm
2022-04-02 20:39:42 +02:00
JC Brand
6b1845ff39
Release 9.1.0
2022-04-02 19:31:37 +02:00
JC Brand
fca275b7c9
Refactor the login form
...
Render the form based on `api.settings` instead of its own model.
When the login form is submitted, save the JID, password and connection
URL to `api.settings`.
Set the `service` on the Strophe connection object just before
connecting for the first time, otherwise a user supplied URL (via the
login form) is never used.
New API setting: show_connection_url_input
2022-03-24 23:15:30 +01:00
JC Brand
d2622f6fed
Fixes #2557
...
Add the ability to send OMEMO corrections.
Refactor how OMEMO messages are sent to avoid having to override
`sendMessage` and thereby also allowing corrections of OMEMO messages to
be sent out.
Add two new hooks.
- getOutgoingMessageAttributes
- createMessageStanza
2022-03-13 10:02:34 +01:00
SilverYoCha
7409668a5d
Fixes #2754
2022-03-08 16:40:26 +01:00
JC Brand
9328db645d
Update to latest Skeletor
...
So that we can use the `getAll` IndexedDB method to fetch multiple
entries at once. Should result in a significant speedup.
2022-02-28 10:37:58 +01:00
JC Brand
b248803a4b
Fixes #2822
2022-02-20 19:17:52 +01:00
JC Brand
beb220f188
Updates #2781
...
Only send presence status update when a MUC is entered, and when joining
a MUC, include the `<show>` element.
2022-02-18 10:55:20 +01:00
JC Brand
9a2424fa26
Fixes #2814 . Links are mangled on open/copy
2022-02-15 14:10:40 +01:00
JC Brand
b44e1c82f0
Updates #2733
...
- Clear timer when a messages changes from epehemeral to non-ephemeral
- Set MUC occupant on `groupchat` message when `type` changes to `groupchat` (from `error`)
- Set roster contact on `chat` message when `type` changes to `chat` (from `error`)
Thanks @afriedmanGlacier
2022-02-15 12:23:46 +01:00
JC Brand
38519a6261
Updates #2733
...
Properly handle the same OMEMO message being recieved twice, with the
2nd one failing to decrypt.
2022-02-14 12:59:49 +01:00
JC Brand
7f40d1a2f2
Fix #2627
2022-02-10 13:36:22 +01:00
JC Brand
f4fdc36d31
Add modal for changing your nickname...
...
once you're already in a MUC.
2022-02-09 20:05:30 +01:00
afriedmanGlacier
3d8a583101
Wait for parseMessages before queuing to UI ( #2803 )
...
* parse messages before queuing
* update CHANGES
* remove unused variable
Co-authored-by: aFriedmanGlacier <afriedman@glaciersecurity.com>
2022-02-05 22:02:24 +01:00
JC Brand
337638034f
Fix TypeError
when trying to use @converse/headless
...
Fixes #2788
2022-02-03 12:39:59 +01:00
JC Brand
0f648ed1eb
Don't re-initialize OMEMO on reconnection
...
Promises only get recreated upon logout, not reconnection.
However OMEMO was getting re-initialized on reconnection and
`_converse.omemo_store` was also deleted.
This caused a race condition where an incoming MAM message would cause
`parseEncryptedMessage` that then throws an AttributeError because
`_converse.omemo_store` is undefined because OMEMO isn't yet
initialized.
Waiting for the `OMEMOInitialized` promise doesn't help because it's
still the old (already resolved) promise from before the reconnection.
2022-02-02 23:18:45 +01:00
JC Brand
d3fa925bff
Move reconnection code to Connection class
...
And avoid calling `tearDown` twice
2022-02-02 13:53:05 +01:00
Keith Maika
cb0b1765f3
Fix webpack configuration on Windows
2022-01-31 23:02:57 +01:00
Rob j Loranger
125f45c447
increase stanza timeout to 20s ( #2799 )
...
* increase stanza timeout to 20s
fixes issues with higher latency connections timing out fetching stanzas
2022-01-31 12:06:30 +01:00
JC Brand
4f89c4c10f
Closes #1761
2022-01-28 21:22:10 +01:00
JC Brand
818ad0955a
Add ability to switch between dark and light modes
2022-01-28 21:20:12 +01:00
Dele Olajide
c83cc69cef
Implement new hook parseMessageForCommands
for plugins to add custom commands
2022-01-27 14:34:20 +01:00
wroot
6cd05eab39
Update changelog
2022-01-10 14:54:27 +01:00
Dele Olajide
4bb4f932cf
fix #2751 - Media not rendered when Converse runs in a browser extension
2021-12-16 15:44:43 +01:00