Commit Graph

2868 Commits

Author SHA1 Message Date
David Baker
f05cae71a8 Use consistent import 2023-09-22 18:05:51 +01:00
David Baker
3cd0ca205b Refactor useIsRoomE2EE
Make it take a room object rather than a room ID to avoid it depending
on a side effect, ie. if the room object input changes, the hook will be
re-run but if we can't get the room from the room ID for whatever reason,
we'd be stuck.

Also add logging on why we decided a room was e2ee.
2023-09-22 15:35:03 +01:00
David Baker
e9e37736b0
Merge pull request #1566 from vector-im/dbkr/lklogs
Capture livekit's logs in rageshakes
2023-09-22 13:13:31 +01:00
Kat Gerasimova
187a3c62f8 Remove triage automation
The triage board isn't being used, so no reason to have automation (it's also old style and should be modernised if there's interest in using it again)
2023-09-22 12:50:35 +01:00
David Baker
9bf0dc7dee Unused import 2023-09-21 16:58:02 +01:00
David Baker
9c878eab80 Capture livekit's logs in rageshakes 2023-09-21 16:50:31 +01:00
Element Translate Bot
c62a9be2e9
Translations update from Weblate (#1561)
* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (124 of 124 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/uk/

* Translated using Weblate (Slovak)

Currently translated at 100.0% (124 of 124 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/sk/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (124 of 124 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/zh_Hant/

---------

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Jozef Gaal <preklady@mayday.sk>
Co-authored-by: Jeff Huang <s8321414@gmail.com>
2023-09-21 11:38:42 +02:00
Timo
1e84e438b7
New url schema (#1554)
* new url schema

Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Robin <robin@robin.town>
2023-09-20 19:55:17 +02:00
Robin
1c41373ddd
Merge pull request #1560 from vector-im/fix-double-audio
Fix double audio tracks
2023-09-20 13:51:19 -04:00
David Baker
a5131be7c7
Merge pull request #1557 from vector-im/dbkr/fix_password_race
Fix race where app would be opened with no e2ee key
2023-09-20 18:42:35 +01:00
Robin
69bf3bd9a1 Fix double audio tracks
See comments. I'm not very happy with how this code bounces state in and out of different hooks and useEffect blocks, but as a quick fix this should work.
2023-09-20 13:26:34 -04:00
David Baker
cbf27fc887 Also use return value password in the other hook 2023-09-20 17:40:37 +01:00
David Baker
ed0059c898 Hopefully actually fix password bug 2023-09-20 17:05:10 +01:00
David Baker
fb4e0784fc
Merge pull request #1558 from vector-im/revert-1550-confined_to_room_fix
Revert "fix url by providin a last &"
2023-09-20 16:39:46 +01:00
David Baker
850cae9dfa Revert "fix url by providin a last & (#1550)"
This reverts commit 54e6fd4c07.
2023-09-20 16:31:45 +01:00
Robin
ec3783d1a6
Merge pull request #1551 from RiotTranslateBot/weblate-element-call-element-call
Translations update from Weblate
2023-09-20 11:30:32 -04:00
David Baker
4f43402299 Log an error if we don't have the key when generating a url for en e2ee room 2023-09-20 16:29:46 +01:00
Robin Townsend
12bd7f8bff Translated using Weblate (German)
Currently translated at 99.1% (123 of 124 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/de/
2023-09-20 15:26:57 +00:00
David Baker
96c6217a83 Fix race where app would be opened with no e2ee key
The key hadn't been extractwed from the URL at the point the modal
was mounted, so it just didn't get the key.
2023-09-20 16:25:02 +01:00
random
28315f237a Translated using Weblate (Italian)
Currently translated at 100.0% (123 of 123 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/it/
2023-09-20 14:55:20 +00:00
Vri
9ca2573c0f Translated using Weblate (German)
Currently translated at 100.0% (123 of 123 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/de/
2023-09-20 14:55:20 +00:00
Timo
5c377ba01d
Dont ignore rest of url (#1555)
Signed-off-by: Timo K <toger5@hotmail.de>
2023-09-20 16:26:09 +02:00
David Baker
4842b2a89b
Merge pull request #1552 from vector-im/dbkr/unsupported_browser_message
Better error for browsers that don't support e2ee
2023-09-20 14:30:22 +01:00
David Baker
5b5e62c851 i18n 2023-09-20 13:14:01 +01:00
Timo
54e6fd4c07
fix url by providin a last & (#1550)
* fix url by prvidin a last &
everything after the last & will be stripped away
-> hence we loose the last param (usually confined to room...)
-> going home kills the all the params which we need to fix!

---------

Signed-off-by: Timo K <toger5@hotmail.de>
2023-09-20 14:08:31 +02:00
David Baker
a115f0530f Better error for browsers that don't support e2ee 2023-09-20 13:05:11 +01:00
David Baker
393eeabfa8
Merge pull request #1546 from vector-im/dbkr/fix_toggle_ipad
Fix layout toggle on safari
2023-09-20 12:40:07 +01:00
fkwp
68963aa13b
Merge pull request #1541 from RiotTranslateBot/weblate-element-call-element-call
Translations update from Weblate
2023-09-20 12:24:04 +02:00
Glandos
ec11689a49 Translated using Weblate (French)
Currently translated at 100.0% (123 of 123 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/fr/
2023-09-20 09:55:48 +00:00
David Baker
d4b67015b8 Fix layout toggle on safari 2023-09-20 10:22:48 +01:00
Jeff Huang
7050eebe77 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (123 of 123 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/zh_Hant/
2023-09-20 08:37:40 +00:00
David Baker
0128fece80
Merge pull request #1533 from vector-im/dbkr/include_room_name
Include the room name in the generated URL
2023-09-20 08:40:15 +01:00
Robin
d891b23fc8
Merge pull request #1540 from RiotTranslateBot/weblate-element-call-element-call
Translations update from Weblate
2023-09-20 00:23:31 -04:00
Jozef Gaal
605a88220b Translated using Weblate (Slovak)
Currently translated at 100.0% (123 of 123 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/sk/
2023-09-20 02:57:24 +00:00
Ihor Hordiichuk
67df28d66a Translated using Weblate (Ukrainian)
Currently translated at 100.0% (123 of 123 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/uk/
2023-09-20 02:57:24 +00:00
Linerly
ed532f6f38 Translated using Weblate (Indonesian)
Currently translated at 100.0% (123 of 123 strings)

Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/id/
2023-09-20 02:57:24 +00:00
Robin
6a78440260
Merge pull request #1539 from RiotTranslateBot/weblate-element-call-element-call
Translations update from Weblate
2023-09-19 20:02:12 -04:00
Ihor Hordiichuk
3daba3a529 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-09-19 21:05:47 +00:00
David Baker
01ec38493a Be consistent with imports 2023-09-19 22:04:37 +01:00
David Baker
19bb78fbe3
Merge pull request #1534 from vector-im/dbkr/fix_groupcallroom_type
Fix a type
2023-09-19 21:57:43 +01:00
Robin
0d7d400f75
Merge pull request #1531 from vector-im/renovate/livekit-components-react-1.x-lockfile
Update dependency @livekit/components-react to v1.2.2
2023-09-19 14:44:38 -04:00
David Baker
fe9ea31149 Fix a type
This was cast because of a minor optional mismatch
2023-09-19 19:23:19 +01:00
David Baker
1ebf1bd4e6 Merge remote-tracking branch 'origin/livekit' into dbkr/include_room_name 2023-09-19 18:56:04 +01:00
David Baker
83fdb094d5 Factor out common function to generate the URLs 2023-09-19 18:55:33 +01:00
David Baker
2df95c4fe9
Merge pull request #1530 from vector-im/dbkr/no_auto_create
Don't auto create calls from visiting the URL
2023-09-19 18:47:43 +01:00
David Baker
aab27ae616 Wrong mouse event 2023-09-19 18:36:51 +01:00
David Baker
f33170f5f4 Don't reload the page 2023-09-19 18:29:09 +01:00
David Baker
a268a804bb Use compound components 2023-09-19 18:27:53 +01:00
David Baker
e604c7bcae i18n 2023-09-19 18:26:23 +01:00
David Baker
53e3cbcf61
Don't include the brand name
Co-authored-by: Robin <robin@robin.town>
2023-09-19 18:26:08 +01:00