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

Absorb the matrix-react-sdk repository #28192

Merged
merged 10,000 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
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
4769985
Update dependency @types/node to v18.19.47 (#12954)
renovate[bot] Sep 3, 2024
892b297
Update babel monorepo (#12955)
renovate[bot] Sep 3, 2024
df82c8a
Update dependency @sentry/browser to v8.27.0 (#12956)
renovate[bot] Sep 3, 2024
33404e4
Update stylelint (#12958)
renovate[bot] Sep 3, 2024
dbc8c9f
Update peter-evans/create-pull-request action to v7 (#12960)
renovate[bot] Sep 3, 2024
9d8c5b6
Update dependency @testing-library/jest-dom to v6.5.0 (#12957)
renovate[bot] Sep 3, 2024
60fe70b
Add a prefix to file, poll, image, video and audio in the pinned mess…
florianduros Sep 4, 2024
ab1e28b
Compute with of content of pinned event tile (#12951)
florianduros Sep 4, 2024
1e3320d
Pinned message list: prevent sender name to overflow pinned event til…
florianduros Sep 4, 2024
cdffbdb
Add error handling for room publish toggle (#12941)
sahil9001 Sep 5, 2024
6490742
Log phases in the verification process (#12963)
richvdh Sep 5, 2024
2639923
Update browserslist (#12953)
renovate[bot] Sep 5, 2024
5bfbca9
Migrate all pinning checks and actions into `PinningUtils` (#12964)
florianduros Sep 5, 2024
bce710e
Upgrade `@matrix-org/analytics-events` to `0.25.0`
florianduros Sep 5, 2024
08d1b6c
Add analytics event for pinned messages
florianduros Sep 5, 2024
33791ca
Merge pull request #12965 from matrix-org/florianduros/pinned-message…
dbkr Sep 5, 2024
eb14223
[create-pull-request] automated change
dbkr Sep 6, 2024
78059e1
Merge pull request #1 from element-hq/actions/playwright-image-updates
RiotRobot Sep 6, 2024
774222f
Update codeowners to element-hq teams
dbkr Sep 6, 2024
f8da257
Update repos for changelog fetching
dbkr Sep 6, 2024
9601be5
Update tests
dbkr Sep 6, 2024
35f96b4
Update GH org in the sonar config file
dbkr Sep 6, 2024
deeeffa
Update project key too
dbkr Sep 6, 2024
92b3eb5
[create-pull-request] automated change
dbkr Sep 7, 2024
caa6f26
Merge pull request #14 from element-hq/actions/playwright-image-updates
RiotRobot Sep 7, 2024
9fb871c
poke the CI
dbkr Sep 7, 2024
272fd75
remove meangingless change
dbkr Sep 7, 2024
0acc7dd
[create-pull-request] automated change
dbkr Sep 9, 2024
58331fb
Merge pull request #15 from element-hq/actions/localazy-download
RiotRobot Sep 9, 2024
d4771dd
Merge pull request #3 from element-hq/dbkr/codeowners
dbkr Sep 9, 2024
3a42d2a
Merge branch 'develop' into dbkr/update_org_sonar
dbkr Sep 9, 2024
c26ce7a
Merge branch 'develop' into dbkr/changelog_repos
dbkr Sep 9, 2024
6dd67b3
Merge pull request #11 from element-hq/dbkr/update_org_sonar
dbkr Sep 9, 2024
e8c0b65
Merge branch 'develop' into dbkr/changelog_repos
dbkr Sep 9, 2024
461da98
Merge pull request #10 from element-hq/dbkr/changelog_repos
dbkr Sep 9, 2024
4382c67
Change org to element-hq (#7)
dbkr Sep 9, 2024
491f0cd
Change license (#13)
langleyd Sep 9, 2024
24fe2f2
[create-pull-request] automated change (#18)
RiotRobot Sep 10, 2024
51495e7
Remove pinned message list screenshot which are flacky (#17)
florianduros Sep 10, 2024
ccb1a61
[create-pull-request] automated change (#24)
RiotRobot Sep 11, 2024
07125f5
Remove release announcement of new header (#23)
florianduros Sep 11, 2024
03004a5
Change settings to true by default (#25)
florianduros Sep 11, 2024
d337fba
Add labels file (#21)
dbkr Sep 11, 2024
433c14e
Log clearer errors when picklekey goes missing (#27)
richvdh Sep 11, 2024
75918f5
Reduce pinned message banner size (#28)
florianduros Sep 11, 2024
a701e3a
Add config option to force verification (#29)
dbkr Sep 11, 2024
85b4f17
[create-pull-request] automated change (#33)
RiotRobot Sep 12, 2024
f317763
Reverse pinned message list (#19)
florianduros Sep 12, 2024
eae9d9e
Add timezone to user profile (#20)
Half-Shot Sep 12, 2024
0e8cd5b
[create-pull-request] automated change (#38)
RiotRobot Sep 13, 2024
5740bdb
[create-pull-request] automated change (#39)
RiotRobot Sep 13, 2024
6b384fe
Fix huge usage bandwidth and performance issue of pinned message bann…
florianduros Sep 13, 2024
a6e98b0
Use `strong` over `b` for improved a11y semantics
t3chguy Sep 13, 2024
a6dec86
Add mobile registration and dispatch event for mobile postmessage dance
langleyd Sep 13, 2024
0244aae
use window.dispatchEvent
langleyd Sep 13, 2024
b505828
update test to work with newer Rust crypto (#32)
uhoreg Sep 13, 2024
8044ce4
Fix tests
t3chguy Sep 13, 2024
be59791
Add support for `org.matrix.cross_signing_reset` UIA stage flow (#34)
t3chguy Sep 13, 2024
9426fec
Fix timeout type (#40)
dbkr Sep 13, 2024
a89f61a
Add error text and title with server name
langleyd Sep 13, 2024
0716434
Allow hs_url as param on mobile_register
langleyd Sep 13, 2024
62d66f9
Remove accidental paste
langleyd Sep 13, 2024
3d89fc3
Merge branch 'develop' of https://github.com/element-hq/matrix-react-…
langleyd Sep 16, 2024
20a4f0a
Enforce config setting
langleyd Sep 16, 2024
74885c9
Merge pull request #42 from element-hq/langleyd/mobile_registeration
dbkr Sep 16, 2024
5985277
Unlabs feature pinning (#22)
florianduros Sep 16, 2024
c24661f
[create-pull-request] automated change (#45)
RiotRobot Sep 17, 2024
1058af6
Playwright test for E2E messages from deleted devices (#47)
richvdh Sep 17, 2024
13e67ae
Add Release announcement for the pinning message list (#46)
florianduros Sep 18, 2024
7feb5a0
Merge branch 'develop' into t3chguy/wat/230.1
t3chguy Sep 18, 2024
0bbed85
Pass bot token through explicitly (#56)
dbkr Sep 18, 2024
154bf33
Manually clear orphaned recaptcha challenge overlay in android webvie…
langleyd Sep 18, 2024
1e76313
Playwright: factor out some common code (#49)
richvdh Sep 19, 2024
3dd223c
Also add NPM_TOKEN (#57)
dbkr Sep 19, 2024
0cc0ebe
Replace old reference of `matrix-org/matrix-react-sdk` by `element-hq…
florianduros Sep 19, 2024
4776f87
Ignore chat effect when older than 48h (#48)
florianduros Sep 19, 2024
490746e
Update to use non deprecated methods to derive key from passphrase (#55)
florianduros Sep 19, 2024
fe65702
Update to use non deprecated methods to decode recovery key (#54)
florianduros Sep 19, 2024
cf8fe20
Update dependency express to v4.20.0 [SECURITY] (#26)
renovate[bot] Sep 19, 2024
5058d66
Update Sibz/github-status-action digest to faaa4d9 (#63)
renovate[bot] Sep 19, 2024
ed7e02a
Update dependency stylelint-scss to v6.6.0 (#70)
renovate[bot] Sep 19, 2024
d4c942d
Update playwright monorepo to v1.47.1 (#73)
renovate[bot] Sep 19, 2024
b055908
Update dependency css-tree to v3 (#74)
renovate[bot] Sep 19, 2024
4be5338
Update dependency @sentry/browser to v8.30.0 (#69)
renovate[bot] Sep 19, 2024
1f55710
Mobile registration optimizations and tests (#62)
langleyd Sep 20, 2024
a248788
Update peter-evans/create-pull-request digest to 5e91468 (#64)
renovate[bot] Sep 20, 2024
d56b9ed
Update dependency eslint to v8.57.1 (#68)
renovate[bot] Sep 23, 2024
9aa09d4
Maybe fix flakey AddRemoveThreepid test (#81)
dbkr Sep 23, 2024
47a9377
Update dependency @types/react to v17.0.82 (#66)
renovate[bot] Sep 23, 2024
ef1d4f6
Grant Element Call widget capabilities for "raise hand" feature (#82)
AndrewFerr Sep 23, 2024
a1bdcee
Update dependency @types/node to v18.19.50 (#65)
renovate[bot] Sep 23, 2024
3620c5a
Merge branch 'develop' into t3chguy/wat/230.1
t3chguy Sep 24, 2024
3c267f9
Update snapshots
t3chguy Sep 24, 2024
2e895da
Crypto: fix display of device key (#86)
richvdh Sep 24, 2024
ad94c39
Fix accessible label on left panel spotlight trigger (#87)
t3chguy Sep 25, 2024
dd7479a
Merge branch 'develop' of github.com:element-hq/matrix-react-sdk into…
t3chguy Sep 25, 2024
9e4348e
Update test assertions
t3chguy Sep 25, 2024
e6404da
Update test assertions
t3chguy Sep 25, 2024
3f67819
Merge pull request #41 from element-hq/t3chguy/wat/230.1
t3chguy Sep 26, 2024
34d1875
Open room settings on room header avatar click (#88)
t3chguy Sep 26, 2024
81192f6
Update dependency typescript to v5.6.2 (#71)
renovate[bot] Sep 26, 2024
ef9e310
Pop right panel timeline when unmaximising widget to avoid double tim…
t3chguy Sep 27, 2024
8962e8c
Improve contrast for timestamps, date separators & spotlight trigger …
t3chguy Sep 27, 2024
be2c1fc
Add labs option to exclude unverified devices (#92)
richvdh Sep 30, 2024
f28f1d9
Improve error display for messages sent from insecure devices (#93)
richvdh Sep 30, 2024
4f39164
Ensure timeline search results are visible even in video rooms (#96)
t3chguy Sep 30, 2024
bd793a0
Allow joining calls and video rooms without enabling the labs flags (…
robintown Sep 30, 2024
0b3b499
Fix label sync (#101)
dbkr Sep 30, 2024
fe402e2
Fix flaky mobile registration tests (#102)
t3chguy Sep 30, 2024
81bb56a
Simplify Jest runs in CI to share failures with merge queue (#103)
t3chguy Sep 30, 2024
33c900e
Remove right panel toggling behaviour on room header buttons (#100)
t3chguy Sep 30, 2024
36fae00
Change device isolation mode to set `errorOnVerifiedUserProblems` to …
richvdh Sep 30, 2024
39a0f6e
Remove ts-ignores where no longer necessary (#89)
t3chguy Oct 1, 2024
f33e802
Fix untranslated keys being rendered in `/help` dialog (#90)
t3chguy Oct 1, 2024
33198cc
Use new AES functions (#97)
florianduros Oct 1, 2024
9019c5f
Update dependency @sentry/browser to v8.32.0 (#116)
renovate[bot] Oct 1, 2024
107ba59
Update dependency @types/express to v5 (#117)
renovate[bot] Oct 1, 2024
c2c3168
Allow to unpin redacted event (#98)
florianduros Oct 2, 2024
5d9996c
Use Compound close icon in favour of mishmash of x/close icons (#108)
t3chguy Oct 2, 2024
2da5d9b
Remove unused icon files (#107)
t3chguy Oct 2, 2024
2a183c7
Ensure no race condition between page load and waitForRequest set up …
t3chguy Oct 2, 2024
e60d3bd
Respect `io.element.jitsi` `useFor1To1Calls` in well-known (#112)
t3chguy Oct 2, 2024
8a263ac
Remove legacy room header and promote beta room header (#105)
t3chguy Oct 2, 2024
9895a8f
Disable ICE fallback based on well-known configuration (#111)
t3chguy Oct 2, 2024
5d6c19c
Update emoji text, border and background color (#119)
florianduros Oct 2, 2024
67cb8b7
Force verification even for refreshed clients (#44)
dbkr Oct 3, 2024
2dbaf00
Ditch right panel tabs and re-add close button (#99)
t3chguy Oct 3, 2024
70418f8
Add a pinned message badge under a pinned message (#118)
florianduros Oct 4, 2024
0a9b4ae
Tweak default right panel size to be 320px except for maximised widge…
t3chguy Oct 4, 2024
7ef8663
Prefer wrapped Compound React icon assets (#122)
t3chguy Oct 4, 2024
26b0e83
Replace composer icons with Compound variants (#123)
t3chguy Oct 4, 2024
5fbc5af
Add support for rendering media captions (#43)
tulir Oct 4, 2024
a0cb947
Update to @vector-im/matrix-wysiwyg (#125)
langleyd Oct 7, 2024
31bd10e
Remove usage of deprecated `CryptoEvent`s (#126)
florianduros Oct 8, 2024
197168b
Refactor stores and their relationship to the MatrixClientPeg (#124)
t3chguy Oct 8, 2024
df4a223
Deduplicate media & voip icons using Compound Design Tokens (#129)
t3chguy Oct 8, 2024
b79343d
Improve logging in SessionLock (#133)
richvdh Oct 9, 2024
a2cee6b
Fix vertical overflow on the mobile register screen (#137)
langleyd Oct 9, 2024
5f113c4
Fix bell icons on room list hover being black squares (#135)
dbkr Oct 9, 2024
4e5cf1b
Add aria-label to e2e icon (#136)
florianduros Oct 10, 2024
3a59556
Revert #124 and #135 (#139)
dbkr Oct 10, 2024
c71dc6b
Upgrade emojibase-bindings and remove local handling of emoticon vari…
langleyd Oct 10, 2024
771d4a8
Fix flaky crypto playwright tests (#143)
richvdh Oct 11, 2024
03186e4
Pin to Ubuntu 22 (#145)
dbkr Oct 14, 2024
3bc0439
Replace `MatrixClient.checkSecretStorageKey` by `MatrixClient.SecretS…
florianduros Oct 14, 2024
91e84f7
Upgrade to latest compound-web package (#84)
MidhunSureshR Oct 14, 2024
63986f8
Remove feature_dehydration (#138)
florianduros Oct 14, 2024
d770e2a
Deduplicate icons using Compound Design Tokens (#150)
t3chguy Oct 14, 2024
0750625
Update design of files list in right panel (#144)
t3chguy Oct 14, 2024
503d900
Replace `MatrixClient.userHasCrossSigningKeys` by `MatrixClient.getCr…
florianduros Oct 15, 2024
bce0263
Replace `MatrixClient.prepareToEncrypt` by `MatrixClient.getCrypto.pr…
florianduros Oct 15, 2024
d9e943d
Update to Compound v7 (#151)
t3chguy Oct 15, 2024
51a5cf6
[create-pull-request] automated change (#51)
RiotRobot Oct 15, 2024
d58c9fa
Always show link new device flow even if unsupported (#147)
t3chguy Oct 15, 2024
0f670b8
Remove redundant yarn.lock entry for widget-api (#35)
AndrewFerr Oct 15, 2024
b084ff2
Prepare for repo merge
t3chguy Oct 15, 2024
f0ee7f7
Merge matrix-react-sdk into element-web
t3chguy Oct 15, 2024
643d130
Merge branch 'develop' of https://github.com/vector-im/element-web in…
t3chguy Oct 15, 2024
13184f0
Iterate
t3chguy Oct 15, 2024
d928a7b
Iterate
t3chguy Oct 15, 2024
67659ab
Iterate
t3chguy Oct 15, 2024
68c0c4c
Iterate
t3chguy Oct 15, 2024
0f31b15
Iterate
t3chguy Oct 15, 2024
0007d3d
Iterate
t3chguy Oct 15, 2024
f78f6b3
Iterate
t3chguy Oct 16, 2024
4094d24
Fix i18n
t3chguy Oct 16, 2024
a22e9e8
[create-pull-request] automated change (#52)
RiotRobot Oct 15, 2024
146968d
Deduplicate more icons using Compound Design Tokens (#132)
t3chguy Oct 15, 2024
571ada3
Replace `MatrixClient.isCryptoEnabled` by `MatrixClient.getCrypto` (#…
florianduros Oct 15, 2024
1407e2f
Iterate
t3chguy Oct 16, 2024
f44174b
i18n
t3chguy Oct 16, 2024
8ae64fe
Move NETLIFY_SITE_ID to vars
t3chguy Oct 16, 2024
b483fdd
Use new `CryptoEvent` import (#128)
florianduros Oct 16, 2024
75b0a83
Merge branch 'develop' of https://github.com/vector-im/element-web in…
t3chguy Oct 16, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 6 additions & 11 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
# Copyright 2024 New Vector Ltd.
# Copyright 2017 Aviral Dasgupta
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
# Please see LICENSE files in the repository root for full details.

root = true

Expand All @@ -27,3 +19,6 @@ indent_size = 4

[package.json]
indent_size = 2

[*.tsx.snap]
trim_trailing_whitespace = false
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
src/vector/modernizr.js
test/end-to-end-tests/node_modules/
test/end-to-end-tests/element/
test/end-to-end-tests/synapse/
test/end-to-end-tests/lib/
# Legacy skinning file that some people might still have
src/component-index.js
# Auto-generated file
Expand Down
12 changes: 0 additions & 12 deletions .eslintrc-module_system.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,12 @@ module.exports = {
name: "matrix-js-sdk/src/index",
message: "Please use matrix-js-sdk/src/matrix instead",
},
{
name: "matrix-react-sdk",
message: "Please use matrix-react-sdk/src/index instead",
},
{
name: "matrix-react-sdk/",
message: "Please use matrix-react-sdk/src/index instead",
},
],
patterns: [
{
group: ["matrix-js-sdk/lib", "matrix-js-sdk/lib/", "matrix-js-sdk/lib/**"],
message: "Please use matrix-js-sdk/src/* instead",
},
{
group: ["matrix-react-sdk/lib", "matrix-react-sdk/lib/", "matrix-react-sdk/lib/**"],
message: "Please use matrix-react-sdk/src/* instead",
},
],
},
],
Expand Down
313 changes: 253 additions & 60 deletions .eslintrc.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# prettier
526645c79160ab1ad4b4c3845de27d51263a405e
7921a6cbf86b035d2b0c1daecb4c24beaf5a5abc
13 changes: 13 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,17 @@
/.github/workflows/** @element-hq/element-web-team
/package.json @element-hq/element-web-team
/yarn.lock @element-hq/element-web-team

/src/SecurityManager.ts @element-hq/element-crypto-web-reviewers
/test/SecurityManager-test.ts @element-hq/element-crypto-web-reviewers
/src/async-components/views/dialogs/security/ @element-hq/element-crypto-web-reviewers
/src/components/views/dialogs/security/ @element-hq/element-crypto-web-reviewers
/test/components/views/dialogs/security/ @element-hq/element-crypto-web-reviewers
/src/stores/SetupEncryptionStore.ts @element-hq/element-crypto-web-reviewers
/test/stores/SetupEncryptionStore-test.ts @element-hq/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

2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
- [ ] Tests written for new code (and old code if feasible).
- [ ] New or updated `public`/`exported` symbols have accurate [TSDoc](https://tsdoc.org/) documentation.
- [ ] Linter and other CI checks pass.
- [ ] Sign-off given on the changes (see [CONTRIBUTING.md](https://github.com/element-hq/element-web/blob/develop/CONTRIBUTING.md)).
- [ ] I have licensed the changes to Element by completing the [Contributor License Agreement (CLA)](https://cla-assistant.io/element-hq/element-web)
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
_extends: element-hq/matrix-react-sdk
_extends: matrix-org/matrix-js-sdk
version-resolver:
default: patch
11 changes: 1 addition & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ jobs:
with:
path: element-web

- name: Fetch matrix-react-sdk
uses: actions/checkout@v4
with:
repository: element-hq/matrix-react-sdk
path: matrix-react-sdk

- name: Fetch matrix-js-sdk
uses: actions/checkout@v4
with:
Expand All @@ -52,7 +46,7 @@ jobs:
working-directory: element-web
run: |
yarn install --frozen-lockfile
yarn ts-node ./scripts/gen-workflow-mermaid.ts ../element-desktop ../element-web ../matrix-react-sdk ../matrix-js-sdk > docs/automations.md
yarn ts-node ./scripts/gen-workflow-mermaid.ts ../element-desktop ../element-web ../matrix-js-sdk > docs/automations.md
echo "- [Automations](automations.md)" >> docs/SUMMARY.md

- name: Setup mdBook
Expand All @@ -74,9 +68,6 @@ jobs:
mv element-web/docs/lib docs/
mv element-web/docs "docs/Element Web"

mv matrix-react-sdk/README.md matrix-react-sdk/docs/
mv matrix-react-sdk/docs "docs/Matrix React SDK"

mv matrix-js-sdk/README.md matrix-js-sdk/docs/
mv matrix-js-sdk/docs "docs/Matrix JS SDK"

Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/end-to-end-tests-netlify.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Triggers after the playwright tests have finished,
# taking the artifact and uploading it to Netlify for easier viewing
name: Upload End to End Test report to Netlify
on:
workflow_run:
workflows: ["End to End Tests"]
types:
- completed

concurrency:
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch || github.run_id }}
cancel-in-progress: ${{ github.event.workflow_run.event == 'pull_request' }}

jobs:
report:
if: github.event.workflow_run.conclusion != 'cancelled'
name: Report results
runs-on: ubuntu-22.04
environment: Netlify
permissions:
statuses: write
deployments: write
steps:
- name: Download HTML report
uses: actions/download-artifact@v4
with:
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
name: html-report
path: playwright-report

- name: 📤 Deploy to Netlify
uses: matrix-org/netlify-pr-preview@v3
with:
path: playwright-report
owner: ${{ github.event.workflow_run.head_repository.owner.login }}
branch: ${{ github.event.workflow_run.head_branch }}
revision: ${{ github.event.workflow_run.head_sha }}
token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
site_id: ${{ vars.NETLIFY_SITE_ID }}
desc: Playwright Report
deployment_env: EndToEndTests
prefix: "e2e-"
191 changes: 176 additions & 15 deletions .github/workflows/end-to-end-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,190 @@
# Triggers after the "Downstream artifacts" build has finished, to run the
# matrix-react-sdk playwright tests (with access to repo secrets)

name: matrix-react-sdk End to End Tests
# Produce a build of element-web with this version of react-sdk
# and any matching branches of element-web and js-sdk, output it
# as an artifact and run end-to-end tests.
name: End to End Tests
on:
pull_request: {}
merge_group:
types: [checks_requested]
pull_request: {}
push:
branches: [develop, master]
repository_dispatch:
types: [element-web-notify]

# support triggering from other workflows
workflow_call:
inputs:
skip:
type: boolean
required: false
default: false
description: "A boolean to skip the playwright check itself while still creating the passing check. Useful when only running in Merge Queues."

matrix-js-sdk-sha:
type: string
required: false
description: "The Git SHA of matrix-js-sdk to build against. By default, will use a matching branch name if it exists, or develop."

concurrency:
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch || github.run_id }}
cancel-in-progress: ${{ github.event.workflow_run.event == 'pull_request' }}
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

env:
# fetchdep.sh needs to know our PR number
PR_NUMBER: ${{ github.event.pull_request.number }}

jobs:
build:
name: "Build Element-Web"
runs-on: ubuntu-22.04
if: inputs.skip != true
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
repository: element-hq/element-web

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

- name: Fetch layered build
id: layered_build
env:
# tell layered.sh to check out the right sha of the JS-SDK & EW, if they were given one
JS_SDK_GITHUB_BASE_REF: ${{ inputs.matrix-js-sdk-sha }}
run: |
scripts/layered.sh
JSSDK_SHA=$(git -C matrix-js-sdk rev-parse --short=12 HEAD)
VECTOR_SHA=$(git rev-parse --short=12 HEAD)
echo "VERSION=$VECTOR_SHA--js-$JSSDK_SHA" >> $GITHUB_OUTPUT

- name: Copy config
run: cp element.io/develop/config.json config.json

- name: Build
env:
CI_PACKAGE: true
VERSION: "${{ steps.layered_build.outputs.VERSION }}"
run: |
yarn build
echo $VERSION > webapp/version

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: webapp
path: webapp
retention-days: 1

playwright:
name: Playwright
uses: element-hq/matrix-react-sdk/.github/workflows/end-to-end-tests.yaml@develop
name: "Run Tests ${{ matrix.runner }}/${{ strategy.job-total }}"
needs: build
if: inputs.skip != true
runs-on: ubuntu-22.04
permissions:
actions: read
issues: read
pull-requests: read
with:
element-web-sha: ${{ github.sha }}
react-sdk-repository: element-hq/matrix-react-sdk
# We only want to run the playwright tests on merge queue to prevent regressions
# from creeping in. They take a long time to run and consume multiple concurrent runners.
skip: ${{ github.event_name != 'merge_group' }}
strategy:
fail-fast: false
matrix:
# Run multiple instances in parallel to speed up the tests
runner: [1, 2, 3, 4, 5, 6]
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
repository: element-hq/element-web

- name: 📥 Download artifact
uses: actions/download-artifact@v4
with:
name: webapp
path: webapp

- uses: actions/setup-node@v4
with:
cache: "yarn"
cache-dependency-path: yarn.lock
node-version: "lts/*"

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

- name: Get installed Playwright version
id: playwright
run: echo "version=$(yarn list --pattern @playwright/test --depth=0 --json --non-interactive --no-progress | jq -r '.data.trees[].name')" >> $GITHUB_OUTPUT

- name: Cache playwright binaries
uses: actions/cache@v4
id: playwright-cache
with:
path: |
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ steps.playwright.outputs.version }}

- name: Install Playwright browsers
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: yarn playwright install --with-deps

- name: Run Playwright tests
run: yarn playwright test --shard ${{ matrix.runner }}/${{ strategy.job-total }}

- name: Upload blob report to GitHub Actions Artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: all-blob-reports-${{ matrix.runner }}
path: blob-report
retention-days: 1

complete:
name: end-to-end-tests
needs: playwright
if: always()
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
if: inputs.skip != true
with:
persist-credentials: false
repository: element-hq/element-web

- 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
Loading
Loading