element-call-Github/src
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
..
@types Specify keySeparator 2023-11-20 13:47:36 +00:00
analytics Add back posthog connection time tracking (#2316) 2024-04-16 17:21:37 +02:00
auth limit homserver to not cover the whole loginview input with the string. (#2307) 2024-04-11 11:16:45 +02:00
button Merge branch 'livekit' into tile-updates 2024-01-03 16:59:12 -05:00
config Add customHomeserver url Param (#2190) 2024-02-21 21:52:31 +01:00
e2ee Knocking support (#2281) 2024-04-23 22:15:13 +09:00
form Ensure that all our components have display names 2023-12-19 11:00:33 -05:00
graphics Add background gradient 2023-09-13 17:53:12 +02:00
home Knocking support (#2281) 2024-04-23 22:15:13 +09:00
icons Allow Element Call theme configuration via url. (#2203) 2024-02-22 16:15:46 +01:00
input Merge pull request #1857 from element-hq/renovate/eslint-plugin-jsx-a11y-6.x-lockfile 2024-01-03 14:34:53 -05:00
livekit Knocking support (#2281) 2024-04-23 22:15:13 +09:00
otel Format code 2023-10-11 10:42:04 -04:00
popover Ensure that all our components have display names 2023-12-19 11:00:33 -05:00
profile Format code 2023-10-11 10:42:04 -04:00
room Knocking support (#2281) 2024-04-23 22:15:13 +09:00
settings Knocking support (#2281) 2024-04-23 22:15:13 +09:00
sound Remove the unused exports with help of ts-prune 2023-06-05 19:11:38 +02:00
state Fix participants disappearing during focus switch (probably) 2024-04-05 14:27:53 -04:00
tabs Format code 2023-10-11 10:42:04 -04:00
typography Ensure that all our components have display names 2023-12-19 11:00:33 -05:00
video-grid Add crop to fit toggle to context menu. (#2107) 2024-02-12 16:49:32 +01:00
App.tsx Theme loading without flickering (#2233) 2024-03-13 14:58:21 +01:00
array-utils.ts Format code 2023-10-11 10:42:04 -04:00
Avatar.tsx Format code 2023-10-11 10:42:04 -04:00
Banner.module.css Adopt the Compound color system 2023-08-28 17:14:40 -04:00
Banner.tsx Upgrade eslint-plugin-matrix-org to 1.2.1 2023-09-22 18:07:06 -04:00
ClientContext.tsx ``` 2023-11-20 13:20:19 +00:00
DisconnectedBanner.module.css Adopt the Compound color system 2023-08-28 17:14:40 -04:00
DisconnectedBanner.tsx ``` 2023-11-20 13:20:19 +00:00
FullScreenView.module.css Fix copyright pt. 2: CSS files 2023-01-03 16:58:38 +00:00
FullScreenView.tsx Knocking support (#2281) 2024-04-23 22:15:13 +09:00
Header.module.css Allow Element Call theme configuration via url. (#2203) 2024-02-22 16:15:46 +01:00
Header.tsx Knocking support (#2281) 2024-04-23 22:15:13 +09:00
index.css make click highlight transparent (#2266) 2024-03-25 16:02:40 +01:00
IndexedDBWorker.ts Fix copyright headers 2023-01-03 16:55:26 +00:00
initializer.tsx Specify keySeparator 2023-11-20 13:47:36 +00:00
LazyEventEmitter.ts Format code 2023-10-11 10:42:04 -04:00
ListBox.module.css Adopt the Compound color system 2023-08-28 17:14:40 -04:00
ListBox.tsx Format code 2023-10-11 10:42:04 -04:00
main.tsx Format code 2023-10-11 10:42:04 -04:00
matrix-utils.ts Knocking support (#2281) 2024-04-23 22:15:13 +09:00
media-utils.ts Format code 2023-10-11 10:42:04 -04:00
Menu.module.css Adopt the Compound color system 2023-08-28 17:14:40 -04:00
Menu.tsx Format code 2023-10-11 10:42:04 -04:00
Modal.module.css Implement the new invite modal designs 2023-09-27 17:45:18 -04:00
Modal.tsx Migrate action, common, a11y translation keys 2023-11-20 12:18:43 +00:00
observable-utils.ts Refactor/redesign video tiles 2023-12-18 16:59:48 -05:00
olm.ts Ensure that Olm is only loaded once 2022-10-31 13:43:03 -04:00
Overlay.module.css Refactor/redesign video tiles 2023-12-18 16:59:48 -05:00
Platform.ts Use native system fonts on Android and iOS 2023-09-17 12:56:13 -04:00
rtcSessionHelpers.ts Refactor livekit disconnect to use an effect hook. (#1925) 2023-11-28 19:07:08 +01:00
Slider.module.css Refactor/redesign video tiles 2023-12-18 16:59:48 -05:00
Slider.tsx Refactor/redesign video tiles 2023-12-18 16:59:48 -05:00
Toast.module.css Implement the new invite modal designs 2023-09-27 17:45:18 -04:00
Toast.tsx Format code 2023-10-11 10:42:04 -04:00
Tooltip.module.css Adopt the Compound color system 2023-08-28 17:14:40 -04:00
Tooltip.tsx Ensure that all our components have display names 2023-12-19 11:00:33 -05:00
TranslatedError.ts Fix types 2023-11-30 23:47:26 -05:00
UrlParams.ts Knocking support (#2281) 2024-04-23 22:15:13 +09:00
useCallViewKeyboardShortcuts.ts Format code 2023-10-11 10:42:04 -04:00
useEvents.ts Format code 2023-10-11 10:42:04 -04:00
useLocalStorage.ts Format code 2023-10-11 10:42:04 -04:00
useLocationNavigation.ts Enable strict lints 2023-07-11 16:02:58 +01:00
useMatrixRTCSessionJoinState.ts Format code 2023-10-11 10:42:04 -04:00
useMatrixRTCSessionMemberships.ts Format code 2023-10-11 10:42:04 -04:00
useMediaQuery.ts Format code 2023-10-11 10:42:04 -04:00
useMergedRefs.ts Format code 2023-10-11 10:42:04 -04:00
usePageTitle.ts Don't touch the product name option for now 2022-12-20 17:30:47 +00:00
usePrefersReducedMotion.ts Upgrade eslint-plugin-matrix-org to 1.2.1 2023-09-22 18:07:06 -04:00
usePrevious.ts Start refactoring some business logic into view models 2023-12-01 17:09:21 -05:00
useReactiveState.ts Format code 2023-10-11 10:42:04 -04:00
UserMenu.module.css Switch to Avatar from Compound 2023-09-06 08:04:51 +02:00
UserMenu.tsx Fix the settings label (#1936) 2023-11-29 19:01:45 +01:00
UserMenuContainer.tsx Refactor/redesign video tiles 2023-12-18 16:59:48 -05:00
useTheme.ts Theme loading without flickering (#2233) 2024-03-13 14:58:21 +01:00
useWakeLock.ts Upgrade eslint-plugin-matrix-org to 1.2.1 2023-09-22 18:07:06 -04:00
widget.ts Knocking support (#2281) 2024-04-23 22:15:13 +09:00