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

Upgrade/element web v1.11.40 #735

Merged
merged 295 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
295 commits
Select commit Hold shift + click to select a range
96cf705
Upgrade matrix-js-sdk to 25.1.0
RiotRobot May 10, 2023
81397ff
Upgrade matrix-react-sdk to 3.72.0
RiotRobot May 10, 2023
e902a0b
Prepare changelog for v1.11.31
RiotRobot May 10, 2023
df8f841
v1.11.31
RiotRobot May 10, 2023
8274ad6
Merge branch 'master' into develop
RiotRobot May 10, 2023
6e73a2b
Reset matrix-js-sdk back to develop branch
RiotRobot May 10, 2023
1e7d001
Reset matrix-react-sdk back to develop branch
RiotRobot May 10, 2023
cc5914a
Allow welcome.html logo to be replaced by config (#25339)
t3chguy May 12, 2023
9457af2
Improve bundle size and add webpack-bundle-analyzer (#25337)
t3chguy May 12, 2023
d7a98fe
Handle trailing dot FQDNs for domain-specific config.json files (#25351)
t3chguy May 12, 2023
d01eabd
Remove old ansible comments (#25352)
t3chguy May 12, 2023
88c5395
Fix analyse:webpack-bundles script (#25353)
t3chguy May 15, 2023
122d4d3
Increase yarn timeout (#25377)
t3chguy May 16, 2023
23bfce8
Translations update from Weblate (#25382)
RiotTranslateBot May 16, 2023
0fe50e0
Upgrade matrix-react-sdk to 3.73.0-rc.1
RiotRobot May 16, 2023
4132298
Upgrade matrix-js-sdk to 25.2.0-rc.4
RiotRobot May 16, 2023
e16f124
Prepare changelog for v1.11.32-rc.1
RiotRobot May 16, 2023
fa103b7
v1.11.32-rc.1
RiotRobot May 16, 2023
bb52c13
Update typescript-eslint monorepo to v5.59.5 (#25386)
renovate[bot] May 16, 2023
11a8fb3
Update dependency eslint-plugin-unicorn to v47 (#25389)
renovate[bot] May 16, 2023
a68c535
Update dependency @types/node to v16.18.30 (#25385)
renovate[bot] May 16, 2023
0a5173f
Update all non-major dependencies (#25387)
renovate[bot] May 16, 2023
0bdc59a
Upgrade matrix-react-sdk to 3.73.0-rc.2
RiotRobot May 19, 2023
ed1eaf6
Upgrade matrix-js-sdk to 25.2.0-rc.5
RiotRobot May 19, 2023
6b5c792
Prepare changelog for v1.11.32-rc.2
RiotRobot May 19, 2023
e526bfd
v1.11.32-rc.2
RiotRobot May 19, 2023
6b7f71f
vector/index.html: Allow fetching blob urls (#25336)
SuperKenVery May 25, 2023
3c7a993
Track release blockers in Matrix room header (#25427)
t3chguy May 30, 2023
6ab7a28
Update pending-reviews.yaml
t3chguy May 30, 2023
22b96e0
Update pending-reviews.yaml
t3chguy May 30, 2023
4296005
Update pending-reviews.yaml
t3chguy May 30, 2023
8c97de4
Update build_develop.yml
t3chguy May 31, 2023
ee4679f
Update build_develop.yml
t3chguy May 31, 2023
8997b84
Update build_develop.yml
t3chguy May 31, 2023
71800ba
Redirect to the SSO page if `sso_redirect_options.on_welcome_page` is…
dhenneke Jun 1, 2023
faf626e
Merge branch 'develop' into staging
RiotRobot Jun 1, 2023
5b904c0
Upgrade matrix-react-sdk to 3.73.0-rc.3
RiotRobot Jun 1, 2023
86eaa57
Upgrade matrix-js-sdk to 26.0.0-rc.1
RiotRobot Jun 1, 2023
0a26b57
Prepare changelog for v1.11.32-rc.3
RiotRobot Jun 1, 2023
df6423b
v1.11.32-rc.3
RiotRobot Jun 1, 2023
fea43b7
Update typescript-eslint monorepo to v5.59.7 (#25503)
renovate[bot] Jun 1, 2023
82f231d
Update all non-major dependencies (#25504)
renovate[bot] Jun 1, 2023
f965f20
Update dependency jest-canvas-mock to v2.5.1 (#25506)
renovate[bot] Jun 1, 2023
50bfa7e
Update cloudflare/pages-action digest to f0a1cd5 (#25501)
renovate[bot] Jun 1, 2023
2a078dd
Update dependency @types/node to v16.18.34 (#25502)
renovate[bot] Jun 1, 2023
945c079
Update dependency @sentry/webpack-plugin to v2 (#25507)
renovate[bot] Jun 2, 2023
bd8fabc
Upgrade matrix-js-sdk to 26.0.0
RiotRobot Jun 6, 2023
c127359
Upgrade matrix-react-sdk to 3.73.0
RiotRobot Jun 6, 2023
8fe89f2
Prepare changelog for v1.11.32
RiotRobot Jun 6, 2023
e918170
v1.11.32
RiotRobot Jun 6, 2023
69ad6c3
Merge branch 'master' into develop
RiotRobot Jun 6, 2023
a7208cc
Reset matrix-js-sdk back to develop branch
RiotRobot Jun 6, 2023
0504c82
Reset matrix-react-sdk back to develop branch
RiotRobot Jun 6, 2023
569c904
Add documentation for config to skip widget_build_url for DM rooms (#…
t3chguy Jun 6, 2023
fa21a0e
Upgrade matrix-js-sdk to 26.0.1
RiotRobot Jun 9, 2023
9358c41
Upgrade matrix-react-sdk to 3.73.1
RiotRobot Jun 9, 2023
2ec33e8
Prepare changelog for v1.11.33
RiotRobot Jun 9, 2023
322dab0
v1.11.33
RiotRobot Jun 9, 2023
b5b584d
Merge branch 'master' into develop
RiotRobot Jun 9, 2023
f8b8f17
Reset matrix-js-sdk back to develop branch
RiotRobot Jun 9, 2023
4ef9a60
Reset matrix-react-sdk back to develop branch
RiotRobot Jun 9, 2023
0817064
Translations update from Weblate (#25577)
RiotTranslateBot Jun 13, 2023
1a0a15a
Upgrade matrix-js-sdk to 26.1.0-rc1
RiotRobot Jun 13, 2023
5ba75a3
Upgrade matrix-react-sdk to 3.74.0-rc1
RiotRobot Jun 13, 2023
89a28b1
Prepare changelog for v1.11.34-rc1
RiotRobot Jun 13, 2023
15192b9
v1.11.34-rc1
RiotRobot Jun 13, 2023
37203d1
Document help_url and help_encryption_url (#25549)
t3chguy Jun 14, 2023
2d09b82
Remove `feature_favourite_messages` as it is has been abandoned for n…
t3chguy Jun 15, 2023
2b31b8d
Fix error when generating error for polling for updates (#25609)
t3chguy Jun 15, 2023
0417473
Deprecate new breadcrumbs (#25617)
germain-gg Jun 19, 2023
104dcad
Upgrade matrix-js-sdk to 26.1.0
RiotRobot Jun 20, 2023
b73a01a
Upgrade matrix-react-sdk to 3.74.0
RiotRobot Jun 20, 2023
1c403b7
Prepare changelog for v1.11.34
RiotRobot Jun 20, 2023
2cacd89
v1.11.34
RiotRobot Jun 20, 2023
f699c6f
Merge branch 'master' into develop
RiotRobot Jun 20, 2023
41aa36e
Reset matrix-js-sdk back to develop branch
RiotRobot Jun 20, 2023
3609ab8
Reset matrix-react-sdk back to develop branch
RiotRobot Jun 20, 2023
278c494
Point develop.element.io to our Element Call + LiveKit experiment (#2…
robintown Jun 20, 2023
86be392
Remove the ACAO header which is added by default on Cloudflare Pages …
laurencegill Jun 21, 2023
0b6e028
Revert "Point develop.element.io to our Element Call + LiveKit experi…
toger5 Jun 22, 2023
33eb055
Update docker/build-push-action digest to 2eb1c19 (#25583)
renovate[bot] Jun 22, 2023
130ea18
Point develop.element.io to our Element Call + LiveKit experiment (#2…
robintown Jun 24, 2023
1e67eb2
Bump semver from 7.5.1 to 7.5.2 (#25661)
dependabot[bot] Jun 26, 2023
bdbae36
Update docker/metadata-action digest to 818d4b7 (#25585)
renovate[bot] Jun 26, 2023
e4bf321
document io.element.e2ee.force_disable (#25662)
Jun 27, 2023
727ed6f
Translations update from Weblate (#25669)
RiotTranslateBot Jun 27, 2023
a0ca535
Upgrade matrix-react-sdk to 3.75.0-rc.1
RiotRobot Jun 27, 2023
9c8027d
Upgrade matrix-js-sdk to 26.2.0-rc.1
RiotRobot Jun 27, 2023
b64cf2e
Prepare changelog for v1.11.35-rc.1
RiotRobot Jun 27, 2023
30bff44
v1.11.35-rc.1
RiotRobot Jun 27, 2023
4ab85cb
Update dependency @types/node to v16.18.35 (#25590)
renovate[bot] Jun 27, 2023
6113541
Update dependency @types/jest to v29.5.2 (#25589)
renovate[bot] Jun 27, 2023
f35bbf0
Update typescript-eslint monorepo to v5.60.0 (#25591)
renovate[bot] Jun 27, 2023
8b481fd
Update docker/setup-buildx-action digest to ecf9528 (#25586)
renovate[bot] Jun 27, 2023
9be30a8
Update docker/login-action digest to 465a078 (#25584)
renovate[bot] Jun 27, 2023
cd3a88e
Update docker/setup-qemu-action digest to 2b82ce8 (#25587)
renovate[bot] Jun 27, 2023
51baaf6
Update peter-evans/dockerhub-description digest to dc67fad (#25671)
renovate[bot] Jun 27, 2023
6bbc2b8
remove auth params from url after login attempt (#25664)
Jun 27, 2023
0299aef
Conform more of the codebase to strictNullChecks & noImplicitAny (#25…
t3chguy Jun 28, 2023
4f1ce3c
Update all non-major dependencies (#25588)
renovate[bot] Jun 28, 2023
7164aeb
Align develop.e.io cloudflare pages headers with other deploys (#25700)
t3chguy Jul 3, 2023
53ac1d1
Upgrade matrix-react-sdk to 3.75.0
RiotRobot Jul 4, 2023
eec9543
Upgrade matrix-js-sdk to 26.2.0
RiotRobot Jul 4, 2023
aa55a2f
Prepare changelog for v1.11.35
RiotRobot Jul 4, 2023
c286617
v1.11.35
RiotRobot Jul 4, 2023
ab158ce
Merge branch 'master' into develop
RiotRobot Jul 4, 2023
210a8ee
Reset matrix-react-sdk back to develop branch
RiotRobot Jul 4, 2023
faa602d
Reset matrix-js-sdk back to develop branch
RiotRobot Jul 4, 2023
d31a498
Tweak branch matching to allow not applying outside of PRs for matrix…
t3chguy Jul 4, 2023
01a234a
Update matrix-react-sdk yarn.lock
t3chguy Jul 4, 2023
658e282
Enable strictNullChecks and noImplicitAny (#25724)
t3chguy Jul 6, 2023
fad458d
Enable strictPropertyInitialization (#25729)
t3chguy Jul 7, 2023
6726b93
Enable strictFunctionTypes (#25730)
t3chguy Jul 7, 2023
0a4a205
Enable strictPropertyInitialization (#25735)
t3chguy Jul 7, 2023
bac0da3
Deprecate customisations in favour of Module API (#25736)
t3chguy Jul 7, 2023
d18c69e
Bump stylelint from 15.9.0 to 15.10.1 (#25739)
dependabot[bot] Jul 10, 2023
9ec3f79
Bump tough-cookie from 4.1.2 to 4.1.3 (#25743)
dependabot[bot] Jul 10, 2023
93c1710
Allow default_server_config as a fallback config (#25682)
ShadowRZ Jul 10, 2023
ccb0a30
Utility automation for updating topics as part of release process (#2…
t3chguy Jul 10, 2023
a4eb2f4
Update update-topics.yaml
t3chguy Jul 10, 2023
98e36ff
Add `default_server_config` fallback to element.io configs (#19695)
aaronraimist Jul 10, 2023
9610326
Update update-topics.yaml
t3chguy Jul 10, 2023
71ab304
Update update-topics.yaml
t3chguy Jul 10, 2023
cb2d5ef
Update update-topics.yaml
t3chguy Jul 10, 2023
4c9baa6
Update update-topics.yaml
t3chguy Jul 10, 2023
29037c8
Update update-topics.yaml
t3chguy Jul 10, 2023
77db00c
Update update-topics.yaml
t3chguy Jul 10, 2023
80075ee
Update update-topics.yaml
t3chguy Jul 10, 2023
311c5fe
Delete redundant make-icons.sh (#25747)
t3chguy Jul 10, 2023
ef30662
store fragmentafterlogin in sesison storage for oidc login (#25688)
Jul 11, 2023
a952f25
Translations update from Weblate (#25750)
RiotTranslateBot Jul 11, 2023
3b3f12f
Update dependency @matrix-org/react-sdk-module-api to v1 (#25754)
renovate[bot] Jul 11, 2023
f859db9
Upgrade matrix-js-sdk to 27.0.0-rc.1
RiotRobot Jul 11, 2023
137f5c9
Upgrade matrix-react-sdk to 3.76.0-rc.1
RiotRobot Jul 11, 2023
ea0edf7
Prepare changelog for v1.11.36-rc.1
RiotRobot Jul 11, 2023
98f0735
v1.11.36-rc.1
RiotRobot Jul 11, 2023
abc5593
Update update-topics.yaml
t3chguy Jul 11, 2023
5a701c4
Update logging ignore list comment (#25769)
t3chguy Jul 11, 2023
453a361
Remove rageshake server from config.sample.json (#25772)
t3chguy Jul 12, 2023
da0b658
Update babel monorepo (#25505)
renovate[bot] Jul 12, 2023
30aff46
Update dependency @types/node to v16.18.38 (#25758)
renovate[bot] Jul 13, 2023
6508aca
Update jest (#25760)
renovate[bot] Jul 13, 2023
d67db02
Update dependency stylelint-config-standard to v34 (#25765)
renovate[bot] Jul 13, 2023
231d338
Update typescript-eslint monorepo to v5.61.0 (#25761)
renovate[bot] Jul 13, 2023
9856863
Update update-topics.yaml
t3chguy Jul 13, 2023
fe3d7f3
Update update-topics.yaml
t3chguy Jul 13, 2023
767c30f
Update update-topics.yaml
t3chguy Jul 13, 2023
0e97a17
Fix regex not handling rc versions
t3chguy Jul 13, 2023
b89b000
Update update-topics.yaml
t3chguy Jul 13, 2023
a84349f
Deprecate camelCase config options (#25800)
t3chguy Jul 14, 2023
d77877d
Upgrade matrix-js-sdk to 27.0.0-rc.2
RiotRobot Jul 14, 2023
3ee4cbd
Upgrade matrix-react-sdk to 3.76.0-rc.2
RiotRobot Jul 14, 2023
49c7821
Prepare changelog for v1.11.36-rc.2
RiotRobot Jul 14, 2023
dd9678d
v1.11.36-rc.2
RiotRobot Jul 14, 2023
93e6ee1
Switch to the new `session` API for screen-sharing (#25802)
SimonBrandner Jul 14, 2023
48044f3
Update all non-major dependencies (#25759)
renovate[bot] Jul 16, 2023
e68583a
Test: don't unmount `MatrixChat` before setup is finished (#25783)
Jul 16, 2023
42afb01
Correct Jitsi preferred_domain property (#25813)
benbz Jul 17, 2023
048d8c4
Remove redundant dependencies (#25814)
t3chguy Jul 17, 2023
44dde72
Update docker/setup-buildx-action digest to 4c0219f (#25757)
renovate[bot] Jul 17, 2023
4cf4dc9
Lock file maintenance (#25145)
renovate[bot] Jul 17, 2023
c1bbaf6
Removing stale labs flag (#25823)
germain-gg Jul 18, 2023
9be4fcf
Upgrade matrix-js-sdk to 27.0.0
RiotRobot Jul 18, 2023
af929fc
Upgrade matrix-react-sdk to 3.76.0
RiotRobot Jul 18, 2023
29ca7a4
Prepare changelog for v1.11.36
RiotRobot Jul 18, 2023
494cb39
v1.11.36
RiotRobot Jul 18, 2023
19d663d
Merge branch 'master' into develop
RiotRobot Jul 18, 2023
1c420b4
Reset matrix-js-sdk back to develop branch
RiotRobot Jul 18, 2023
2753bc9
Reset matrix-react-sdk back to develop branch
RiotRobot Jul 18, 2023
cc8afed
Avoid using deprecated config.json key casing (#25833)
t3chguy Jul 24, 2023
6406ae1
Translations update from Weblate (#25856)
RiotTranslateBot Jul 27, 2023
fef081c
Upgrade matrix-react-sdk to 3.77.0-rc.1
RiotRobot Jul 27, 2023
a618f95
Upgrade matrix-js-sdk to 27.1.0-rc.1
RiotRobot Jul 27, 2023
4eae1d4
Prepare changelog for v1.11.37-rc.1
RiotRobot Jul 27, 2023
7018f78
v1.11.37-rc.1
RiotRobot Jul 27, 2023
58e40c5
Update dependency eslint-plugin-unicorn to v48 (#25859)
renovate[bot] Jul 27, 2023
a19c3f5
Update dependency @types/node to v16.18.39 (#25857)
renovate[bot] Jul 27, 2023
790ff16
Update all non-major dependencies (#25858)
renovate[bot] Jul 27, 2023
5644c4e
Lock file maintenance (#25860)
renovate[bot] Jul 27, 2023
b404d2d
Lock file maintenance (#25886)
renovate[bot] Jul 31, 2023
a0558a8
Document 'feature_new_room_decoration_ui' (#25890)
germain-gg Aug 1, 2023
2abff92
Upgrade matrix-react-sdk to 3.77.0
RiotRobot Aug 1, 2023
69c43bb
Upgrade matrix-js-sdk to 27.1.0
RiotRobot Aug 1, 2023
fc94e9b
Prepare changelog for v1.11.37
RiotRobot Aug 1, 2023
a0e0df3
v1.11.37
RiotRobot Aug 1, 2023
3b37081
Merge branch 'master' into develop
RiotRobot Aug 1, 2023
50ca01f
Reset matrix-react-sdk back to develop branch
RiotRobot Aug 1, 2023
4f790eb
Reset matrix-js-sdk back to develop branch
RiotRobot Aug 1, 2023
c6756ea
Transpile @vector-im/compound-web with babel (#25906)
germain-gg Aug 2, 2023
e395178
Package release builds of element-web in package.element.io debs (#25…
t3chguy Aug 2, 2023
8fc0763
Remove feature_right_panel_default_open (#25915)
germain-gg Aug 3, 2023
bb223ee
[Backport staging] Package release builds of element-web in package.e…
RiotRobot Aug 4, 2023
0b72e92
Upgrade matrix-react-sdk to 3.77.1
RiotRobot Aug 4, 2023
ab7536d
Prepare changelog for v1.11.38
RiotRobot Aug 4, 2023
e059524
v1.11.38
RiotRobot Aug 4, 2023
595ddc3
Merge branch 'master' into develop
RiotRobot Aug 4, 2023
7a3e36d
Reset matrix-js-sdk back to develop branch
RiotRobot Aug 4, 2023
030b1fb
Reset matrix-react-sdk back to develop branch
RiotRobot Aug 4, 2023
1093b41
Update build_debian.yaml
t3chguy Aug 4, 2023
15836ac
Update labs.md for knock rooms (#25923)
charlynguyen Aug 4, 2023
b1129e4
Translations update from Weblate (#25935)
RiotTranslateBot Aug 8, 2023
e3bc5f4
Update tibdex/backport digest to 9565281 (#25936)
renovate[bot] Aug 8, 2023
84fe974
Upgrade matrix-react-sdk to 3.78.0-rc.1
RiotRobot Aug 8, 2023
3cce4de
Upgrade matrix-js-sdk to 27.2.0-rc.1
RiotRobot Aug 8, 2023
f77d968
Prepare changelog for v1.11.39-rc.1
RiotRobot Aug 8, 2023
f676406
v1.11.39-rc.1
RiotRobot Aug 8, 2023
f58b122
Update babel monorepo to v7.22.10 (#25937)
renovate[bot] Aug 8, 2023
424cbdd
Update dependency eslint-config-prettier to v9 (#25939)
renovate[bot] Aug 8, 2023
a61ab7c
Lock file maintenance (#25940)
renovate[bot] Aug 8, 2023
d1f7b08
Update setupFilesAfterEnv to TS (#25928)
t3chguy Aug 9, 2023
7351c72
Fix tests for Matrix v1.1 requirement (#25898)
t3chguy Aug 14, 2023
fb984ab
Update all non-major dependencies (#25938)
renovate[bot] Aug 14, 2023
70742e0
Upgrade matrix-react-sdk to 3.78.0
RiotRobot Aug 15, 2023
8c33ebf
Upgrade matrix-js-sdk to 27.2.0
RiotRobot Aug 15, 2023
7dabb3c
Prepare changelog for v1.11.39
RiotRobot Aug 15, 2023
9a650bd
v1.11.39
RiotRobot Aug 15, 2023
6755448
Merge branch 'master' into develop
RiotRobot Aug 15, 2023
f9b7372
Reset matrix-react-sdk back to develop branch
RiotRobot Aug 15, 2023
6bce017
Reset matrix-js-sdk back to develop branch
RiotRobot Aug 15, 2023
017fbb3
Remove redundant `makeRegistrationUrl` prop (#25953)
t3chguy Aug 15, 2023
96c652e
Switch to nested object pluralisation format for i18n files (#25970)
t3chguy Aug 17, 2023
062e93a
Tidy and improve dev scripts (#25978)
t3chguy Aug 18, 2023
d9b4e53
Allow external assets loading (#25998)
germain-gg Aug 18, 2023
c026879
Fix path separator for Windows based systems (#25997)
germain-gg Aug 18, 2023
65f7545
Bump @matrix-org/react-sdk-module-api from 1.0.0 to 2.0.0 (#25986)
dhenneke Aug 18, 2023
7f3d85c
Remove `Exploring public spaces` from labs.md (#25991)
t3chguy Aug 21, 2023
c13816d
Translated using Weblate (Georgian) (#26029)
RiotTranslateBot Aug 22, 2023
9c06e33
Upgrade matrix-js-sdk to 28.0.0-rc.1
RiotRobot Aug 23, 2023
50f7c1e
Upgrade matrix-react-sdk to 3.79.0-rc.2
RiotRobot Aug 23, 2023
60a8dc5
Prepare changelog for v1.11.40-rc.1
RiotRobot Aug 23, 2023
ba5f976
v1.11.40-rc.1
RiotRobot Aug 23, 2023
e870fe2
Upgrade matrix-js-sdk to 28.0.0
RiotRobot Aug 29, 2023
61fba2c
Upgrade matrix-react-sdk to 3.79.0
RiotRobot Aug 29, 2023
61669e5
Prepare changelog for v1.11.40
RiotRobot Aug 29, 2023
5ee16a9
v1.11.40
RiotRobot Aug 29, 2023
e9a4d13
Merge element-web v1.11.40. Patches not fixed yet.
estellecomment Sep 29, 2023
7f0c51e
Patches without breaks, migrated by script
estellecomment Sep 29, 2023
af98985
Fixed patch activate-cross-signing-etc
estellecomment Sep 29, 2023
fd00118
Fixed patch forgot-password (not tested yet, could break the feature)
estellecomment Sep 29, 2023
d5f9b94
Fixed hide-discovery-email etc
estellecomment Sep 29, 2023
7fbc8fa
Restore some deps, they had been lost during merge
estellecomment Sep 29, 2023
67ea5bf
Fix patch "Registration for mainlining"
estellecomment Sep 29, 2023
d5469e3
Lint webpack.config.js
estellecomment Sep 29, 2023
7a87c52
Upgrade cypress
estellecomment Sep 29, 2023
cddbb5c
Fix translation bug in welcome page
estellecomment Sep 29, 2023
6efe2a0
Upgrade cypress related deps
estellecomment Oct 3, 2023
bee82b5
Fix unit test setup
estellecomment Oct 3, 2023
e411f77
Merge branch 'develop_tchap' into upgrade/element-web-v1.11.40
estellecomment Oct 5, 2023
416922e
Merge branch 'develop_tchap' into upgrade/element-web-v1.11.40
estellecomment Oct 5, 2023
34782b6
Use WorkMessaging UI profile (#756)
estellecomment Oct 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Backport
on:
pull_request_target:
types:
- closed
- labeled
branches:
- develop

jobs:
backport:
name: Backport
runs-on: ubuntu-latest
# Only react to merged PRs for security reasons.
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
if: >
github.event.pull_request.merged
&& (
github.event.action == 'closed'
|| (
github.event.action == 'labeled'
&& contains(github.event.label.name, 'backport')
)
)
steps:
- uses: tibdex/backport@9565281eda0731b1d20c4025c43339fb0a23812e # v2
with:
labels_template: "<%= JSON.stringify([...labels, 'X-Release-Blocker']) %>"
# We can't use GITHUB_TOKEN here or CI won't run on the new PR
github_token: ${{ secrets.ELEMENT_BOT_TOKEN }}
56 changes: 56 additions & 0 deletions .github/workflows/build_debian.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Build Debian package
on:
release:
types: [published]
concurrency: ${{ github.workflow }}
jobs:
build:
name: Build package
if: github.event.release.prerelease == false
environment: packages.element.io
runs-on: ubuntu-latest
env:
R2_INCOMING_BUCKET: ${{ vars.R2_INCOMING_BUCKET }}
R2_URL: ${{ vars.CF_R2_S3_API }}
steps:
- uses: actions/checkout@v3

- name: Prepare
run: |
mkdir -p /tmp/element-web-debian/DEBIAN
cp -R debian/ /tmp/element-web-debian/DEBIAN/
mkdir -p /tmp/element-web-debian/usr/share/element-web/

wget https://github.com/vector-im/element-web/releases/download/$VERSION/element-$VERSION.tar.gz
mv element-* /tmp/element-web-debian/usr/share/element-web
mv debian/usr/share/element-web/config.sample.json /tmp/element-web-debian/usr/share/element-web/config.json
env:
VERSION: ${{ github.ref_name }}

- name: Build deb package
run: |
VERSION=$(cat package.json | jq -r .version)
chmod -R u=rw,go=r /tmp/element-web-debian/usr/share/element-web/
dpkg-deb -Zxz --root-owner-group -VVersion=$VERSION --build /tmp/element-web-debian element-web.deb

# For now just upload the artifact to github
- uses: actions/upload-artifact@v3
with:
name: debs
path: "*.deb"
retention-days: 14

#- name: Upload incoming deb
# run: aws s3 cp element-io-archive-keyring.deb "s3://$R2_INCOMING_BUCKET" --endpoint-url "$R2_URL" --region auto
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.CF_R2_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_TOKEN }}

#reprepro:
# needs: build
# name: Run reprepro
# if: inputs.deploy && github.event.release.prerelease == false
# uses: ./.github/workflows/reprepro.yaml
# secrets: inherit
# with:
# incoming: element-web.deb
118 changes: 118 additions & 0 deletions .github/workflows/build_develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# Separate to the main build workflow for access to develop
# environment secrets, largely similar to build.yaml.
name: Build and Deploy develop
on:
push:
branches: [develop]
repository_dispatch:
types: [element-web-notify]
concurrency:
group: ${{ github.repository_owner }}-${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
build:
name: "Build & Deploy develop.element.io"
# Only respect triggers from our develop branch, ignore that of forks
if: github.repository == 'vector-im/element-web'
runs-on: ubuntu-latest
environment: develop
env:
R2_BUCKET: "element-web-develop"
R2_URL: ${{ vars.CF_R2_S3_API }}
R2_PUBLIC_URL: "https://element-web-develop.element.io"
steps:
- uses: actions/checkout@v3

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

- name: Install Dependencies
run: "./scripts/layered.sh"

- name: Build, Package & Upload sourcemaps
run: "./scripts/ci_package.sh"
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SENTRY_URL: ${{ secrets.SENTRY_URL }}
SENTRY_ORG: element
SENTRY_PROJECT: riot-web
# We only deploy the latest bundles to Cloudflare Pages and use _redirects to fallback to R2 for
# older ones. This redirect means that 'self' is insufficient in the CSP,
# and we have to add the R2 URL.
# Once Cloudflare redirects support proxying mode we will be able to ditch this.
# See Proxying in support table at https://developers.cloudflare.com/pages/platform/redirects
CSP_EXTRA_SOURCE: ${{ env.R2_PUBLIC_URL }}

- run: mv dist/element-*.tar.gz dist/develop.tar.gz

- uses: actions/upload-artifact@v3
with:
name: webapp
path: dist/develop.tar.gz
retention-days: 1

- name: Extract webapp
run: |
mkdir _deploy
tar xf dist/develop.tar.gz -C _deploy --strip-components=1

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

- name: Populate 404.html
run: echo "404 Not Found" > _deploy/404.html

- name: Populate _headers
run: cp .github/cfp_headers _deploy/_headers

# Redirect requests for the develop tarball and the historical bundles to R2
# We find the latest 100 bundle.css files and add their bundles to the redirects file
# S3 has no sane way to get the age of a directory as they don't really exist
- name: Populate _redirects
run: |
{
echo "/develop.tar.gz $R2_PUBLIC_URL/develop.tar.gz 301"
aws s3api --region auto --endpoint-url $R2_URL list-objects-v2 --bucket $R2_BUCKET \
--query "sort_by(Contents[?ends_with(Key, '/bundle.css')], &LastModified)[-100:].Key" \
--prefix "bundles/" | jq -r '.[]' | grep -oE '[^\"].*\/\s*' | while read -r path ; do
echo "/${path}* $R2_PUBLIC_URL/${path}:splat 301"
done
} | tee _deploy/_redirects
env:
AWS_ACCESS_KEY_ID: ${{ secrets.CF_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_TOKEN }}

- name: Wait for other steps to succeed
uses: t3chguy/wait-on-check-action@05861d3a448898eb33dfce34153bd1ecb9422fb9 # fork
with:
ref: ${{ github.sha }}
running-workflow-name: "Build & Deploy develop.element.io"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
check-regexp: ^((?!SonarCloud|SonarQube|issue|board|label).)*$

# We keep the latest develop.tar.gz on R2 instead of relying on the github artifact uploaded earlier
# as the expires after 24h and requires auth to download.
# Element Desktop's fetch script uses this tarball to fetch latest develop to build Nightlies.
- name: Deploy to R2
run: |
aws s3 cp dist/develop.tar.gz s3://$R2_BUCKET/develop.tar.gz --endpoint-url $R2_URL --region=auto
aws s3 cp _deploy/ s3://$R2_BUCKET/ --recursive --endpoint-url $R2_URL --region=auto
env:
AWS_ACCESS_KEY_ID: ${{ secrets.CF_R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.CF_R2_TOKEN }}

- name: Deploy to Cloudflare Pages
id: cfp
uses: cloudflare/pages-action@f0a1cd58cd66095dee69bfa18fa5efd1dde93bca # v1
with:
apiToken: ${{ secrets.CF_PAGES_TOKEN }}
accountId: ${{ secrets.CF_PAGES_ACCOUNT_ID }}
projectName: element-web-develop
directory: _deploy
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

- run: |
echo "Deployed to ${{ steps.cfp.outputs.url }}" >> $GITHUB_STEP_SUMMARY
61 changes: 61 additions & 0 deletions .github/workflows/dockerhub.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Dockerhub
on:
workflow_dispatch: {}
push:
tags: [v*]
schedule:
# This job can take a while, and we have usage limits, so just publish develop only twice a day
- cron: "0 7/12 * * *"
concurrency: ${{ github.workflow }}-${{ github.ref_name }}
jobs:
buildx:
name: Docker Buildx
runs-on: ubuntu-latest
environment: dockerhub
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # needed for docker-package to be able to calculate the version

- name: Set up QEMU
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@4c0219f9ac95b02789c1075625400b2acbff50b1 # v2
with:
install: true

- name: Login to Docker Hub
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Docker meta
id: meta
uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4
with:
images: |
vectorim/element-web
tags: |
type=ref,event=branch
type=ref,event=tag
flavor: |
latest=${{ contains(github.ref_name, '-rc.') && 'false' || 'auto' }}

- name: Build and push
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Update repo description
uses: peter-evans/dockerhub-description@dc67fad7001ef9e8e3c124cb7a64e16d0a63d864 # v3
continue-on-error: true
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: vectorim/element-web
90 changes: 90 additions & 0 deletions .github/workflows/pending-reviews.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: Pending reviews automation
on:
# We run it on a schedule instead of on pull_request_* events to not create confusing messaging in the PR
schedule:
- cron: "*/10 * * * *"
concurrency: ${{ github.workflow }}
jobs:
bot:
name: Pending reviews bot
runs-on: ubuntu-latest
environment: Matrix
env:
URL: "https://github.com/pulls?q=is%3Apr+is%3Aopen+repo%3Amatrix-org%2Fmatrix-js-sdk+repo%3Amatrix-org%2Fmatrix-react-sdk+repo%3Avector-im%2Felement-web+repo%3Avector-im%2Felement-desktop+review-requested%3A%40me+sort%3Aupdated-desc+"
RELEASE_BLOCKERS_URL: "https://github.com/pulls?q=is%3Aopen+repo%3Amatrix-org%2Fmatrix-js-sdk+repo%3Amatrix-org%2Fmatrix-react-sdk+repo%3Avector-im%2Felement-web+repo%3Avector-im%2Felement-desktop+sort%3Aupdated-desc+label%3AX-Release-Blocker+"
steps:
- uses: actions/github-script@v6
env:
HS_URL: ${{ secrets.BETABOT_HS_URL }}
ROOM_ID: ${{ secrets.ROOM_ID }}
TOKEN: ${{ secrets.BETABOT_ACCESS_TOKEN }}
with:
# PAT needed as the GITHUB_TOKEN won't be able to see cross-references from other orgs (matrix-org)
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
script: |
const { HS_URL, ROOM_ID, TOKEN, URL, RELEASE_BLOCKERS_URL } = process.env;

async function updateCounter(counter, link, severity, title, value, clearOnZero) {
const apiUrl = `${HS_URL}/_matrix/client/v3/rooms/${ROOM_ID}/state/re.jki.counter/${counter}`;
const headers = {
"Content-Type": "application/json",
"Authorization": `Bearer ${TOKEN}`,
};
const res = await fetch(apiUrl, {
method: "GET",
headers,
});

const data = await res.json();

if (data.value === issueCount) {
console.log("Pending review count already correct");
return;
}

let body = {};
if (issueCount || !clearOnZero) {
body = JSON.stringify({
link,
severity,
title,
value,
});
}

await fetch(apiUrl, {
method: "PUT",
body,
headers,
});
}

const repos = [
"vector-im/element-desktop",
"vector-im/element-web",
"matrix-org/matrix-react-sdk",
"matrix-org/matrix-js-sdk",
];
const teams = [
"matrix-org/element-web-app-team",
"matrix-org/element-web",
"vector-im/element-web-app-team",
"vector-im/element-web",
];

let issueCount = 0;
for (const team of teams) {
const org = team.split("/", 2)[0];
const reposInOrg = repos.filter(repo => repo.startsWith(org + "/"));
const { data } = await github.rest.search.issuesAndPullRequests({
q: `is:pr is:open review:required ${reposInOrg.map(r => `repo:${r}`).join(" ")} team-review-requested:${team}`,
});
issueCount += data.total_count;
}
await updateCounter("gh_reviews", URL, "warning", "Pending reviews", issueCount);

const { data } = await github.rest.search.issuesAndPullRequests({
q: `is:open ${repos.map(repo => `repo:${repo}`).join(" ")} label:X-Release-Blocker`,
});
const blockerCount = data.total_count;
await updateCounter("release_blockers", RELEASE_BLOCKERS_URL, "alert", "Release Blockers", blockerCount, true);
Loading
Loading