Commit Graph

47279 Commits

Author SHA1 Message Date
Andy Balaam
9efa458b68
Unflake JoinRuleSettings test (#11715)
* Don't look for 'Updating space' message in joinrulesettings test

as it may disappear too quickly for us to see.

Fixes https://github.com/vector-im/element-web/issues/25625

* Provide mock function to avoid warning in JoinRuleSettings test
2023-10-05 03:30:57 +00:00
Andy Balaam
ae51ed75f7
Merge pull request #11716 from matrix-org/andybalaam/enable-cypress-debug-logging
Turn on Cypress debug logs to figure out why reports are not being created
2023-10-04 16:15:55 +01:00
Andy Balaam
70d834c28e Turn on Cypress debug logs to figure out why reports are not being created 2023-10-04 14:57:43 +01:00
Florian Duros
d40092c9da
Element-R: Use MatrixClient.CryptoApi.getUserVerificationStatus instead of MatrixClient.checkUserTrust in MemberTile.tsx (#11701)
* Use `MatrixClient.CryptoApi.getUserVerificationStatus` instead of `MatrixClient.checkUserTrust` in `MemberTile.tsx`

* Add tests to `MemberTile.tsx`

* Use `mocked` instead of `spyOn`
2023-10-04 13:01:39 +00:00
Richard van der Hoff
241df0ba0a
Cypress: write logs to file (#11712)
... in an attempt to make the github actions output easier to grok
2023-10-04 10:03:33 +00:00
Michael Telatynski
9d1f10e4be
Update workflows around i18n to use Localazy (#11455)
* Remove prunei18n

* Update README

* Update matrix-web-i18n

* Iterate

* Add feature=filter_untranslated

* yarn.lock

* Update localazy.json

* Update package.json

* Update localazy.json

* Update matrix-web-i18n and update i18n:lint

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

* Iterate

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

* Iterate

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

* Remove stale workflow

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

* Localazy Download

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

* i18n

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

* Localazy Download

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-04 09:28:09 +00:00
Kerry
feb7e9899b
OIDC: persist id token claims (#11691)
* persist idTokenClaims

* tests

* remove unused cde
2023-10-04 05:06:04 +01:00
Richard van der Hoff
1c553eae4e
Skip flaky cypress test on rust crypto (#11710) 2023-10-03 21:20:11 +00:00
Andy Balaam
11507790fd
Skip redaction tests that are still flaking (#11704)
* Unflake redaction tests by checking unread state before sending redactions

* Skip a flaky test

* Skip redaction tests that are still flaking
2023-10-03 21:12:36 +00:00
Michael Telatynski
e1cfde0c6e
Migrate more strings to translation keys (#11694) 2023-10-03 19:17:26 +01:00
Will Hunt
677854d318
Fix start_sso / start_cas URLs failing to redirect to a authentication prompt (#11681)
* Show screen before login if using start_sso or start_cas

* Add tests

* Fix lint

* Fix lint

* Add one for CAS

* prettier
2023-10-03 15:19:54 +00:00
Andy Balaam
54a4875e15
Unflake redaction tests by checking unread state before sending redactions (#11696) 2023-10-03 18:03:52 +01:00
Richard van der Hoff
da85b6f257
Enable some cypress tests for rust crypto (#11689) 2023-10-03 15:04:13 +00:00
Manan Sadana
34a0cf7e54
Members shield alignment fixed (#11700) 2023-10-03 14:49:09 +00:00
Andy Balaam
f1d34adbbe
Merge pull request #11695 from matrix-org/andybalaam/share-code-between-read-receipt-tests
Share code for room initialisation between read receipt tests
2023-10-03 15:40:06 +01:00
Andy Balaam
c27c230195
Merge pull request #11678 from manancodes/manancodes/Room_avatar_alignment
Fix: Wierd shadow below room avatar in dark mode.
2023-10-03 15:39:47 +01:00
Florian Duros
067e338b4b
Cypress: Check that the new verified device is connected to key backup (#11686)
* Check that the new verified device is connected to key backup

* Review changes. Extract key backup verification in its own function and chang parameter order of bot `bootstrapSecretStorage` call.
2023-10-03 12:44:15 +00:00
Hugh Nimmo-Smith
4fd8ab933a
Use stable get_login_token and remove unstable MSC3882 support (#11001)
* Support for stable MSC3882 get_login_token

* Fix unstable name type

* Remove tests for unstable MSC3882

* Fix up tests
2023-10-03 12:15:41 +00:00
RiotRobot
07dfa76ee7 v3.82.0-rc.1 2023-10-03 11:49:49 +01:00
RiotRobot
b32814f94c Prepare changelog for v3.82.0-rc.1 2023-10-03 11:49:47 +01:00
RiotRobot
f0dff0b4ed Upgrade matrix-js-sdk to 29.0.0-rc.1 2023-10-03 11:46:07 +01:00
Michael Telatynski
0ab51bc59d
Update AutoDiscoveryUtils.tsx 2023-10-03 11:05:35 +01:00
Andy Balaam
d34ed6b66c
Merge branch 'develop' into andybalaam/share-code-between-read-receipt-tests 2023-10-03 09:08:00 +01:00
Manan Sadana
ab2aef3f3e
Avatar image shrink fixed (#11698)
Co-authored-by: Manan Sadana <manan.sadana@cnhteam.onmicrosoft.com>
2023-10-03 07:55:31 +00:00
Kerry
66854039a3
OIDC: extract token persistence functions to utils (#11690)
* extract token persistence functions to utils

* add sugar
2023-10-02 22:09:13 +00:00
Richard van der Hoff
e8890467fe
Fix a flaky cypress crypto test (#11687)
* Fix a flaky cypress crypto test

We need to be a bit proactive to get existing shields to update when a device
is deleted.

* Handle different text between rust and legacy crypto
2023-10-02 20:07:42 +00:00
Richard van der Hoff
6e559266df
Cypress test for incoming user verification (#11688)
* Cypress test for incoming user verification

* Fix complaint from cypress about immediate values
2023-10-02 19:08:41 +00:00
Andy Balaam
ff1057fb0a Share code for room initialisation between read receipt tests 2023-10-02 16:59:38 +01:00
Andy Balaam
966d8bd695
Ensure the bot has joined the correct room before we start the test (#11693) 2023-10-02 12:51:56 +00:00
Michael Telatynski
41a2325a2a
Migrate more strings to translation keys (#11683) 2023-10-02 13:52:27 +01:00
Michael Telatynski
632d8f4bc7
Update custom translations to support nested fields in structured JSON (#11685)
* Update matrix-web-i18n

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

* Fix custom translations for structured JSON nested fields

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

* Fix import

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

* Fix export

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

* Update @matrix-org/react-sdk-module-api

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

* Iterate

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

* Delint

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

* Iterate

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

* Update matrix-web-i18n

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

* Update matrix-web-i18n

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-02 10:44:25 +00:00
Andy Balaam
1897962086
Fix expectations in edit tests: edits should not cause unread (#11682)
* Fix expectations in edit tests: edits should not cause unread

* Skip flaky test
2023-10-02 09:55:18 +00:00
R Midhun Suresh
9a76d6b9a3
Locallazy: Convert even more strings (#11679)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-02 11:43:00 +01:00
Andy Balaam
8d289544b3
Merge pull request #11692 from matrix-org/andybalaam/downgrade-cypress-to-12
Downgrade Cypress to v12.
2023-10-02 10:54:07 +01:00
Andy Balaam
97d871cba9
Merge pull request #11674 from manancodes/manancodes/Edited_message_ux_fix
Fix: Edited message remove button is hard to reach.
2023-10-02 10:53:19 +01:00
Andy Balaam
ea6cc0fde4 Downgrade Cypress to v12.
(On the understanding that v12 will continue to allow us to use
the sorry-cypress service for balancing test parallelisation.)

Reverts "Update dependency cypress to v13 (#11570)"
This reverts commit 35a6595080.
2023-10-02 10:11:31 +01:00
RiotRobot
695049729c Reset matrix-js-sdk back to develop branch 2023-09-29 11:14:46 +01:00
RiotRobot
be315a4186 Resetting package fields for development 2023-09-29 11:14:24 +01:00
RiotRobot
5cb09c683a Merge branch 'master' into develop 2023-09-29 11:14:19 +01:00
RiotRobot
ee8e9a1c9d v3.81.1 2023-09-29 11:14:03 +01:00
RiotRobot
837253b037 Prepare changelog for v3.81.1 2023-09-29 11:14:01 +01:00
Andy Balaam
42e1805cbb
Merge pull request #11684 from matrix-org/backport-11673-to-staging
[Backport staging] Fix Emoji font on Safari 17
2023-09-29 09:49:39 +01:00
Michael Telatynski
a3fc8c69a0 Update FontManager.ts (#11673)
(cherry picked from commit 39c4e0c41f)
2023-09-29 08:48:21 +00:00
Andy Balaam
506f286a3e
Tests for paging up to find old messages (#11650)
* Use longer numbers for many() messages to avoid substring clashes

* Tests for paging up
2023-09-29 08:26:47 +00:00
Michael Telatynski
6af4335db1
Migrate more strings to translation keys (#11680) 2023-09-29 08:49:26 +01:00
Andy Balaam
8014cebb20
Merge pull request #11661 from matrix-org/andybalaam/fix-receipt-flakes
Fix flaky receipt and redaction tests by pausing between message sends
2023-09-28 14:57:22 +01:00
Andy Balaam
d7d0f54e9b
Merge branch 'develop' into andybalaam/fix-receipt-flakes 2023-09-28 14:23:45 +01:00
Andy Balaam
58afa900d5
Target specific thread name to unflake redaction tests (#11662)
* Disambiguate thread root names to unflake redaction tests

* Revert "Disambiguate thread root names to unflake redaction tests"

This reverts commit f21ffa5554e7d49322acc8f8c1c1ef4063b9efdd.

* Find thread root by text, not contains
2023-09-28 12:44:29 +00:00
Michael Telatynski
e0f4b26512
Remove focus-visible polyfill (#11677)
* Remove focus-visible polyfill

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

* Update snapshots

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-28 11:52:26 +00:00
Manan Sadana
8e4de798a5
Fix: Theme selector radio button not aligned in center with the text (#11676)
* Theme selector radio button aligned in center with the text

* fixed alignment, align-items at correct position now

---------

Co-authored-by: Manan Sadana <manan.sadana@cnhteam.onmicrosoft.com>
2023-09-28 10:26:01 +00:00