Commit Graph

4397 Commits

Author SHA1 Message Date
Andrew Ferrazzutti
8718a7139b
Don't auto-join knock room on invite after leave (#2362)
If you send a knock that is rejected, or your knock is accepted and you
are later removed from the room, do not automatically accept subsequent
invites to that room.

Note that the auto-join behaviour happened only if the page was not
refreshed after sending a knock.
2024-05-07 16:58:30 +09:00
Andrew Ferrazzutti
94f267b93e
Add more valid rooms to the recents list (#2361)
Include:
- all rooms you are a member of
- knock rooms you've knocked on and are waiting for an invite to
- knock rooms you've been invited to in response to a knock
2024-05-07 16:57:53 +09:00
MomentQYC
2151696374
doc: Add a tip about Synapse (#2343)
Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
2024-05-06 16:33:20 +02:00
fkwp
2679948dbe
Merge pull request #2364 from element-hq/renovate/livekit-client-2.x-lockfile
Update dependency livekit-client to v2.1.3
2024-05-06 15:49:26 +02:00
fkwp
86e84028e1
Merge pull request #2363 from element-hq/renovate/docker-build-push-action-digest
Update docker/build-push-action digest to 729f7f4
2024-05-06 15:49:06 +02:00
renovate[bot]
dea6f05b51
Update dependency livekit-client to v2.1.3 2024-05-06 13:44:27 +00:00
renovate[bot]
ac450443a0
Update docker/build-push-action digest to 729f7f4 2024-05-06 13:44:02 +00:00
fkwp
2a0375d93f
Merge pull request #2333 from element-hq/fkwp/refactor_gh_action_run-id
refactor run-id handling of GitHub Actions
2024-05-06 15:32:50 +02:00
Andrew Ferrazzutti
56312b2753
Join knock rooms on page load if already invited (#2355)
When visiting the page for a knock room you are already invited to, join
it right away instead of offering to knock (which will fail as long as
you remain invited to the room).
2024-05-04 01:37:58 +09:00
fkwp
137867b096
Merge pull request #2357 from element-hq/renovate/livekit-client-2.x-lockfile
Update dependency livekit-client to v2.1.2
2024-05-03 10:25:02 +02:00
fkwp
0ae62b121e
Merge pull request #2356 from element-hq/renovate/livekit-components-react-2.x-lockfile
Update dependency @livekit/components-react to v2.2.1
2024-05-03 10:24:44 +02:00
renovate[bot]
70682a7490
Update dependency livekit-client to v2.1.2 2024-05-03 08:06:42 +00:00
renovate[bot]
7fc0f96ca6
Update dependency @livekit/components-react to v2.2.1 2024-05-03 08:06:32 +00:00
Robin
f50b00e00f
Merge pull request #2086 from robintown/layout-state
Add data models for the new call layouts
2024-05-02 16:35:37 -04:00
Robin
e9c98a02f0 Respond to suggestions from code review 2024-05-02 16:32:48 -04:00
Robin
dcb4d10afb Remove unnecessary Tile indirection 2024-05-02 16:00:05 -04:00
Robin
705f9daf5f Fix speaking data taking 10 seconds to be available 2024-05-02 15:59:40 -04:00
Robin
c5e60744a2 Merge branch 'livekit' into layout-state 2024-05-02 15:35:45 -04:00
Timo
3670c36fac
Fix audio/video device flickering (#2353)
* Make onError a `useCallback`

Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Robin <robin@robin.town>
2024-05-02 17:28:36 +02:00
Andrew Ferrazzutti
b5d25f1f2d
Drop unsupported field from backend/livekit.yaml (#2349)
environment was removed in v1.6.0: livekit/livekit@10c8582
2024-05-01 19:31:16 +09:00
Timo
51926cad3d
Revert "Fix mute flickering. (#2350)" (#2351)
This reverts commit 2ab909fab1.
2024-04-30 20:08:39 +02:00
Timo
2ab909fab1
Fix mute flickering. (#2350)
Use `useMeme` to not change the parameters that are used to call usePreviewDevice.

Signed-off-by: Timo K <toger5@hotmail.de>
2024-04-30 19:57:36 +02:00
fkwp
cfe0b4d8e4
Merge pull request #2346 from element-hq/renovate/livekit-client-2.x-lockfile
Update dependency livekit-client to v2.1.1
2024-04-29 20:30:58 +02:00
renovate[bot]
83795ae4bf
Update dependency livekit-client to v2.1.1 2024-04-29 18:28:37 +00:00
fkwp
8a4d4d3144
Merge pull request #2344 from element-hq/renovate/docker-build-push-action-digest
Update docker/build-push-action digest to eb539f4
2024-04-29 12:54:25 +02:00
fkwp
0e7fd791b5
Merge pull request #2345 from element-hq/renovate/peter-evans-create-pull-request-6.x
Update peter-evans/create-pull-request action to v6.0.5
2024-04-29 12:54:08 +02:00
renovate[bot]
96e6ca0c0e
Update peter-evans/create-pull-request action to v6.0.5 2024-04-29 10:19:44 +00:00
renovate[bot]
2e0ad5ca69
Update docker/build-push-action digest to eb539f4 2024-04-29 10:19:39 +00:00
renovate[bot]
43f7f9b76c
Update dependency @opentelemetry/instrumentation-document-load to ^0.38.0 2024-04-25 20:18:38 +00:00
fkwp
224cd53481
Merge pull request #2339 from element-hq/renovate/livekit-components-react-2.x-lockfile
Update dependency @livekit/components-react to v2.2.0
2024-04-25 17:22:51 +02:00
renovate[bot]
a5f7921a32
Update dependency @livekit/components-react to v2.2.0 2024-04-25 15:20:06 +00:00
fkwp
b8c8e36449
Merge pull request #2338 from element-hq/renovate/actions-upload-artifact-digest
Update actions/upload-artifact digest to 552bf37
2024-04-24 14:32:45 +02:00
renovate[bot]
f07a491bd9
Update actions/upload-artifact digest to 552bf37 2024-04-24 11:22:57 +00:00
fkwp
7fb0eb150d
Merge pull request #2319 from element-hq/renovate/node-20.x-lockfile
Update dependency @types/node to v20.12.7
2024-04-23 17:04:29 +02:00
fkwp
6e0a20a213
Merge pull request #2334 from element-hq/renovate/peter-evans-create-pull-request-6.x
Update peter-evans/create-pull-request action to v6.0.4
2024-04-23 16:57:36 +02:00
fkwp
af99d2a60b refactor run-id handling 2024-04-23 16:46:26 +02:00
fkwp
b32d066a76
Merge pull request #2332 from element-hq/renovate/actions-upload-artifact-digest
Update actions/upload-artifact digest to 79616d2
2024-04-23 15:57:10 +02:00
renovate[bot]
a0f9c55194
Update actions/upload-artifact digest to 79616d2 2024-04-23 13:55:23 +00:00
fkwp
bb9cbe26b3 fig gh actions for publish 2024-04-23 15:53:22 +02:00
Timo
5284479ece
Knocking support (#2281)
* Add joining with knock room creation flow.

Also add `WaitForInviteView` after knocking.
And appropriate error views when knock failed or gets rejected.

Signed-off-by: Timo K <toger5@hotmail.de>

* Refactor encryption information.

We had lots of enums and booleans to describe the encryption situation.
Now we only use the `EncryptionSystem` "enum" which contains the
additional information like sharedKey. (and we don't use the isRoomE2EE
function that is somewhat confusing since it checks `return widget ===
null && !room.getCanonicalAlias();` which is only indirectly related to
e2ee)

Signed-off-by: Timo K <toger5@hotmail.de>

* Update recent list.

- Don't use deprecated `groupCallEventHander` anymore (it used the old
  `m.call` state event.)
- make the recent list reactive (getting removed from a call removes the
  item from the list)
- support having rooms without shared secret but actual matrix
  encryption in the recent list
- change the share link creation button so that we create a link with
  pwd for sharedKey rooms and with `perParticipantE2EE=true` for matrix
  encrypted rooms.

Signed-off-by: Timo K <toger5@hotmail.de>

* fix types

Signed-off-by: Timo K <toger5@hotmail.de>

* patch js-sdk for linter

Signed-off-by: Timo K <toger5@hotmail.de>

* ignore ts expect error

Signed-off-by: Timo K <toger5@hotmail.de>

* Fix error in widget mode.

We cannot call client.getRoomSummary in widget mode. The code path needs
to throw before reaching this call. (In general we should never call
getRoomSummary if getRoom returns a room)

Signed-off-by: Timo K <toger5@hotmail.de>

* tempDemo

Signed-off-by: Timo K <toger5@hotmail.de>

* remove wait for invite view

Signed-off-by: Timo K <toger5@hotmail.de>

* yarn i18n

Signed-off-by: Timo K <toger5@hotmail.de>

* reset back mute participant count

* add logic to show error view when getting removed

* include reason whenever someone gets removed from a call.

* fix activeRoom not beeing early enough

* fix lints

* add comment about encryption situation

Signed-off-by: Timo K <toger5@hotmail.de>

* Fix lockfile

* Use (unmerged!) RoomSummary type from the js-sdk

Temporarily change the js-sdk dependency to the PR branch that provides
that type

* review

Signed-off-by: Timo K <toger5@hotmail.de>

* review (remove participant count unknown)

Signed-off-by: Timo K <toger5@hotmail.de>

* remove error for unencrypted calls (allow intentional unencrypted calls)

Signed-off-by: Timo K <toger5@hotmail.de>

* update js-sdk

Signed-off-by: Timo K <toger5@hotmail.de>

---------

Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
2024-04-23 22:15:13 +09:00
fkwp
be25d77e8b
Merge pull request #2323 from element-hq/renovate/livekit-components-react-2.x-lockfile
Update dependency @livekit/components-react to v2.1.3
2024-04-23 15:08:12 +02:00
renovate[bot]
46732cf86b
Update dependency @livekit/components-react to v2.1.3 2024-04-23 08:20:34 +00:00
fkwp
42d697068d fix run-id 2024-04-22 18:44:42 +02:00
fkwp
96a1c4bf7a fix gh action run-id for a release (fixed order) 2024-04-22 18:39:19 +02:00
fkwp
85c140bc32 fix gh action run-id for a release 2024-04-22 18:36:42 +02:00
fkwp
affac2da40 fix gh action for a release 2024-04-22 18:04:47 +02:00
Robin
bfb26ca500 Merge branch 'livekit' into layout-state 2024-04-19 13:28:30 -04:00
Robin
257211e8f9 Try disabling LiveKit web audio support
We think there's a chance this is causing some Edge users to not hear any audio.
2024-04-19 13:02:51 -04:00
fkwp
d352fefcaa
Merge pull request #2322 from element-hq/renovate/livekit-components-core-0.x
Update dependency @livekit/components-core to ^0.10.0
2024-04-18 17:45:00 +02:00
fkwp
8234211f03
Merge pull request #2324 from element-hq/renovate/livekit-client-2.x-lockfile
Update dependency livekit-client to v2.1.0
2024-04-18 17:44:12 +02:00