Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jts/verji develop final sync to matrix-react-sdk-v3.109.0 #100

Open
wants to merge 444 commits into
base: verji-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
444 commits
Select commit Hold shift + click to select a range
81f766f
v3.103.0-rc.1
RiotRobot Jul 9, 2024
2891679
Update dependency typescript to v5.5.3 (#12748)
renovate[bot] Jul 9, 2024
9be495a
Update all non-major dependencies (#12744)
renovate[bot] Jul 9, 2024
f4aec6a
Update dependency @vector-im/compound-design-tokens to v1.4.0 (#12750)
renovate[bot] Jul 9, 2024
d053cd2
Update dependency @playwright/test to v1.45.1 (#12746)
renovate[bot] Jul 9, 2024
7ceb151
Update dependency @sentry/browser to v8.15.0 (#12749)
renovate[bot] Jul 9, 2024
feb5a49
Update dependency rimraf to v6 (#12754)
renovate[bot] Jul 9, 2024
07f7832
Update typescript-eslint monorepo to v7.15.0 (#12752)
renovate[bot] Jul 9, 2024
93d5d2b
Update dependency @vector-im/compound-design-tokens to v1.5.0 (#12758)
renovate[bot] Jul 9, 2024
454e934
Update all non-major dependencies (#12756)
renovate[bot] Jul 9, 2024
fff0985
Update dependency @sentry/browser to v8.16.0 (#12757)
renovate[bot] Jul 9, 2024
2712803
[create-pull-request] automated change (#12759)
RiotRobot Jul 10, 2024
c894beb
Split up slow Playwright tests (#12741)
t3chguy Jul 10, 2024
19f9f98
Element-R: Report events with withheld keys separately to Posthog. (#…
richvdh Jul 10, 2024
44b9889
Move integrations switch (#12733)
dbkr Jul 10, 2024
2772a9b
[create-pull-request] automated change (#12763)
RiotRobot Jul 11, 2024
72e0d10
Update wording shown when keys are withheld (#12761)
richvdh Jul 11, 2024
b53baea
[create-pull-request] automated change (#12766)
RiotRobot Jul 12, 2024
0a622f1
[create-pull-request] automated change (#12767)
RiotRobot Jul 12, 2024
08ee1b8
Use multiple workers in Playwright CI to make use of multiple cores (…
t3chguy Jul 12, 2024
1082d76
Hide tooltips for certain playwright screenshots to avoid flakiness (…
t3chguy Jul 12, 2024
ba7cf60
Update dependency @vector-im/compound-web to v5.4.0 (#12773)
renovate[bot] Jul 12, 2024
db95f26
remove "Manually verify all remote sessions" setting (#12706)
uhoreg Jul 12, 2024
3480001
Cleanup tasks in SecurityManager/SetupEncryptionStore (#12764)
richvdh Jul 13, 2024
52c32f3
Add logging to encryption setup (#12765)
richvdh Jul 13, 2024
4445461
[create-pull-request] automated change (#12776)
RiotRobot Jul 15, 2024
3221f7c
Align `widget_build_url_ignore_dm` with call behaviour switch between…
t3chguy Jul 15, 2024
2e0b5bb
Fix edge case of landing on 3pid email link with registration disable…
t3chguy Jul 15, 2024
38e1da5
Fix inability to change accent colour consistently in custom theming …
t3chguy Jul 15, 2024
b4ef5d3
Fix HTML export missing a bunch of Compound variables (#12774)
t3chguy Jul 15, 2024
7f95903
Fix HTML export test (#12778)
dbkr Jul 15, 2024
7863de6
Enable Playwright forbidOnly in CI to catch accidental `test.only` (#…
t3chguy Jul 15, 2024
e6d9ecc
Add test reporter to prevent stale screenshots (#12743)
t3chguy Jul 15, 2024
13e1065
[create-pull-request] automated change (#12779)
RiotRobot Jul 16, 2024
5f10ccb
Update dependency @types/lodash to v4.17.7 (#12747)
renovate[bot] Jul 16, 2024
f7a078d
Update right panel base card styling to match Compound (#12768)
t3chguy Jul 16, 2024
d0a8365
Upgrade dependency to [email protected]
RiotRobot Jul 16, 2024
831c56d
v3.103.0
RiotRobot Jul 16, 2024
c843a41
Let Element Call widget set session memberships (#12713)
AndrewFerr Jul 16, 2024
59d08d8
Let Element Call widget receive m.room.create (#12710)
AndrewFerr Jul 16, 2024
e097cc0
Update playwright monorepo to v1.45.2 (#12783)
renovate[bot] Jul 16, 2024
cf96a6d
[create-pull-request] automated change (#12784)
RiotRobot Jul 17, 2024
c57d846
Clear settings store cache on logout (#12786)
dbkr Jul 17, 2024
4edf4e4
Remove SpaceScopeHeader (#12785)
t3chguy Jul 17, 2024
3c9bd69
Accessibility: Add Landmark navigation (#12190)
akirk Jul 17, 2024
39d453a
Stop using the js-sdk's compare function (#12782)
dbkr Jul 17, 2024
72d32bd
[create-pull-request] automated change (#12789)
RiotRobot Jul 18, 2024
924f5a0
Add test for the unsupported browser screen (#12787)
dbkr Jul 18, 2024
564ea53
Fix stray 'account' heading (#12791)
dbkr Jul 18, 2024
2920e76
Test for lack of WebAssembly support (#12792)
dbkr Jul 18, 2024
f706ac4
Update styling of UserInfo right panel card (#12788)
t3chguy Jul 18, 2024
db41121
[create-pull-request] automated change (#12794)
RiotRobot Jul 19, 2024
d202295
[create-pull-request] automated change (#12795)
RiotRobot Jul 19, 2024
0fc1c53
Iterate design of right panel empty state (#12796)
t3chguy Jul 19, 2024
1839895
[create-pull-request] automated change (#12799)
RiotRobot Jul 20, 2024
62c5625
[create-pull-request] automated change (#12800)
RiotRobot Jul 22, 2024
2fd291c
[create-pull-request] automated change (#12804)
RiotRobot Jul 23, 2024
5308c91
Close any open modals on logout (#12777)
dbkr Jul 23, 2024
25fcd6a
Update Thread Panel to match latest designs (#12797)
t3chguy Jul 23, 2024
bb1b7f1
Default the room header to on (#12803)
MidhunSureshR Jul 23, 2024
dafc97f
Add release announcement for the new room header (#12802)
MidhunSureshR Jul 23, 2024
be846e6
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
t3chguy Jul 23, 2024
4eff82f
Upgrade dependency to [email protected]
t3chguy Jul 23, 2024
2944632
v3.104.0-rc.0
RiotRobot Jul 23, 2024
a35ab23
Update snapshot (#12806)
MidhunSureshR Jul 24, 2024
ae18bb9
Update compound-design-tokens to satisfy compound-web peer dependency…
t3chguy Jul 24, 2024
f17d14b
Hide tooltip when taking screenshot (#12807)
MidhunSureshR Jul 24, 2024
ae74e40
Update babel monorepo (#12809)
renovate[bot] Jul 24, 2024
182c81b
Update dependency @types/node to v18.19.41 (#12811)
renovate[bot] Jul 24, 2024
12f086e
Update dependency typescript to v5.5.4 (#12812)
renovate[bot] Jul 24, 2024
0b87cac
Update playwright monorepo to v1.45.3 (#12813)
renovate[bot] Jul 24, 2024
bbd583a
Update typescript-eslint monorepo to v7.16.1 (#12814)
renovate[bot] Jul 24, 2024
8b55139
Update dependency @sentry/browser to v8.19.0 (#12816)
renovate[bot] Jul 24, 2024
fc86c5d
Update stylelint (#12817)
renovate[bot] Jul 24, 2024
20c205e
Update dependency blob-polyfill to v9 (#12819)
renovate[bot] Jul 24, 2024
57f30f1
[create-pull-request] automated change (#12805)
RiotRobot Jul 24, 2024
bacf738
Update all non-major dependencies (#12815)
renovate[bot] Jul 24, 2024
efbd207
Update dependency @testing-library/jest-dom to v6.4.8 (#12810)
renovate[bot] Jul 24, 2024
63848da
[Backport staging] Fix broken jest tests on develop (#12821)
RiotRobot Jul 24, 2024
0e2ba42
[Backport staging] Update compound-design-tokens to satisfy compound-…
RiotRobot Jul 24, 2024
94017ab
v3.104.0-rc.1
RiotRobot Jul 24, 2024
36d02ae
Update dependency @vector-im/compound-web to v5.5.0 (#12818)
renovate[bot] Jul 24, 2024
042f7a9
Update dependency posthog-js to v1.149.1 (#12823)
renovate[bot] Jul 24, 2024
6e9fc55
[create-pull-request] automated change (#12824)
RiotRobot Jul 25, 2024
72e7df0
Acknowledge `DeviceMute` widget actions (#12790)
toger5 Jul 25, 2024
2e0716c
Fix unwanted ringing of other devices even though the user is already…
toger5 Jul 25, 2024
3c370c6
Remove MatrixRTC realted import ES lint exceptions using a index.ts f…
toger5 Jul 25, 2024
c1420ba
Allow Chrome page translator to translate messages in rooms (#11113)
lukaszpolowczyk Jul 25, 2024
25ab9e4
Revert "Use multiple workers in Playwright CI to make use of multiple…
MidhunSureshR Jul 25, 2024
95db2d9
Add some logging to pickle key save/restore (#12831)
richvdh Jul 26, 2024
76d2ab4
Support pagination while querying for issues in flaky reporter (#12832)
MidhunSureshR Jul 26, 2024
4e6b1c8
[create-pull-request] automated change (#12829)
RiotRobot Jul 29, 2024
844da7a
Fix compound typography font component issues (#12826)
t3chguy Jul 29, 2024
c2c1089
Add sign out button to settings profile section (#12666)
dbkr Jul 29, 2024
96777f8
Make micIcon display on primary (#11908)
kdanielm Jul 29, 2024
a12c187
Warn users on unsupported browsers before they lack features (#12830)
t3chguy Jul 29, 2024
077549e
[create-pull-request] automated change (#12838)
RiotRobot Jul 30, 2024
a189758
Stabilise screenshot tests (#12835)
t3chguy Jul 30, 2024
3e903da
Upgrade dependency to [email protected]
RiotRobot Jul 30, 2024
5dda51f
v3.104.0
RiotRobot Jul 30, 2024
b0392b8
Update toast styles to match Figma (#12833)
t3chguy Jul 30, 2024
66a89d8
Update tests for new unsupported browser view (#12836)
t3chguy Jul 30, 2024
272a66b
Split up bodyToHtml (#12840)
dbkr Jul 30, 2024
dd20741
feat: Add autoformat and lint for ts/tsx files (#11806)
Palid Jul 30, 2024
0204724
Rework how the onboarding notifications task works (#12839)
t3chguy Jul 30, 2024
bc21ed3
Fix picklekey debug (#12845)
richvdh Jul 30, 2024
2e6f851
Extract useIsVideoRoom hook (#12843)
t3chguy Jul 30, 2024
aeecba9
[create-pull-request] automated change (#12846)
RiotRobot Jul 31, 2024
2defb10
[create-pull-request] automated change (#12847)
RiotRobot Jul 31, 2024
fae5bf1
Remove topic from new room header and expand right panel topic (#12842)
t3chguy Jul 31, 2024
b55653d
Extract Extensions into their own right panel tab (#12844)
t3chguy Jul 31, 2024
f3ac669
Handle media download errors better (#12848)
t3chguy Jul 31, 2024
a0c029c
Fix alignment of RTL messages (#12837)
dbkr Jul 31, 2024
e6a3238
Deflake the chat export test (#12854)
dbkr Aug 1, 2024
fa60edf
Ignore permalink_prefix when serializing pills (#11726)
herkulessi Aug 1, 2024
9b77279
[create-pull-request] automated change (#12851)
RiotRobot Aug 1, 2024
b6addb4
Fix React contexts (#12855)
t3chguy Aug 1, 2024
a38a516
Align RoomSummaryCard styles with Figma (#12793)
t3chguy Aug 1, 2024
1270518
Invite dialog: display MXID on its own line (#11756)
AndrewFerr Aug 1, 2024
9cd0c24
Convert general user to functional component (#12856)
dbkr Aug 1, 2024
77062ac
Move General user settings styles to more specific places
dbkr Aug 1, 2024
c1d4199
Upgrade target to es2022 (#12852)
t3chguy Aug 1, 2024
da67dbc
Merge branch 'develop' into dbkr/email_phone_css_temporary_move
dbkr Aug 1, 2024
a634542
Update snapshot
dbkr Aug 1, 2024
d60d28d
More snapshots
dbkr Aug 1, 2024
dd61eb9
Fix classname
dbkr Aug 1, 2024
69efe91
More reanaming & snapshot
dbkr Aug 1, 2024
8dfe561
Fix test to not use otherwise unused class name
dbkr Aug 1, 2024
67f5c08
[create-pull-request] automated change (#12858)
RiotRobot Aug 2, 2024
3c490fa
Fix comment typos
dbkr Aug 2, 2024
accbe07
Merge pull request #12857 from matrix-org/dbkr/email_phone_css_tempor…
dbkr Aug 2, 2024
0905864
Preparations for React 18 (#12860)
t3chguy Aug 5, 2024
54e5321
Clear settings caches on reset rather than custom lifecycle method (#…
t3chguy Aug 5, 2024
92bf203
Fixed custom emotes background color #27745 (#12798)
asimdelvi Aug 5, 2024
cbd2379
Fix formatting of rich text emotes (#12862)
dbkr Aug 5, 2024
73cc598
[create-pull-request] automated change (#12864)
RiotRobot Aug 6, 2024
c7bbc1c
Merge commit from fork
dbkr Aug 6, 2024
d4819cf
v3.105.0
RiotRobot Aug 6, 2024
edf32d2
Fix types
t3chguy Aug 6, 2024
25e67be
v3.105.1
RiotRobot Aug 6, 2024
a7bc0e4
Merge branch 'master' into develop
t3chguy Aug 6, 2024
a047f69
Resetting package fields for development
t3chguy Aug 6, 2024
3fff7bf
Reset matrix-js-sdk back to develop branch
t3chguy Aug 6, 2024
fe720ec
Re-add olm dependency which is needed for types
t3chguy Aug 6, 2024
ca8d63a
Revert: Re-add olm dependency which is needed for types
t3chguy Aug 6, 2024
f42dca2
Upgrade dependency to [email protected]
RiotRobot Aug 6, 2024
3a6ec1e
v3.106.0-rc.0
RiotRobot Aug 6, 2024
018c4f4
Upgrade dependency to [email protected]
RiotRobot Aug 6, 2024
119bc34
v3.106.0-rc.1
RiotRobot Aug 6, 2024
dde19f3
Add missing presence indicator to new room header (#12865)
t3chguy Aug 6, 2024
5519b81
Disable jump to read receipt button instead of hiding when nothing to…
t3chguy Aug 6, 2024
6ca4f67
Update settings tab icons (#12867)
dbkr Aug 6, 2024
1be4c12
Switch to ghcr.io image for Synapse (#12869)
t3chguy Aug 6, 2024
4e4c5c7
Rename general user settings to account (#12841)
dbkr Aug 6, 2024
8285283
Make tests more resilient for React 18 upgrade (#12861)
t3chguy Aug 6, 2024
7a4783f
Import base64 utils directly from js-sdk (#12871)
turt2live Aug 7, 2024
f71d8bd
[create-pull-request] automated change (#12872)
RiotRobot Aug 7, 2024
6e7ddbb
[create-pull-request] automated change (#12873)
RiotRobot Aug 7, 2024
e6835fe
Clean up editor drafts for unknown rooms (#12850)
langleyd Aug 7, 2024
5d16a38
Rich text Editor: Auto-replace plain text emoticons with emoji (#12828)
langleyd Aug 7, 2024
2978b86
Allow selecting text in the right panel topic (#12870)
t3chguy Aug 7, 2024
a35bf68
Stop the ongoing ring if another device joins the call session. (#12866)
toger5 Aug 7, 2024
a437c67
Support delayed events (MSC4140) for call widget (#12714)
AndrewFerr Aug 7, 2024
11cc174
[create-pull-request] automated change (#12874)
RiotRobot Aug 8, 2024
ff15249
Make widget tests throw when a modal is shown (#12834)
AndrewFerr Aug 8, 2024
8e45d50
[create-pull-request] automated change (#12877)
RiotRobot Aug 9, 2024
284cd40
Update @vector-im/compound-design-tokens (#12876)
florianduros Aug 9, 2024
5e98cbf
Fix user menu font (#12879)
florianduros Aug 9, 2024
239330b
[create-pull-request] automated change (#12881)
RiotRobot Aug 10, 2024
0e37c09
Show spinner whilst initial search request is in progress (#12883)
t3chguy Aug 12, 2024
eacb22e
Add chat button on new room header for maximised widgets (#12882)
t3chguy Aug 12, 2024
bdc4ca0
[create-pull-request] automated change (#12885)
RiotRobot Aug 13, 2024
269a9df
Upgrade dependency to [email protected]
RiotRobot Aug 13, 2024
6df8423
v3.106.0
RiotRobot Aug 13, 2024
95b2f3e
Merge branch 'master' into develop
RiotRobot Aug 13, 2024
349c4a1
Resetting package fields for development
RiotRobot Aug 13, 2024
ad8da83
Reset matrix-js-sdk back to develop branch
RiotRobot Aug 13, 2024
62e1641
[create-pull-request] automated change (#12886)
RiotRobot Aug 14, 2024
de898d1
[create-pull-request] automated change (#12887)
RiotRobot Aug 14, 2024
4751c52
Refactor the various email/phone management UI into a single componen…
dbkr Aug 14, 2024
d9846dc
Hide pinned messages when grouped in timeline when feature pinning is…
florianduros Aug 14, 2024
6361567
[create-pull-request] automated change (#12891)
RiotRobot Aug 15, 2024
7a91e3e
[create-pull-request] automated change (#12894)
RiotRobot Aug 16, 2024
88cf643
Tweak UIA postMessage check to work cross-origin (#12878)
t3chguy Aug 16, 2024
6f3dc30
Message Pinning: rework the message pinning list in the right panel (…
florianduros Aug 16, 2024
3f386a6
[create-pull-request] automated change (#12898)
RiotRobot Aug 17, 2024
9f5b39b
Ensure elements on Login page are disabled when in-flight (#12895)
t3chguy Aug 17, 2024
c37cb9f
[create-pull-request] automated change (#12899)
RiotRobot Aug 19, 2024
fe8c073
[create-pull-request] automated change (#12901)
RiotRobot Aug 20, 2024
64d6174
Upgrade dependency to [email protected]
RiotRobot Aug 20, 2024
20df553
v3.107.0
RiotRobot Aug 20, 2024
f0e90ad
Merge branch 'master' into develop
RiotRobot Aug 20, 2024
4961e23
Reset matrix-js-sdk back to develop branch
RiotRobot Aug 20, 2024
2a11fd5
Upgrade dependency to [email protected]
RiotRobot Aug 20, 2024
933a9c1
Rename prettier config file to .cjs (#12903)
dbkr Aug 20, 2024
c01ad91
Rename prettier config file to .cjs
dbkr Aug 20, 2024
4064db1
[create-pull-request] automated change (#12907)
RiotRobot Aug 21, 2024
3d80eff
Add Pin/Unpin action in quick access of the message action bar (#12897)
florianduros Aug 21, 2024
a7e907e
Add thread information in pinned message list (#12902)
florianduros Aug 21, 2024
2768b9c
Set entrypoints to use ./lib rather than ./src (#12906)
richvdh Aug 21, 2024
cd4f301
Call the commjs version of the switch script
dbkr Aug 21, 2024
aee2ca2
Upgrade dependency to [email protected]
RiotRobot Aug 21, 2024
193ae62
Merge pull request #12904 from matrix-org/dbkr/prettierrc_cjs_staging
dbkr Aug 21, 2024
750ee1a
v3.108.0-rc.0
RiotRobot Aug 21, 2024
72d5659
Update dependency @types/node to v18.19.44 (#12911)
renovate[bot] Aug 21, 2024
fdc5acd
Update dependency @types/react-transition-group to v4.4.11 (#12912)
renovate[bot] Aug 21, 2024
70665d3
RTE drafts (#12674)
langleyd Aug 22, 2024
5e56ce7
Update dependency husky to v9 (#12914)
renovate[bot] Aug 22, 2024
9671545
Update dependency eslint-plugin-unicorn to v55 (#12913)
renovate[bot] Aug 22, 2024
35fb068
Update dependency axe-core to v4.10.0 (#12916)
renovate[bot] Aug 22, 2024
670ed81
Update dependency @sentry/browser to v8.26.0 (#12915)
renovate[bot] Aug 22, 2024
135d94c
Update playwright monorepo to v1.46.1 (#12918)
renovate[bot] Aug 23, 2024
0848237
Update dependency @types/sanitize-html to v2.13.0 (#12921)
renovate[bot] Aug 23, 2024
69da175
Update babel monorepo (#12920)
renovate[bot] Aug 23, 2024
5a9d7ba
Remove unused CryptoCallbacks implementations (#12919)
richvdh Aug 23, 2024
8381e13
Update stylelint (#12922)
renovate[bot] Aug 23, 2024
1b70b22
Update typescript-eslint monorepo to v7.18.0 (#12924)
renovate[bot] Aug 23, 2024
e599428
Ignore desktop for minimum browser support. (#12928)
florianduros Aug 27, 2024
f0a75d8
Add a config option to control the default widget container height (#…
dbkr Aug 27, 2024
30f84cd
Update playwright image (#12930)
florianduros Aug 27, 2024
2be2763
Upgrade dependency to [email protected]
RiotRobot Aug 27, 2024
e843fd4
v3.108.0
RiotRobot Aug 27, 2024
e66807e
Merge branch 'master' into develop
RiotRobot Aug 27, 2024
5b91dd8
Reset matrix-js-sdk back to develop branch
RiotRobot Aug 27, 2024
8421022
Rename all the slow reporter stuff to cjs (#12933)
dbkr Aug 27, 2024
71c31bb
[create-pull-request] automated change (#12926)
RiotRobot Aug 28, 2024
43941ef
Install deja-vu font in docker image (#12932)
MidhunSureshR Aug 28, 2024
ea3c5cf
Fix pin/unpin slowness and non refresh from the message action bar (#…
florianduros Aug 28, 2024
c6922c9
Fix reply message truncation on 2 lines (#12929)
florianduros Aug 28, 2024
6fb8f6e
Update all non-major dependencies (#12909)
renovate[bot] Aug 28, 2024
8b2ded8
[create-pull-request] automated change (#12935)
RiotRobot Aug 29, 2024
d16ab09
Display pinned messages on a banner at the top of a room (#12917)
florianduros Aug 29, 2024
2a450c0
Add `allowImportingTsExtensions` to tsconfig (#12939)
florianduros Aug 30, 2024
19f8b44
Implement download_file in widget driver (#12931)
weeman1337 Aug 30, 2024
13ec19c
Sort the pinning message list in the same order than the banner (#12937)
florianduros Aug 30, 2024
3d41f5b
[create-pull-request] automated change (#12938)
RiotRobot Aug 31, 2024
acc7342
[create-pull-request] automated change (#12942)
RiotRobot Sep 2, 2024
ae15bbe
Allow user to set timezone (#12775)
Timshel Sep 2, 2024
1ac533e
Don't emit decrypted event for the banner (#12944)
florianduros Sep 2, 2024
41686bb
Always display last pinned message on the banner (#12945)
florianduros Sep 2, 2024
f033b64
Display the indicator even with one message in pinned message banner …
florianduros Sep 2, 2024
579cb6b
Update to 2.37.9 (#12943)
langleyd Sep 2, 2024
5ff3fd6
[create-pull-request] automated change (#12949)
RiotRobot Sep 3, 2024
6bfdb3e
Fix read receipt animation (#12923)
dbkr Sep 3, 2024
9c233ef
Upgrade dependency to [email protected]
RiotRobot Sep 3, 2024
8f22eb6
v3.109.0-rc.0
RiotRobot Sep 3, 2024
fe01257
Upgrade dependency to [email protected]
RiotRobot Sep 10, 2024
0aa9df2
v3.109.0
RiotRobot Sep 10, 2024
5d78543
Merge tag 'tags/v3.109.0' into jts/verji-develop-final-sync
Nov 27, 2024
79a3934
Merge tag 'tags/v3.109.0' into jts/verji-develop-final-sync
Nov 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 19 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ module.exports = {
["*.mxcUrlToHttp", "*.getHttpUriForMxc"],
"Use Media helper instead to centralise access for customisation.",
),
...buildRestrictedPropertiesOptions(["window.setImmediate"], "Use setTimeout instead."),
],
"no-restricted-globals": [
"error",
{
name: "setImmediate",
message: "Use setTimeout instead.",
},
],

"import/no-duplicates": ["error"],
Expand Down Expand Up @@ -70,6 +78,11 @@ module.exports = {
name: "matrix-react-sdk/",
message: "Please use matrix-react-sdk/src/index instead",
},
{
name: "emojibase-regex",
message:
"This regex doesn't actually test for emoji. See the docs at https://emojibase.dev/docs/regex/ and prefer our own EMOJI_REGEX from HtmlUtils.",
},
],
patterns: [
{
Expand Down Expand Up @@ -98,8 +111,6 @@ module.exports = {
"!matrix-js-sdk/src/secret-storage",
"!matrix-js-sdk/src/room-hierarchy",
"!matrix-js-sdk/src/rendezvous",
"!matrix-js-sdk/src/rendezvous/transports",
"!matrix-js-sdk/src/rendezvous/channels",
"!matrix-js-sdk/src/indexeddb-worker",
"!matrix-js-sdk/src/pushprocessor",
"!matrix-js-sdk/src/extensible_events_v1",
Expand All @@ -109,13 +120,9 @@ module.exports = {
"!matrix-js-sdk/src/extensible_events_v1/InvalidEventError",
"!matrix-js-sdk/src/crypto",
"!matrix-js-sdk/src/crypto/aes",
"!matrix-js-sdk/src/crypto/olmlib",
"!matrix-js-sdk/src/crypto/crypto",
"!matrix-js-sdk/src/crypto/keybackup",
"!matrix-js-sdk/src/crypto/RoomList",
"!matrix-js-sdk/src/crypto/deviceinfo",
"!matrix-js-sdk/src/crypto/key_passphrase",
"!matrix-js-sdk/src/crypto/CrossSigning",
"!matrix-js-sdk/src/crypto/recoverykey",
"!matrix-js-sdk/src/crypto/dehydration",
"!matrix-js-sdk/src/oidc",
Expand All @@ -135,9 +142,15 @@ module.exports = {
"!matrix-js-sdk/src/models/read-receipt",
"!matrix-js-sdk/src/models/relations-container",
"!matrix-js-sdk/src/models/related-relations",
"!matrix-js-sdk/src/matrixrtc",
],
message: "Please use matrix-js-sdk/src/matrix instead",
},
{
group: ["emojibase-regex/emoji*"],
message:
"This regex doesn't actually test for emoji. See the docs at https://emojibase.dev/docs/regex/ and prefer our own EMOJI_REGEX from HtmlUtils.",
},
],
},
],
Expand Down
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@
/src/stores/SetupEncryptionStore.ts @matrix-org/element-crypto-web-reviewers
/test/stores/SetupEncryptionStore-test.ts @matrix-org/element-crypto-web-reviewers

# Ignore translations as those will be updated by GHA for Localazy download
/src/i18n/strings
# Ignore the synapse plugin as this is updated by GHA for docker image updating
/playwright/plugins/homeserver/synapse/index.ts
29 changes: 2 additions & 27 deletions .github/workflows/end-to-end-tests-netlify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,38 +21,13 @@ jobs:
statuses: write
deployments: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- uses: actions/setup-node@v4
with:
cache: "yarn"

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Download blob reports from GitHub Actions Artifacts
- name: Download HTML report
uses: actions/download-artifact@v4
with:
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
pattern: all-blob-reports-*
path: all-blob-reports
merge-multiple: true

- name: Merge into HTML Report
run: yarn playwright merge-reports --reporter=html,./playwright/flaky-reporter.ts ./all-blob-reports
env:
# Only pass creds to the flaky-reporter on main branch runs
GITHUB_TOKEN: ${{ github.event.workflow_run.head_branch == 'develop' && secrets.ELEMENT_BOT_TOKEN || '' }}

- name: Upload HTML report
uses: actions/upload-artifact@v4
with:
name: html-report--attempt-${{ github.run_attempt }}
name: html-report
path: playwright-report
retention-days: 14

- name: 📤 Deploy to Netlify
uses: matrix-org/netlify-pr-preview@v3
Expand Down
51 changes: 46 additions & 5 deletions .github/workflows/end-to-end-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
build:
name: "Build Element-Web"
runs-on: ubuntu-latest
if: inputs.skip != true
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -55,6 +56,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

- name: Fetch layered build
id: layered_build
Expand Down Expand Up @@ -102,7 +104,7 @@ jobs:
fail-fast: false
matrix:
# Run multiple instances in parallel to speed up the tests
runner: [1, 2, 3, 4, 5, 6, 7, 8]
runner: [1, 2, 3, 4, 5, 6]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -120,6 +122,7 @@ jobs:
with:
cache: "yarn"
cache-dependency-path: matrix-react-sdk/yarn.lock
node-version: "lts/*"

- name: Install dependencies
working-directory: matrix-react-sdk
Expand All @@ -144,10 +147,8 @@ jobs:
run: yarn playwright install --with-deps

- name: Run Playwright tests
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
run: yarn playwright test --shard ${{ matrix.runner }}/${{ strategy.job-total }}
working-directory: matrix-react-sdk
run: yarn playwright test --shard ${{ matrix.runner }}/${{ strategy.job-total }}
working-directory: matrix-react-sdk

- name: Upload blob report to GitHub Actions Artifacts
if: always()
Expand All @@ -163,5 +164,45 @@ jobs:
if: always()
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
if: inputs.skip != true
with:
persist-credentials: false
repository: ${{ inputs.react-sdk-repository || github.repository }}

- uses: actions/setup-node@v4
if: inputs.skip != true
with:
cache: "yarn"
node-version: "lts/*"

- name: Install dependencies
if: inputs.skip != true
run: yarn install --frozen-lockfile

- name: Download blob reports from GitHub Actions Artifacts
if: inputs.skip != true
uses: actions/download-artifact@v4
with:
pattern: all-blob-reports-*
path: all-blob-reports
merge-multiple: true

- name: Merge into HTML Report
if: inputs.skip != true
run: yarn playwright merge-reports --reporter=html,./playwright/flaky-reporter.ts,./playwright/stale-screenshot-reporter.ts ./all-blob-reports
env:
# Only pass creds to the flaky-reporter on main branch runs
GITHUB_TOKEN: ${{ github.ref_name == 'develop' && secrets.ELEMENT_BOT_TOKEN || '' }}

# Upload the HTML report even if one of our reporters fails, this can happen when stale screenshots are detected
- name: Upload HTML report
if: always() && inputs.skip != true
uses: actions/upload-artifact@v4
with:
name: html-report
path: playwright-report
retention-days: 14

- if: needs.playwright.result != 'skipped' && needs.playwright.result != 'success'
run: exit 1
45 changes: 45 additions & 0 deletions .github/workflows/playwright-image-updates.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Update Playwright docker images
on:
workflow_dispatch: {}
schedule:
- cron: "0 6 * * *" # Every day at 6am UTC
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Update synapse image
run: |
docker pull "$IMAGE"
INSPECT=$(docker inspect --format='{{index .RepoDigests 0}}' "$IMAGE")
DIGEST=${INSPECT#*@}
sed -i "s/const DOCKER_TAG.*/const DOCKER_TAG = \"develop@$DIGEST\";/" playwright/plugins/homeserver/synapse/index.ts
env:
IMAGE: ghcr.io/element-hq/synapse:develop

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6
with:
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
branch: actions/playwright-image-updates
delete-branch: true
title: Playwright Docker image updates
labels: |
T-Task

- name: Enable automerge
run: gh pr merge --merge --auto "$PR_NUMBER"
if: steps.cpr.outputs.pull-request-operation == 'created'
env:
GH_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }}

- name: Enable autoapprove
run: |
gh pr review --approve "$PR_NUMBER"
if: steps.cpr.outputs.pull-request-operation == 'created'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }}
16 changes: 16 additions & 0 deletions .github/workflows/pull_request_base_branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Pull Request Base Branch
on:
pull_request:
types: [opened, edited, synchronize]
jobs:
check_base_branch:
name: Check PR base branch
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
const baseBranch = context.payload.pull_request.base.ref;
if (!['develop', 'staging'].includes(baseBranch) && !baseBranch.startsWith('feat/')) {
core.setFailed(`Invalid base branch: ${baseBranch}`);
}
6 changes: 5 additions & 1 deletion .github/workflows/static_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Switch js-sdk to release mode
working-directory: node_modules/matrix-js-sdk
run: |
scripts/switch_package_to_release.js
scripts/switch_package_to_release.cjs
yarn install
yarn run build:compile
yarn run build:types
Expand Down Expand Up @@ -118,6 +118,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

# Does not need branch matching as only analyses this layer
- name: Install Deps
Expand All @@ -135,6 +136,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

# Does not need branch matching as only analyses this layer
- name: Install Deps
Expand All @@ -152,6 +154,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

# Does not need branch matching as only analyses this layer
- name: Install Deps
Expand All @@ -171,6 +174,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

- name: Install Deps
run: "scripts/ci/layered.sh"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ jobs:
- name: Yarn cache
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "yarn"

- name: Install Deps
run: "./scripts/ci/install-deps.sh --ignore-scripts"
run: "./scripts/ci/install-deps.sh"
env:
JS_SDK_GITHUB_BASE_REF: ${{ inputs.matrix-js-sdk-sha }}

Expand Down Expand Up @@ -117,6 +118,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: "lts/*"

- name: Run tests
run: "./scripts/ci/app-tests.sh"
Expand Down
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged --concurrent false
5 changes: 5 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"*": "prettier --write",
"*.(ts|tsx|js|jsx)": ["eslint --fix"],
"*.pcss": ["stylelint"]
}
File renamed without changes.
Loading
Loading