JC Brand
7539fc1a6f
Move functions out of src/headless/core.js into utils
2022-12-28 21:36:40 +01:00
JC Brand
f740332e95
Fixes based on Github's code scanning results
2022-12-28 21:14:15 +01:00
JC Brand
4abc9c45d3
Exclude tests from code scanning
2022-12-28 11:49:37 +01:00
LGTM Migrator
756942d2bd
Add CodeQL workflow for GitHub code scanning
2022-12-28 11:49:37 +01:00
JC Brand
fdcab413f5
Use crypto.randomUUID()
if available
2022-12-28 11:49:37 +01:00
JC Brand
3c6dd5d0ae
Run npm update
in src/headless
2022-12-28 10:18:14 +01:00
JC Brand
3004d7bff5
Fix docs example on how to use the shared worker
2022-12-28 10:12:52 +01:00
JC Brand
6494b34da3
Don't automatically log in again if the user manually logged out
...
Fixes #2759
2022-12-28 09:57:32 +01:00
JC Brand
447fe8ba08
Refactor the code related to storing SCRAM keys
...
- No need to create a new storage mechanism, just use `persistent`.
- Store SCRAM keys per JID
- Upon succesfull login, store the current session JID, so that we know who to fetch SCRAM keys for
- Only store SCRAM keys when the device is trusted
Fixes #3001
2022-12-28 09:56:41 +01:00
based-a-tron
8ab0b718de
Added option to save SCRAM keys
2022-12-27 22:39:12 +01:00
JC Brand
97e5bb9b11
Run npm update
2022-12-27 21:12:40 +01:00
JC Brand
5f38a914b1
Update and clean up password-reset feature
...
- No need for it to be in a separate plugin
- Make all UI strings translateable
- Remove the "Are you sure?" prompt
- Add tests
Fixes #326
2022-12-27 21:07:23 +01:00
based-a-tron
fa132567da
Reworked profile modal; Added rudimentary password reset plugin
2022-12-27 12:46:29 +01:00
JC Brand
5ea00b8008
Tweak modal tab style
2022-12-27 12:46:29 +01:00
JC Brand
a76393f216
Also handle 'normal'
messages from roster contacts
2022-12-26 19:17:40 +01:00
JC Brand
739d79e90c
Fixes #2816
2022-12-20 18:05:35 +01:00
JC Brand
e63ba2075f
Use repeat
directive to render roster and MUC occupant items
...
If we don't use `repeat`, a DOM node may be reused with different state
(e.g. the `model` it receives originally changes upon next render).
https://lit.dev/docs/templates/lists/#when-to-use-map-or-repeat
Fixes #2816
2022-12-13 10:04:13 +01:00
JC Brand
8ca265d8d5
CSS: Fix color for info alerts
2022-12-02 23:55:07 +01:00
JC Brand
78a7841afb
Don't duplicate disco items across two collections
...
We now no longer have an `.items` collection on a disco entity.
Instead, add a new API method `api.disco.entities.items` should be used.
This should solve the issue of the entities disappearing when reloading
the page.
Updates #2925
2022-12-02 22:50:06 +01:00
JC Brand
4733e7f65f
Run npm update
2022-11-25 10:34:59 +01:00
JC Brand
8c84e276ff
Run npm update
2022-11-08 20:35:17 +01:00
JC Brand
a251608fc5
Fix race condition where waitUntilFeaturesDiscovered
was resolved too early
...
When calling `api.supports(feature, entity_jid)`, it checks whether the entity
supports the feature or whether any of the sub-items on the entity
supports that feature.
However, on `DiscoEntity`, the `waitUntilFeaturesDiscovered` promise
didn't wait for the items on the entity to be fetched, and was therefore
resolved too quickly.
This caused the file upload button to not render.
Updates #2925
2022-11-08 20:03:37 +01:00
dependabot[bot]
3af6168270
Bump lerna from 5.5.1 to 6.0.1
...
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna ) from 5.5.1 to 6.0.1.
- [Release notes](https://github.com/lerna/lerna/releases )
- [Changelog](https://github.com/lerna/lerna/blob/main/core/lerna/CHANGELOG.md )
- [Commits](https://github.com/lerna/lerna/commits/v6.0.1/core/lerna )
---
updated-dependencies:
- dependency-name: lerna
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 21:25:22 +01:00
dependabot[bot]
34c17a7662
Bump sass-loader from 12.6.0 to 13.1.0
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 12.6.0 to 13.1.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases )
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v12.6.0...v13.1.0 )
---
updated-dependencies:
- dependency-name: sass-loader
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 21:23:20 +01:00
dependabot[bot]
87aba699f1
Bump babel-loader from 8.2.5 to 9.1.0
...
Bumps [babel-loader](https://github.com/babel/babel-loader ) from 8.2.5 to 9.1.0.
- [Release notes](https://github.com/babel/babel-loader/releases )
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.5...v9.1.0 )
---
updated-dependencies:
- dependency-name: babel-loader
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 21:20:31 +01:00
dependabot[bot]
defe5cdcb0
Bump karma-jasmine-html-reporter from 1.7.0 to 2.0.0
...
Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter ) from 1.7.0 to 2.0.0.
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases )
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.7.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: karma-jasmine-html-reporter
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 21:17:13 +01:00
JC Brand
038a38cae0
Run npm update
2022-11-04 16:47:01 +01:00
dependabot[bot]
8aaf792c6c
Bump jsdoc from 3.6.11 to 4.0.0
...
Bumps [jsdoc](https://github.com/jsdoc/jsdoc ) from 3.6.11 to 4.0.0.
- [Release notes](https://github.com/jsdoc/jsdoc/releases )
- [Changelog](https://github.com/jsdoc/jsdoc/blob/main/CHANGES.md )
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.11...4.0.0 )
---
updated-dependencies:
- dependency-name: jsdoc
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 13:22:19 +01:00
JC Brand
659a69e7b7
Make sure a moderator can also add contacts...
...
since they can see real JIDs, even if the room is semi-anonymous.
Also made changes regarding programming style and conventions:
- Pass in `this` to the template
Recently I've started simplifying the `render` method by just
passing `this` into the template and letting the template calculate
what it needs from that.
- Don't use `bind()`
It's slow and arrow functions can be used instead.
- Don't use an i18n string inside a tagged template literal
Due to limitations with `xgettext` which cannot parse properly
inside tagged template literals
- Use snake-case for variables
2022-11-03 10:14:12 +01:00
JC Brand
ec70d4bc56
Classic theme: re-use CSS variable names
2022-11-03 09:53:06 +01:00
Simon Lipp
b0b8a3f89d
muc: add a add to contacts button
2022-11-03 09:46:06 +01:00
Simon Lipp
72be204f77
Show nickname in status if fullname is not provided
2022-11-01 14:39:10 +01:00
JC Brand
d5deed0871
Release 10.0.0
2022-10-30 17:03:41 +01:00
JC Brand
040d5bae9d
Rename CSS vars to try and get some more consistency
2022-10-30 16:51:15 +01:00
JC Brand
b2ad6e844c
Fix chat head buttons not showing
...
We need to use `converse-icon` now that the fontawesome fonts aren't
included
2022-10-30 16:51:15 +01:00
JC Brand
b4fb710d61
Fix import path
2022-10-30 11:53:15 +01:00
dependabot[bot]
a5be19ad50
Bump dayjs from 1.11.3 to 1.11.6
...
Bumps [dayjs](https://github.com/iamkun/dayjs ) from 1.11.3 to 1.11.6.
- [Release notes](https://github.com/iamkun/dayjs/releases )
- [Changelog](https://github.com/iamkun/dayjs/blob/v1.11.6/CHANGELOG.md )
- [Commits](https://github.com/iamkun/dayjs/compare/v1.11.3...v1.11.6 )
---
updated-dependencies:
- dependency-name: dayjs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-30 10:51:26 +01:00
Allan Nordhøy
6250be89ed
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 70.3% (365 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nb_NO/
2022-10-30 10:50:10 +01:00
Gediminas Murauskas
e355814da7
Translated using Weblate (Lithuanian)
...
Currently translated at 100.0% (519 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/lt/
2022-10-30 10:50:10 +01:00
SilvanaFP
1ecffd61af
Translated using Weblate (Catalan)
...
Currently translated at 85.5% (444 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ca/
2022-10-30 10:50:10 +01:00
gallegonovato
d887ea4b7b
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (519 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/es/
2022-10-30 10:50:10 +01:00
Geert van der Meer
b2943351a1
Translated using Weblate (Dutch (Belgium))
...
Currently translated at 99.2% (515 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl_BE/
2022-10-30 10:50:10 +01:00
Fotios Kolytoumpas
0b514fbc3e
Translated using Weblate (Greek)
...
Currently translated at 38.5% (200 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/el/
2022-10-30 10:50:10 +01:00
Translator
0d743d428f
Translated using Weblate (French)
...
Currently translated at 100.0% (520 of 520 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/fr/
2022-10-30 10:50:10 +01:00
Geert van der Meer
0b809049e2
Translated using Weblate (Dutch (Belgium))
...
Currently translated at 90.9% (472 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/nl_BE/
2022-10-30 10:50:10 +01:00
Artem
8b64482fd4
Translated using Weblate (Ukrainian)
...
Currently translated at 34.8% (181 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/uk/
2022-10-30 10:50:10 +01:00
Vincent L
996e47b275
Translated using Weblate (Occitan)
...
Currently translated at 78.9% (410 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/oc/
2022-10-30 10:50:10 +01:00
Jaime Marquínez Ferrándiz
c3ff3370bd
Translated using Weblate (Spanish)
...
Currently translated at 94.4% (490 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/es/
2022-10-30 10:50:10 +01:00
МАН69К
83726f0821
Translated using Weblate (Russian)
...
Currently translated at 97.8% (508 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/ru/
2022-10-30 10:50:10 +01:00
WofWca
1ef2c3b3d4
Translated using Weblate (Ukrainian)
...
Currently translated at 34.8% (181 of 519 strings)
Translation: Converse.js/Translations
Translate-URL: https://hosted.weblate.org/projects/conversejs/translations/uk/
2022-10-30 10:50:10 +01:00