JC Brand
7e2dd55c16
Use api.elements.define
2022-06-19 12:12:09 +02:00
JC Brand
8dc8b1d564
Insert only the MUC JID when clicking an auto-complete suggestion
2022-06-12 10:25:41 +02:00
JC Brand
d2b4f2e0f6
MUC search: no need to first fetch the form
2022-06-12 09:59:50 +02:00
JC Brand
320f11f795
Use XMPP to search for MUCs via search.jabber.network
...
Also refactor AutoComplete somewhat to not compute `this._list` too
eagerly and to also pass the query string to `this._list`.
2022-06-11 23:43:43 +02:00
JC Brand
4237e5b3ae
Style the add-muc modal autocomplete
...
- Let it drop down to the bottom
- Add a border
- Let it scroll
2022-06-11 23:42:47 +02:00
JC Brand
8671afc4b1
Document converse-autocomplete and always add closing tag
...
Weird parsing issues happen when a closing tag is not present.
2022-06-11 23:42:47 +02:00
JC Brand
0316f073e0
Replace font icons with svg icons
2022-06-11 23:42:47 +02:00
JC Brand
1744dbc420
Move roomslist tests to the right plugin
2022-06-11 23:42:47 +02:00
JC Brand
eb8ebea920
Move bookmarks list tests into separate file
2022-06-11 23:42:47 +02:00
JC Brand
4c8bc187b2
Allow autofocus to be set on an autocomplete input
2022-06-01 22:04:43 +02:00
Sanskar Bajpai
1ad6de2dd6
AutoComplete: added converse-autocomplete
suggestion to group chat query
...
this commit introduces autocomplete feature to the muc-list group chat dialog,
previously there was only an input field which displayed hardcoded servers.
2022-05-24 17:31:24 +02:00
Sanskar Bajpai
795a9a7e3e
add-modal-test: replaced a mistyped jid
2022-05-24 17:04:38 +02:00
JC Brand
858a6051ac
Refactoring of the headlines plugins
...
- Move template to relevant plugin
- Turn ElementView into CustomElement
- Use the terminology "Headlines Feed" instead of "Headlines Box"
- Break the `converse-headlines` plugin up into multiple files
- Fix CSS styling for headlines feeds for the Dracula theme
2022-05-13 16:49:45 +02:00
eapo
52693bfc0b
Translated using Weblate (Hungarian)
...
Currently translated at 95.1% (494 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/hu/
2022-05-13 10:50:39 +02:00
HAMANO Tsukasa
79063b9993
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (519 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
2022-05-13 10:50:39 +02:00
HAMANO Tsukasa
22840f8a50
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (519 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
2022-05-13 10:50:39 +02:00
HAMANO Tsukasa
92f74b888b
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (519 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ja/
2022-05-13 10:50:39 +02:00
Emmanuel Gil Peyrot
ac241e5ed1
Translated using Weblate (French)
...
Currently translated at 99.8% (519 of 520 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2022-05-13 10:50:39 +02:00
JC Brand
6573d080e4
Message carbons
...
- Remove the `converse-carbons` plugin and make carbons part of the `converse-chat` plugin.
- Remove the `message_carbons` configuration setting. Carbons are now always enabled.
2022-05-13 10:32:54 +02:00
JC Brand
12a0d0e3cc
Show roster contacts with subscription
set to none
...
Remove the `allow_chat_pending_contacts` config option.
2022-05-13 10:19:52 +02:00
JC Brand
2a7bfd13b5
Add ability to specify group when adding contact
2022-05-13 10:18:22 +02:00
JC Brand
ab7e879261
Don't automatically convert OpenStreetMap URLs into geo:
URIs in sent messages
...
Updates #1850 and #2914
2022-05-13 10:14:31 +02:00
JC Brand
a57853156e
Use our own confirm
dialog consistently
2022-05-12 23:23:24 +02:00
JC Brand
a3c0f90476
Don't use browser's confirm
dialog when logging out
...
Refs https://github.com/conversejs/converse-desktop/issues/18
2022-05-11 09:13:17 +02:00
JC Brand
b5bcc05947
Create generatePreKeys
function
2022-05-08 23:37:47 +02:00
HAMANO Tsukasa
bd579d8613
remove unnecessary }
2022-05-08 22:46:57 +02:00
Eric
7e9861ba8f
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (417 of 417 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/zh_Hans/
2022-05-06 13:10:00 +02:00
Emmanuel Gil Peyrot
0c9fd691ac
Translated using Weblate (French)
...
Currently translated at 100.0% (417 of 417 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2022-05-06 13:09:39 +02:00
JC Brand
984386aa64
Bugfix. Add missing translations
...
Some translations were erroneously removed due to the nodeps build
contained string literals.
2022-05-06 13:02:03 +02:00
JC Brand
ae2bd63d8f
Release 9.1.1
2022-05-05 21:33:31 +02:00
Иван Иванович
5e27e27845
Translated using Weblate (Russian)
...
Currently translated at 96.5% (501 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ru/
2022-05-05 20:57:59 +02:00
Yoandry González Castro
ca9d68b99e
Translated using Weblate (Spanish)
...
Currently translated at 90.5% (470 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/es/
2022-05-05 20:57:59 +02:00
JC Brand
99c5d7a760
Fix failing test
2022-05-05 07:57:33 +02:00
JC Brand
f929f8b7f9
Bugfix. Chunks not loading when using converse.js build
...
(Although they do load when using converse.min.js)
I wasn't able to figure out why exactly, but setting `mode` to
`production` for the `converse.js` build solved the issue.
2022-05-04 21:54:51 +02:00
Eric
dbc0028880
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (519 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/zh_Hans/
2022-05-02 09:48:25 +02:00
Oğuz Ersen
f27238b76f
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (519 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/tr/
2022-05-02 09:48:25 +02:00
Xosé M
5adc39ebac
Translated using Weblate (Galician)
...
Currently translated at 100.0% (519 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/gl/
2022-05-02 09:48:25 +02:00
nautilusx
53ccc4948f
Translated using Weblate (German)
...
Currently translated at 100.0% (519 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/
2022-05-02 09:48:25 +02:00
JC Brand
1f7fe4f48e
Upgrade to Strophe 1.5.0 and upgrade various other dependencies
...
Had to add `src/strophe-shims.js` as a webpack alias to the shims.js
file in Strophe because the usage of `require` to load Node.js packags
in shims.js is causing problems with Webpack 5.
Set postcss-clean to 1.2.0 to fix the build error `node.getIterator() is
not a function`
Upgrade to latest Webpack
2022-04-28 23:53:31 +02:00
JC Brand
55d02cb37b
Update headless package-lock.json
2022-04-26 21:09:16 +02:00
JC Brand
8e612e3cd9
Bump lit, karma, prettierx and localforage-webextensionstorage-driver
2022-04-26 21:05:14 +02:00
JC Brand
0af72d41da
Fix button hover color
2022-04-26 20:45:37 +02:00
JC Brand
ebd9474ac1
Add more ways to get VCard for occupant modal
2022-04-26 20:41:04 +02:00
JC Brand
2172409fec
Set from_real_jid
on the message when its occupant is attached.
2022-04-26 20:38:20 +02:00
JC Brand
d22c063ae5
Make sure that the occupant_id
is also the id
for occupants
...
insofar we have an `occupant_id`.
We do this by subclassing `create` on the `ChatRoomOccupants` collection
and `save` on the `ChatRoomOccupant` model, to make sure that whenever
an occupant is created or saved, that the `id` matches the `occupant_id`
value if it's available.
This lets us look up the occupant via `occupant_id` via dictionary lookup,
instead of array traversal.
Another change is to save `from_real_jid` when adding an occupant to a message
2022-04-26 20:38:20 +02:00
JC Brand
b71a7ae2ac
Turn ChatRoomOccupants
and ChatRoomOccupant
into classes
2022-04-26 20:33:54 +02:00
JC Brand
6c26c1397f
Update dayjs to 1.11.1
2022-04-26 14:21:47 +02:00
JC Brand
3c2eda4a1d
Better documentation for getHeadingButtons
2022-04-25 09:58:27 +02:00
JC Brand
0a07cad2cb
Move connection api into separate file
2022-04-25 09:48:08 +02:00
JC Brand
f93b30f7b3
Show spinner in controlbox when reconnecting
2022-04-24 11:18:09 +02:00
JC Brand
1915d70c41
Turn controlbox into a Lit element
2022-04-23 12:01:41 +02:00
JC Brand
059795c0f3
No need to log cache misses
2022-04-22 10:06:08 +02:00
JC Brand
0260e5f803
Fix infinite loop in service discovery
...
When there is a circular dependency between disco entities (via their
advertised `disco#items`), Converse went into an infinite loop because
even though there was a check whether an entity already existed, it
failed to add newly created entities to the global
`_converse.disco_entities` collection.
2022-04-22 09:39:47 +02:00
Allan Nordhøy
1b60697565
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 70.9% (362 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb_NO/
2022-04-20 13:47:22 +02:00
JC Brand
fb158e418b
Show number of participants in sidebar
2022-04-20 09:59:57 +02:00
JC Brand
995cc51f99
Fix failing SMACKS test
2022-04-20 09:52:17 +02:00
JC Brand
760fa4ae63
Send out carbon IQ after stream resumption
2022-04-20 09:52:17 +02:00
JC Brand
d4382fda19
OMEMO bugfix. Don't auto-create device list without JID
2022-04-20 09:52:17 +02:00
JC Brand
4c394c072e
Don't wait for vcards before initializing the roster
2022-04-20 09:52:17 +02:00
JC Brand
699326547a
Show MUC avatar
2022-04-20 09:52:17 +02:00
JC Brand
2a9a01bc32
Fix flashing of bookmarks on page load
2022-04-19 22:52:33 +02:00
JC Brand
ce22508344
Turn bookmarks list into a Lit component
2022-04-19 21:08:52 +02:00
JC Brand
230b72139a
Set jid
as id attribute for vcards, presence and roster contacts
...
This allows models to be retrieved from a dict instead of via array
traversal.
2022-04-19 09:28:06 +02:00
JC Brand
0b168e8439
Use listenTo
2022-04-16 14:25:39 +02:00
JC Brand
e492885ac0
Set jid
as the id attribute of the VCards collection
...
This reduces lookup time for vcards greatly, since we don't can access a
map of ids instead of using `findWhere` through an array of models.
2022-04-16 00:15:27 +02:00
SilverYoCha
7cb86638b5
Fixing display problems with chatbox view with mobile view mode
2022-04-15 06:48:25 +02:00
JC Brand
2d5b0753e2
Remove local contacts not returned from a full roster response
2022-04-14 11:29:28 +02:00
JC Brand
8e1c3e47df
Improve how the muc_domain
setting is populated via disco
...
Remove brittle code that uses `querySelector` to get the rooms list model.
This code was causing a TypeError due to a race condition.
2022-04-09 10:57:55 +02:00
JC Brand
7b31f4d333
Remove allow_muc
setting
2022-04-09 09:11:54 +02:00
JC Brand
8930201b99
Fixes #2746
...
Update to latest Strophe which adds a fallback handler for unhandled incoming "get" and "set" IQs.
2022-04-08 22:17:01 +02:00
JC Brand
ad11dce92f
Call safeSave to avoid error when MUC is not yet persistable
2022-04-08 12:19:05 +02:00
JC Brand
0c049dd364
Resolve fetched promise when clearing messages
...
This fixes an issue where chats stay empty after reconnection when
`clear_messages_on_reconnection` is `true`.
2022-04-08 11:22:21 +02:00
JC Brand
ca0953e4bd
Bump urijs, skeletor and localforage-getitems
2022-04-08 11:22:15 +02:00
JC Brand
a17e8bea1c
Only warn when getting an error in safeDestroy
2022-04-08 10:58:06 +02:00
SilverYoCha
b331405658
Bugfix: selected emoji inserted into all open chat boxes
...
when in overlay view mode.
2022-04-08 08:21:19 +02:00
JC Brand
f0297fe075
Add status
and show
elements to MUC join presence in status plugin
...
and not in the muc plugin.
This decouples the plugins more. Ideally we can remove the status plugin
entirely from a customized Converse build (but we're not there yet).
2022-04-07 11:08:00 +02:00
ubermanu
5c5825fb75
Add missing headless dependencies
2022-04-06 23:16:09 +02:00
ubermanu
e0e1fd4f02
Update lock file with root node version (16.3)
2022-04-06 23:10:13 +02:00
ubermanu
5e4fa98577
Add subdir to repo information
2022-04-06 23:10:13 +02:00
ubermanu
7e18873bcd
Target to converse default export
2022-04-06 23:10:13 +02:00
ubermanu
592d982210
Include all headless files except tests
2022-04-06 23:10:13 +02:00
JC Brand
9d4382c754
Move emoji functions to utils.js
...
Also, move various emoji utility methods out of @converse/headless, and
thereby remove the dependency on lit-html
2022-04-06 23:07:16 +02:00
JC Brand
af342456c5
Add enterkeyhint
attribute to message form inputs
2022-04-06 09:55:56 +02:00
JC Brand
5d3895078b
Use the loading
HTML attr to lazily load images
2022-04-06 08:33:23 +02:00
JC Brand
32a443408a
Bugfix. GIF unfurl images not loading...
...
and causing `TypeError: this.shouldRenderMedia is not a function`
2022-04-04 16:31:32 +02:00
JC Brand
b429484501
Move csi_waiting_time
setting to the converse-status
plugin
2022-04-04 15:03:57 +02:00
JC Brand
6b1845ff39
Release 9.1.0
2022-04-02 19:31:37 +02:00
JC Brand
fb704fdf87
Don't import from i18n in headless
2022-04-02 15:55:56 +02:00
Ricky Tigg
f6a985c24f
Translated using Weblate (Finnish)
...
Currently translated at 83.5% (426 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fi/
2022-04-01 15:51:52 +02:00
Edward
44cd910154
Translated using Weblate (Romanian)
...
Currently translated at 45.0% (230 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ro/
2022-04-01 15:51:52 +02:00
Γκουλιούμης Θεόδωρος
f21fc90629
Translated using Weblate (Greek)
...
Currently translated at 0.3% (2 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/el/
2022-04-01 15:51:52 +02:00
Hasan
21fb57ecfd
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (510 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/tr/
2022-03-31 09:33:27 +02:00
Xosé M
3bb645ce24
Translated using Weblate (Galician)
...
Currently translated at 100.0% (510 of 510 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/gl/
2022-03-31 09:33:27 +02:00
JC Brand
fd991846f4
Replace ElementView
with CustomElement
for RoomsList
2022-03-30 09:50:36 +02:00
JC Brand
523566c218
Move MUC tests into their own files
2022-03-30 09:48:39 +02:00
JC Brand
c3933426b9
Refactor checkFileTypes
...
- Don't check the protocol in `checkFileTypes`, it should be doing one
thing only, and that is check whether the URL ends with a particular
file extension.
- Raise an error when a URI object can't be created from the passed in URL
Adds new function `isAllowedProtocolForMedia` which checks whether the
URL points to a file on the file system (`file:`), is in a Chrome
extension or uses HTTPs.
Use that in `shouldRenderMediaFromURL` to filter out URLs that shouldn't
be rendered.
Re-add utility methods to the `u` object so that 3rd party plugins can
use them.
2022-03-29 19:41:16 +02:00
Keith Maika
be561addfa
Fix endless loop of adding .png to image URL.
2022-03-29 19:08:39 +02:00
JC Brand
c379fe80fb
Handle 'forbidden' MUC errors with type 'cancel' and add fallthrough
2022-03-29 10:36:32 +02:00
JC Brand
5ef0f3ad5d
CSS: various color fixes between light/dark themes
2022-03-29 10:35:25 +02:00
JC Brand
d570b6095e
Don't make the connection URL input required
...
It might be that it's shown in response to a failed XEP-156 lookup
because the user mistyped.
In which case the user can just correct the JID and try again, without
entering a connection URL.
2022-03-25 08:54:38 +01:00