Michael Telatynski
6166dbb661
Make existing and new issue URLs configurable ( #10710 )
...
* Make existing and new issue URLs configurable
* Apply a deep merge over sdk config to allow sane nested structures
* Defaultize
* Fix types
* Iterate
* Add FeedbackDialog snapshot test
* Add SdkConfig snapshot tests
* Iterate
* Fix tests
* Iterate types
* Fix test
2023-04-26 09:36:00 +00:00
Michael Telatynski
e4610e4672
Posthog properly handle Analytics ID changing from under us ( #10702 )
...
* Posthog properly handle Analytics ID changing from under us
* Update tests
2023-04-26 08:03:35 +00:00
Michael Weimann
857e22f943
Fix condition of logging possible room list corruption ( #10685 )
...
* Revert condition of logging possible room list corruption
* Fix loop condition
2023-04-26 07:57:33 +00:00
renovate[bot]
b32482bc4a
Update cypress-io/github-action digest to 59c3b9b ( #10639 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io >
2023-04-26 05:08:25 +00:00
Suguru Hirahara
382d2787c2
Remove obsolete style rules - mx_DialogDesignChanges_wrapper ( #10550 )
...
The style rules have been obsolete since IA 1.1 feedback toast was removed by 5d89230271 .
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2023-04-26 04:47:56 +00:00
Kerry
6c36a2400d
Unit test list ordering algorithms ( #10682 )
...
* unit test ImportanceAlgorithm
* strict fixes
* unit test NaturalAlgorithm
2023-04-25 20:59:50 +00:00
Michael Telatynski
8783021e53
Fix Clock being read as an absolute time rather than duration ( #10706 )
...
* Fix Clock being read as an absolute time rather than duration
* Round durations and update snapshots
2023-04-25 17:10:46 +01:00
Michael Telatynski
86ea059de6
Make cypress happy about spec files all containing tests ( #10709 )
2023-04-25 15:42:59 +00:00
Michael Telatynski
4b1b9b17ef
Update roles cypress is looking for ( #10708 )
...
* Update roles cypress is looking for
* Fix sliding sync test
2023-04-25 14:46:18 +00:00
RiotRobot
e558661a77
Reset matrix-react-sdk back to develop branch
2023-04-25 11:12:06 +01:00
RiotRobot
506a1b6dc7
Reset matrix-js-sdk back to develop branch
2023-04-25 11:11:52 +01:00
RiotRobot
0035580aef
Merge branch 'master' into develop
2023-04-25 11:11:36 +01:00
RiotRobot
f59d4c9574
v1.11.30
v1.11.30
2023-04-25 11:07:44 +01:00
RiotRobot
ba5e8670a4
Prepare changelog for v1.11.30
2023-04-25 11:07:43 +01:00
RiotRobot
50d44864b0
Upgrade matrix-react-sdk to 3.71.1
2023-04-25 11:04:42 +01:00
RiotRobot
2dc54ec80b
Upgrade matrix-js-sdk to 25.0.0
2023-04-25 11:04:07 +01:00
RiotRobot
621fdf1313
Reset matrix-js-sdk back to develop branch
2023-04-25 10:59:51 +01:00
RiotRobot
cd138b047c
Merge branch 'master' into develop
2023-04-25 10:58:07 +01:00
RiotRobot
f859af4918
v3.71.1
2023-04-25 10:55:00 +01:00
RiotRobot
2080bf3796
Prepare changelog for v3.71.1
2023-04-25 10:54:57 +01:00
RiotRobot
eeaada34aa
Upgrade matrix-js-sdk to 25.0.0
2023-04-25 10:51:30 +01:00
RiotRobot
e263e2d152
Reset matrix-js-sdk back to develop branch
2023-04-25 10:17:34 +01:00
RiotRobot
d20b3f5e06
Resetting package fields for development
2023-04-25 10:16:30 +01:00
RiotRobot
18c15036b7
Merge branch 'master' into develop
2023-04-25 10:16:24 +01:00
RiotRobot
3992c97fe2
v3.71.0
2023-04-25 10:16:10 +01:00
RiotRobot
8c49aeb4d8
Prepare changelog for v3.71.0
2023-04-25 10:16:08 +01:00
Michael Telatynski
f5b8bccb65
Conform more of the codebase with noImplicitAny and strictNullChecks ( #25174
...
* Conform more of the codebase with `noImplicitAny` and `strictNullChecks`
* Fix tests
* Update src/vector/app.tsx
2023-04-25 09:36:17 +01:00
Michael Telatynski
bf182bc945
Merge pull request from GHSA-xv83-x443-7rmw
...
* Escape HTML for plaintext search results
* Add tests
2023-04-25 09:35:55 +01:00
dependabot[bot]
a2da1eb79d
Bump yaml from 2.2.1 to 2.2.2 ( #25200 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 09:35:44 +01:00
Michael Telatynski
a1a087f755
Fix usages of ARIA tabpanel ( #10628 )
...
* RovingTabIndex handle looping around start/end
* Make TabbedView expose aria tabpanel/tablist/tab roles
* Fix right panel being wrongly specified as aria tabs
Not all right panels map to the top right header buttons so we cannot describe it as a tabpanel relation
* tsc strict
* Update snapshots
* Fix ARIA AXE violation
* Update tests
2023-04-25 09:31:54 +01:00
Michael Telatynski
961b843662
Merge pull request from GHSA-xv83-x443-7rmw
...
* Escape HTML for plaintext search results
* Add tests
2023-04-25 09:30:32 +01:00
Michael Telatynski
619a9e8542
Conform more of the codebase with strictNullChecks ( #10703 )
2023-04-25 09:28:48 +01:00
Florian Duros
db40479910
Element-R: Starting a DMs with a user ( #10673 )
...
* Use `cli.getUserDeviceInfo` instead of `cli.downloadKeys` to create a room
* Use `client.getCrypto().getUserDeviceInfo` instead of `client.getUserDeviceInfo`
* Update `createRoom-test.ts` to use `getUserDeviceInfo`
* Remove duplicate field
2023-04-24 14:19:08 +00:00
Richard van der Hoff
d7bb8043ea
Replace uses of checkDeviceTrust with getDeviceVerificationStatus ( #10663 )
...
matrix-org/matrix-js-sdk#3287 and matrix-org/matrix-js-sdk#3303 added a new API called getDeviceVerificationStatus. Let's use it.
2023-04-24 14:19:46 +01:00
Andy Balaam
aa8c0f5cc7
Honour feature toggles in guest mode ( #10651 )
...
* Honour feature toggles in guest mode
* Suppress TS warning about returning null MatrixClient
* Revert "Suppress TS warning about returning null MatrixClient"
Don't ts-ignore this - we will eventually fix it via the strict work.
This reverts commit 0c657e6afd4c69d07c39bc2783184f36feaf940f.
2023-04-24 10:02:17 +00:00
Michael Telatynski
8c811776bb
Update cypress.yaml
2023-04-24 11:08:35 +01:00
Michael Telatynski
2ae50940c8
Update cypress.yaml
2023-04-24 11:01:55 +01:00
Michael Telatynski
25ac825ae5
Cypress use the simulated merge commit for the source of tests ( #10688 )
...
* Cypress use the simulated merge commit for the source of tests
* Add comments
* Update .github/workflows/cypress.yaml
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2023-04-24 08:24:50 +00:00
Tulir Asokan
2486e7a90a
Fix default content in devtools event sender ( #10699 )
...
It regressed from `{\n\n}` to an empty string in #10391
Signed-off-by: Tulir Asokan <tulir@maunium.net >
2023-04-24 08:24:28 +00:00
Suguru Hirahara
ca102c4d36
Remove some obsolete button styles from _common.pcss ( #10548 )
...
* Remove obsolete style rules - `mx_linkButton`
The block was added with fbab8ceeef for CreateKeyBackupDialog.js. It has been replaced with AccessibleButton element (see: onSkipPassPhraseClick on L283 and changeText on L314-316). The last function which had used mx_linkButton (_onOptOutClick) has been removed.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove obsolete style rules - `mx_textButton`
mx_textButton has been replaced with AccessibleButton (with kind="link"). There is also not an element which uses the class.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2023-04-24 08:21:24 +00:00
Eric Eastwood
16ab5e9db0
Properly translate errors in ChangePassword.tsx so they show up translated to the user but not in our logs ( #10615 )
...
* Properly translate errors in `ChangePassword.tsx`
So they show up translated to the user but not in our logs.
Part of https://github.com/vector-im/element-web/issues/9597 and also fixes it
since it's the last piece mentioned (there could be other cases we log translated strings)
Fix https://github.com/vector-im/element-web/issues/9597
* Make more useful
* Update i18n strings
* No need to checkPassword since field validation already covers this
See https://github.com/matrix-org/matrix-react-sdk/pull/10615#discussion_r1167363765
Both of the error cases are covered by the logic in `verifyFieldsBeforeSubmit()` just above
and there is no way `checkPassword` would ever throw one of these errors since they are
already valid by the time it reaches here.
* Update i18n strings
* Revert "No need to checkPassword since field validation already covers this"
This reverts commit 7786dd151028e6fbf04d1a38a9c2cd47a3fbfc4b.
* Update i18n strings
* Add todo context to note that we can remove this logic in the future
* Ensure is an error
* Remove else
See https://github.com/matrix-org/matrix-react-sdk/pull/10615#discussion_r1173477053
2023-04-24 09:41:09 +01:00
Suguru Hirahara
e24e85f7a5
Merge set-integration-manager.spec.ts with general-user-settings-tab.spec.ts ( #10698 )
...
* Merge `set-integration-manager.spec.ts` with `general-user-settings-tab.spec.ts`
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove `set-integration-manager.spec.ts`
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove a duplicate command
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2023-04-24 07:56:25 +00:00
Michael Telatynski
96c8267f71
Improve types to match reality ( #10691 )
2023-04-24 07:29:01 +00:00
Suguru Hirahara
ba796504f5
Tidy up IRCLayout.pcss ( #10189 )
...
* Specify the data-layout=irc against ':not([data-layout=bubble])'
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Include mx_EventTile_info in mx_EventTile[data-layout=irc]
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Move declarations up, removing a default declaration
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Tidy up mx_EventTile:hover
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Use a spacing variable
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Sort by order properties
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Move and add comments
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Merge style declarations - flex-shrink and height
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Consider cascading order
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Move order declaration top
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Fix an invalid comment
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2023-04-23 07:37:20 +00:00
Suguru Hirahara
92906c2130
Replace Sass variables with custom properties on _font-weights.pcss ( #10554 )
...
* Replace `$font-normal` and `$font-semi-bold`
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Replace `font-weight: 600` with the custom property
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Replace the existing variables
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2023-04-21 14:16:00 +00:00
Richard van der Hoff
40f95a6c06
Deprecate $spacing variables ( #25175 )
...
Per https://github.com/matrix-org/matrix-react-sdk/pull/10686 , these don't make
much sense at the moment.
2023-04-21 15:12:08 +01:00
Robin
7c4d0ceddc
Fix a crash when a call ends while you're in it ( #10681 )
2023-04-21 13:54:27 +00:00
Richard van der Hoff
83f12fcba0
More tests for UserInfo ( #10677 )
...
* UserInfo-test: move mocking to `beforeEach`
... so that changes to the mocks do not leak between tests
* Add some more tests for UserInfo
2023-04-21 13:48:27 +00:00
Suguru Hirahara
893feed13b
Remove a redundant snapshot - 'Manage integrations' on General settings tab ( #10689 )
...
This snapshot became redundant thanks to a new one on general-user-settings-tab.spec.ts (User settings tab - General), and should be removed to reduce the usage of quota.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2023-04-21 13:41:48 +00:00
Richard van der Hoff
5fc402cda0
Deprecate the $spacing- variables ( #10686 )
...
* Deprecate the $spacing variables
* more comments
2023-04-21 13:30:21 +00:00