JC Brand
9d5d94a8f4
Update to latest Skeletor with localforage-setitems optimization
2021-03-18 16:21:15 +01:00
JC Brand
dde3ef206d
Update to Strophe with a SASL fix
2021-03-16 15:10:09 +01:00
JC Brand
b19a1e79f5
Security fix update for uri.js
2021-03-08 11:20:07 +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
9bac86fe1a
Don't add the same OGP metadata multiple times
2021-03-01 21:31:57 +01:00
JC Brand
8b052e20b9
Fix tests by pinning to latest @converse/skeletor
2021-02-10 16:14:34 +01:00
JC Brand
1949356ede
Work on turning chat views into custom elements
...
The eventual goal is to avoid UI-related stanza processing if the relevant chats
aren't in the DOM.
With the current architecture, chatboxes are created (and the stanzas
related to them processed) even if `#conversejs` isn't in the DOM.
* Initial work on making controlbox an element
* Create a shared base class
* Ceate ChatBoxViews proxy
* Update sass now that certain classes are moved to converse-chats element
2021-02-09 15:48:21 +01:00
JC Brand
9a2ded5a9a
Remove global lodash
2020-12-29 15:12:45 +01:00
JC Brand
bb3ac36098
Render the roster container and filter with lit-html
...
This is the first commit that makes use of the `ElementView` from
Skeletor, which lets us turn views into custom elements.
2020-12-28 20:56:37 +01:00
JC Brand
c457081597
WIP: Add support for XEP-437: Room Activity Indicators
...
- Send marker for last message before leaving and before subscribing to RAI
- clear cache of RAI-subscribed domains on reconnection
2020-12-14 13:11:24 +01:00
JC Brand
3b00a0e30d
Bump lit-element and xss
2020-12-10 17:29:47 +01:00
JC Brand
5a82478381
Declare sizzle as a dependency for @converse/headless
2020-12-10 17:13:40 +01:00
JC Brand
e3ebde9741
Move converse-chat plugin into folder
2020-12-07 16:30:11 +01:00
JC Brand
01e03fc677
Bump to Strophe 1.4.1
2020-12-04 14:06:04 +01:00
JC Brand
824bf2ed30
Move all plugin files to ./plugin folders
...
Rename converse-core.js to core.js
2020-12-03 16:41:15 +01:00
JC Brand
c0dc8c8915
Bump 3rd party dev dependencies
2020-12-03 12:25:43 +01:00
JC Brand
b18cc6bcc5
Move modals and their templates into ./modals/
2020-12-03 11:02:35 +01:00
JC Brand
21dfd8a325
Bugfix: Set protocol after discovering connection methods
...
Otherwise if an endpoint was passed in with `converse.initialize`, then
that endpoint's protocol is (wrongly) used.
2020-11-30 18:21:33 +01:00
JC Brand
db1905fdb6
Release 7.0.2
2020-11-23 10:18:35 +01:00
JC Brand
85375842a8
Release 7.0.1
2020-11-19 11:23:04 +01:00
JC Brand
357cad8a49
Release 7.0.0
2020-11-18 12:10:32 +01:00
JC Brand
8a857e39f4
Move tab update to notification plugin
...
Updating tab notifications is not something that should be done in the headless part of Converse.
Don't update the tab title, having a favicon is enough.
2020-11-18 10:42:31 +01:00
JC Brand
cf94a5193a
Move dependency to headless package.json
2020-11-05 14:26:04 +01:00
JC Brand
bdb347b703
Updates #1471
...
OMEMO should not be enabled if the device is not trusted and also not if
the cache gets cleared on logout.
2020-11-02 13:22:00 +01:00
JC Brand
8c1e886af9
Fixes #2302 Bookmarks get duplicated on server push
2020-10-23 16:22:40 +02:00
JC Brand
7803fd2335
Clear chat boxes when clearing cache
2020-10-20 14:28:09 +02:00
dependabot-preview[bot]
62c657beba
[Security] Bump elliptic from 6.5.2 to 6.5.3
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 10:28:07 +02:00
JC Brand
7aee9c4432
muc: simplify api.rooms
methods.
...
- Let `api.rooms.open` call `api.rooms.get` directly, instead of indirectly via `api.rooms.create`
- Remove the `createChatRoom` function
- Also strip URI parts from JID in `api.rooms.get` and use utility method for doing so
2020-10-07 15:31:13 +02:00
dependabot[bot]
1af233cc59
Bump http-proxy from 1.18.0 to 1.18.1
...
Bumps [http-proxy](https://github.com/http-party/node-http-proxy ) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases )
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-07 11:34:21 +02:00
dependabot-preview[bot]
846ef06862
[Security] Bump dot-prop from 4.2.0 to 4.2.1
...
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop ) from 4.2.0 to 4.2.1. **This update includes a security fix.**
- [Release notes](https://github.com/sindresorhus/dot-prop/releases )
- [Commits](https://github.com/sindresorhus/dot-prop/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 11:31:31 +02:00
JC Brand
383b6a27c3
Render the brand heading as a component
2020-10-02 11:44:28 +02:00
JC Brand
e761923cc9
Bump @converse/skeletor and localForage
2020-09-30 18:51:21 +02:00
JC Brand
78f8f73fea
Get rid of converse-uniview
plugin
...
Instead of overriding createChatBox, set 'hidden' flag via defaults
2020-09-21 18:08:48 +02:00
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
JC Brand
619cb8973d
Update various 3rd party dependencies
2020-04-07 13:18:55 +02:00
JC Brand
321a54323e
Allow moderators to retract their own messages...
...
when retractions are restricted to mods only
2020-03-26 10:35:08 +01:00
dependabot-preview[bot]
6a66ba7158
Bump @fortawesome/fontawesome-free from 5.9.0 to 5.13.0 ( #1921 )
...
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome ) from 5.9.0 to 5.13.0.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.9.0...5.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-25 08:47:58 +01:00
JC Brand
4727f3b3bb
Add support for optional chaining and nullish coalascing
2020-03-24 09:38:32 +01:00
JC Brand
00cac6d250
Add the ability to filter the results in the modtools modal
2020-03-23 14:34:19 +01:00
JC Brand
283a810d6b
Use lit-html to render chatbox outlines
2020-03-21 17:21:53 +01:00
dependabot-preview[bot]
dda0838a12
Bump npm from 6.13.4 to 6.14.2 ( #1906 )
...
Bumps [npm](https://github.com/npm/cli ) from 6.13.4 to 6.14.2.
- [Release notes](https://github.com/npm/cli/releases )
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md )
- [Commits](https://github.com/npm/cli/compare/v6.13.4...v6.14.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 09:06:22 +01:00
dependabot[bot]
49d8fdd237
Bump acorn from 6.2.0 to 6.4.1 ( #1911 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.2.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.2.0...6.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 14:05:57 +01:00
dependabot[bot]
da492fd753
Bump minimist from 1.2.0 to 1.2.2 ( #1912 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-17 14:03:36 +01:00
JC Brand
ca012d4479
Update to newer Skeletor.js
...
`.forEach` on a Collection no longer returns the models, so need to
update some tests.
2020-03-12 15:24:29 +01:00
JC Brand
e691d858e3
Add version number and sized images to manifest.json
2020-03-03 16:00:57 +01:00
JC Brand
2ac33c77b3
Fix linting errors
2020-02-20 19:18:06 +01:00
dependabot-preview[bot]
56cbb69ad1
Bump mini-css-extract-plugin from 0.7.0 to 0.9.0 ( #1878 )
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.7.0...v0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 13:07:14 +01:00
JC Brand
49817a850f
MUC: Queue messages received before we're ready
2020-02-20 07:13:04 +01:00
dependabot-preview[bot]
bc48e413f1
Bump bootstrap from 4.3.1 to 4.4.1 ( #1883 )
...
Bumps [bootstrap](https://github.com/twbs/bootstrap ) from 4.3.1 to 4.4.1.
- [Release notes](https://github.com/twbs/bootstrap/releases )
- [Commits](https://github.com/twbs/bootstrap/compare/v4.3.1...v4.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 14:00:46 +01:00
JC Brand
0137eb88ae
Smacks: Handle MUC messages received before the MUC exists
2020-02-19 13:39:07 +01:00
JC Brand
bcbde04530
Copy sounds dir to dist and use assets_path
for sounds_path
2020-02-16 12:30:25 +01:00