JC Brand
2dbe50fc97
Refactor converse-muc-sidebar
...
- To only take the MUC JID as attribute
- To be responsible for closing itself
2021-03-11 11:34:52 +01:00
JC Brand
349b6d616d
Move functions for resizing the MUC sidebar to converse-muc-chatarea
2021-03-11 11:22:46 +01:00
JC Brand
4ca30c4b93
Create converse-muc-chatarea
component
2021-03-11 10:26:09 +01:00
JC Brand
4fd848ff3e
Bugfix. Use init settings to check for test env
2021-03-10 12:39:17 +01:00
JC Brand
d3ab68011a
Split core.js file into multiple smaller ones
...
Update storing of app settings. Store settings in a closured
`app_settings` object inside `@converse/headless/shared/settings`
Remove the `_converse.settings` object.
2021-03-09 14:11:28 +01:00
JC Brand
a921e303ac
Make sure chat scrolls down once image has loaded
2021-03-08 16:54:09 +01:00
JC Brand
0d9c7bade3
Don't propagate paste events in chat textarea
2021-03-08 11:20:32 +01:00
JC Brand
b19a1e79f5
Security fix update for uri.js
2021-03-08 11:20:07 +01:00
JC Brand
051eeb9980
Don't show list dots for README sponsors
2021-03-08 09:35:44 +01:00
JC Brand
6400710b56
Add links to sponsor sites and show as list
2021-03-05 18:57:58 +01:00
JC Brand
08a47b9ad9
Fix path to logo
2021-03-05 18:46:21 +01:00
JC Brand
68d461bd42
Add the ability to show/hide unfurls
2021-03-05 18:42:14 +01:00
JC Brand
a24aa1487e
Add mailbox.org as sponsor
2021-03-05 15:28:23 +01:00
JC Brand
541613d1fe
Add more OGP metadata attributes to save
2021-03-04 17:56:24 +01:00
JC Brand
19a9da3032
CSS: Don't show border on empty element
2021-03-04 16:17:19 +01:00
JC Brand
698ad90c43
Move insertIntoTextarea
methods from view to bottom panel component
...
That way we further decouple the various components and make it easier
to use them indepenent of one another.
2021-03-04 15:53:04 +01:00
JC Brand
3e5bd34141
Fixes #2381
2021-03-03 22:25:04 +01:00
JC Brand
a778f3866a
Show URL in unfurl card
2021-03-02 13:50:40 +01:00
JC Brand
c90b7a9691
Only render unfurl images from allowed domains
...
as specified by `show_images_inline` when it's set to an array of
domains.
2021-03-02 11:03:35 +01:00
JC Brand
1bd4572957
Restrict unfurl description to message_limit
setting
2021-03-02 11:03:35 +01:00
JC Brand
8dd8c7d1dd
Don't show unfurl card if there's nothing to show
2021-03-02 11:03:35 +01:00
JC Brand
64fd0ebcf6
Unfurls: Remove URL check
...
Url parameters mean that we don't get a match even when the URLs
actually match.
Could potentially use URI.js but gets cumbersome and since we restrict
to metadata coming from the MUC service (which we trust) I think it's OK
to remove it.
2021-03-02 11:03:35 +01:00
JC Brand
68ca5dd279
Unfurl: JID wasn't defined
2021-03-01 22:21:45 +01:00
JC Brand
9bac86fe1a
Don't add the same OGP metadata multiple times
2021-03-01 21:31:57 +01:00
JC Brand
16e1f95790
New config setting: muc_show_ogp_unfurls
2021-03-01 14:00:28 +01:00
JC Brand
426bf1d631
Tighten up security around unfurls
...
Dont render OGP metadata:
- for URLs not actually found in the original message
- from MUC participants (only from the MUC itself)
2021-03-01 11:35:12 +01:00
JC Brand
49837c2da4
Ensure that help messages are always shown
2021-02-24 16:34:46 +01:00
JC Brand
ce1c5ec7f6
Updates #2413
...
Wrap `history.start` in try/catch clause.
2021-02-24 15:48:11 +01:00
JC Brand
d8cab006c8
Move methods to utils
...
So that they can also be used independently of the components
2021-02-24 15:18:09 +01:00
JC Brand
d335a11119
Move more muc templates to plugin folder and use dashes
2021-02-24 09:51:37 +01:00
JC Brand
4d0012f672
Two small changes
...
- Fix controlbox spec to work with newer Jasmine
- Don't import Strophe in the non-headless code
2021-02-24 09:12:31 +01:00
JC Brand
c11b3d03f4
Make sure dist/converse-headless.min.js
gets built
...
Fixes #2377
2021-02-24 07:57:56 +01:00
JC Brand
5cab477bf4
fixes #2396 : @converse/headless wrongly depends on CustomElement
from the view layer
2021-02-24 07:36:10 +01:00
Dele Olajide
61dacfd2a5
fix #2409 - Integrate App Badging API for unread messages
2021-02-24 06:55:59 +01:00
JC Brand
8d74e063af
Don't import the entire chatview plugin for the muc-views one
2021-02-24 06:35:49 +01:00
JC Brand
ccfa00d7b8
mod_ogp now sends messages with type="groupchat"
2021-02-23 11:07:00 +01:00
JC Brand
f158a996f4
Turn converse-chatboxes plugin into folder
2021-02-22 21:07:54 +01:00
JC Brand
ae3b2c597d
Bugfix. Login form is shown after reconnection
2021-02-22 20:53:59 +01:00
JC Brand
f4bcfa5c44
Move various template files into plugin folders
2021-02-22 20:37:13 +01:00
JC Brand
16edc2954d
Add support for rendering unfurls via Prosody's mod_ogp
...
See here: https://modules.prosody.im/mod_ogp.html
2021-02-22 17:55:20 +01:00
JC Brand
c69eb6e1bf
Split ad-hoc commands code into smaller files
2021-02-16 13:51:59 +01:00
JC Brand
de4fd466dc
Move more MUC related views and components to muc-views plugin
2021-02-16 13:46:25 +01:00
JC Brand
c43969fece
Move MUC sidebar component to plugin folder
...
and fix update issue where occupants weren't being shown in the sidebar
when reloading the page
2021-02-12 15:01:00 +01:00
JC Brand
3ae71a45a2
Move chatbox template to chatview plugin folder
2021-02-12 14:38:26 +01:00
JC Brand
a8a2bb4681
Componentize the chat headings
2021-02-12 14:32:55 +01:00
JC Brand
906fa93812
MUC: combine two methods doing roughly the same thing
2021-02-12 14:32:55 +01:00
JC Brand
9ce4092a7c
Turn the bottom panel into a custom element
2021-02-12 14:32:55 +01:00
JC Brand
94bc087f50
Move MUC templates to the plugin folder
2021-02-11 20:25:20 +01:00
JC Brand
8b052e20b9
Fix tests by pinning to latest @converse/skeletor
2021-02-10 16:14:34 +01:00
JC Brand
45e0ba7f9b
Use this.listenTo
instead of api.listen.on
in components
...
So that event handlers are automatically deregistered when the component is dismounted.
2021-02-10 11:44:04 +01:00