JC Brand
d0594a6bfc
Add new test for <converse-muc>
2021-04-30 18:01:53 +02:00
JC Brand
9c11e0dc32
Use .converse-root
class instead of #conversejs
id
2021-04-30 17:36:42 +02:00
JC Brand
4bdafb8ea3
Break Sass up into more files
...
And import where appropriate to allow for custom builds that are still styled properly
2021-04-30 17:36:40 +02:00
JC Brand
8966290369
Don't make bundled dependencies devDependencies
...
Otherwise you need to manually include them in downstream consumer projects
2021-04-30 14:17:46 +02:00
Shaun Wu
9ea8653ef7
Upgrade to Webpack 3
...
Had to make various other changes due to incompatibilities.
- Use the new `lit` package instead of `lit-html` or `lit-element`
- Drop `haunted` since it breaks the rules by specifying `type: module`
but then doesn't import with file extensions
- Use Sass Dart instead of node-sass (fixes #2445 )
- Upgrade Karma
2021-04-30 13:50:50 +02:00
dependabot-preview[bot]
fe29a86af9
Upgrade to GitHub-native Dependabot
2021-04-30 09:44:05 +02:00
Shaun Wu
1cb2b1f7a9
Adding configurable url history changing
2021-04-29 11:59:28 +02:00
JC Brand
4870d41aae
Apply babel to mergebounce
2021-04-29 10:38:17 +02:00
JC Brand
754f1fcb25
Split smacks plugin up into multiple files
2021-04-28 18:50:54 +02:00
JC Brand
3d58b67517
Use @converse/openpromise
2021-04-28 18:35:08 +02:00
JC Brand
57ccf4c20e
Batched writes to IndexedDB
...
- Update to the latest @converse/skeletor (which uses mergebounce to batch writes)
- Flush storage before logging out
- Flush when reloading the tab
- Create initStorage method
2021-04-28 16:53:50 +02:00
JC Brand
4c804fcf2d
Wait on chatBoxesFetched
in API
...
Otherwise we can run into race conditions when using IndexedDB with
mergebounce
2021-04-28 12:05:40 +02:00
JC Brand
1f7fecab21
Make show_images
a prop of converse-chat-mesage-body
...
That way, when the setting changes and we call `requestUpdate` on
`converse-chat-message`, the body will rerender.
2021-04-26 12:08:16 +02:00
JC Brand
d86f3094b9
Fix failing test
2021-04-23 12:05:30 +02:00
JC Brand
4b737c1c93
Disable interval handler when running tests
2021-04-23 12:00:29 +02:00
JC Brand
ff14a706cf
Fix parameters signature for onDiscoInfoRequest
2021-04-23 11:49:45 +02:00
JC Brand
8e0701f7bb
Fix TypeError
...
The view isn't yet defined when we call `maybeFocus`. This is in any case
not the right place to call something like this.
2021-04-23 11:49:45 +02:00
JC Brand
a5d428c42d
Fix closing MUC from rooms list
...
View isn't defined if chat is in background
2021-04-23 11:42:30 +02:00
JC Brand
b2445d36d1
Bugfix. pretty_time
was undefined
2021-04-23 10:59:50 +02:00
JC Brand
db12e8a1e6
ping: use setInterval
to continuously send out pings
2021-04-22 16:27:19 +02:00
JC Brand
f7432672e4
Fix key in vcard mock data
2021-04-22 14:51:33 +02:00
JC Brand
7b49296a24
Bugfix. Avoid creating an undefined store
2021-04-22 14:47:01 +02:00
JC Brand
b678df8d23
Move tests file to plugin folder
2021-04-22 14:41:17 +02:00
JC Brand
a4b90e3ab2
Move tests to headless plugin
2021-04-21 12:25:28 +02:00
JC Brand
458c51b32d
Move tests for message image rendering to new file
2021-04-21 12:06:10 +02:00
JC Brand
6af9142810
Move ping plugin into folder
2021-04-21 11:18:48 +02:00
JC Brand
7b7ec45db8
Move disco plugin into folder and import lodash utilities separately
2021-04-21 11:03:22 +02:00
JC Brand
f283dd848e
Try to fix failing test on Travis
2021-04-20 10:39:05 +02:00
JC Brand
b2f09f64c3
Use API to get room
2021-04-19 15:23:58 +02:00
JC Brand
3558936b46
Refactor message component to require less attributes
2021-04-16 13:11:30 +02:00
JC Brand
9e90b60a4f
Add test case for #2461
2021-04-16 09:47:42 +02:00
JC Brand
a129638fd1
Move MUC styling test to plugin folder
2021-04-16 09:45:10 +02:00
ubermanu
649e813ee8
Fixes an endless loop when styling code blocks with a bad format
2021-04-16 09:44:40 +02:00
JC Brand
943ad96d52
Move tests to plugin folder
2021-04-15 16:42:10 +02:00
JC Brand
fdde708327
Add a new MUC room state: converse.ROOMSTATUS.BANNED
...
This makes it easier to distinguish between being banned from a room, or
being disconnected for other reasons.
2021-04-15 12:34:00 +02:00
JC Brand
b439ae1cc4
Bugfix. Don't set fake nick...
...
when creating occupant from affiliation change stanza.
This means that when a presence for that occupant arrives, a duplicate
occupant is created (presumably because the original can't be find due
to the wrong nick being set).
2021-04-14 18:02:41 +02:00
JC Brand
cd9977c94e
Add an API for setting affiliations
...
This allows us to set affiliations in MUCs without having to first enter
the MUC in order to create a `ChatRoom` instance.
2021-04-14 10:44:31 +02:00
JC Brand
383f5c1d60
Extract affiliation-related methods out of the ChatRoom model
...
and put them together in a utils file
2021-04-14 10:44:31 +02:00
JC Brand
13e19eb7f8
Split omemo plugin into more files
2021-04-12 05:09:44 +02:00
JC Brand
42581b1d12
Split mam-views plugin into multiple files
2021-04-11 21:12:37 +02:00
JC Brand
573cc3e8d9
Split omemo plugin up into multiple files
2021-04-11 21:12:37 +02:00
JC Brand
a67603f689
Move various tests to plugin folders
2021-04-11 21:12:37 +02:00
Giuseppe Pignataro (Fasbyte01)
2b984e7851
Translated using Weblate (Italian)
...
Currently translated at 98.0% (501 of 511 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/it/
2021-04-09 13:32:58 +02:00
Kim Alvefur
e57bc316d1
Translated using Weblate (Swedish)
...
Currently translated at 99.6% (509 of 511 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/sv/
2021-04-09 13:32:35 +02:00
Hangyu Feng
ee0628085b
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 98.0% (501 of 511 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/zh_Hans/
2021-04-09 13:31:44 +02:00
Xosé M
b24ece11e5
Translated using Weblate (Galician)
...
Currently translated at 100.0% (511 of 511 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/gl/
2021-04-09 13:31:08 +02:00
nautilusx
e5240c1a45
Translated using Weblate (German)
...
Currently translated at 100.0% (511 of 511 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/de/
2021-04-09 13:30:22 +02:00
JC Brand
00f1aae38d
Translated using Weblate (Afrikaans)
...
Currently translated at 100.0% (511 of 511 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/af/
2021-04-09 13:29:24 +02:00
JC Brand
be9db63718
Fixes #2443
2021-04-09 10:17:38 +02:00
JC Brand
548021b556
Only add view to chatboxviews
after this.model
has been set
...
Otherwise race-conditions arise where `this.model` is undefined
2021-04-08 10:17:26 +02:00