Commit Graph

47678 Commits (f23c99229684e83ed33a12af9785e58eb5013016)

Author SHA1 Message Date
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
Hugh Nimmo-Smith 8442f1cf10
Use .well-known to discover a default rendezvous server for use with Sign in with QR (#11655) 2023-09-28 09:37:44 +00:00
R Midhun Suresh 0518af70ac
Localazy: Convert more strings (#11675) 2023-09-28 08:21:30 +01:00
Kerry ef5a93b702
OIDC: retrieve `refreshToken` from storage (#11250)
* test persistCredentials without a pickle key

* test setLoggedIn with pickle key

* lint

* type error

* extract token persisting code into function, persist refresh token

* store has_refresh_token too

* pass refreshToken from oidcAuthGrant into credentials

* rest restore session with pickle key

* retreive stored refresh token and add to credentials

* extract token decryption into function

* remove TODO

* comments

* prettier

* comment pedantry

* fix code smell - nullish coalesce instead of ||

* more comments
2023-09-28 04:38:31 +00:00
Michael Telatynski fa377cbade
Migrate more strings to translation keys (#11672) 2023-09-27 17:15:22 +01:00
Manan Sadana 2e0eb63fe2 Room avatar alignment fixed 2023-09-27 21:19:07 +05:30
Manan Sadana c16aba5c3a
Merge branch 'develop' into manancodes/Edited_message_ux_fix 2023-09-27 17:03:00 +05:30