JC Brand
8378ce739b
Remove unfurls for hyperlinks removed in a message correction
2022-09-12 10:05:54 +02:00
JC Brand
f9e6c3ff95
Fix groups auto-complete for add-contact modal
2022-09-12 09:28:37 +02:00
JC Brand
98ae55790d
Add a list
property to the converse-autocomplete
component
...
This can be used instead of the `getAutoCompleteList` function and
avoids unnecessary computation.
2022-09-10 15:20:05 +02:00
JC Brand
bb0ad432b2
Move add-contact modal to the rosterview plugin
2022-09-10 14:46:32 +02:00
JC Brand
55e3417df3
Move user settings modal to profile plugin
2022-09-10 14:37:01 +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
f1734dbb40
Bugfix. Trim whitespace after JID
2022-09-06 13:45:30 +02:00
JC Brand
0489e0f902
Remove unused function
2022-09-01 17:28:29 +02:00
JC Brand
0aa66fee99
CSS Fixes.
...
- Remove max height for MUC heading, otherwise subject text can get cut off
- Fix offset in mobile due to the background image
2022-08-27 16:40:13 +02:00
JC Brand
ed1099490c
Fix bug where auto-complete list would jump to top
2022-08-26 23:19:08 +02:00
JC Brand
a74bbd093f
Improve rendering of add-muc autocomplete suggestions
2022-08-26 22:58:46 +02:00
JC Brand
8ae4b6abd4
MUC: Set occupant ID from reflected message
2022-08-21 17:33:35 +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
e8b9681a15
MAM: Always query for newest MAM messages after cached ones have been fetched
...
The `_converse.connection.restored` check ensured that 1:1 chats
manually opened after tab reload would never get their MAM messages
fetched 🤦
2022-08-17 13:53:31 +02:00
JC Brand
51516e38f6
Remove duplicate trigger of afterMessagesFetched
2022-08-17 13:38:57 +02:00
JC Brand
de72d6bae3
MUC: Move constants to separate file
2022-08-17 12:53:41 +02:00
JC Brand
0d9561e666
MUC: When closing, only send read marker if we were entered
...
When using RAI, it's possible to close a MUC without it being entered.
2022-08-17 12:49:44 +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
JC Brand
fd9e41a917
Fix failing test.
...
The fix from @joudinet was to call `this.items.create` on `DiscoEntity`,
however we still need to pass in the same `entity` model as before so that both
collections (`this.items` and `_converse.disco_entities`) have a
referene to the same model.
That way, when attributes like `.identities` are added on the entity,
it's available from both `this.items` and `_converse.disco_entities`.
2022-08-12 10:27:09 +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
5231262bda
Take from_real_jid
into account when determining sender
...
of MUC messages.
This is safer than simply checking nicknames when the XEP-0421 occupant-id is not
available.
2022-08-12 09:43:49 +02:00
JC Brand
34927b5b77
Use occupant_id
to get own occupant O(1) if available
2022-08-12 09:21:01 +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
342c75775b
Save the user's XEP-0421 occupant ID on the ChatRoom
2022-08-11 15:47:09 +02:00
JC Brand
f1cc8c85f4
Rename the stanza
TTL to stx
to avoid name clashes
2022-08-11 15:30:51 +02:00
JC Brand
c5588e3c49
MUC: Features are fetched in join
...
due to the `await this.refreshDiscoInfo()` call in `join`.
So should be safe to remove the check whether features were fetched.
2022-08-11 15:12:55 +02:00
JC Brand
3d19def3e7
Wait for emojis to be initialized before sending a message
2022-08-11 14:31:28 +02:00
JC Brand
53521c2236
Import utilty function directly and use optional chaining
2022-08-11 10:42:00 +02:00
JC Brand
22170450b4
Stop using zipObject
from lodash
2022-08-11 10:30:07 +02:00
JC Brand
f014db8b7a
Update nick
attr on ChatRoom when user nick changes
2022-08-11 10:23:16 +02:00
JC Brand
fe9345b7fc
MUC: only allow corrections with a matching sender occupant-id
...
Also, don't render messages from a sender with a different `occupant-id`
as a followup message.
2022-08-10 14:53:18 +02:00
JC Brand
d2bdce51e8
Add a tagged template literal function stanza
...
For creating XML stanzas from template literals.
2022-08-10 14:50:12 +02:00
JC Brand
cac92c3ebc
Bump copy-webpack-plugin
to 11.0.0
2022-08-09 13:33:12 +02:00
JC Brand
603f8349e8
Bump eslint and use @babel/eslint-parser
...
Also had to add a `babel.config.js` for it to work
2022-08-09 11:56:00 +02:00
JC Brand
5f6e70289b
Run npm update
to update headless deps
2022-08-09 11:06:44 +02:00
JC Brand
c716551fc8
Update postcss-loader to version 7.0.1
2022-08-09 11:00:38 +02:00
JC Brand
78634cdec3
Update deps with npm update
and then run make dev
2022-08-09 10:48:36 +02:00
JC Brand
45e989f048
Move converse-oauth
to the community-plugins
repo
2022-08-09 10:42:33 +02:00
JC Brand
0cfe2a18af
Apply eslint to all JS files in src/
2022-07-26 21:39:50 +02:00
JC Brand
71d1383604
Move code that sets active
flag on session to initSession
...
It doesn't belong in the `converse-status` plugin and the event handler
doesn't get registered when all CSI-related timeouts are set to 0.
2022-07-25 11:59:25 +02:00
JC Brand
0df1c1880e
Bump dayjs in package-lock.json
2022-07-20 09:03:03 +02:00
dependabot[bot]
06a2aac022
Bump dayjs from 1.11.1 to 1.11.3
...
Bumps [dayjs](https://github.com/iamkun/dayjs ) from 1.11.1 to 1.11.3.
- [Release notes](https://github.com/iamkun/dayjs/releases )
- [Changelog](https://github.com/iamkun/dayjs/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/iamkun/dayjs/compare/v1.11.1...v1.11.3 )
---
updated-dependencies:
- dependency-name: dayjs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 15:35:30 +02:00
JC Brand
d8ea42a845
Add XEP-372 URI as data attribute to mention element
2022-07-19 11:59:55 +02:00
JC Brand
085de8405f
Bump Lerna to 5.1.8
2022-07-19 10:47:23 +02:00
JC Brand
990aefc6cb
docs: Discourage usage of overrides and add hook to example plugin
2022-07-19 10:35:45 +02:00
JC Brand
eb29d962f5
Bugfix. Don't try to look up occupant via MUC JID
...
Also set function as class method
2022-07-18 16:19:02 +02:00
JC Brand
605c02901a
Fix yet more tests
2022-07-14 21:17:32 +02:00
JC Brand
368bcf258f
Fix failing tests
2022-07-14 20:40:58 +02:00