JC Brand
3b4ef074b9
Add changelog entry for #1130
...
Fixes #1130
2022-04-30 13:21:55 +02:00
JC Brand
a3b5c58023
Bump autoprefixer to 10.4.5
2022-04-29 00:13:20 +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
e03d7bc71c
Mention Ejabberd's Converse module
2022-04-28 16:08:08 +02:00
JC Brand
828b6785b4
Bump babel-loader
, karma-jasmine
and webpack-dev-server
2022-04-26 21:39:52 +02:00
JC Brand
e06d335b7d
Bump dependencies
...
Bump `http-server`, `@babel/core`, `clean-css-cli`, `karma-chrome-launcher` and `sass`
2022-04-26 21:25:59 +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
a31f87f25b
Add documentation on writing hooks
2022-04-26 12:44:31 +02:00
JC Brand
18ca225450
Update Sass and sass-loader
2022-04-25 16:24:06 +02:00
JC Brand
fe10f2203b
Bump minimist, mini-css-extract-plugin and css-loader
2022-04-25 13:40:13 +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
35b2c247f3
Remove po2json as explicit dep. Fixes build issue
2022-04-23 12:57:41 +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
99ae9a9850
Update webpack-copy-plugin
2022-04-09 09:13:05 +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
c3e3f89e52
Update CONTRIBUTING
2022-04-07 14:21:51 +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
JC Brand
4d4e0ffc8d
Bump minimist to 1.2.6
2022-04-06 23:30:48 +02:00