Commit Graph

45692 Commits (0bff11e2389d2b557081e222e98f38b42e2c8b42)

Author SHA1 Message Date
renovate[bot] 0bff11e238
Update dependency @percy/cli to v1.21.0 (#10528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 10:49:24 +00:00
Michael Telatynski 55d3548330
Conform more of the codebase to `strictNullChecks` (#10518
* Conform more of the codebase to `strictNullChecks`

* Iterate

* Fix tests
2023-04-06 11:10:14 +01:00
Michael Telatynski e9cc88b872
Update pull_request.yaml 2023-04-06 10:42:08 +01:00
renovate[bot] 7aaaa13daa
Update react-types (#10527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 09:37:29 +00:00
Michael Telatynski c1001e2794
Update tests.yml 2023-04-06 09:57:51 +01:00
Michael Telatynski 5509b252c3
Update static_analysis.yaml 2023-04-06 09:57:24 +01:00
Michael Telatynski 7d04dc2a9c
Update element-web.yaml 2023-04-06 09:56:23 +01:00
renovate[bot] 6c0f6109a0
Update sentry-javascript monorepo to v7.46.0 (#10529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:50:15 +00:00
renovate[bot] 990bb4c23e
Update definitelyTyped (#10526)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 08:46:43 +00:00
Suguru Hirahara 374a23edb5
Add E2E test of audio player (#10441)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:45:55 +00:00
alunturner e03eac12c3
Add room and user avatars to rte (#10497)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:43:49 +00:00
Hugh Nimmo-Smith 5c0e5eb0fb
Support for MSC3882 revision 1 (#10443)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:06:12 +00:00
Michael Telatynski 700af0954a
Update cypress.yaml 2023-04-05 17:48:27 +01:00
Michael Telatynski d960071177
Update cypress.yaml 2023-04-05 17:45:45 +01:00
Michael Telatynski 30f42ea426
Update cypress.yaml 2023-04-05 16:57:32 +01:00
Michael Telatynski ea6a2033ee
Tweak Percy cron trigger to not run on weekends (#10519
`Runs at 04:17, Monday through Friday.`
2023-04-05 13:45:07 +01:00
Michael Telatynski 09eefe14ea
Remove feedback buttons from onboarding, search, and spaces (#10506) 2023-04-05 12:17:25 +01:00
Michael Weimann df89d2ce28
Check profiles before starting a DM (#10472) 2023-04-05 13:13:51 +02:00
Suguru Hirahara 78e03e0617
Use Cypress Testing Library - composer.spec.ts (#10511)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-04-05 11:47:14 +01:00
Michael Telatynski e5a314617a
Conform more of the codebase to strictNullChecks (#10505
* Conform more of the codebase to `strictNullChecks`

* Iterate

* Conform more of the codebase to `strictNullChecks`

* Iterate

* Iterate

* Iterate

* Iterate
2023-04-05 09:02:40 +01:00
Suguru Hirahara 7503bf6b96
Fix spacing of headings of integration manager on General settings tab (#10232)
* Fix spacing of headings of integration manager on General settings tab

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

* lint

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

* Check the column gap

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

* Iterate

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

* Scroll to 'mx_SetIntegrationManager' and take a snapshot of the dialog

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

* Revert "Scroll to 'mx_SetIntegrationManager' and take a snapshot of the dialog"

This reverts commit 9151d6a34de109c0dffa95046397c13f4b61f5a4.

* Specify actual width of mx_SetIntegrationManager

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

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-04-05 08:13:32 +01:00
Kerry 2434749f65
Highlight event when any version triggered a highlight (#10502)
* check previous events pushactions when deciding to highlight

* test event highlight

* strict fix

* highlight edited text to red
2023-04-05 02:46:17 +00:00
Kerry 1024ced52e
test AutoDiscoveryUtils (#10501) 2023-04-04 20:49:24 +00:00
Janne Mareike Koschinski 52eec283b3
Quick settings: Change the copy / labels on the options (#10427)
* Quick settings: Change the copy / labels on the options
* Update i18n
2023-04-04 21:00:57 +02:00
Suguru Hirahara a340387374
Remove an obsolete CSS declaration and add a test to `file-panel.spec.ts` (#10498)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-04-04 18:38:05 +01:00
alunturner 7a250f41ac
Update rte autocomplete styling (#10503)
* amend className to reflect usage
* move new class into file used by Send/Edit composers
* add border styling to autocomplete
2023-04-04 14:52:57 +01:00
Michael Telatynski b77b2df29b
Improve context types (#10510) 2023-04-04 14:01:04 +01:00
alunturner 974dc35c41
Allow editing with RTE to overflow for autocomplete visibility (#10499) 2023-04-04 11:43:02 +01:00
Michael Telatynski bc60a9b594
Conform more of the codebase to `strictNullChecks` (#10504
* Conform more of the codebase to `strictNullChecks`

* Iterate
2023-04-04 11:41:46 +01:00
Andy Balaam 6db0c7a1a6
Merge pull request #10507 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Translations update from Weblate
2023-04-04 11:40:49 +01:00
Weblate fce6473524 Merge branch 'origin/develop' into Weblate. 2023-04-04 09:08:00 +00:00
Suguru Hirahara b06b602c5b
Remove an obsolete style block related to highlighting from `_IRCLayout.pcss` (#10451)
* Remove an obsolete style block related to highlighting from _IRCLayout.pcss

Initially it has been added with this commit 67249e1e9c for the implementation of IRC layout, but the border declarations for highlighting were removed with this commit 3a2aa9d96c to replace the 'border-left' declaration with the 'box-shadow' declaration.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-04-04 11:07:53 +02:00
Weblate b2e61cf655 Merge branch 'origin/develop' into Weblate. 2023-04-04 08:54:14 +00:00
Suguru Hirahara 4064ae7ad0
Use Cypress Testing Library - `timeline.spec.ts` (#10471)
* Use Cypress Testing Library - timeline.spec.ts

- findButton
- findMenuitem

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

* Remove force: false from click()

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

* Add const messageEdit

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

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-04-04 09:54:06 +01:00
Weblate 7322cff0d7 Merge branch 'origin/develop' into Weblate. 2023-04-04 07:46:41 +00:00
Peter Chen 2b3eb9e132 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3766 of 3766 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-04-04 07:46:41 +00:00
LinAGKar 6a0ec8cebd Translated using Weblate (Swedish)
Currently translated at 98.5% (3710 of 3766 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2023-04-04 07:46:38 +00:00
Eric Eastwood 2ebec3a3c7
Remove orphaned GenericError class (#10500)
Originally introduced in
https://github.com/matrix-org/matrix-react-sdk/pull/8329

All usages were removed in
https://github.com/matrix-org/matrix-react-sdk/pull/9605

This error also has problems with showing tranlsated versions in the logs.
Part of https://github.com/vector-im/element-web/issues/9597

We should be using the new `UserFriendlyError` for this kind of thing anyway.
Introduced in https://github.com/matrix-org/matrix-react-sdk/pull/10440
2023-04-04 02:46:27 -05:00
Weblate 9a3529aaa8 Merge branch 'origin/develop' into Weblate. 2023-04-03 10:02:12 +00:00
Suguru Hirahara d3cd44d44e
Fix a FilePanel test to have Percy take a snapshot of file tiles on the panel (#10429)
* Fix a FilePanel test to have Percy take a snapshot of file tiles on the panel

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

* Check other layouts too

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

* Remove resetting the viewport size as it is not necessary

The viewport size should be reset after each test.

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

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-04-03 11:02:06 +01:00
Weblate d76cda3095 Merge branch 'origin/develop' into Weblate. 2023-04-03 09:28:25 +00:00
Michael Weimann 56423d4d53
Restore createRoom.canEncryptToAllUsers (#10491) 2023-04-03 11:28:17 +02:00
Weblate ca4cb99a17 Merge branch 'origin/develop' into Weblate. 2023-04-03 09:16:35 +00:00
alunturner 6ac366ee5a
Style mentions as pills in rich text editor (#10448) 2023-04-03 10:16:29 +01:00
Weblate b49122e8fb Merge branch 'origin/develop' into Weblate. 2023-04-03 09:09:39 +00:00
Shivam Mahajan f933806b63
Added auto focus to Github URL on opening of debug logs modal (#10479)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-03 09:09:32 +00:00
Weblate 76bbe549bf Merge branch 'origin/develop' into Weblate. 2023-04-03 08:54:55 +00:00
Michael Kaye 5cd459ff2d
Check kiwi_enable value for '1'-ness, not presence (#10482)
Change from string-y checking for true ('0' is true) to comparison against the string '1', which is only true if exactly equal to '1'.

This has been submitting more test results to Kiwi than we want/need.
2023-04-03 09:54:49 +01:00
Weblate 9b1ea80da6 Merge branch 'origin/develop' into Weblate. 2023-04-03 08:27:02 +00:00
Kerry 81a4498a8f
Apply `strictNullChecks` to `src/utils/*!exportUtils` (#10455
* Apply `strictNullChecks` to `src/utils/exportUtils`

* strict fix

* fix strictNullChecks issues in some utils

* fix error message

* test coverage

* lint

* more strictNullChecks

* small optimisation for getUniqueRoomsWithIndividuals

* tidy

* test coverage
2023-04-03 09:26:55 +01:00