JC Brand
9026062a32
Render chatbox message form via lit-html
2020-06-26 16:08:34 +02:00
JC Brand
22b2875b52
emoji-picker: Move picker content into another component
...
to avoid re-rendering them when non-relevant properties change
2020-06-25 14:31:01 +02:00
JC Brand
b7a40dad41
Add a title attribute to emojis in messages
...
so that you can see the shortname when you hover your mouse over an emoji.
2020-06-25 11:19:07 +02:00
JC Brand
1b520328fa
Wait until emojis are initialized...
...
before adding them to the message body
2020-06-25 10:27:29 +02:00
JC Brand
b3e34a0636
Turn the emoji picker into a web component
2020-06-25 10:27:29 +02:00
JC Brand
be20b8e1a0
emojis: fix rendering of custom emojis
2020-06-25 10:24:45 +02:00
Ariel Fuggini
77a0a01eff
Makes message with errors non-editable ( #2089 )
...
* Makes message with errors non-editable
2020-06-25 10:22:44 +02:00
Ariel Fuggini
346e5d896f
Updated selector
2020-06-25 10:19:56 +02:00
JC Brand
b6dabf7381
muc: Ensure that exact nicknames (and not substrings) are matched
2020-06-22 13:57:44 +02:00
JC Brand
e2fbfa7470
modtools: Better error reporting
2020-06-22 13:13:44 +02:00
JC Brand
a31d245136
Update to eslint 7.3.0
2020-06-22 11:01:19 +02:00
JC Brand
0120f78c87
modtools: Don't show admin
...
...
as assignable affiliation when the current user is an admin.
https://xmpp.org/extensions/xep-0045.html#affil-priv
2020-06-22 10:50:49 +02:00
JC Brand
7c29ae4a8a
Improve stying for /me messages
...
Show the actions dropdown on the right, like with other messages, and
don't wrap them.
2020-06-18 16:54:12 +02:00
JC Brand
0cc088a523
Use the assets_path setting for the icons sprite
2020-06-18 13:45:03 +02:00
Ariel Fuggini
73d33e1161
Makes mentions case-insensitive, plus parsing functionality refactor ( #2061 )
2020-06-18 11:19:01 +02:00
JC Brand
2009a94ba4
Update to Strophe 1.3.6
...
Fixes #2067
2020-06-15 15:39:33 +02:00
Ariel Fuggini
bab71485ca
Fixed bug
2020-06-15 14:35:42 +02:00
Ariel Fuggini
a78763b510
Focus on message textarea when pressing escape on emoji dropdown
2020-06-15 14:35:42 +02:00
JC Brand
6b55907ddd
Bugfix. Don't remove affiliated members on probe response
...
by checking for the affiliation data on the probe response presence and
not on the occupant model (which might be created from a message and
therefore not yet have up to date affiliation data).
2020-06-15 12:42:20 +02:00
JC Brand
85688d1871
Add missing event registration for the ChatBoxView
2020-06-12 15:04:10 +02:00
Ariel Fuggini
29bc4215bd
Moved event listener to title container
2020-06-12 15:03:53 +02:00
JC Brand
de583cbd32
Don't nest chat-msg__txt inside converse-chat-message-body
...
instead just set the classes directly on the custom element
As far as I can tell, this fixes #1346 (or it was fixed already)
2020-06-12 14:05:33 +02:00
JC Brand
59a5acf249
Fixes #2064 (for real this time)
2020-06-11 17:29:44 +02:00
JC Brand
80c955f267
Fix "retry" feature for message errors.
...
By registering a one-time event handler for a unique event name
2020-06-11 17:29:44 +02:00
JC Brand
abec9bc39e
Fixes #2064 and move message markup into template
...
After some back-and-forth, I think it's still better to keep markup in
templates (instead of having them directly inside the components)
becaues it makes it easier for people to modify Converse.js (at the
expense of some developer ergonomics).
2020-06-11 15:27:45 +02:00
JC Brand
cf258f0b4c
Add new public API method converse.insertInto
2020-06-10 12:42:46 +02:00
Ariel Fuggini
48fcbfa5ea
Finds names by RegExp with i
param for case insensitive
2020-06-09 10:33:21 +02:00
JC Brand
b0cb489769
Use @converse/skeletor, lodash-es and latest webpack-dev-server
2020-06-08 19:38:16 +02:00
JC Brand
b511f1d950
Updates #1896 : Use right flag to checked if message is archived
2020-06-08 12:25:49 +02:00
JC Brand
1059b30641
Use lit-html to render the toolbar
2020-06-06 23:23:12 +02:00
JC Brand
c2c1db587f
Create a component which renders message actions in a dropdown
2020-06-05 16:02:58 +02:00
JC Brand
dd7bb28d86
Report traceback when waitUntil
times out
2020-06-05 15:49:18 +02:00
JC Brand
58d018e868
Bugfix. Don't scroll down when user manually scrolled up
2020-06-05 12:01:06 +02:00
JC Brand
cf2497656a
components/message: Add fallbacks if VCard is not defined
2020-06-04 15:34:06 +02:00
JC Brand
18b0d8db3f
Don't indent followup messages when messages don't have avatars
2020-06-04 15:29:06 +02:00
JC Brand
7b0e9df41e
New config option: show_message_avatar
2020-06-04 14:27:51 +02:00
JC Brand
95b015f01a
Allow disabling of the bosh plugin
2020-06-03 17:43:57 +02:00
JC Brand
09a79d609f
Create an image picker component and use it in the profile modal
2020-06-03 13:53:52 +02:00
JC Brand
c82e3e9bda
Update api.vcard.set
to also update the VCard model
2020-06-03 13:32:44 +02:00
JC Brand
b4e4248f40
Fixes #1960
2020-06-03 13:26:38 +02:00
JC Brand
9f7b6d6fa1
Fixes #2035
2020-06-03 10:56:38 +02:00
JC Brand
88c7d49054
Fixes #2039
2020-06-03 10:52:41 +02:00
JC Brand
0f33960d5e
Dropdown doesn't hide when clicking bookmark menu item in MUC
2020-06-03 10:48:29 +02:00
JC Brand
d325059c28
Fix styling issue for the unread badge
2020-06-03 10:38:46 +02:00
JC Brand
85e9169b35
Use the API to read settings
2020-06-03 10:15:05 +02:00
JC Brand
830e060568
Rename api.settings.update
to api.settings.extend
...
This is to try and make it clearer that this method won't override
initialization settings, and is instead simply to add to the default
settings.
2020-06-03 09:32:16 +02:00
JC Brand
1ff6ced3ab
Don't override initialization settings via api.settings.update
...
This is a problem that could occur when calling converse.initialize twice
2020-06-03 09:15:35 +02:00
JC Brand
5a57ded243
Add support for the XEP-0333 displayed
chat marker
...
Credit for this work goes to @deleolajide
2020-06-01 18:01:02 +02:00
JC Brand
ac36adddfe
Re-add support for a new messages indicator
...
Fixes #2040
2020-06-01 16:52:12 +02:00
JC Brand
7651d58470
Render chat messages as web components
...
- Render chat content as a <converse-chat-content> component
- Create new component for rendering the message body
- Get rid of `showMessage` method
2020-06-01 09:53:19 +02:00