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.53 #887

Merged
merged 301 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
301 commits
Select commit Hold shift + click to select a range
775c4d3
Update all non-major dependencies (#26201)
renovate[bot] Oct 18, 2023
bfb071f
Update build.yml
t3chguy Oct 18, 2023
f3bf750
Lock file maintenance (#26205)
renovate[bot] Oct 18, 2023
f1a39b3
Update dependency typescript to v5.2.2 (#26390)
renovate[bot] Oct 18, 2023
0040181
Correctly fill window.matrixChat even when a Wrapper module is active…
dhenneke Oct 19, 2023
f8b6364
Update react-types (#26124)
renovate[bot] Oct 19, 2023
b24a25b
Add automation to move Element-R issues to crypto board (#26398)
richvdh Oct 19, 2023
1265ed4
triage-labelled: Fix workflow
richvdh Oct 19, 2023
73e2d1d
Adds labs label to Element R issues (#26324)
germain-gg Oct 19, 2023
6c017ab
triage-labelled: Fix step input names
richvdh Oct 19, 2023
e4d365a
triage-labelled: also set "Status" on ER issues
richvdh Oct 19, 2023
6860714
Revert "triage-labelled: also set "Status" on ER issues"
richvdh Oct 19, 2023
b93db38
docs: fixed multiple typos (#26403)
Subash-Lamichhane Oct 19, 2023
80ba22a
OIDC: document config (#26400)
Oct 19, 2023
0796b3d
Delete .github/workflows/upgrade_dependencies.yml
t3chguy Oct 23, 2023
bf0a3ef
Update triage-assigned.yml
Johennes Oct 24, 2023
3389380
Merge pull request #26430 from vector-im/Johennes-patch-1
Johennes Oct 24, 2023
9fce52b
Merge branch 'develop' into johannes/webpack-cli-4.10.0
Johennes Oct 24, 2023
98c27c8
Merge branch 'johannes/webpack-cli-4.10.0' into johannes/webpack-5
Johennes Oct 24, 2023
06e0345
Enable rust cryptography on develop.element.io (#26291)
richvdh Oct 24, 2023
bd151bf
Upgrade matrix-react-sdk to 3.83.0
RiotRobot Oct 24, 2023
51cd6cc
Upgrade matrix-js-sdk to 29.1.0
RiotRobot Oct 24, 2023
30a3706
Prepare changelog for v1.11.47
RiotRobot Oct 24, 2023
c22670d
v1.11.47
RiotRobot Oct 24, 2023
b8775f4
Merge branch 'master' into develop
RiotRobot Oct 24, 2023
aab9e5d
Reset matrix-react-sdk back to develop branch
RiotRobot Oct 24, 2023
5eb3992
Reset matrix-js-sdk back to develop branch
RiotRobot Oct 24, 2023
ca24cde
Merge branch 'develop' into johannes/webpack-cli-4.10.0
Johennes Oct 25, 2023
5482050
Document `feedback.new_issue_url` & `feedback.existing_issues_url` (#…
t3chguy Oct 25, 2023
875657e
Update update-topics.yaml
t3chguy Oct 25, 2023
6fa6c65
Update update-topics.yaml
t3chguy Oct 25, 2023
16ec8ed
Iterate build_debian.yaml workflow (#26434)
t3chguy Oct 25, 2023
413c50f
Update config.md
t3chguy Oct 25, 2023
de2d3ff
Merge pull request #26216 from vector-im/johannes/webpack-cli-4.10.0
Johennes Oct 25, 2023
3a73f6b
Merge branch 'develop' into johannes/webpack-5
Johennes Oct 25, 2023
d8f46ab
Appease the linter
Johennes Oct 25, 2023
588e056
Add mdbook-mermaid (#26426)
t3chguy Oct 26, 2023
e462d7e
Update docs.yml
t3chguy Oct 26, 2023
bce8207
Remove mermaid config section
t3chguy Oct 26, 2023
e5d4d51
Add script to generate mermaid graph of automations (#26432)
t3chguy Oct 27, 2023
1151a3b
Update docs.yml
t3chguy Oct 27, 2023
1bf3200
Bump browserify-sign from 4.2.1 to 4.2.2 (#26459)
dependabot[bot] Oct 27, 2023
fc824dc
Update docs.yml
t3chguy Oct 27, 2023
197c985
Update docs.yml
t3chguy Oct 27, 2023
0fdbbee
Vendor in Mermaid v10 for frontmatter title support
t3chguy Oct 27, 2023
3eaa4fb
Fix path issues
t3chguy Oct 27, 2023
2207828
prettierignore
t3chguy Oct 27, 2023
a2a60a4
Fix docs workflow
t3chguy Oct 27, 2023
56bdaaf
Use olm from default npm registry, since it's there now (#26461)
uhoreg Oct 27, 2023
1ed1a4e
Release prep script for cutting branches (#26392)
t3chguy Oct 31, 2023
718f3bb
Update release_prepare.yml
t3chguy Oct 31, 2023
12da7c2
Upgrade matrix-react-sdk to 3.84.0-rc.1
RiotRobot Oct 31, 2023
7ec7fb5
Upgrade matrix-js-sdk to 30.0.0-rc.1
RiotRobot Oct 31, 2023
be82347
Prepare changelog for v1.11.48-rc.1
RiotRobot Oct 31, 2023
e8b09f3
v1.11.48-rc.1
RiotRobot Oct 31, 2023
b3037c7
Update titoportas/update-project-fields digest to 421a544 (#26478)
renovate[bot] Oct 31, 2023
8447c77
Update definitelyTyped (#26479)
renovate[bot] Oct 31, 2023
c4c759c
Update dependency @types/jest to v29.5.7 (#26480)
renovate[bot] Oct 31, 2023
ecb557d
Update actions/setup-node action to v4 (#26484)
renovate[bot] Oct 31, 2023
5ae434d
Update dependency eslint-plugin-unicorn to v49 (#26485)
renovate[bot] Oct 31, 2023
61cfe56
Update all non-major dependencies (#26482)
renovate[bot] Nov 1, 2023
7e37090
Update build_debian.yaml
t3chguy Nov 1, 2023
019a7cc
Ship OpenCoDE variant to Dockerhub (#26399)
t3chguy Nov 6, 2023
17147ad
Merge branch 'develop' into johannes/webpack-5
Johennes Nov 6, 2023
222cf5c
Make triage-labelled workflow reusable
Johennes Nov 6, 2023
8769dbb
Merge pull request #26509 from vector-im/Johennes-patch-1
Johennes Nov 6, 2023
11f46a0
Add input parameter for ELEMENT_BOT_TOKEN
Johennes Nov 6, 2023
b350d22
Merge pull request #26511 from vector-im/Johennes-patch-1
Johennes Nov 7, 2023
b2387c3
Upgrade matrix-react-sdk to 3.84.0
RiotRobot Nov 7, 2023
a582cec
Upgrade matrix-js-sdk to 30.0.0
RiotRobot Nov 7, 2023
ba11a5d
Prepare changelog for v1.11.48
RiotRobot Nov 7, 2023
2c1304c
v1.11.48
RiotRobot Nov 7, 2023
51f9e52
Merge branch 'master' into develop
RiotRobot Nov 7, 2023
740bf8a
Reset matrix-react-sdk back to develop branch
RiotRobot Nov 7, 2023
8b01798
Reset matrix-js-sdk back to develop branch
RiotRobot Nov 7, 2023
4ffac57
Merge branch 'develop' into johannes/webpack-5
Johennes Nov 8, 2023
e271f2c
Upgrade webpack to 5.89.0
Johennes Nov 8, 2023
fe46b05
Remove unused extract-text-webpack-plugin
Johennes Nov 8, 2023
25bb2ae
Replace optimize-css-assets-webpack-plugin with css-minimizer-webpack…
Johennes Nov 8, 2023
0a36934
Eliminate use of loader-utils
Johennes Nov 8, 2023
f0c5ed8
Appease the linter
Johennes Nov 8, 2023
edeaf80
Ship element-web as a debian package (#26533)
t3chguy Nov 9, 2023
99c10cb
Update @matrix-org/react-sdk-module-api
Nov 9, 2023
de9def1
Merge pull request #26534 from nordeck/charlynguyen/update-react-sdk-…
Johennes Nov 9, 2023
e6ba36d
Merge branch 'develop' into johannes/webpack-5
Johennes Nov 9, 2023
ae1d21f
Remove obsolete comment
Johennes Nov 9, 2023
42da986
Only show overlay on build errors
Johennes Nov 9, 2023
37632d8
Eliminate worklet-loader
Johennes Nov 9, 2023
3e03b2e
Appease the linter
Johennes Nov 9, 2023
ac16b9c
Only update repo description once (#26517)
t3chguy Nov 9, 2023
2bc5143
Update translating-dev.md
t3chguy Nov 10, 2023
c6e5280
Run Localazy Download on a schedule 3 times a week instead of during …
t3chguy Nov 10, 2023
0584c39
Add defaults and fix comment
Johennes Nov 11, 2023
91f46cc
Disable automatic publicPath to unbreak worklets
Johennes Nov 12, 2023
e4b0429
Update CODEOWNERS
t3chguy Nov 13, 2023
3d29596
[create-pull-request] automated change
t3chguy Nov 13, 2023
b42c1cf
Merge pull request #26562 from vector-im/actions/localazy-download
RiotRobot Nov 13, 2023
db2ab2f
[Backport staging] Ship element-web as a debian package (#26563)
RiotRobot Nov 13, 2023
f69b58e
Upgrade matrix-react-sdk to 3.84.1
RiotRobot Nov 13, 2023
5928fb9
Upgrade matrix-js-sdk to 30.0.1
RiotRobot Nov 13, 2023
3f2dea5
Prepare changelog for v1.11.49
RiotRobot Nov 13, 2023
5b1b7ac
v1.11.49
RiotRobot Nov 13, 2023
6a79993
Merge branch 'master' into develop
RiotRobot Nov 13, 2023
fc28d15
Update build_debian.yaml
t3chguy Nov 13, 2023
781a067
New release automations (#26495)
t3chguy Nov 13, 2023
bbd449f
Merge branch 'develop' into johannes/webpack-5
Johennes Nov 13, 2023
432c1d6
Squashed commit of the following:
Johennes Nov 13, 2023
5e9763e
Update mocks for workers / worklets
Johennes Nov 14, 2023
6c38ad7
Update release-drafter.yml
t3chguy Nov 14, 2023
1300a2b
Update build_develop.yml
t3chguy Nov 14, 2023
651b6db
Explicitly specify secrets
t3chguy Nov 14, 2023
e1b5c72
Merge remote-tracking branch 'origin/develop' into develop
t3chguy Nov 14, 2023
4bb0cdf
Upgrade matrix-react-sdk to 3.85.0-rc.1
RiotRobot Nov 14, 2023
613b50a
Upgrade matrix-js-sdk to 30.1.0-rc.1
RiotRobot Nov 14, 2023
2a26d39
v1.11.50-rc.0
RiotRobot Nov 14, 2023
08bc6d8
Use only chokidar for watching and add more logging
Johennes Nov 15, 2023
8a3f8a4
Appease the linter
Johennes Nov 15, 2023
ba72b3b
Prevent copy-res -w from triggering unnecessary changes while webpack…
Johennes Nov 15, 2023
9d9a81a
Merge branch 'johannes/one-watcher-to-rule-them-all' into johannes/tw…
Johennes Nov 15, 2023
6402827
Remove unused dependencies and add transitive deps (#26543)
t3chguy Nov 15, 2023
277016d
Update actions/github-script action to v7 (#26583)
renovate[bot] Nov 15, 2023
f9293f9
Update all non-major dependencies (#26581)
renovate[bot] Nov 15, 2023
3bf7017
Bump crypto-js from 4.1.1 to 4.2.0 (#26460)
dependabot[bot] Nov 15, 2023
829c0ec
Update definitelyTyped (#26579)
renovate[bot] Nov 15, 2023
fd9cb15
Update babel monorepo to v7.23.3 (#26578)
renovate[bot] Nov 15, 2023
ec1ff4b
Update dependency @types/jest to v29.5.8 (#26580)
renovate[bot] Nov 15, 2023
897bca6
Merge pull request #26591 from vector-im/johannes/one-watcher-to-rule…
Johennes Nov 16, 2023
37b67a8
Merge branch 'develop' into johannes/two-phase-copy-res
Johennes Nov 16, 2023
fd2f788
Merge pull request #26593 from vector-im/johannes/two-phase-copy-res
Johennes Nov 16, 2023
ccaef6f
Update build_debian.yaml
t3chguy Nov 16, 2023
eb31e39
v1.11.50-rc.1
RiotRobot Nov 16, 2023
d2fa827
Replace copy/watching of non-language assets with copy-webpack-plugin
Johennes Nov 16, 2023
46ecafa
Try explicitly relative path for config.json
Johennes Nov 16, 2023
47b37c9
Revert "Try explicitly relative path for config.json"
Johennes Nov 16, 2023
7103362
Allow config.json to be missing
Johennes Nov 16, 2023
e6f69f7
Merge pull request #26599 from vector-im/johannes/copy-webpack-plugin
Johennes Nov 16, 2023
a56a226
Merge branch 'develop' into johannes/webpack-5
Johennes Nov 16, 2023
4e32b6f
Update copy-webpack-plugin to latest
Johennes Nov 16, 2023
8dbefcc
Undo auto public path disablement as it doesn't work with workers
Johennes Nov 16, 2023
3c3ec88
Add feature_disable_call_per_sender_encryption documentation (in labs…
toger5 Nov 17, 2023
e2fddda
Add custom loader for recorder worklet
Johennes Nov 18, 2023
6093cd8
Move worklet rule up to where it used to be
Johennes Nov 18, 2023
f46cdd0
Merge branch 'develop' into johannes/webpack-5
Johennes Nov 18, 2023
37c1c4e
Set es2022 globally but force CommonJS when using ts-node for scripts
Johennes Nov 19, 2023
4a51991
Add documentation around releases (#26602)
t3chguy Nov 20, 2023
619f36b
Merge pull request #26229 from vector-im/johannes/webpack-5
Johennes Nov 20, 2023
c8b916f
Upgrade matrix-react-sdk to 3.85.0
RiotRobot Nov 21, 2023
af3f25e
Upgrade matrix-js-sdk to 30.1.0
RiotRobot Nov 21, 2023
38dd45a
v1.11.50
RiotRobot Nov 21, 2023
4bd9336
Update release-gitflow.yml
t3chguy Nov 21, 2023
2debdda
Merge branch 'master' into develop
RiotRobot Nov 21, 2023
0ea2091
Reset matrix-react-sdk back to develop branch
RiotRobot Nov 21, 2023
23eb481
Reset matrix-js-sdk back to develop branch
RiotRobot Nov 21, 2023
b489171
Update CHANGELOG.md
t3chguy Nov 21, 2023
8dae356
Set up rudimentary workflow for manually triggering label sync
Johennes Nov 21, 2023
be0de44
Make it preeeeeetty
Johennes Nov 21, 2023
21cf6ed
Merge pull request #26612 from vector-im/johannes/sync-labels
Johennes Nov 21, 2023
03b43d3
Use correct key
Johennes Nov 21, 2023
acad93d
Rename action to not tap outside exclusion list
Johennes Nov 21, 2023
e6c1a79
Add labels currently added with respect to element-meta
Johennes Nov 21, 2023
6389ffd
Fix quotes
Johennes Nov 21, 2023
49783d5
Quote names
Johennes Nov 21, 2023
9422857
Prettier
t3chguy Nov 21, 2023
8025711
Improve debian package and docs (#26618)
t3chguy Nov 21, 2023
e866861
Setup CI to lint workflows with action-validator
Johennes Nov 21, 2023
b08f83b
Add Jitsi SDK as a static resource and set up CI to update it on change
Johennes Nov 21, 2023
27bba26
Make prettier ignore jitsi_external_api.min.js
Johennes Nov 21, 2023
b9b7321
Improve rendering style of markdown in the mdbook (#26616)
t3chguy Nov 21, 2023
087be3e
Update path
t3chguy Nov 21, 2023
1575832
Merge branch 'develop' into germain-gg/25884
Johennes Nov 22, 2023
6500d9a
Merge pull request #26621 from vector-im/johannes/action-validator
Johennes Nov 22, 2023
cb5d5d0
Merge branch 'develop' into germain-gg/25884
Johennes Nov 22, 2023
d3ef8ff
Add license and copy it into bundle while making terser ignore the SDK
Johennes Nov 22, 2023
c378f67
Merge pull request #26622 from vector-im/johannes/bundle-jitsi
Johennes Nov 22, 2023
aa5e1d7
Enable new room header by default on develop
Johennes Nov 23, 2023
94779bb
Merge pull request #26630 from vector-im/johannes/new-room-header-on-…
Johennes Nov 24, 2023
eac0d97
Adapt to renaming of release-action workflow
Johennes Nov 24, 2023
2ee0826
Merge pull request #26641 from vector-im/johannes/release-make
Johennes Nov 24, 2023
4c18292
Improve Module API docs & example (#26637)
t3chguy Nov 28, 2023
198ea60
Fix types
t3chguy Nov 28, 2023
db51359
Upgrade matrix-react-sdk to 3.86.0-rc.2
RiotRobot Nov 28, 2023
709049a
Upgrade matrix-js-sdk to 30.2.0-rc.0
RiotRobot Nov 28, 2023
ba2ef79
v1.11.51-rc.0
RiotRobot Nov 28, 2023
3c8df02
Update definitelyTyped (#26666)
renovate[bot] Nov 28, 2023
28bf0f7
Update docker/build-push-action digest to 4a13e50 (#26663)
renovate[bot] Nov 28, 2023
6f6fd0c
Update babel monorepo to v7.23.4 (#26665)
renovate[bot] Nov 28, 2023
ad2b4d8
Update all non-major dependencies (#26664)
renovate[bot] Nov 28, 2023
74460e6
Update dependency @types/jest to v29.5.10 (#26667)
renovate[bot] Nov 28, 2023
bfa5091
Update dependency typescript to v5.3.2 (#26668)
renovate[bot] Nov 28, 2023
5de3af5
[create-pull-request] automated change
t3chguy Nov 29, 2023
43acadf
Merge pull request #26671 from vector-im/actions/localazy-download
RiotRobot Nov 29, 2023
7cb841a
Adapt label-sync workflow to new version of upstream workflow
Johennes Nov 29, 2023
16df760
Merge pull request #26672 from vector-im/johannes/sync-labels
Johennes Nov 29, 2023
be64641
Add missing labels for label sync
Johennes Nov 29, 2023
377a7e4
Replace quotes
Johennes Nov 29, 2023
482a52d
Pretty it up
Johennes Nov 29, 2023
bcec77c
Merge pull request #26673 from vector-im/Johennes-patch-1
Johennes Nov 29, 2023
98e860a
Enable label sync workflow
Johennes Nov 29, 2023
e493ef1
Undry the workflow
Johennes Nov 29, 2023
fb963b9
Merge pull request #26674 from vector-im/Johennes-patch-1
Johennes Nov 29, 2023
b9d616a
Merge pull request #25885 from vector-im/germain-gg/25884
Johennes Nov 29, 2023
09fd607
Upgrade matrix-react-sdk to 3.86.0
RiotRobot Dec 5, 2023
1cec240
Upgrade matrix-js-sdk to 30.2.0
RiotRobot Dec 5, 2023
0051710
v1.11.51
RiotRobot Dec 5, 2023
a798d04
Merge branch 'master' into develop
RiotRobot Dec 5, 2023
2e7fc13
Reset matrix-react-sdk back to develop branch
RiotRobot Dec 5, 2023
31ce458
Reset matrix-js-sdk back to develop branch
RiotRobot Dec 5, 2023
0041d82
Add @nordeck/[email protected] to variants/openDesk/b…
Dec 7, 2023
558996e
[create-pull-request] automated change
t3chguy Dec 8, 2023
a1a4847
Merge pull request #26712 from vector-im/actions/localazy-download
RiotRobot Dec 8, 2023
007501a
update to org to element-hq
langleyd Dec 11, 2023
0562942
Update org in scripts and workflows
langleyd Dec 12, 2023
9b0063d
Merge pull request #26710 from nordeck/cn/add-opendesk-module
florianduros Dec 12, 2023
19015fe
Merge branch 'develop' into langleyd/update_org_in_workflows
langleyd Dec 12, 2023
a237948
Merge pull request #26727 from element-hq/langleyd/update_org_in_work…
langleyd Dec 12, 2023
c26517a
Merge pull request #26728 from element-hq/langleyd/update_org_in_code…
langleyd Dec 12, 2023
ab3639f
Upgrade matrix-react-sdk to 3.87.0-rc.0
RiotRobot Dec 12, 2023
01c1243
Upgrade matrix-js-sdk to 30.3.0-rc.0
RiotRobot Dec 12, 2023
9ae3bad
v1.11.52-rc.0
RiotRobot Dec 12, 2023
5881f4e
Upgrade matrix-react-sdk to 3.87.0
RiotRobot Dec 19, 2023
632d791
Upgrade matrix-js-sdk to 30.3.0
RiotRobot Dec 19, 2023
cce2dc9
v1.11.52
RiotRobot Dec 19, 2023
463f8e9
Upgrade matrix-react-sdk to 3.88.0
RiotRobot Jan 4, 2024
c4c0b44
v1.11.53
RiotRobot Jan 4, 2024
1c6d50c
Merge tag 'v1.11.53' into upgrade/element-web-v1.11.53
estellecomment Feb 5, 2024
cd09a00
Remove useless patch better-text-for-tab-switch
estellecomment Feb 5, 2024
c44a8ba
Upgrade patches
estellecomment Feb 5, 2024
fe036a3
Upgrade conflicting patches
estellecomment Feb 5, 2024
addb9b6
Upgrade conflict patch bug-reporting. Remove two files from the patch…
estellecomment Feb 5, 2024
de66591
Upgrade conflicted patch customize-room-header-bar
estellecomment Feb 5, 2024
a33ec08
Upgrade conflicted patch export-room-members
estellecomment Feb 5, 2024
ba92009
Upgrade more conflicting patches
estellecomment Feb 5, 2024
2ccee92
Remove patch remove-fdroid (bug is fixed)
estellecomment Feb 5, 2024
3e8d7ba
Remove better-text-for-tab-switch from patches.json
estellecomment Feb 5, 2024
3d4d7e3
Fix conflicted patch show-icon-on-public-room
estellecomment Feb 5, 2024
60f96f1
Last patch fix
estellecomment Feb 5, 2024
8ccc899
Translation fixes + an updated getVersionInfo for the rust crypto ver…
estellecomment Feb 5, 2024
891517a
Fix customize-room-header-bar : messed up brackets
estellecomment Feb 6, 2024
cab44d7
New style for Export room members button
estellecomment Feb 6, 2024
ad8dce3
Remove no-voip-mentions-in-onboarding patch. Replace with custom tran…
estellecomment Feb 6, 2024
bcea8b7
Fix DecoratedRoomAvatar display bug https://github.com/tchapgouv/tcha…
estellecomment Feb 8, 2024
b785541
Merge branch 'tchap-workflow-fix-collision-with-element' into upgrade…
estellecomment Feb 8, 2024
5eba064
Merge branch 'develop_tchap' into upgrade/element-web-v1.11.53
estellecomment Feb 8, 2024
63dd35a
Merge branch 'develop_tchap' into upgrade/element-web-v1.11.53
estellecomment Feb 8, 2024
1f64719
Merge branch 'develop_tchap' into upgrade/element-web-v1.11.53
estellecomment Feb 8, 2024
ae4ec96
Fix one last translation
estellecomment Feb 8, 2024
cdc4960
Merge branch 'develop_tchap' into upgrade/element-web-v1.11.53
estellecomment Feb 8, 2024
c2f0a89
Update cypress tests
estellecomment Feb 9, 2024
64aecb4
Delete .github/labels.yml
odelcroi Feb 9, 2024
9a17175
fix use of MatrixClientContext
odelcroi Feb 12, 2024
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
9 changes: 5 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* @vector-im/element-web
/.github/workflows/** @vector-im/element-web-app-team
/package.json @vector-im/element-web-app-team
/yarn.lock @vector-im/element-web-app-team
* @element-hq/element-web
/.github/workflows/** @element-hq/element-web-app-team
/package.json @element-hq/element-web-app-team
/yarn.lock @element-hq/element-web-app-team
/src/i18n/strings
3 changes: 3 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_extends: matrix-org/matrix-react-sdk
version-resolver:
default: patch
46 changes: 46 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build
on:
pull_request: {}
push:
branches: [develop, master]
# develop pushes and repository_dispatch handled in build_develop.yaml
env:
# These must be set for fetchdep.sh to get the right branch
REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
jobs:
build:
name: "Build on ${{ matrix.image }}"
# We build on all 3 platforms to ensure we don't have any OS-specific build incompatibilities
strategy:
fail-fast: false
matrix:
image:
- ubuntu-latest
- windows-latest
- macos-latest
isDevelop:
- ${{ github.event_name == 'push' && github.ref_name == 'develop' }}
# Skip the ubuntu-latest build for the develop branch as the dedicated CD build_develop workflow handles that
exclude:
- isDevelop: true
image: ubuntu-latest
runs-on: ${{ matrix.image }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4

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

# Workaround for yarn install timeouts, especially on Windows
- run: yarn config set network-timeout 300000

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

- name: Build
run: "yarn build"
76 changes: 49 additions & 27 deletions .github/workflows/build_debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,51 +6,73 @@ 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 }}
VERSION: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v4

- name: Download package
run: |
wget "https://github.com/element-hq/element-web/releases/download/$VERSION/element-$VERSION.tar.gz"
wget "https://github.com/element-hq/element-web/releases/download/$VERSION/element-$VERSION.tar.gz.asc"

- name: Check GPG signature
run: |
wget "https://packages.element.io/element-release-key.gpg"
gpg --import element-release-key.gpg
gpg --fingerprint "$FINGERPRINT"
gpg --verify "element-$VERSION.tar.gz.asc" "element-$VERSION.tar.gz"
env:
FINGERPRINT: ${{ vars.GPG_FINGERPRINT }}

- 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/
mkdir -p debian/tmp/DEBIAN
find debian -maxdepth 1 -type f -exec cp "{}" debian/tmp/DEBIAN/ \;
mkdir -p debian/tmp/usr/share/element-web/ debian/tmp/etc/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
tar -xf "element-$VERSION.tar.gz" -C debian/tmp/usr/share/element-web --strip-components=1 --no-same-owner --no-same-permissions
mv debian/tmp/usr/share/element-web/config.sample.json debian/tmp/etc/element-web/config.json
ln -s /etc/element-web/config.json debian/tmp/usr/share/element-web/config.json

- name: Write changelog
run: |
VERSION=$(cat package.json | jq -r .version)
TIME=$(date -d "$PUBLISHED_AT" -R)
{
echo "element-web ($VERSION) default; urgency=medium"
echo "$BODY" | sed 's/^##/\n */g;s/^\*/ */g' | perl -pe 's/\[.+?]\((.+?)\)/\1/g'
echo ""
echo " -- $ACTOR <[email protected]> $TIME"
} > debian/tmp/DEBIAN/changelog
env:
VERSION: ${{ github.ref_name }}
ACTOR: ${{ github.actor }}
VERSION: ${{ github.event.release.tag_name }}
BODY: ${{ github.event.release.body }}
PUBLISHED_AT: ${{ github.event.release.published_at }}

- 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
dpkg-gencontrol -v"$VERSION" -ldebian/tmp/DEBIAN/changelog
dpkg-deb -Zxz --root-owner-group --build debian/tmp element-web.deb

# For now just upload the artifact to github
- uses: actions/upload-artifact@v3
with:
name: debs
path: "*.deb"
name: element-web.deb
path: element-web.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
- name: Publish to packages.element.io
if: github.event.release.prerelease == false
uses: element-hq/packages.element.io@master
with:
file: element-web.deb
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
bucket-api: ${{ vars.CF_R2_S3_API }}
bucket-key-id: ${{ secrets.CF_R2_ACCESS_KEY_ID }}
bucket-access-key: ${{ secrets.CF_R2_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/build_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ 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'
if: github.repository == 'element-hq/element-web'
runs-on: ubuntu-latest
environment: develop
env:
Expand All @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v4

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

Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
running-workflow-name: "Build & Deploy develop.element.io"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
check-regexp: ^((?!SonarCloud|SonarQube|issue|board|label).)*$
check-regexp: ^((?!SonarCloud|SonarQube|issue|board|label|Release).)*$

# 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.
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/dockerhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,24 @@ jobs:
name: Docker Buildx
runs-on: ubuntu-latest
environment: dockerhub
strategy:
fail-fast: false
matrix:
include:
- variant: vanilla
# Variant we ship to aid ESS in providing a build on the OpenCoDE platform including specific modules
- variant: opendesk
flavor: suffix=-opendesk,onlatest=true
prepare: mv variants/openDesk/* .
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for docker-package to be able to calculate the version

- name: Prepare
if: matrix.prepare
run: ${{ matrix.prepare }}

- name: Set up QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3

Expand All @@ -42,9 +55,10 @@ jobs:
type=ref,event=tag
flavor: |
latest=${{ contains(github.ref_name, '-rc.') && 'false' || 'auto' }}
${{ matrix.flavor }}

- name: Build and push
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5
with:
context: .
push: true
Expand All @@ -53,6 +67,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

- name: Update repo description
if: matrix.variant == 'vanilla'
uses: peter-evans/dockerhub-description@dc67fad7001ef9e8e3c124cb7a64e16d0a63d864 # v3
continue-on-error: true
with:
Expand Down
115 changes: 115 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
name: Deploy documentation

on:
push:
branches: [develop]
workflow_dispatch: {}

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
name: GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Fetch element-desktop
uses: actions/checkout@v4
with:
repository: element-hq/element-desktop
path: element-desktop

- name: Fetch element-web
uses: actions/checkout@v4
with:
path: element-web

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

- name: Fetch matrix-js-sdk
uses: actions/checkout@v4
with:
repository: matrix-org/matrix-js-sdk
path: matrix-js-sdk

- uses: actions/setup-node@v4
with:
cache: "yarn"
cache-dependency-path: element-web/yarn.lock

- name: Generate automations docs
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
echo "- [Automations](automations.md)" >> docs/SUMMARY.md

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: "0.4.10"

- name: Install mdbook extensions
run: cargo install mdbook-combiner mdbook-mermaid

- name: Prepare docs
run: |
mkdir docs

mv element-desktop/README.md element-desktop/docs/
mv element-desktop/docs "docs/Element Desktop"

mv element-web/README.md element-web/docs/
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"

sed -i -e 's/\.\.\/README.md/README.md/' docs/**/SUMMARY.md

mdbook-combiner -m docs
sed -i -E 's/^\t# (.+)$/- [\1]()/gm;t' SUMMARY.md
sed -i -E 's/^- \[(.+)]\(<>\)$/---\n# \1/gm;t' SUMMARY.md
sed -i -E 's/\t- \[Introduction]/- [Introduction]/gm;t' SUMMARY.md

cat <<EOF > docs/SUMMARY.md
# Summary
- [Introduction](<Element Web/README.md>)

EOF
cat SUMMARY.md >> docs/SUMMARY.md

mv element-web/book.toml .

- name: Build docs
run: mdbook build

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./book

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
Loading
Loading