Commit Graph

3052 Commits

Author SHA1 Message Date
David Baker
6faceb07cd Log if password needed url encoding 2023-10-09 16:28:48 +01:00
David Baker
0892edc432 Use base64url encoding for the password param
As base64 is fairly obviously not sensible for URLs and we were not
URL encoding it so we were ending up with spaces in the URL.

Also base 64 encode the password in case, as per comment.
2023-10-09 10:08:10 +01:00
David Baker
e2abeba194
Merge pull request #1705 from vector-im/dbkr/use_secure_random
Generate call passwords with secure RNG
2023-10-06 16:20:50 +01:00
David Baker
e9798441f7 Merge remote-tracking branch 'origin/livekit' into dbkr/use_secure_random 2023-10-06 16:18:53 +01:00
David Baker
bc36acafc8
Merge pull request #1704 from vector-im/dbkr/refactor_room_create
Refactor room creation code a little
2023-10-06 16:18:18 +01:00
David Baker
f2435f1c31 More consistent variable naming 2023-10-06 16:15:16 +01:00
David Baker
715c5c73ca Merge remote-tracking branch 'origin/livekit' into dbkr/refactor_room_create 2023-10-06 15:15:30 +01:00
David Baker
be4afaeb7e
Merge pull request #1687 from vector-im/dbkr/update_default_device
Switch capture devices if the default device changes
2023-10-06 12:01:46 +01:00
David Baker
44e604aaa1
Merge pull request #1703 from vector-im/dbkr/keep_password_in_url
Keep the password in the URL
2023-10-06 10:55:12 +01:00
David Baker
87d5062d34 Don't use js-sdk's base64 encode function
It uses the NodeJS Buffer global which presumably is provided by
Webpack in element-web but isn't here, apparently.
2023-10-05 17:57:23 +01:00
David Baker
d373081db1 Generate call passwords with secure RNG 2023-10-05 17:32:43 +01:00
David Baker
6481b2f67e Merge branch 'dbkr/keep_password_in_url' into dbkr/refactor_room_create 2023-10-05 17:27:03 +01:00
David Baker
b646b0ae56 Remove extra function
that was now doing exactly the same thing as the one above it.
2023-10-05 17:25:06 +01:00
David Baker
e63721acea Refactor room creation code a little
We c+ped the code to create room passwords between two places, but we
already had a createRoom utility function that knew about e2ee.
2023-10-05 16:44:31 +01:00
David Baker
4984bd630e Keep the password in the URL
We changed our minds: people do copy the URL from the bar and
give that to people and expect it to work: it doesn't make sense
to prioritise shorter URLs over this. There's no security advantage
unless we think there's a risk someone might steal your key by taking
a photo of your monitor over your shoulder and decrypting the calls
they can't already hear by standing behind you.
2023-10-05 16:13:56 +01:00
renovate[bot]
847789dcda
Update dependency @sentry/vite-plugin to v2.8.0 (#1701)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 17:13:26 +02:00
renovate[bot]
d1cb6ee889
Update dependency vaul to ^0.7.0 (#1692)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 16:25:27 +02:00
renovate[bot]
7fbd84a63c
Update dependency vite to v4.4.11 (#1699)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 16:24:29 +02:00
Timo
63a00eef2f
await leave rtc session (#1648)
so that the widget is only getting the hangup even,
once the call has been cleaned up

Signed-off-by: Timo K <toger5@hotmail.de>
2023-10-04 18:27:07 +02:00
Timo
c18dce3617
Make sure roomAlias = null in widget mode (#1676)
Signed-off-by: Timo K <toger5@hotmail.de>
2023-10-04 15:56:57 +02:00
Stefan Ceriu
1eb2302060 Move apple-app-site-association to .well-known
https://developer.apple.com/videos/play/wwdc2019/717/

```
This file should be located at HTTPS://your domain name/.well-known/apple-app-site-association

Other paths are deprecated.
```
2023-10-04 16:40:49 +03:00
Stefan Ceriu
ad462f3d8e Fix apple-app-site-assoctiation no_universal_link query matching.
https://developer.apple.com/videos/play/wwdc2019/717/

```
You'll notice that I specify a question mark and an asterisk as the pattern from the query items value. A pattern consisting of a single asterisk matches any string, including the empty string. And a missing query item has a value equivalent to the empty string. So to match against the string that's at least one character long, I specify a question mark and then any additional characters are matched by the asterisk.
```
2023-10-04 16:40:49 +03:00
Robin
a3eb58f9fe
Merge pull request #1688 from vector-im/renovate/vite-4.x-lockfile
Update dependency vite to v4.4.10
2023-10-03 16:29:34 -04:00
Robin
50b4d61fbd
Merge pull request #1684 from RiotTranslateBot/weblate-element-call-element-call
Translations update from Weblate
2023-10-03 16:29:10 -04:00
Robin
d0eda79f27
Merge pull request #1691 from vector-im/renovate/vector-im-compound-web-0.x
Update dependency @vector-im/compound-web to ^0.5.0
2023-10-03 16:28:44 -04:00
Robin
a0cc7686b3
Merge pull request #1678 from vector-im/renovate/posthog-js-1.x-lockfile
Update dependency posthog-js to v1.81.3
2023-10-03 16:25:41 -04:00
renovate[bot]
20f96f17e4
Update dependency @vector-im/compound-web to ^0.5.0 2023-10-03 20:25:25 +00:00
random
1b109e1b3a Translated using Weblate (Italian)
Currently translated at 100.0% (121 of 121 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/it/
2023-10-03 19:43:00 +00:00
Jeff Huang
daa1fed0c0 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (121 of 121 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/zh_Hant/
2023-10-03 19:43:00 +00:00
Timo
01b2367f38
allow widget related params in the fragment (#1675)
Signed-off-by: Timo K <toger5@hotmail.de>
2023-10-03 21:35:28 +02:00
renovate[bot]
2961d588b6
Update dependency vite to v4.4.10 2023-10-03 19:29:34 +00:00
David Baker
c37b2924af Comment 2023-10-03 18:27:10 +01:00
David Baker
e0cabbc514 Switch capture devices if the default device changes
This is a bit of a hack, but is the only way I can see that we can
update to using the new default device when the OS-level default
changes. Hopefully the comments explain everything.
2023-10-03 18:22:56 +01:00
Robin
e54a1274bb
Merge pull request #1679 from vector-im/renovate/livekit-components-react-1.x-lockfile
Update dependency @livekit/components-react to v1.3.0
2023-10-03 07:54:25 -04:00
Robin
e246f3f66b
Merge pull request #1667 from vector-im/renovate/sentry-javascript-monorepo
Update sentry-javascript monorepo to v7.73.0
2023-10-03 07:52:31 -04:00
Robin
c769a1b86b
Merge pull request #1671 from vector-im/renovate/typescript-eslint-monorepo
Update typescript-eslint monorepo to v6.7.4
2023-10-03 07:51:40 -04:00
renovate[bot]
bbc58502da
Update dependency @livekit/components-react to v1.3.0 2023-10-03 11:51:28 +00:00
renovate[bot]
72ab839eff
Update dependency posthog-js to v1.81.3 2023-10-03 11:49:11 +00:00
Robin
aea404588a
Merge pull request #1677 from vector-im/renovate/node-18.x-lockfile
Update dependency @types/node to v18.18.3
2023-10-03 07:48:37 -04:00
renovate[bot]
b3c0a01429
Update dependency @types/node to v18.18.3 2023-10-02 21:25:51 +00:00
renovate[bot]
27fa35cbab
Update typescript-eslint monorepo to v6.7.4 2023-10-02 17:32:32 +00:00
Robin
f779bc26cd
Merge pull request #1666 from vector-im/renovate/i18next-parser-8.x-lockfile
Update dependency i18next-parser to v8.8.0
2023-10-02 10:36:30 -04:00
Robin
6b94e3553c
Merge pull request #1665 from RiotTranslateBot/weblate-element-call-element-call
Translations update from Weblate
2023-10-02 10:35:33 -04:00
renovate[bot]
13579d5972
Update sentry-javascript monorepo to v7.73.0 2023-10-02 14:00:44 +00:00
renovate[bot]
47c1740504
Update dependency i18next-parser to v8.8.0 2023-10-01 17:49:06 +00:00
Ihor Hordiichuk
21789f7d22 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (121 of 121 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/uk/
2023-10-01 04:26:55 +00:00
Robin
67ea390847
Merge pull request #1664 from vector-im/renovate/vite-plugin-svgr-4.x-lockfile
Update dependency vite-plugin-svgr to v4.1.0
2023-09-29 22:27:41 -04:00
Robin
e501c5305f
Merge pull request #1662 from vector-im/renovate/node-18.x-lockfile
Update dependency @types/node to v18.18.1
2023-09-29 22:26:50 -04:00
renovate[bot]
d3704dab33
Update dependency vite-plugin-svgr to v4.1.0 2023-09-29 21:28:22 +00:00
renovate[bot]
a7a2adaf6b
Update dependency @types/node to v18.18.1 2023-09-29 17:01:31 +00:00