Commit Graph

62499 Commits (85d2bf3a04faa5826b56136f0f44dce3cebb48c4)

Author SHA1 Message Date
Richard van der Hoff ffb4239103
Fix incorrect type annotation on `cacheSecretStorageKey` (#12068)
* Fix incorrect type annotation on `cacheSecretStorageKey`

`cacheSecretStorageKey` is passed a `SecretStorageKeyDescription` (aka a
`ISecretStorageKeyInfo`), and has done ever since
https://github.com/matrix-org/matrix-js-sdk/pull/1502.
`AddSecretStorageKeyOpts`is something else, though until recently some of the
properties on `AddSecretStorageKeyOpts` were incorrectly marked as optional, so
this went unnoticed since it was broken by
https://github.com/matrix-org/matrix-react-sdk/pull/11217.

* playwright has the same problem
2023-12-18 17:23:46 +00:00
Pankaj Singh 4203c953eb
fix(contributing.md): added private sign off process (#26785)
Signed-off-by: Pankaj Singh <pankajsingh132000@gmail.com>
2023-12-18 15:50:31 +00:00
R Midhun Suresh d1562befc4
Convert spotlight tests to playwright (#12033)
* Convert tests

* Use existing code

* Remove code from settings

* Change names

* Change comment

* Update comment
2023-12-18 06:04:15 +00:00
renovate[bot] 7508e62eda
Update dependency @sentry/browser to v7.87.0 (#12044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-16 16:39:29 +00:00
R Midhun Suresh 7b3d5b5f21
Playwright: Convert sliding-sync test to playwright (#11989)
* Add method to send text message

* Add dockerUrl to HomeServerConfig

* Implement sliding sync proxy

* Convert tests

* Reload page after applying labs feature

* Remove converted files

* Remove timeout

* Remove sliding-sync

* Remove proxy import

* Remove reference to proxy

* wait for load

* Update date

* Convert enableLabsFeature to separate fixture

* Enable feature in fixture

* Skip over config and just write to local-storage

* Rename fixture

* Fix room header test

* Use type inference

* Override config instead of setting localstorage

* Set default language

* Always add labs feature

* Put this one test into a separate describe block

* Move labs lag within describe block
2023-12-16 10:01:26 +00:00
Richard van der Hoff de5931d5a8
Element-R: fix repeated requests to enter 4S key during cross-signing reset (#12059)
* Remove redundant `forceReset` parameter

This was always true, so let's get rid of it.

Also some function renames.

* Factor out new `withSecretStorageKeyCache` helper

... so that we can use the cache without the whole of `accessSecretStorage`.

* Cache secret storage key during cross-signing reset

* Playwright test for resetting cross-signing

* CrossSigningPanel: Silence annoying react warnings

React complains if we don't include an explicit `tbody`.

* Simple unit test of reset button
2023-12-15 14:59:36 +00:00
R Midhun Suresh a7c039d314
Fix playwright screenshot update command on linux (#12060)
* Change permission for synapse to work

* Upgrade playwright
2023-12-15 14:30:59 +00:00
Michael Telatynski 9d93a3f54d
Retry jest tests to avoid flakes slowing down PRs (#12051)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-15 13:11:57 +00:00
Hubert Chathi f0dd12dbc1
Log unhandled promise rejections in the rageshake (#12028) 2023-12-15 10:16:30 +00:00
ElementRobot e9f0a8cddc
Merge pull request #26767 from element-hq/actions/localazy-download
Localazy Download
2023-12-15 06:28:43 +00:00
ElementRobot 46e301f8f8
[create-pull-request] automated change (#12058)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2023-12-15 06:23:40 +00:00
t3chguy 2b06101502 [create-pull-request] automated change 2023-12-15 06:07:37 +00:00
Michael Telatynski f8d87f0ddc
Prevent Cypress typechecking react-sdk components without strict mode (#12053)
* Prevent Cypress typechecking react-sdk components without strict mode

This prevented us from switching to `forwardRef` in a bunch of places
due to it behaving different with & without strict mode.

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update global.d.ts

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-14 17:55:57 +00:00
Michael Telatynski 088710811d
Migrate composer.spec.ts from Cypress to Playwright (#12024)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-14 13:49:51 +00:00
Michael Telatynski d5a211c774
Attach synapse logs to failed Playwright test runs (#12027)
* Attach synapse logs to failed Playwright test runs

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update playwright/plugins/homeserver/index.ts

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-14 13:49:35 +00:00
Anoop P 18f11b8024
Fix position of thumbnail in room timeline (#12016)
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2023-12-14 11:16:05 +00:00
renovate[bot] 6669cb70e4
Update dependency @vector-im/compound-web to v0.9.4 (#11891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-14 11:10:01 +00:00
Michael Telatynski 4e952e7cb5
Upgrade css-loader to v5 (#26758) 2023-12-13 15:41:33 +00:00
Michael Telatynski 4f19356492
Migrate timeline.spec.ts from Cypress to Playwright (#12025)
* Migrate timeline.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Monospace font for timestamps

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* More expects

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* delint

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-13 14:59:08 +00:00
Michael Telatynski fc1f706540
Improve install.md docs 2023-12-13 14:53:58 +00:00
Michael Telatynski 8040ed92a9
Migrate integration-manager/* from Cypress to Playwright (#12031)
* Migrate send_event.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate read_events.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate kick.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate get-openid-token.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Discard changes to playwright/pages/client.ts

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-13 14:49:43 +00:00
Florian Duros 1038500e71
Merge pull request #26757 from element-hq/revert-26750-renovate/css-loader-6.x
Revert "Update dependency css-loader to v6"
2023-12-13 15:08:08 +01:00
Florian Duros 039d625031 Revert "Update dependency css-loader to v6 (#26750)"
This reverts commit 3281523961.
2023-12-13 14:46:57 +01:00
renovate[bot] 3281523961
Update dependency css-loader to v6 (#26750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 11:51:23 +00:00
renovate[bot] c9aa12d936
Update typescript-eslint monorepo to v6 (major) (#26754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 11:35:27 +00:00
renovate[bot] 2cab6ed369
Update dependency babel-loader to v9 (#26749)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 11:29:45 +00:00
renovate[bot] 85d5add803
Update dependency style-loader to v3 (#26746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 11:28:34 +00:00
renovate[bot] 5df9eab4a9
Update dependency stylelint-config-standard to v35 (#26747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 11:27:39 +00:00
renovate[bot] e3336aef29
Update dependency stylelint to v16 - abandoned (#12046)
* Update dependency stylelint to v16

* Bump stylelint-scss for compat

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-13 10:02:12 +00:00
renovate[bot] 42e860db2e
Update dependency @types/jest to v29.5.11 (#26736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 09:40:08 +00:00
renovate[bot] 85d057c427
Update dependency stylelint to v16 (#26740)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-13 09:36:21 +00:00
renovate[bot] 2877e797a3
Update actions/deploy-pages action to v3 (#26739)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 09:03:36 +00:00
renovate[bot] 9c89d6dbd9
Update babel monorepo to v7.23.5 (#26735)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 09:02:34 +00:00
renovate[bot] bfa7763f15
Update dependency @types/node to v16.18.68 (#26737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 09:00:57 +00:00
renovate[bot] ad2592a253
Update dependency typescript to v5.3.3 (#26738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 09:00:48 +00:00
renovate[bot] 9ed1c21159
Update all non-major dependencies (#26734)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 08:59:42 +00:00
renovate[bot] 4f3b730e90
Update docker/metadata-action digest to 31cebac (#26733)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 08:59:24 +00:00
renovate[bot] 0e06f38c1b
Update dawidd6/action-download-artifact digest to f29d1b6 (#12037)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 08:55:38 +00:00
ElementRobot dc134978fc
[create-pull-request] automated change (#12048)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2023-12-13 06:22:56 +00:00
ElementRobot 8980ff6366
Merge pull request #26732 from element-hq/actions/localazy-download
Localazy Download
2023-12-13 06:20:00 +00:00
t3chguy 1ce3fe6e73 [create-pull-request] automated change 2023-12-13 06:07:38 +00:00
renovate[bot] 0f6b2f72b1
Update all non-major dependencies (#12038)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 21:05:05 +00:00
renovate[bot] 7ea9da52a2
Update dependency stylelint-config-standard to v35 (#12047)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 18:37:18 +00:00
renovate[bot] 6cf2c0d437
Update dependency typescript to v5.3.3 (#12043)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 18:28:44 +00:00
renovate[bot] 436f730d2b
Update dependency @types/node to v16.18.68 (#12042)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 18:28:38 +00:00
renovate[bot] 1f1d791270
Update dependency @types/jest to v29.5.11 (#12041)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 18:28:26 +00:00
renovate[bot] dac1121ea7
Update babel monorepo to v7.23.5 (#12039)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 18:28:15 +00:00
Michael Telatynski c9008152c5
Migrate widgets/* from Cypress to Playwright (#12032)
* Migrate send_event.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate read_events.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate kick.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate get-openid-token.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate layout.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate events.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate stickers.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Migrate widget-pip-close.spec.ts from Cypress to Playwright

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix types

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add screenshot

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* expect.poll to stabilise test

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-12 17:26:08 +00:00
RiotRobot 9ae3bade02 v1.11.52-rc.0 2023-12-12 17:06:02 +00:00
RiotRobot 01c1243fe4 Upgrade matrix-js-sdk to 30.3.0-rc.0 2023-12-12 17:06:01 +00:00