69131 Commits

Author SHA1 Message Date
Michael Telatynski 7ad5c9b01c Fix macOS and Linux build regressions (#345)
* Fix macOS builds by pinning Typescript

Due to https://github.com/joyent/node-verror/issues/86

* Fix linux build, we no longer use tclsh

* Correct fix for linux build issue

* fix it for realsies this time
2022-04-22 14:40:16 +01:00
Robin 2a396a406d Stick connected video rooms to the top of the room list (#8353) 2022-04-22 08:17:31 -04:00
Kerry 988d300258 Live location sharing: only share to beacons created on device (#8378)
* create live beacons in ownbeaconstore and test

Signed-off-by: Kerry Archibald <kerrya@element.io>

* more mocks in RoomLiveShareWarning

Signed-off-by: Kerry Archibald <kerrya@element.io>

* extend mocks in components

Signed-off-by: Kerry Archibald <kerrya@element.io>

* comment

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove another comment

Signed-off-by: Kerry Archibald <kerrya@element.io>

* extra ? hedge in roommembers change

Signed-off-by: Kerry Archibald <kerrya@element.io>

* listen to destroy and prune local store on stop

Signed-off-by: Kerry Archibald <kerrya@element.io>

* tests

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update copy pasted copyright to 2022

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-22 12:05:36 +00:00
Kerry a3a7c60dd7 LLS: Remove beacon info illegal replace relation (#8390)
* dont apply illegal replace relation to beacon_info event

Signed-off-by: Kerry Archibald <kerrya@element.io>

* only display tiles for beacon infos with live prop

Signed-off-by: Kerry Archibald <kerrya@element.io>

* copyrights

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-22 11:38:27 +00:00
Timo Piiroinen fcfda67511 Allow loading language files with two part language code (#339)
* Change the imported filenames to inlcude underscore in two part language names. (issue #19218)

Signed-off-by: Timo Piiroinen <timo.piiroinen@unikie.com>

* Refactoring the code

Signed-off-by: Timo Piiroinen <timo.piiroinen@unikie.com>

* Refactored code and added comment

Signed-off-by: Timo Piiroinen <timo.piiroinen@unikie.com>
2022-04-22 12:16:04 +01:00
Michael Telatynski 4d67e0561d Upgrade to Electron 18 (#343) 2022-04-22 09:07:54 +00:00
Michael Telatynski 763edb7ab9 Fix issue with thread panel not updating when it loads on first render (#8382) 2022-04-22 07:37:23 +00:00
Yaya Usman 495a69532d fix: "Mention highlight and cursor hover highlight has different corner radius" (#8384)
* fix: mention tile and hover highlight's same border radius

* style-lint fix

* update: mention tile and hover highlight's same border radius
2022-04-21 21:13:39 +00:00
Michael Telatynski bbe0c945d3 Fix regression around haveRendererForEvent for hidden events (#8379) 2022-04-21 16:57:08 +00:00
Kerry 399ac618c7 LLS: fix jumpy maximised map (#8387)
* add maxzoom to map fit bounds

Signed-off-by: Kerry Archibald <kerrya@element.io>

* take snapshot of bounds at center on dialog open

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-21 18:56:11 +02:00
Michael Telatynski 86419b1925 Fix regression around the room list treeview keyboard a11y (#8385) 2022-04-21 17:21:44 +01:00
Kerry 73e8387799 test functional EventUtils (#8386)
* extract poll event test util

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test isContentActionable

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test canEditContent

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test functional eventutils

Signed-off-by: Kerry Archibald <kerrya@element.io>

* copyrights

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-21 18:14:10 +02:00
Robin c70816d763 Persist audio and video mute state in video rooms (#8376)
…so that video lobbies remember whether you've disabled your camera.
2022-04-21 15:00:32 +00:00
Michael Telatynski 6f5900557b Remove notify environment requirement (#8383) 2022-04-21 15:17:43 +01:00
Michael Telatynski b21c720510 Move more stuff from BK to GHA (#342) 2022-04-21 15:16:18 +01:00
Michael Telatynski 146bcdd6a6 Move more stuff from BK to GHA (#8372) 2022-04-21 11:55:32 +00:00
Robin dd880df6ae Forcefully disconnect from video rooms on logout and tab close (#8375)
* Forcefully disconnect from video rooms on logout

* Forcefully disconnect from video rooms on tab close
2022-04-21 07:41:58 -04:00
Robin c83ad1faa7 Add local echo of connected devices in video rooms (#8368) 2022-04-21 07:41:38 -04:00
Germain 5d6143aaa7 Extract view/join room logic to room helper (#8329) 2022-04-21 10:56:02 +01:00
Janne Mareike Koschinski d5e911d876 Improve text of account deactivation dialog (#8371)
* Improve text of account deactivation dialog
* Reduce spacing of deactivate account dialog
2022-04-21 11:37:38 +02:00
Michael Telatynski d7ad6cdd62 Upgrade dependencies (#341) 2022-04-21 08:08:59 +01:00
Michael Telatynski 691b8d5c38 Upgrade dependencies (#21849) 2022-04-21 08:08:50 +01:00
Michael Telatynski 74cab0323f Upgrade dependencies (#8362)
* Upgrade dependencies

* delint
2022-04-21 08:08:03 +01:00
Kerry f2ec465f87 Live location sharing: own live beacon status on maximised view (#8374)
* add floating own live sharing eacon status to maximised view

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add tests for own beacon status

Signed-off-by: Kerry Archibald <kerrya@element.io>

* stylelint

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove huge snapshot

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove unused emits from test

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-21 09:06:57 +02:00
Suguru Hirahara 605fbd3e4e Remove float property to let the margin between events appear on bubble message layout (#8373)
* Add margin between events on bubble message layout

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use more simplified way

Because the float property prevents the margin from appearing, removing
the property is more straightforward than adding other rules.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

Co-authored-by: Kerry <kerrya@element.io>
2022-04-20 19:24:34 +00:00
Michael Telatynski b4bcbb2f30 Fix race in Registration between server change and flows fetch (#8359) 2022-04-20 14:04:42 -04:00
Robin 6e86a14cc9 Show a lobby screen in video rooms (#8287)
* Show a lobby screen in video rooms

* Add connecting state

* Test VideoRoomView

* Test VideoLobby

* Get the local video stream with useAsyncMemo

* Clean up code review nits

* Explicitly state what !important is overriding

* Use spacing variables

* Wait for video channel messaging

* Update join button copy

* Show frame on both the lobby and widget

* Force dark theme for video lobby

* Wait for the widget to be ready

* Make VideoChannelStore constructor private

* Allow video lobby to shrink

* Add invite button to video room header

* Show connected members on lobby screen

* Make avatars in video lobby clickable

* Increase video channel store timeout

* Fix Jitsi Meet getting wedged on startup in Chrome and Safari

* Revert "Fix Jitsi Meet getting wedged on startup in Chrome and Safari"

This reverts commit 9f77b8c227c1a5bffa5d91b0c48bf3bbc44d4cec.

* Disable device buttons while connecting

* Factor RoomFacePile into a separate file

* Fix i18n lint

* Fix switching video channels while connected

* Properly limit number of connected members in face pile

* Fix CSS lint
2022-04-20 11:03:33 -04:00
Robin b41e215112 Show a lobby screen in video rooms (#21746)
* No longer skip the prejoin screen in video rooms

* Enable joining with specific devices

* Start widget API listeners earlier

so that they're instantly ready for use, rather than being stuck behind
the config loading

* Revert "Start widget API listeners earlier"

This reverts commit 2c1bb08832a77fe9f981a24f8349fd707214eb0a.

* Tell the client when the Jitsi wrapper is ready to receive events

* Fix video rooms getting stuck on Jitsi Meet's prejoin screen
2022-04-20 11:03:28 -04:00
Emmanuel 9a065581e5 fix rainbow breaks compound emojis (#8245)
* fix rainbow breaks compound emojis

* use lodash split method for text splitting and add a unit test to test the behaviour

* Update _RichText.scss

* Update colour-test.ts
2022-04-20 14:49:12 +00:00
James Salter ff89eef01a Ensure updated=1 is set as the query string before any # (#21605)
* Ensure updated=1 is set as the query string before any #

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-04-20 15:12:24 +01:00
Kerry 4a38cbd550 Live location sharing: beacon list view tiles (#8363)
* add basic sidebar container

Signed-off-by: Kerry Archibald <kerrya@element.io>

* optionally show icon in beaconstatus

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add avatar and style list item

Signed-off-by: Kerry Archibald <kerrya@element.io>

* formatted last update time

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test beacon list item

Signed-off-by: Kerry Archibald <kerrya@element.io>

* move makeRoomWithState events to test utils

Signed-off-by: Kerry Archibald <kerrya@element.io>

* move beacon test helpers into utils

Signed-off-by: Kerry Archibald <kerrya@element.io>

* newline

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add copyable text to beacon list item

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add copyable geo uri to list item

Signed-off-by: Kerry Archibald <kerrya@element.io>

* improve spacing

Signed-off-by: Kerry Archibald <kerrya@element.io>

* overflow scroll on list

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-20 11:57:50 +00:00
Michael Telatynski 2f6b76755c Fix RightPanelStore handling first room on app launch wrong (#8370) 2022-04-20 11:05:55 +01:00
Michael Telatynski 859fdf7d51 Cache localStorage objects for SettingsStore (#8366) 2022-04-20 08:44:06 +00:00
Michael Telatynski 65c74bd158 Bring View Source back from behind developer mode (#8369) 2022-04-20 08:24:20 +00:00
Kerry e45cd39906 Live location sharing: maximised view sidebar container (#8360)
* add h4

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add mixin to clear list style

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add basic sidebar container

Signed-off-by: Kerry Archibald <kerrya@element.io>

* open list view button on beaconviewdialog

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update tests for new utils

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-20 08:14:24 +00:00
Suguru Hirahara a471742e97 Fix UnknownBody error message unalignment (#8346) 2022-04-20 07:48:38 +00:00
Suguru Hirahara 2fcf787578 Use -webkit-line-clamp for the room header topic overflow (#8367) 2022-04-20 07:41:27 +00:00
Kerry 70cdd57a5c Live location sharing: move test utils into utils (#8365)
* move makeRoomWithState events to test utils

Signed-off-by: Kerry Archibald <kerrya@element.io>

* move beacon test helpers into utils

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove file

Signed-off-by: Kerry Archibald <kerrya@element.io>

* more types

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-19 16:47:19 +00:00
Michael Telatynski 56cf9212d3 Fix issue with ServerInfo crashing the modal (#8364) 2022-04-19 17:21:40 +01:00
Michael Telatynski f099fdb906 Increase delay to stabilise async tests (#8357) 2022-04-19 17:21:31 +01:00
Andrew Morgan 042d8b1427 Build statically-linked sqlcipher for Unix (#334) 2022-04-19 16:59:37 +01:00
RiotRobot bb973ead3f v1.10.11-rc.1 2022-04-19 15:28:59 +01:00
RiotRobot c2b1792776 Prepare changelog for v1.10.11-rc.1 2022-04-19 15:28:58 +01:00
RiotRobot 2a5486a4da v1.10.11-rc.1 v1.10.11-rc.1 2022-04-19 15:21:52 +01:00
RiotRobot f5797428ff Prepare changelog for v1.10.11-rc.1 2022-04-19 15:21:51 +01:00
RiotRobot dc649eae77 Upgrade matrix-react-sdk to 3.43.0-rc.1 2022-04-19 15:18:50 +01:00
RiotRobot 3daddf3d1a Upgrade matrix-js-sdk to 17.1.0-rc.1 2022-04-19 15:17:59 +01:00
RiotRobot db89816db9 v3.43.0-rc.1 2022-04-19 14:55:24 +01:00
RiotRobot ff9a563338 Prepare changelog for v3.43.0-rc.1 2022-04-19 14:55:24 +01:00
RiotRobot 1da1460baf Upgrade matrix-js-sdk to 17.1.0-rc.1 2022-04-19 14:54:05 +01:00