Ariel Fuggini
3535d05ff5
Removes query params from urls as set in config
2020-09-01 07:12:52 +02:00
Ariel Fuggini
f88960c561
Added tests and documentation
2020-08-31 17:13:24 +02:00
Ariel Fuggini
94af11d7e3
adds setting to set non-image-extension image urls
2020-08-31 17:13:24 +02:00
JC Brand
8c799efc58
Don't minimize chats by clicking the header
...
This prevents the burger menu from opening
2020-08-24 11:28:48 +02:00
JC Brand
4927d561a5
Maintain scroll position when re-inserting #conversejs element
2020-07-29 09:56:22 +02:00
JC Brand
712e14c4ee
Render chat history when a message gets removed
2020-07-14 18:14:17 +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
e6d8634194
Emoji picker: properly insert emoji upon click
2020-07-13 10:59:57 +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
22573cf79b
Fixes #1637 aned #2130
2020-07-09 22:44:53 +02:00
JC Brand
51ad0e3708
Fix toggling of the spoiler form
2020-07-08 11:33:06 +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
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
85688d1871
Add missing event registration for the ChatBoxView
2020-06-12 15:04:10 +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
1059b30641
Use lit-html to render the toolbar
2020-06-06 23:23:12 +02:00
JC Brand
7b0e9df41e
New config option: show_message_avatar
2020-06-04 14:27:51 +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
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
JC Brand
bf4b3efa5b
Import _converse and api
2020-05-18 10:54:37 +02:00
JC Brand
7e2552bd8c
core: Allow multiple imports
2020-04-23 13:50:35 +02:00
JC Brand
edf7f6b8d3
Show status messages via object creation
2020-04-19 08:11:53 +02:00
JC Brand
8a7b25584d
Show error messages via objects
...
Instead of injecting them directly into the DOM.
2020-04-19 08:03:44 +02:00
JC Brand
78b1a5c42a
Show send button by default
2020-04-14 14:49:09 +02:00
JC Brand
8c5e4b95d0
Updates #1939 : Enable smooth scrolling for short distances
2020-04-07 13:06:37 +02:00
JC Brand
e18fe5e212
Use the getHeadingButtons
hook instead of overrides
2020-04-07 10:20:43 +02:00
Dele Olajide
10da630d8a
fix #1937 - Editing a message removes the mentions highlight ( #1938 )
...
* Fixes #1937 Editing a message removes the mentions highlight
2020-04-02 11:45:04 +02:00
JC Brand
bb9e394e93
muc: handle join/leave notifications similarly to CSNs
...
Remove the `muc_show_join_leave_status` config setting.
We don't show the optional statuses at all now.
2020-04-01 14:34:11 +02:00
JC Brand
030c26a8ab
Use api
shortcut instead of _converse.api
2020-03-31 13:16:24 +02:00
JC Brand
631b9bb438
Use the settings API for setting and getting config settings
...
This is an initial step towards no longer storing and accessing settings
directly via the `_converse` object
2020-03-31 11:57:03 +02:00
JC Brand
e3bd7b45f5
Distinguish between chat content and messages content.
...
Fixes a bug that prevented scrolling from working correctly
2020-03-24 14:34:57 +01:00
JC Brand
967154d314
Use optional chaining instead of lodash.get
2020-03-24 12:30:45 +01:00
JC Brand
7812d4e7b6
Show chat state notifications inside the scrollable area
...
Rename CSS class to conform to convention
2020-03-24 11:28:50 +01:00
JC Brand
b5d57f0ef8
Handle and render chat state notifications separately from messages
2020-03-21 17:21:53 +01:00
JC Brand
283a810d6b
Use lit-html to render chatbox outlines
2020-03-21 17:21:53 +01:00
JC Brand
b6b00887e4
Export BootstrapModal
2020-03-06 12:24:23 +01:00
Lance Stout
a6aaf3f595
Update chat state notifications when message is edited.
2020-03-03 15:24:15 +01:00
JC Brand
227b70339c
Bugfix. Retracted messages shouldn't be editable.
2020-02-18 15:45:55 +01:00
JC Brand
39d140005e
Change when/how chats are shown
...
Goal is to fix a timing bug that results in `show` being triggered
before the `ChatBoxView` has been initialized, which means that 1:1
chats aren't opened when you reload the page.
2020-02-14 11:06:04 +01:00
JC Brand
3400acbfeb
Show MUC buttons in a dropdown menu
...
- Get rid of the ChatBoxHeading class
- Add support for showing standalone buttons in overlay viewmode
2020-02-13 20:57:47 +01:00
JC Brand
893ef10563
Use lit-html to render chat head
2020-02-07 16:09:12 +01:00
JC Brand
4b3d330190
Avoid sending blur event when navigating the emoji picker
...
Also, listen to the `focusin` and `focusout` events, since they bubble,
allowing us to listen on the chatbox itself.
2020-02-05 16:08:54 +01:00
JC Brand
c6ac03e94e
Fix linting errors
2020-01-30 17:36:55 +01:00
JC Brand
11e219dd41
Update copyright
2020-01-30 17:36:55 +01:00