Commit graph

742 commits

Author SHA1 Message Date
Kerry
3e4f3152bc
Device manager - parse user agent for device information (#9352)
* record device client inforamtion events on app start

* matrix-client-information -> matrix_client_information

* fix types

* remove another unused export

* add docs link

* display device client information in device details

* update snapshots

* integration-ish test client information in metadata

* tests

* fix tests

* export helper

* DeviceClientInformation type

* Device manager - select all devices (#9330)

* add device selection that does nothing

* multi select and sign out of sessions

* test multiple selection

* fix type after rebase

* select all sessions

* rename type

* use ExtendedDevice type everywhere

* rename clientName to appName for less collision with UA parser

* fix bad find and replace

* rename ExtendedDeviceInfo to ExtendedDeviceAppInfo

* rename DeviceType comp to DeviceTypeIcon

* update tests for new required property deviceType

* add stubbed user agent parsing

* setup test cases

* detect device type correctly

* 80% working ua parser

* parse asera gents for device info

* combine clientName/Version into one field, remove debug from tests
2022-10-06 10:06:29 +02: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
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
fa7acf4dfd Upgrade matrix-js-sdk to 19.7.0 2022-09-28 14:09:31 +01:00
RiotRobot
c14191bfb6 Reset matrix-js-sdk back to develop branch 2022-09-27 17:13:26 +01:00
RiotRobot
c5c3ca061e Merge branch 'master' into develop 2022-09-27 17:13:12 +01:00
RiotRobot
b3596b5420 Upgrade matrix-js-sdk to 19.6.0 2022-09-27 16:55:45 +01: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
RiotRobot
aafe4aa17d Upgrade allchange 2022-09-20 14:09:14 +01:00
RiotRobot
4cf3a60e97 Upgrade matrix-js-sdk to 19.6.0-rc.1 2022-09-20 14:04:35 +01:00
Dominik Henneke
0c22b15bba
Implement MSC3869: Read event relations with the Widget API (#9210)
* Add an action to read relations according to MSC3869

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Apply review comments

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Fix test

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Update matrix-widget-api to 1.1.1

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2022-09-14 10:18:51 -04:00
RiotRobot
f67b8d0d32 Reset matrix-js-sdk back to develop branch 2022-09-13 12:48:49 +01:00
RiotRobot
65a74c77aa Merge branch 'master' into develop 2022-09-13 12:48:35 +01:00
RiotRobot
a1ab983e91 Upgrade matrix-js-sdk to 19.5.0 2022-09-13 12:46:37 +01:00
Michael Telatynski
0ab476b828
Upgrade @types (#9261)
* Upgrade @types

* Make typescript happier
2022-09-12 11:58:05 +01:00
RiotRobot
17733b863f Upgrade matrix-js-sdk to 19.5.0-rc.4 2022-09-06 12:50:48 +01:00
Michael Weimann
ea0622a48e
Require @typescript-eslint/eslint-plugin >= 5.35.1 (#9233) 2022-09-02 11:24:56 +02:00
RiotRobot
d85d79d92b Reset matrix-js-sdk back to develop branch 2022-08-31 16:38:16 +01:00
RiotRobot
c89c02f4e0 Merge branch 'master' into develop
# Conflicts:
#	src/events/EventTileFactory.tsx
#	yarn.lock
2022-08-31 16:36:50 +01:00
RiotRobot
c88a4bfad9 Upgrade matrix-js-sdk to 19.4.0 2022-08-31 16:28:09 +01:00
t3chguy
094b8cd475 [create-pull-request] automated change 2022-08-23 10:14:09 +00:00
RiotRobot
8b36c6f3a0 Upgrade matrix-js-sdk to 19.4.0-rc.1 2022-08-23 10:57:56 +01:00
RiotRobot
fecc03289d Reset matrix-js-sdk back to develop branch 2022-08-16 15:44:18 +01:00
RiotRobot
5b2bafacc9 Merge branch 'master' into develop
# Conflicts:
#	package.json
2022-08-16 15:42:37 +01:00
RiotRobot
4fce604771 Upgrade matrix-js-sdk to 19.3.0 2022-08-16 15:35:10 +01:00
RiotRobot
5ccd473744 Upgrade matrix-js-sdk to 19.3.0-rc.2 2022-08-12 13:34:03 +01:00
Michael Telatynski
df016ff5f6
Upgrade deps (#9165) 2022-08-10 15:10:08 +00:00
Robin
103b60dfb5
Implement MSC3819: Allowing widgets to send/receive to-device messages (#8885)
* Implement MSC3819: Allowing widgets to send/receive to-device messages

* Don't change the room events and state events drivers

* Update to latest matrix-widget-api changes

* Support sending encrypted to-device messages

* Use queueToDevice for better reliability

* Update types for latest WidgetDriver changes

* Upgrade matrix-widget-api

* Add tests

* Test StopGapWidget

* Fix a potential memory leak
2022-08-10 08:57:56 -04:00
RiotRobot
2cae2be909 Upgrade matrix-js-sdk to 19.3.0-rc.1 2022-08-09 17:11:26 +01:00
Michael Telatynski
5fbeb20df8
Some small tidying up (#9149)
* Remove stale comment

* Fix typing

* Install katex type definitions
2022-08-09 11:55:49 +00:00
RiotRobot
ed3350c2ba Reset matrix-js-sdk back to develop branch 2022-08-03 09:14:46 +01:00
RiotRobot
dff1a1405d Merge branch 'master' into develop
# Conflicts:
#	CHANGELOG.md
#	package.json
2022-08-02 17:12:24 +01:00
RiotRobot
d5224d5a63 Upgrade matrix-js-sdk to 19.2.0 2022-08-02 17:03:59 +01:00
Michael Weimann
27ba1e57e6
Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
Michael Telatynski
d5db131eef
Spike AXE A11Y testing in Cypress (#9111)
* Spike AXE A11Y testing in Cypress

* Fix NewRoomIntro breaking html/aria list rules

* Fix HeaderButtons breaking aria role semantics rules

* missing type

* Switch left panel from aside to nav and include space panel

* Give the page a main heading of the room name when viewing a room

* Use header landmark on RoomHeader

* Improve aria attributes on composer when autocomplete is closed

* Fix aria-owns on RoomHeader

* Give Spinner an aria role

* Give server picker help button an aria label

* Improve auth aria attributes and semantics

* Improve heading semantics in use case selection screen

* Fix autocomplete attribute to be valid

* Fix heading semantics on login page

* Improve Cypress axe testing

* Add axe tests

* Stop synapse after the timeline tests

* Await spinners to fade before percy snapshotting timeline tests

* Improve naming of plugin

* Update snapshots

* Fix accidental heading change

* Fix double synapse stoppage

* Fix Cypress timeline avatar assertions to be DPI agnostic

* Fix aria attributes on date separators

* delint

* Update snapshots

* Revert style change

* Skip redundant call
2022-08-01 08:31:14 +01:00
Janne Mareike Koschinski
1e4c336fed
New User Onboarding Task List (#9083)
* Improve type of AccessibleButton to accurately represent available props
* Update analytics events
2022-07-29 11:43:29 +00:00
Michael Telatynski
e53fb60763
Revert "Reset matrix-js-sdk back to develop branch"
This reverts commit 35a6f4bb56.
2022-07-26 17:42:50 +01:00
RiotRobot
35a6f4bb56 Reset matrix-js-sdk back to develop branch 2022-07-26 17:39:10 +01:00
RiotRobot
da98e3d201 Upgrade matrix-js-sdk to 19.2.0-rc.1 2022-07-26 17:29:36 +01:00
RiotRobot
a08df49db1 Reset matrix-js-sdk back to develop branch 2022-07-26 16:36:36 +01:00
RiotRobot
b8073c4c38 Merge branch 'master' into develop 2022-07-26 16:34:33 +01:00
RiotRobot
6efe982550 Upgrade matrix-js-sdk to 19.1.0 2022-07-26 16:19:07 +01:00
Travis Ralston
0053f21286
Update lockfile per yarn's decision (#9074) 2022-07-19 07:58:04 +02:00
Michael Telatynski
42ff9d6dc8
Move Lazy Loading tests from Puppeteer to Cypress (#8982)
* Remove Puppeteer Lazy Loading tests

* Remove Puppeteer Lazy Loading tests

* Remove Puppeteer Lazy Loading tests

* Stash lazy loading cypress tests

* Stash lazy loading cypress tests

* Update cypress-real-events

* Stash offline-less test

* Add offline/online'ing
2022-07-18 13:16:44 +01:00
Michael Telatynski
01f4bb8c78
Rename PostCSS files to .pcss (#9013)
* Rename PostCSS files to `.pcss`

* Make Stylelint happy

* Delint

* Rename new files too

* delint

* Fix bad comment placement
2022-07-15 14:53:23 +01:00
ElementRobot
7b7181be18
Upgrade dependencies (#8749)
* [create-pull-request] automated change

* Remove conflicting HTMLStyleElement type improvement

* Pin postcss-hexrgba as 2.1.0 needs postcss 8

* Bump typescript version

* Add missing crypto stub

Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-07-13 17:11:19 +01:00