JC Brand
712e14c4ee
Render chat history when a message gets removed
2020-07-14 18:14:17 +02:00
JC Brand
6a6d080679
Open images in a modal
2020-07-14 15:45:16 +02:00
JC Brand
6b62b51f11
Don't render images via u.addHyperlinks
...
It's currently only used by the MUC header to render URLs in the subject
2020-07-14 15:44:07 +02:00
JC Brand
91c130752c
chatview: Scroll down on image load
2020-07-14 14:17:54 +02:00
JC Brand
282ffc622f
Emoji picker fixes
...
- Don't replace entire textarea when entering a second emoji
- Focus emoji picker on tab completion when it's already opened
2020-07-14 11:38:00 +02:00
JC Brand
4de9816f24
Make sure emojis are initialized before parsing a message
...
for emoji related data
2020-07-13 15:45:37 +02:00
JC Brand
3519bfe7c6
Prevent duplicate minchats element
2020-07-13 15:45:32 +02:00
JC Brand
71add9c064
minimize: avoid unnecessary re-render
2020-07-13 14:31:59 +02:00
JC Brand
8f6b1f9049
Fix help menu icon colour and let it scroll
2020-07-13 11:17:29 +02:00
JC Brand
e6d8634194
Emoji picker: properly insert emoji upon click
2020-07-13 10:59:57 +02:00
JC Brand
756a85fb53
Emoji picker: make sure search results get properly updated
2020-07-13 09:55:01 +02:00
JC Brand
43ccc09cf2
Don't assume that converse is a global
2020-07-10 14:20:02 +02:00
JC Brand
cca5c17ccb
Fix failing test due to timing issue
2020-07-10 12:38:52 +02:00
JC Brand
d9fcb2b408
Hide emoji picker when sending a message via enter
2020-07-10 11:52:33 +02:00
JC Brand
5222881690
Bugfix. Properly determine when we've scrolled to top
2020-07-10 11:22:23 +02:00
JC Brand
d7bc129ce3
Get rid of Twemoji as a dependency
...
Fixes #2126
2020-07-10 11:21:45 +02:00
JC Brand
22573cf79b
Fixes #1637 aned #2130
2020-07-09 22:44:53 +02:00
JC Brand
1269cb7252
Don't attempt to fetch a VCard if we don't have a JID
2020-07-09 22:29:06 +02:00
JC Brand
8de55ce684
Updates #2087 . Only initialize minimized chats once
...
(i.e. not on reconnection)
2020-07-09 22:21:18 +02:00
JC Brand
99195ffd07
Fixes #2087
2020-07-09 22:11:04 +02:00
JC Brand
d0ba94e9df
Replace lodash templates with lit-html
2020-07-09 22:08:23 +02:00
JC Brand
54ffd90087
Make sure the emoji picker is focused...
...
the first time it's opened
2020-07-09 21:21:17 +02:00
JC Brand
45ebc70bfe
Let escape close the emoji picker
2020-07-09 21:14:13 +02:00
JC Brand
a014eca9e7
Add a renderImage
directive which handles errors
2020-07-09 20:51:32 +02:00
JC Brand
8943609d10
Refactor the body directive
...
Changes how rich message markup is generated and kept track of.
We now have a MessageText class which subclasses String and which keeps
track of the rich markup associated with the message.
2020-07-09 20:50:25 +02:00
JC Brand
78925b011d
Updates #2126
...
Wait for emojis to be initialized before parsing MAM messages
2020-07-08 14:08:08 +02:00
JC Brand
51ad0e3708
Fix toggling of the spoiler form
2020-07-08 11:33:06 +02:00
JC Brand
4bf823f6cd
Fix show/hide of spoilers
2020-07-08 10:22:20 +02:00
JC Brand
c3d6b64f4b
Turn the chat toolbar into a component
...
- Declaratively render the emoji picker dropup
- Got rid of converse-emoji-views
- Adapt OMEMO to the new buttons stuff
- Make emojis json global, to try and speed up tests
- omemo: Move functions to the top of the module
2020-07-08 10:17:06 +02:00
JC Brand
de1cc396bb
registry: avoid registering already registered custom elements
...
which throws and error and causes tests to fail
2020-07-07 13:18:50 +02:00
Ariel Fuggini
82357f7d97
Created a web component registry and exports components as modules in order to facilitate their customization
2020-07-07 11:44:34 +02:00
JC Brand
eafa1573e7
Prefix the icon anchors to make them more unique
2020-07-02 11:56:37 +02:00
JC Brand
f4f183bc46
Rendeer SVG icons inline
...
to overcome cross-site restrictions on using the `use` attribute of the `<svg>` element.
2020-07-02 01:21:40 +02:00
JC Brand
2cb1af3dea
Assign the Skeletor Events API to CustomElement
...
So that components can use `listenTo`
2020-07-01 09:25:14 +02:00
JC Brand
4f209e9f04
Bugfix. Updates #2091
2020-06-30 14:19:46 +02:00
JC Brand
f8efd94249
Don't smooth-scroll upon first appearance of the chat
...
it's annoying in overlayed view-mode where the user might be navigating
around the site.
Fixes #2091
2020-06-30 14:11:53 +02:00
JC Brand
061142e0c3
Bugfix. Don't scroll down if the user had manually scrolled up
2020-06-29 14:56:27 +02:00
JC Brand
9392377ffd
chatview: Remove unused template and method
2020-06-26 16:08:34 +02:00
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