Commit graph

1678 commits

Author SHA1 Message Date
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
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
Michael Telatynski
45556e6662
Move @testing-library/react to devDeps (#9309) 2022-09-23 08:17:03 +01:00
RiotRobot
9950f795af 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
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
4e3896040f Resetting package fields for development 2022-09-13 12:48:39 +01:00
RiotRobot
65a74c77aa Merge branch 'master' into develop 2022-09-13 12:48:35 +01:00
RiotRobot
68b3fd78c2 v3.54.0 2022-09-13 12:48:20 +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
35b75d77a1 v3.54.0-rc.1 2022-09-06 13:04:34 +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
49729d6d95 Resetting package fields for development 2022-08-31 16:37:15 +01:00
RiotRobot
e064f05d88 v3.53.0 2022-08-31 16:29:39 +01:00
RiotRobot
c88a4bfad9 Upgrade matrix-js-sdk to 19.4.0 2022-08-31 16:28:09 +01:00
RiotRobot
aace3a8c28 v3.53.0-rc.2 2022-08-25 16:50:13 +01:00
RiotRobot
0a0a46c131 v3.53.0-rc.1 2022-08-23 11:00:38 +01:00
RiotRobot
8b36c6f3a0 Upgrade matrix-js-sdk to 19.4.0-rc.1 2022-08-23 10:57:56 +01:00
RiotRobot
141651a105 Resetting package fields for development 2022-08-16 15:43:11 +01:00
RiotRobot
5b2bafacc9 Merge branch 'master' into develop
# Conflicts:
#	package.json
2022-08-16 15:42:37 +01:00
RiotRobot
afb39d8d92 v3.52.0 2022-08-16 15:38:47 +01:00
RiotRobot
4fce604771 Upgrade matrix-js-sdk to 19.3.0 2022-08-16 15:35:10 +01:00
RiotRobot
1371949a3a v3.52.0-rc.2 2022-08-12 13:38:13 +01:00
RiotRobot
5ccd473744 Upgrade matrix-js-sdk to 19.3.0-rc.2 2022-08-12 13:34:03 +01: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
dcc12a142d v3.52.0-rc.1 2022-08-09 17:14:59 +01: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
a97ac3012f v3.51.0 2022-08-02 17:06:26 +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
Michael Telatynski
f566c600e2
Port remaining Puppeteer tests over to Cypress (#9104)
* Port remaining Puppeteer tests over to Cypress

* Remove puppeteer support files

* Fix lifecycle matrixclientpeg setup race condition

* Alternative solution to the lifecycle problem

* Dismiss the notifications toast
2022-07-29 14:03:25 +00: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
RiotRobot
1543176e57 v3.51.0-rc.1 2022-07-26 17:53:06 +01:00
Michael Telatynski
49f312f734
Revert "v3.50.0"
This reverts commit 54c47d8347.
2022-07-26 17:43:05 +01:00
Michael Telatynski
3e4918342d
Revert "Resetting package fields for development"
This reverts commit 79d76a0a5a.
2022-07-26 17:42:51 +01: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
79d76a0a5a Resetting package fields for development 2022-07-26 17:39:01 +01:00
RiotRobot
54c47d8347 v3.50.0 2022-07-26 17:37:14 +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
807da7327e Resetting package fields for development 2022-07-26 16:34:57 +01:00
RiotRobot
b8073c4c38 Merge branch 'master' into develop 2022-07-26 16:34:33 +01:00
RiotRobot
dc3d659cef v3.49.0 2022-07-26 16:24:54 +01:00
RiotRobot
6efe982550 Upgrade matrix-js-sdk to 19.1.0 2022-07-26 16:19:07 +01: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
RiotRobot
bbf28603ef v3.49.0-rc.2 2022-07-15 14:47:03 +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
Janne Mareike Koschinski
f5f79158ed
Implement Use Case Selection screen (#8984)
* Introduce new splash page wrapper
* Introduce new use case selection screen
2022-07-13 15:43:44 +02:00
RiotRobot
7b744cd938 v3.49.0-rc.1 2022-07-12 14:10:24 +01:00
RiotRobot
78bda2b6da Upgrade matrix-js-sdk to 19.1.0-rc.1 2022-07-12 14:09:05 +01:00
Michael Telatynski
7fb48d24e4
Upgrade to Cypress 10 (#9008)
* Upgrade to Cypress 10

* Remove stale comment
2022-07-08 13:14:13 +01:00
Travis Ralston
7f5bb61a79
Support a module API surface for custom functionality (#8246)
* Early implementation of module API surface + functions for ILAG module

* Wire up dialog functions and ILAG-needed surface

* Ensure component renders for modules get overridden

* Respond to changes from module API interface

* Use a real module-api dependency

* Update for new Dialogs interface

* Add support for getConfigValue from module API

* Update the remainder of the module API interface

* Docs & cleanup

* Add some unit tests around module stuff

Needs end-to-end tests still.

* Appease early linters

* Break import cycles by not directly depending on Lifecycle

* Appease the linter

* Fix bad merge
2022-07-05 12:26:44 -06:00
RiotRobot
bdc05ec268 Reset matrix-js-sdk back to develop branch 2022-07-05 14:16:38 +01:00
RiotRobot
d80dd8f02f Resetting package fields for development 2022-07-05 14:16:29 +01:00
RiotRobot
68dead71aa Merge branch 'master' into develop 2022-07-05 14:16:28 +01:00
RiotRobot
5a1ed59a9d v3.48.0 2022-07-05 14:14:47 +01:00
RiotRobot
517494d619 Upgrade matrix-js-sdk to 19.0.0 2022-07-05 14:12:58 +01:00
Eric Eastwood
a5871206fa
Add support for JSX in stuff we import in Cypress test code (#8738)
* Add support for JSX in stuff we import in Cypress test code

Spawning from:

 - https://github.com/matrix-org/matrix-react-sdk/pull/8354#discussion_r883260722
 - https://github.com/matrix-org/matrix-react-sdk/pull/8354#discussion_r878660677

* Add problem import

* Inherit from existing type definitions

See https://github.com/matrix-org/matrix-react-sdk/pull/8738#discussion_r887350469

* Specify `commonjs`

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Remove `mxSettingsStore` as it's no longer needed

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-06-30 16:23:45 +00:00
RiotRobot
d8b6011bf6 v3.48.0-rc.1 2022-06-28 16:12:45 +01:00
RiotRobot
b0cea630a3 Upgrade matrix-js-sdk to 19.0.0-rc.1 2022-06-28 16:10:33 +01:00
Michael Telatynski
7f7ad10b04
Update matrix-web-i18n (#8914) 2022-06-28 14:15:51 +01:00
RiotRobot
045d895f1c Merge branch 'master' into develop 2022-06-14 14:20:17 +01:00
RiotRobot
7ed87092c9 v3.47.0 2022-06-14 14:05:11 +01:00
Michael Telatynski
d3fb6ff906
Move the user view tests from Puppeteer to Cypress (#8787)
* Move the user view tests from Puppeteer to Cypress

* Iterate snapshot test

* Actually import the new module

* Specify widths

* Update cypress & percy

* Try fix percy

* Finish cypress upgrade

* Tidy cypress.config.ts

* Revert "Tidy cypress.config.ts"

This reverts commit d913052cc4e12f836b99645bda81bbcf21d5f3c8.

* Revert "Finish cypress upgrade"

This reverts commit b5aba3b8a32edbc36549fbd8a27eb0de0390da2a.

* Revert "Update cypress & percy"

This reverts commit f846a364f81b23b173d9af67230aa074bd248cf6.

* delint

* Update percy
2022-06-08 22:12:56 +01:00
Michael Telatynski
8036985204
Update matrix-analytics-events to @matrix-org/analytics-events (#8778)
* Update matrix-analytics-events to @matrix-org/analytics-events

* Update install-deps.sh

* Update layered.sh

* Update BeaconMarker-test.tsx.snap

* Update BeaconStatus-test.tsx.snap
2022-06-07 20:08:36 +01:00
RiotRobot
5da187d520 Reset matrix-js-sdk back to develop branch 2022-06-07 12:13:34 +01:00
RiotRobot
e13f2e67e3 Resetting package fields for development 2022-06-07 12:13:25 +01:00
RiotRobot
d4647936c4 Merge branch 'master' into develop 2022-06-07 12:13:24 +01:00
RiotRobot
cacdb69774 v3.46.0 2022-06-07 12:11:51 +01:00
RiotRobot
812ac75d9d Upgrade matrix-js-sdk to 18.1.0 2022-06-07 12:10:11 +01:00
Kerry
158e42f764
Unit test MessageActionBar (#8732)
* test most basic paths in messageactionbar

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

* tidy

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

* add rtl

* add code style note about using rtl

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

* downgrade to rtl 12

* use rtl for MessageActionBar test

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

* try mocking settingsstore for ci only failure

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

* mock setValue too

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

* uupdate lockfile

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-06-02 10:25:56 +02:00
RiotRobot
afeea12167 v3.46.0-rc.1 2022-05-31 11:41:44 +01:00
RiotRobot
7ca3b6bb13 Upgrade matrix-js-sdk to 18.1.0-rc.1 2022-05-31 11:35:17 +01:00
Kerry
f742e3a17d
matrix-mock-request 2.0 (#8717) 2022-05-30 12:19:13 +00:00
Michael Telatynski
f3f14afbbf
Move spaces tests from Puppeteer to Cypress (#8645)
* Move spaces tests from Puppeteer to Cypress

* Add missing fixture

* Tweak synapsedocker to not double error on a docker failure

* Fix space hierarchy loading race condition

Fixes https://github.com/matrix-org/element-web-rageshakes/issues/10345

* Fix race condition when creating public space with url update code

* Try Electron once more due to perms issues around clipboard

* Try set browser permissions properly

* Try to enable clipboard another way

* Try electron again

* Try electron again again

* Switch to built-in cypress feature for file uploads

* Mock clipboard instead

* TMPDIR ftw?

* uid:gid pls

* Clipboard tests can now run on any browser due to mocking

* Test Enter as well as button for space creation

* Make the test actually work

* Update cypress/support/util.ts

Co-authored-by: Eric Eastwood <erice@element.io>

Co-authored-by: Eric Eastwood <erice@element.io>
2022-05-26 10:19:00 +01:00
RiotRobot
d214387c88 Reset matrix-js-sdk back to develop branch 2022-05-24 13:04:54 +01:00
RiotRobot
b0a6c216b7 Resetting package fields for development 2022-05-24 13:03:38 +01:00
RiotRobot
b5fdf11a03 v3.45.0 2022-05-24 12:57:53 +01:00
RiotRobot
076598ca85 Upgrade matrix-js-sdk to 18.0.0 2022-05-24 12:41:56 +01:00
RiotRobot
17cdf58d2d v3.45.0-rc.3 2022-05-20 11:00:07 +01:00
RiotRobot
3c2e9c364a Upgrade matrix-js-sdk to 18.0.0-rc.2 2022-05-20 10:58:03 +01:00
RiotRobot
c0bac337de v3.45.0-rc.2 2022-05-17 19:18:54 +01:00
RiotRobot
ca157db9d8 v3.45.0-rc.1 2022-05-17 19:13:51 +01:00
RiotRobot
a68032760e Upgrade matrix-js-sdk to 18.0.0-rc.1 2022-05-17 18:32:12 +01:00
Michael Telatynski
d9b7e0721c
Add visual tests using Percy in Cypress (#8610)
* Add basic Percy tests

* Run Percy in CI

* Fix snapshot timing

* Fix bad selector

* Hide another bit of dynamic text

* Add docs
2022-05-17 15:16:14 +00:00
Michael Telatynski
ad4d3f9a88
Move threads e2e tests over to cypress (#8501)
* Add non-consent (default) Synapse template

* Add consent test

* Add create room test

* Stash work

* Initial threads tests

* fix

* Delete old threads e2e tests, plan new ones

* Fix typed s'more

* Try something else

* specify d.ts

* Fix types once and for all?

* Fix the consent tests

* Iterate threads test harness

* Fix dispatcher types

* Iterate threads test

* fix typing

* Alternative import attempt

* let it break let it break let it break

* Tweak types

* Stash

* delint and update docs

* null-guard scrollIntoView

* Iterate threads test

* Apply suggestions from code review
2022-05-10 17:09:31 +00:00