69131 Commits

Author SHA1 Message Date
Richard van der Hoff 46e47a821e Clean up signature of verifyEvent
It doesn't need to be `async`, and it doesn't need us to pass in the event
every time.
2022-12-17 23:52:55 +00:00
Richard van der Hoff e3f591e7d2 Return the password from getBot
... so that we can use it to log in for a second time
2022-12-17 23:52:55 +00:00
Richard van der Hoff 9901219194 rip out unused mkPresence
it only serves to make the strict type checker complain
2022-12-17 23:52:54 +00:00
Michael Weimann 9584388171 Improve some voice broadcast tests (#9786) 2022-12-16 18:23:29 +00:00
Richard van der Hoff 6ec6d44c96 Add a config flag to enable the rust crypto-sdk (#9759)
This PR adds an option to `config.json` which will make the js-sdk use the rust crypto sdk, instead of the libolm implementation.

To use it, you need to add something like this to `config.json`:

```
    "features": {
        "feature_rust_crypto": true
    },
```

We don't (yet) have any way to migrate a device between implementations, so the setting that was in use when you log in is persisted to the device; it is *visible* via the labs section but cannot currently be changed.

This is part of https://github.com/vector-im/element-web/issues/21972, and enables the functionality added to the js-sdk in https://github.com/matrix-org/matrix-js-sdk/pull/2969.
2022-12-16 17:10:26 +00:00
renovate[bot] bfaced2172 Update typescript-eslint monorepo to v5.46.1 (#9769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 15:19:18 +00:00
Michael Telatynski f1e8e7f140 Enable @typescript-eslint/explicit-member-accessibility on /src (#9785)
* Enable `@typescript-eslint/explicit-member-accessibility` on /src

* Prettier
2022-12-16 12:29:59 +00:00
Michael Weimann 51554399fb Implement broadcast message preview (#9762) 2022-12-16 11:01:16 +00:00
Michael Weimann 6205c70462 Display broadcast live state only depending on the recording (#9774) 2022-12-16 09:55:54 +00:00
renovate[bot] c164f3cbe9 Update dependency @types/node to v16.18.8 (#489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-15 22:06:26 -07:00
renovate[bot] aa4c25016d Update typescript-eslint monorepo to v5.46.1 (#493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-15 22:06:00 -07:00
Michael Kaye 6bc4523cf7 Use full suite title when cypress tests contain nested describe()s. (#9777) 2022-12-15 19:21:39 +00:00
renovate[bot] 16f253690a Update all non-major dependencies (#491)
* Update all non-major dependencies

* Add prettier

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2022-12-15 18:14:43 +00:00
Andy Balaam f542491467 Merge pull request #496 from vector-im/andybalaam/format-prettier
Format all files with prettier
2022-12-15 17:24:49 +00:00
Faye Duxovni 4724506320 Improve decryption error UI by consolidating error messages and providing instructions when possible (#9544)
* Improve decryption error UI by consolidating error messages and providing instructions when possible

* Fix TS strict errors

* Rename .scss to .pcss

* Avoid accessing clipboard, Cypress doesn't like it

* Display DecryptionFailureBar alongside other AuxPanel bars

* Add comments

* Add small margin off-screen for visible decryption failures

* Fix some more TS strict errors

* Add unit tests for DecryptionFailureBar

* Add button to resend key requests manually

* Remove references to matrix-js-sdk crypto internals

* Add hysteresis to visible decryption failures

* Add comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Add comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Don't create empty div if we're not showing resend requests button

* cancel updateSessions on unmount

* Update unit tests

* Fix lint and implicit any

* Simplify visible event bounds checking

* Adjust cypress test descriptions

* Add percy snapshots

* Update src/components/structures/TimelinePanel.tsx

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Add comments on TimelinePanel IState

* comment

* Add names to percy snapshots

* Show Resend Key Requests button when there are sessions that haven't already been requested via this bar

* We no longer request keys from senders

* update i18n

* update expected text in cypress test

* don't download keys ourselves, update device info in response to updates from client

* fix ts strict errors

* visibledecryptionfailures undefined handling

* Fix implicitAny errors

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-15 17:24:33 +00:00
Andy Balaam c6d44418b5 Format build.yaml 2022-12-15 16:20:32 +00:00
Andy Balaam a99f9a6aee wip 2022-12-15 16:03:02 +00:00
Michael Telatynski 86149805b9 Fix macOS tests (#495) 2022-12-15 15:21:04 +00:00
Michael Kaye b728b27435 Report cypress test results into testrail. (#9685)
* Reduce cypress size/scope

* Emit cypress reports in junit-compatible format.

* Clean implementation of upload

* Append a warning if not all tests that testrail knows of are run.

* Only run testrail if on develop (like percy).

* Re-enable full test run.

* Update cypress.config.ts

* Ensure SUITE_ID is passed.

* Fix quoting on SUITE_ID, add environment

* Update .github/workflows/cypress.yaml

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* re-add mocha-junit-reporter (was dropped in the merge)

* Prettifier on newly created file.

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-15 12:04:03 +00:00
Andy Balaam 0faac52dae Format all files with prettier 2022-12-15 11:52:12 +00:00
Michael Weimann ab560bba40 Implement small broadcast PiP (#9755) 2022-12-15 11:43:01 +00:00
Kerry 9f795a4c5f Regression test: switch between dm rooms without loader (#9752)
* switching dm rooms without loader regression test

* lint

* more specific js-sdk import

* add wait for room list to settle before asserting

* dont use js-sdk enum
2022-12-15 01:30:53 +00:00
renovate[bot] e857fe06ac Update dependency @types/jest to v29.2.4 (#9756)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 22:52:54 +00:00
Richard van der Hoff 7516c7f420 settings.md: Fix formatting in an example (#9758) 2022-12-14 18:34:23 +00:00
Michael Weimann ce554276db Prevent to start two broadcasts at the same time (#9744) 2022-12-14 17:08:42 +00:00
renovate[bot] 16e92a4d8c Update definitelyTyped (#9757)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 15:50:45 +00:00
renovate[bot] a7124c935e Update dependency @types/node to v16.18.8 (#23994)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 13:24:20 +00:00
Robin 8869374c6b Honor font settings in Element Call (#9751)
Because this encodes font settings into widget URLs at the time that the client first loads a call, this has the consequence that users may need to restart their client to see font setting changes take effect in Element Call. For users who rely on these settings for accessibility, it's a lot better than nothing, though.
2022-12-14 13:23:26 +00:00
renovate[bot] 040344eeab Update dependency @aws-sdk/client-s3 to v3.226.0 (#492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 12:53:40 +00:00
Michael Weimann 8a0b62c7cd Add prettier formatting to .git-blame-ignore-revs (#9753) 2022-12-14 11:19:37 +00:00
renovate[bot] 799b23e2a9 Update dependency @types/jest to v29.2.4 (#488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 11:13:15 +00:00
renovate[bot] 7f067903bf Update dependency @types/jest to v29.2.4 (#23989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 10:56:04 +00:00
renovate[bot] 60d805e4ce Update typescript-eslint monorepo to v5.46.0 (#23990)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 10:55:01 +00:00
Michael Telatynski d766aef435 Enable strict mode on hak tsconfig (#483) 2022-12-14 10:47:35 +00:00
Andy Balaam c4806b9c4f Merge pull request #23987 from vector-im/weeman1337/prettier-ref-ignore
Add prettier formatting to .git-blame-ignore-revs
2022-12-14 10:22:37 +00:00
RiotRobot 1142160222 v1.11.17-rc.1 2022-12-14 09:52:34 +00:00
RiotRobot c280560c2c Prepare changelog for v1.11.17-rc.1 2022-12-14 09:52:33 +00:00
RiotRobot acbe597e32 v1.11.17-rc.1
Dockerhub / Docker Buildx (push) Failing after 42s
v1.11.17-rc.1
2022-12-14 09:43:50 +00:00
RiotRobot 26c101d69a Prepare changelog for v1.11.17-rc.1 2022-12-14 09:43:49 +00:00
RiotRobot 4e9ba16101 Exclude CHANGELOG from prettier and undo what it did 2022-12-14 09:42:39 +00:00
RiotRobot 61253c3497 Upgrade matrix-react-sdk to 3.63.0-rc.2 2022-12-14 09:37:54 +00:00
RiotRobot 96c0a373e3 Upgrade matrix-js-sdk to 23.0.0-rc.1 2022-12-14 09:36:03 +00:00
RiotRobot bf57a12ba4 v3.63.0-rc.2 2022-12-14 09:31:44 +00:00
RiotRobot d4593da055 Prepare changelog for v3.63.0-rc.2 2022-12-14 09:31:44 +00:00
RiotRobot 56865e5ea8 Update olm to fix types for release 2022-12-14 09:27:48 +00:00
Michael Weimann 7122a338ee Add prettier formatting to .git-blame-ignore-revs 2022-12-14 10:21:05 +01:00
RiotRobot e2f5252ad8 v3.63.0-rc.1 2022-12-14 09:03:11 +00:00
RiotRobot 5b3b2918b7 Prepare changelog for v3.63.0-rc.1 2022-12-14 09:03:10 +00:00
RiotRobot 3f3bebc7ad Exclude CHANGELOG from prettier 2022-12-14 08:57:44 +00:00
RiotRobot 9164721113 Exclude CHANGELOG from prettier and undo what it did 2022-12-14 08:57:18 +00:00