Commit Graph

43278 Commits (07a5a1dc6fb02ff961891ddadadcd2725e8bdcf8)

Author SHA1 Message Date
David Baker 07a5a1dc6f
Fix device selection in pre-join screen for Element Call video rooms (#9321)
* Fix device selection in pre-join screen for Element Call video rooms

As per https://github.com/vector-im/element-call/pull/609

* Update unit test

* Lint

* Hold a media stream while we enumerate device so we can do so reliably.

This means we can remove the device fallback labels.

* i18n

* Remove unnecessary useState

* Fix fetching video devices when video muted

* Actually fix preview stream code

* Fix unit test now fallback is no longer a thing

* Test changing devices
2022-09-30 17:28:53 +01:00
Michael Telatynski eaff7e945c
Consolidate js-sdk release mode typing CI (#9326) 2022-09-30 17:12:16 +01:00
Germain c2e2f406af
Fixes silenced notification preventing notification prompt to be shown (#9336) 2022-09-30 16:11:04 +01:00
Janne Mareike Koschinski a704a2fbb7
Reduce flakiness of spotlight tests (#9310) 2022-09-30 10:54:47 +02:00
Kerry 772df30212
Device manager - sign out of multiple sessions (#9325)
* add device selection that does nothing

* multi select and sign out of sessions

* test multiple selection

* fix type after rebase
2022-09-30 09:07:50 +02:00
Michael Weimann 7a33818bd7
Extract createVoiceMessageContent (#9322) 2022-09-29 13:06:49 -06:00
Germain 3e076c8246
Fixes to ensure account data values do not go stale (#9331)
* Fixes to ensure account data values do not go stale

* Remove unneeded cli.off

* fix test
2022-09-29 13:05:06 -06:00
owi92 3c5ff30177
Fix quote shortcut for most keyboard layouts (#9298) 2022-09-29 15:51:50 +00:00
Germain a49603b9b8
Inhibit local notifications when local notifications are silenced (#9328) 2022-09-29 14:23:02 +00:00
Kerry 951cad98d3
Device manager - extract filtered device list header (#9323)
* extract filtered device list header

* stylelint
2022-09-29 09:22:00 +02:00
Germain c3bfb6e4a9
Display push toggle for web sessions (MSC3890) (#9327) 2022-09-28 18:18:10 +01:00
Germain e15ef9f3de
Add device notifications enabled switch (#9324) 2022-09-28 18:13:09 +01:00
RiotRobot 1a0dbbf192 Reset matrix-js-sdk back to develop branch 2022-09-28 15:55:01 +01:00
RiotRobot 08563e9224 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	yarn.lock
2022-09-28 15:54:19 +01:00
RiotRobot cdb0033afc v3.57.0 2022-09-28 15:51:11 +01:00
RiotRobot 5e21313fe9 Prepare changelog for v3.57.0 2022-09-28 15:51:11 +01:00
RiotRobot 74b2e503ac Upgrade matrix-js-sdk to 20.0.0 2022-09-28 15:49:16 +01:00
RiotRobot fff065d6af Reset matrix-js-sdk back to develop branch 2022-09-28 14:14:49 +01:00
RiotRobot d3029b5967 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	yarn.lock
2022-09-28 14:13:01 +01:00
RiotRobot 82795b9c86 v3.56.0 2022-09-28 14:11:18 +01:00
RiotRobot 0f8884e697 Prepare changelog for v3.56.0 2022-09-28 14:11:18 +01:00
RiotRobot fa7acf4dfd Upgrade matrix-js-sdk to 19.7.0 2022-09-28 14:09:31 +01:00
RiotRobot 66b21e96ca Resolve multiple CVEs
CVE-2022-39249
CVE-2022-39250
CVE-2022-39251
CVE-2022-39236
2022-09-28 13:57:36 +01:00
Michael Weimann d775e403c4
Add voice broadcast recording stores (#9319)
* Add voice broadcast recording stores

* Refactor startNewVoiceBroadcastRecording
2022-09-28 10:22:50 +02:00
RiotRobot c14191bfb6 Reset matrix-js-sdk back to develop branch 2022-09-27 17:13:26 +01:00
RiotRobot 6af7a7c359 Resetting package fields for development 2022-09-27 17:13:16 +01:00
RiotRobot c5c3ca061e Merge branch 'master' into develop 2022-09-27 17:13:12 +01:00
RiotRobot 2be99bcaf3 v3.55.0 2022-09-27 17:12:57 +01:00
RiotRobot 3bf8ef58db Prepare changelog for v3.55.0 2022-09-27 17:12:56 +01:00
RiotRobot b3596b5420 Upgrade matrix-js-sdk to 19.6.0 2022-09-27 16:55:45 +01:00
Germain 641cf28e4c
Implement push notification toggle in device detail (#9308)
Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-09-27 13:35:54 +01:00
Robin ace6591f43
New group call experience: Starting and ending calls (#9318)
* Create m.room calls in video rooms, and m.prompt calls otherwise

* Terminate a call when the last person leaves

* Hook up the room header button to a unified CallView component

* Write more tests
2022-09-27 07:54:51 -04:00
Arne Wilken 54b79c7667
Remove border-bottom from room topic (#9317)
It gives an empty room topic a height of 1px and does not seem to accomplish much else.

Signed-off-by: Arne Wilken arnepokemon@yahoo.de

Signed-off-by: Arne Wilken arnepokemon@yahoo.de
2022-09-26 17:33:36 +02:00
Michael Weimann 8e719d57a2
Add voice broadcast recording body (#9316)
* Add voice broadcast recording body

* Change icon element; update css variables

* Update Icon-test snapshots
2022-09-26 15:29:38 +02:00
Robin d077ea1990
New group call experience: Room header call buttons (#9311)
* Make useEventEmitterState more efficient

By not invoking the initializing function on every render

* Make useWidgets more efficient

By not calling WidgetStore on every render

* Add new group call experience Labs flag

* Add viewingCall field to RoomViewStore state

Currently has no effect, but in the future this will signal to RoomView to show the call or call lobby.

* Add element_call.use_exclusively config flag

As documented in element-web, this will tell the app to use Element Call exclusively for calls, disabling Jitsi and legacy 1:1 calls.

* Make placeCall return a promise

So that the UI can know when placeCall completes

* Update start call buttons to new group call designs

Since RoomView doesn't do anything with viewingCall yet, these buttons won't have any effect when starting native group calls, but the logic is at least all there and ready to be hooked up.

* Allow calls to be detected if the new group call experience is enabled

* Test the RoomHeader changes

* Iterate code
2022-09-25 10:57:25 -04:00
Faye Duxovni 12e3ba8e5a
Make device ID copyable in device list (#9297) 2022-09-23 09:21:04 -04:00
Michael Telatynski 45556e6662
Move @testing-library/react to devDeps (#9309) 2022-09-23 08:17:03 +01:00
Hugh Nimmo-Smith d321b5e55f
Refactor login flow types into matrix-js-sdk (#9232)
Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-09-22 16:24:57 +01:00
Michael Telatynski 56c95467de
Don't show feedback prompts when that UIFeature is disabled (#9305) 2022-09-22 15:08:14 +01:00
Johannes Marbach 88c12cdaa5
Use display name instead of user ID when rendering power events (PSC-82) (#9295)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-09-22 08:42:07 +01:00
Michael Weimann 516b4f0ff8
Add array concat util (#9306) 2022-09-21 20:06:05 +02:00
Michael Weimann c182c1c706
Generalise VoiceRecording (#9304) 2022-09-21 18:46:28 +02:00
Germain 71cf9bf932
Read receipts for threads (#9239)
* Use EventType enum instead of hardcoded value

* Enable read receipts on thread timelines

* Strict null checks

* Strict null checks

* fix import group

* strict checks

* strict checks

* null check

* fix tests
2022-09-21 10:13:33 +01:00
Michael Telatynski fa2ec7f6c9
Fix soft crash around unknown room pills (#9301)
* Fix soft crash around unknown room pills

* Add tests

* Fix types
2022-09-20 17:00:31 +00:00
Michael Telatynski 7e435eef13
Fix spaces feedback prompt wrongly showing when feedback is disabled (#9302) 2022-09-20 16:59:29 +00:00
Michael Telatynski 9076152f79
Fix tile soft crash in ReplyInThreadButton (#9300) 2022-09-20 16:39:07 +00:00
kegsay 06c4ba32cd
Store refactor: make it easier to test stores (#9290)
* refactor: convert RoomViewStore from flux Store to standard EventEmitter

Parts of a series of experimental changes to improve the design of stores.

* Use a gen5 store for RoomViewStore for now due to lock handling

* Revert "Use a gen5 store for RoomViewStore for now due to lock handling"

This reverts commit 1076af071d997d87b8ae0b0dcddfd1ae428665af.

* Add untilEmission and tweak untilDispatch; use it in RoomViewStore

* Add more RVS tests; remove custom room ID listener code and use EventEmitter

* Better comments

* Null guard `dis` as tests mock out `defaultDispatcher`

* Additional tests
2022-09-20 15:32:39 +00:00
RiotRobot 9950f795af v3.55.0-rc.1 2022-09-20 14:11:46 +01:00
RiotRobot cceb83ae5e Prepare changelog for v3.55.0-rc.1 2022-09-20 14:11:46 +01:00
RiotRobot aafe4aa17d Upgrade allchange 2022-09-20 14:09:14 +01:00