Commit graph

47223 commits

Author SHA1 Message Date
Florian Duros
a306a08780
Disable After marking room as read, paging up to find old threads that were never read leaves the room read for new crypto (#11795) 2023-10-25 09:10:21 +00:00
Michael Telatynski
afcaec658f
Fix io.element.late_event received_ts vs received_at (#11789)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-25 07:01:24 +00:00
nurjin jafar
b2fb41b91c
Make invitation dialog scrollable when infos are too long (#11753)
* make invitation dialog scrollable when room name or invitation text/info is too long.

Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net>

* truncate room name in invitation dialog to two lines

Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net>

* truncate room name in invitation dialog to two lines

Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net>

* fix linter issue

Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net>

---------

Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net>
2023-10-24 16:06:44 +00:00
Ajay Bura
827715cf1e
fix spoiler text-align (#11790) 2023-10-24 15:48:12 +00:00
ElementRobot
6e24b4d221 Reset matrix-js-sdk back to develop branch 2023-10-24 15:35:55 +01:00
ElementRobot
7f2b6711a5 Resetting package fields for development 2023-10-24 15:35:19 +01:00
ElementRobot
beb54fbf19 Merge branch 'master' into develop 2023-10-24 15:35:15 +01:00
ElementRobot
c0c859c7ea v3.83.0 2023-10-24 15:35:06 +01:00
ElementRobot
04a562e97b Prepare changelog for v3.83.0 2023-10-24 15:35:04 +01:00
ElementRobot
ef7132523b Upgrade matrix-js-sdk to 29.1.0 2023-10-24 15:31:58 +01:00
Florian Duros
85b15888e8
Disable "can receive a verification request when there is no existing DM" for EWR (#11788) 2023-10-24 12:24:47 +00:00
Kerry
9eb44105cb
Revert "Fix: Right panel keeps showing chat when unmaximizing widget. (#11697)" (#11786)
This reverts commit c44c772246.
2023-10-24 06:49:45 +00:00
Michael Telatynski
42db15fc0d
Delete .github/workflows/upgrade_dependencies.yml 2023-10-24 00:48:16 +01:00
Kerry
124b18b034
add emoji messages to percy screenshot (#11775) 2023-10-23 20:17:42 +00:00
Manan Sadana
c44c772246
Fix: Right panel keeps showing chat when unmaximizing widget. (#11697)
* Right panel chat closes when unmaximising widget

* Basic right panel tests added

* Accessible selectors used for new tests

* Test added to check if chat exists in right panel

---------

Co-authored-by: Manan Sadana <manan.sadana@cnhteam.onmicrosoft.com>
Co-authored-by: Florian Duros <florianduros@element.io>
2023-10-23 08:20:52 +00:00
Germain
c28f3164bd
Fix margin of invite to room button (#11780) 2023-10-20 20:26:32 +00:00
David Baker
2173705ed5
Rename the per-participant e2ee keys event (#11783)
From the department of single-byte PRs.

I reanmed this in the branch because it now contains multiple keys.
2023-10-20 20:21:27 +00:00
David Baker
21dc26f725
Update base64 import (#11784)
Apologies, I broke this with https://github.com/matrix-org/matrix-js-sdk/pull/3818

This fixes it, but needs https://github.com/matrix-org/matrix-js-sdk/pull/3820
2023-10-20 18:19:09 +01:00
ElementRobot
370c0e9a50
[Backport staging] Set max size for Element logo in search warning (#11782)
Co-authored-by: Germain <germains@element.io>
2023-10-20 18:07:10 +01:00
Germain
8cf6f03283
Set max size for Element logo in search warning (#11779) 2023-10-20 15:27:29 +00:00
Germain
f784a085fd
New right panel visual language (#11664)
* New right panel visual language

* Upgrade Compound

* Align old room header with right panel

* Rigth panel look and feel

* Fix linting and e2e tests

* Update snapshot

* Add test

* Lint

* Remove screenshot local script

* Update snapshots and UI based on feedback

* fix i18n key

* Update right panel visuals

* Fix tests

* lintfixes

* fix tests

* fix tests

* Add tests for search icon

* Fix invite dialog spec
2023-10-20 13:30:37 +00:00
Kerry
a63b99f687
Revert "remove problematic big emoji style (#11757)" (#11774)
This reverts commit eb7ce666b7.
2023-10-20 02:41:53 +00:00
Andy Balaam
fa559cddbe
Skip flaky test 'Looking in thread view to find old threads' (#11724) 2023-10-19 11:06:57 +00:00
renovate[bot]
5a961795bc
Update matrix-org (#11625)
* Update matrix-org

* Update analytics calls

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

* Hold back wysiwyg

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-10-19 08:02:24 +00:00
renovate[bot]
68392e2ce1
Update react-types (#11565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-19 08:56:37 +01:00
Kerry
5056c12b38
configure feature_oidc_native_flow as a feature setting, update copy (#11773) 2023-10-19 06:00:29 +00:00
Dharshan
3902ce9c40
Fix CSS for uploading-files in threads (#11751)
* Fix CSS for uploading-files in threads

* fix-close button to stick at top of container

* re-align close button

* re-align close button

---------

Co-authored-by: Kerry <kerrya@element.io>
2023-10-19 04:07:38 +00:00
Kerry
1d9c24e96e
OIDC: add friendly errors (#11184)
* add delegatedauthentication to validated server config

* dynamic client registration functions

* test OP registration functions

* add stubbed nativeOidc flow setup in Login

* cover more error cases in Login

* tidy

* test dynamic client registration in Login

* comment oidc_static_clients

* register oidc inside Login.getFlows

* strict fixes

* remove unused code

* and imports

* comments

* comments 2

* util functions to get static client id

* check static client ids in login flow

* remove dead code

* OidcRegistrationClientMetadata type

* navigate to oidc authorize url

* exchange code for token

* navigate to oidc authorize url

* navigate to oidc authorize url

* test

* adjust for js-sdk code

* login with oidc native flow: messy version

* tidy

* update test for response_mode query

* tidy up some TODOs

* use new types

* add identityServerUrl to stored params

* unit test completeOidcLogin

* test tokenlogin

* strict

* whitespace

* tidy

* unit test oidc login flow in MatrixChat

* strict

* tidy

* extract success/failure handlers from token login function

* typo

* use for no homeserver error dialog too

* reuse post-token login functions, test

* shuffle testing utils around

* shuffle testing utils around

* i18n

* tidy

* Update src/Lifecycle.ts

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

* tidy

* comment

* update tests for id token validation

* move try again responsibility

* prettier

* add friendly error messages for oidc authorization failures

* i18n

* update for new translations, tidy

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-10-19 02:46:37 +00:00
Kerry
eb7ce666b7
remove problematic big emoji style (#11757) 2023-10-18 21:39:47 +00:00
renovate[bot]
67452f5021
Update all non-major dependencies (#11618)
* Update all non-major dependencies

* Fix types

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

* highlight.js breaking change

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

* Hold back jest-sonar-reporter

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-10-18 16:18:13 +00:00
Andy Balaam
73f91cbafa
Enable tests that have been fixed by matrix-js-sdk#3798 (#11762)
* Disable two tests that flake after matrix-js-sdk#3798

* Enable tests that have been fixed by matrix-js-sdk#3798

* Disable two flaking tests

* Disable another flaking test
2023-10-18 16:12:35 +00:00
Richard van der Hoff
888d01cad8
Re-enable QR verification cypress test for Element-R (#11771)
* Re-enable QR verification cypress test for Element-R

This test was disabled by
https://github.com/matrix-org/matrix-react-sdk/pull/11710. The impl has now
been fixed, so it should be possible to re-enable it now.

While we're here, rename a couple of the tests for clarity.

* fix lint
2023-10-18 13:27:32 +00:00
Richard van der Hoff
ff35107e9c
Update comment on disabled cypress test (#11772)
It still doesn't work, but the reason has changed
2023-10-18 11:25:31 +00:00
Richard van der Hoff
f09ec2cf26
Cypress: distinguish logs from bot clients (#11770)
When we instantiate a `MatrixClient` for a "bot" user, give it a custom
`Logger` which will add a prefix to any logs written by that client.
2023-10-18 10:52:07 +00:00
Manan Sadana
01714d9c83
Fix: Bubble layout design is broken (#11763)
* Fixed the layout, added border to match design

* Border fixed for hover and highlighted messages

* moved some selectors up to avoid duplicate selectors
2023-10-18 09:46:09 +00:00
Kerry
d92273957d
try to stabilise Configured room on IRC layout snapshot (#11769) 2023-10-18 09:14:01 +00:00
renovate[bot]
ea19aa17e1
Update dependency @testing-library/dom to v9 (#11768)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 16:09:35 +00:00
renovate[bot]
36d7f8947e
Update cypress-io/github-action digest to 2d4bd63 (#11616)
* Update cypress-io/github-action digest to 2d4bd63

* Update cypress.yaml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-17 16:08:54 +00:00
renovate[bot]
6e19bf6b86
Update browser-actions/setup-chrome digest to 905ab04 (#11705)
* Update browser-actions/setup-chrome digest to 905ab04

* Update cypress.yaml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-17 16:06:33 +00:00
renovate[bot]
3bf5bcbd2b
Update dependency emojibase-regex to v15.2.0 (#11767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 16:00:10 +00:00
Richard van der Hoff
a283bc4889
Avoid MatrixEvent.toJSON in event indexer (#11765)
Part of the solution to https://github.com/vector-im/element-web/issues/26380:
`toJSON` is dangerous, and I'd like to kill it off. There is no need for it
here; it is simpler to call `getEffectiveEvent` directly.
2023-10-17 15:54:22 +00:00
renovate[bot]
49cfde82de
Update sentry-javascript monorepo to v7.74.0 (#11626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 15:20:56 +00:00
renovate[bot]
087ed6dbfc
Update definitelyTyped (#11620)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-17 18:17:09 +01:00
renovate[bot]
aaa11323d4
Update dependency axe-core to v4.8.2 (#11622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 15:20:08 +00:00
renovate[bot]
2849f3c9ec
Update dependency @percy/cli to v1.27.3 (#11707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 15:20:03 +00:00
dependabot[bot]
00c7152ef5
Bump @babel/traverse from 7.22.15 to 7.23.2 (#11758)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 16:15:00 +01:00
ElementRobot
b09251db69 v3.83.0-rc.1 2023-10-17 15:18:58 +01:00
ElementRobot
47bf16af11 Prepare changelog for v3.83.0-rc.1 2023-10-17 15:18:57 +01:00
ElementRobot
a00e27d6b2 Upgrade matrix-js-sdk to 29.1.0-rc.1 2023-10-17 15:12:23 +01:00
Andy Balaam
94ca061cda
Disable two tests that flake after matrix-js-sdk#3798 (#11761) 2023-10-17 14:08:58 +00:00