JC Brand
2e393d260b
Update to @converse/skeletor 0.0.2
2020-09-18 11:34:14 +02:00
JC Brand
49cda74971
Update package-lock
2020-09-17 10:42:57 +02:00
dependabot[bot]
522e7706c1
Bump lodash from 4.17.15 to 4.17.19
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-15 15:43:41 +02:00
JC Brand
c0fc3c38f3
Bump to strophe 1.4 and add sprintf
2020-09-10 14:08:43 +02:00
JC Brand
2c042cc3fa
Fixes #2184 : Headless build relies on locale directory
...
Removed Jed from the headless build and instead let `__` call sprintf.
It's now up to downstream users for `@converse/headless` to decide
whether they want i18n support for the few translatable strings in that package
and to implement it themselves.
2020-09-10 08:55:38 +02:00
JC Brand
7c43d0435c
Refactor OMEMO.
...
- Add hooks to the stanza parsers so that plugins can do additional parsing.
- Change ChatBox instance methods to functions and use them for stanza parsing.
- Move encrypt and decrypt messages to `converse.env.omemo`
Apparently, when receving a 1:1 carbon message, a device was wrongly created
for the contact's device list, instead of our own.
2020-09-09 14:04:24 +02:00
JC Brand
4e7b29e417
Make sure initialize
can be awaited...
...
before `converse.initialize` has been called
In the process, remove other "core" promises. There is no core or
community plugins code awaiting on them and since it's possible to
call `converse.initialize` twice, I'm not sure it makes sense to even have them.
Also removed unused error class IllegalMessage.
2020-09-03 17:07:44 +02:00
JC Brand
c41bdac6c8
Some work on componentizing the minimized chats UI
2020-09-03 13:06:17 +02:00
JC Brand
d5c93eb024
Create converse-root
custom element
...
This element can be used to declaratively insert Converse into the DOM.
You can put `<converse-root>` into the DOM (e.g. by rendering it inside
a React component) before or afer Converse has loaded and/or has been
initialized.
2020-09-03 13:06:17 +02:00
JC Brand
09371712b0
Updates #1896 : Properly identify archived one-on-one messages
...
Also, rename attribute from `is_receipt_request` to `is_valid_receipt_request` to avoid confusion.
2020-08-13 11:09:22 +02:00
JC Brand
16ca8044f8
Add experimental support for running the XMPP conneciton inside a shared worker
...
Still lacks inter-tab communication to update state across tabs, i.e.
when sending a 1-on-1 message in one tab, it doesn't appear in another,
because that information is not available via the websocket connection.
- Create a new `Connection` class that extends Strophe.Connection and
move related code from `converse-core.js` into this class.
- Store the session in localStorage when using a worker
- Move XEP-0156 code to connection.js
This allows us to initialize the connection without needing to know the
domain.
2020-07-27 12:43:47 +02:00
JC Brand
945d7e9891
Update 3rd party dependencies
2020-07-22 10:04:59 +02:00
JC Brand
cb50de16e2
Update 3rd party dependencies
2020-07-20 13:19:12 +02:00
JC Brand
40587aa2e1
Fix linting error
2020-07-13 11:27:32 +02:00
JC Brand
d7bc129ce3
Get rid of Twemoji as a dependency
...
Fixes #2126
2020-07-10 11:21:45 +02:00
JC Brand
f4f183bc46
Rendeer SVG icons inline
...
to overcome cross-site restrictions on using the `use` attribute of the `<svg>` element.
2020-07-02 01:21:40 +02:00
JC Brand
694e7abe9c
Bump dependencies
2020-06-26 16:00:48 +02:00
JC Brand
bec476b601
Bump various dependencies
2020-06-25 11:19:07 +02:00
JC Brand
a31d245136
Update to eslint 7.3.0
2020-06-22 11:01:19 +02:00
JC Brand
0cc088a523
Use the assets_path setting for the icons sprite
2020-06-18 13:45:03 +02:00
JC Brand
e0be139783
Update copy-webpack-plugin to version 6.0.2
2020-06-18 13:33:56 +02:00
Ariel Fuggini
73d33e1161
Makes mentions case-insensitive, plus parsing functionality refactor ( #2061 )
2020-06-18 11:19:01 +02:00
JC Brand
2009a94ba4
Update to Strophe 1.3.6
...
Fixes #2067
2020-06-15 15:39:33 +02:00
JC Brand
80c955f267
Fix "retry" feature for message errors.
...
By registering a one-time event handler for a unique event name
2020-06-11 17:29:44 +02:00
JC Brand
3f7e5e29f3
Downgrade style-loader. Breaks font icons in dev server
2020-06-11 16:10:39 +02:00
JC Brand
9780024dc6
Bump various dependencies
2020-06-09 11:39:58 +02:00
JC Brand
b0cb489769
Use @converse/skeletor, lodash-es and latest webpack-dev-server
2020-06-08 19:38:16 +02:00
dependabot-preview[bot]
83da03d6eb
[Security] Bump websocket-extensions from 0.1.3 to 0.1.4
...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node ) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases )
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 16:02:36 +02:00
dependabot-preview[bot]
a2d33ce3b9
Bump uglify-js from 3.8.1 to 3.9.1
...
Bumps [uglify-js](https://github.com/mishoo/UglifyJS2 ) from 3.8.1 to 3.9.1.
- [Release notes](https://github.com/mishoo/UglifyJS2/releases )
- [Commits](https://github.com/mishoo/UglifyJS2/compare/v3.8.1...v3.9.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 16:01:23 +02:00
JC Brand
5a57ded243
Add support for the XEP-0333 displayed
chat marker
...
Credit for this work goes to @deleolajide
2020-06-01 18:01:02 +02:00
JC Brand
ccd817cce1
Update to latest version of karma
2020-06-01 16:04:56 +02:00
Dele Olajide
cae5e9c875
Updates #1999 - Demarcate first unread message
2020-05-13 13:39:33 +02:00
JC Brand
7ebaac0b63
Explicitly add lit-element as dependency and update lockfile
2020-05-13 12:19:01 +02:00
JC Brand
2e82b82d7f
Updated package-lock.json
2020-05-06 18:01:59 +02:00
JC Brand
089a54281e
Bump various 3rd party dependencies
2020-04-29 16:01:33 +02:00
JC Brand
0c5593ed75
Various smaller fixes
...
- Fix failing tests.
- Bump timeout for emoji tests
- Remove unused files.
- Update features section.
2020-04-28 10:42:20 +02:00
JC Brand
ad4999384d
Reduce unnecessary logging in tests
2020-04-23 13:52:21 +02:00
JC Brand
4b270359f6
Use Karma as test runner
2020-04-23 11:55:51 +02:00
JC Brand
7e23adf26f
Remove the need for require.js to run tests
2020-04-22 12:10:39 +02:00
JC Brand
65246d0041
Update Makefile
...
- Don't unnecessarily build dist files
2020-04-21 14:25:27 +02:00
JC Brand
2696c26ffb
Add new config setting allow_adhoc_commands
2020-04-17 15:01:12 +02:00
JC Brand
622abbe128
Downgrade style-loader
...
Webfonts don't load when running the dev server
2020-04-17 14:17:57 +02:00
JC Brand
5e91adbf4e
Update various 3rd party dependencies
2020-04-17 11:40:14 +02:00
JC Brand
be3cbe6dc3
Downgrade dayjs
...
Due to this bug: https://github.com/iamkun/dayjs/issues/792
2020-04-15 17:47:50 +02:00
JC Brand
0660663161
Bump various 3rd party dependencies
2020-04-15 12:31:30 +02:00
JC Brand
df304a908f
Manually merge translations from weblate
2020-04-13 14:29:39 +02:00
JC Brand
8824bb26c4
Bump various dependencies
2020-04-13 11:39:00 +02:00
JC Brand
ac4440f4bf
Update 3rd party deps and disable XEP-156 to speed up tests
2020-04-10 21:13:37 +02:00
JC Brand
5b6a69e0ab
Makefile: rebuild node-sass to fix build error on Travis
...
See: https://github.com/sass/node-sass/issues/1579#issuecomment-227663782
2020-04-07 14:13:49 +02:00
JC Brand
9c509eae4b
Update to latest sass-loader
2020-04-07 14:08:01 +02:00