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.17 #362

Merged
merged 150 commits into from
Jan 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
189f4c5
Update babel monorepo (#23524)
renovate[bot] Oct 20, 2022
663754e
Update typescript-eslint monorepo to v5.40.1 (#23525)
renovate[bot] Oct 21, 2022
b924594
Update jest monorepo to v29.2.0 (#23544)
renovate[bot] Oct 21, 2022
a3ece52
Fix config.json failing to load for Jitsi wrapper in non-root deploym…
t3chguy Oct 24, 2022
fc0e61b
Update issue automation for design (#23490)
kittykat Oct 25, 2022
a45ecef
Add issue automation for the VoIP team (#23585)
kittykat Oct 25, 2022
b3ed90a
Merge branch 'master' into develop
RiotRobot Oct 25, 2022
b439940
Reset matrix-js-sdk back to develop branch
RiotRobot Oct 25, 2022
2f49467
Reset matrix-react-sdk back to develop branch
RiotRobot Oct 25, 2022
2b3467a
Add voice_broadcast.chunk_length config doc (#23410)
weeman1337 Oct 26, 2022
3366ed1
Run dockerhub builder stage without emulation (#23602)
t3chguy Oct 26, 2022
12bde9a
Update issue automation for labs features (#23609)
kittykat Oct 26, 2022
3f192f9
Merge branch 'master' into develop
RiotRobot Oct 26, 2022
fe0280c
Reset matrix-js-sdk back to develop branch
RiotRobot Oct 26, 2022
5da11ae
Reset matrix-react-sdk back to develop branch
RiotRobot Oct 26, 2022
2a46122
Change WYSIWYG label in automation (#23630)
langleyd Oct 27, 2022
1b98601
Constrain webpack config for `olm.wasm` (#23633)
richvdh Oct 28, 2022
a3659d8
Add issue automation to tidy Help Wanted (#23644)
kittykat Oct 31, 2022
8f46606
Upgrade matrix-js-sdk to 21.0.1
RiotRobot Nov 1, 2022
3402b38
Upgrade matrix-react-sdk to 3.59.1
RiotRobot Nov 1, 2022
e347f50
Prepare changelog for v1.11.13
RiotRobot Nov 1, 2022
6882e64
v1.11.13
RiotRobot Nov 1, 2022
8eafb70
Merge branch 'master' into develop
RiotRobot Nov 1, 2022
42b73de
Reset matrix-js-sdk back to develop branch
RiotRobot Nov 1, 2022
1176e51
Reset matrix-react-sdk back to develop branch
RiotRobot Nov 1, 2022
2422d96
Translations update from Weblate (#23672)
RiotTranslateBot Nov 1, 2022
da80530
Merge remote-tracking branch 'origin/develop' into develop
RiotRobot Nov 1, 2022
730c576
Upgrade matrix-js-sdk to 21.1.0-rc.1
RiotRobot Nov 1, 2022
b467ec1
Upgrade matrix-react-sdk to 3.60.0-rc.1
RiotRobot Nov 1, 2022
7353853
Prepare changelog for v1.11.14-rc.1
RiotRobot Nov 1, 2022
1cc0639
v1.11.14-rc.1
RiotRobot Nov 1, 2022
235d6bc
Update dependency @babel/runtime to v7.20.1 (#23675)
renovate[bot] Nov 1, 2022
5a73468
Update typescript-eslint monorepo to v5.42.0 (#23678)
renovate[bot] Nov 2, 2022
0e36757
Update jest monorepo to v29.2.1 (#23674)
renovate[bot] Nov 2, 2022
b92dd88
Add eslint rule unicorn/no-instanceof-array (#23667)
t3chguy Nov 2, 2022
9c302f3
Update PR automation (#23688)
kittykat Nov 3, 2022
1b51456
Update to @casualbot/jest-sonar-reporter (#23690)
t3chguy Nov 3, 2022
2e81324
Add A-Element-Call to labs automation (#23694)
robintown Nov 3, 2022
e21eb25
Optimise Jest run in CI (#23693)
t3chguy Nov 3, 2022
77d7598
Enable tsc --strict CI to prevent gaining more errors (#23692)
t3chguy Nov 4, 2022
577a6b7
Make SonarCloud happier (#23699)
t3chguy Nov 4, 2022
778c6d6
Update issue automation (#23686)
kittykat Nov 7, 2022
65b8bc1
Update dependency loader-utils to v2 [SECURITY] (#23717)
renovate[bot] Nov 7, 2022
fde6488
Upgrade matrix-react-sdk to 3.60.0-rc.2
RiotRobot Nov 8, 2022
3be527c
Deploy `develop` branch to Cloudflare Pages (#23454)
t3chguy Nov 8, 2022
3bcaf75
Prepare changelog for v1.11.14-rc.2
RiotRobot Nov 8, 2022
f77e5e7
v1.11.14-rc.2
RiotRobot Nov 8, 2022
d254926
Bump loader-utils from 2.0.2 to 2.0.3 (#23730)
dependabot[bot] Nov 8, 2022
9e62456
Upgrade matrix-js-sdk to 21.1.0
RiotRobot Nov 8, 2022
3fa3153
Upgrade matrix-react-sdk to 3.60.0
RiotRobot Nov 8, 2022
500c59f
Prepare changelog for v1.11.14
RiotRobot Nov 8, 2022
1d8e353
v1.11.14
RiotRobot Nov 8, 2022
1cf1973
Merge branch 'master' into develop
RiotRobot Nov 8, 2022
d5041b8
Reset matrix-js-sdk back to develop branch
RiotRobot Nov 8, 2022
14e4834
Reset matrix-react-sdk back to develop branch
RiotRobot Nov 8, 2022
8ed2329
Update matrix-events-sdk to 0.0.1 and develop ref to matrix-js-sdk (#…
t3chguy Nov 8, 2022
bc6d1c3
Add way to create a user notice via config.json (#23738)
t3chguy Nov 9, 2022
46c005a
Don't hardcode /bin/bash in scripts (#23740)
robintown Nov 9, 2022
8f8a9e1
Cease uploading develop.tar.gz to Github Pages (#23753)
t3chguy Nov 11, 2022
5a9baf7
Translations update from Weblate (#23775)
RiotTranslateBot Nov 15, 2022
fe78b16
Upgrade matrix-js-sdk to 21.2.0-rc.1
RiotRobot Nov 15, 2022
78bf0f6
Upgrade matrix-react-sdk to 3.61.0-rc.1
RiotRobot Nov 15, 2022
c929610
Prepare changelog for v1.11.15-rc.1
RiotRobot Nov 15, 2022
75df90d
v1.11.15-rc.1
RiotRobot Nov 15, 2022
a788d3f
Translations update from Weblate (#23779)
RiotTranslateBot Nov 16, 2022
d352c78
Update dependency loader-utils to v2.0.4 [SECURITY] (#23785)
renovate[bot] Nov 17, 2022
6bdc8da
Fix branch matching for the strict tsc CI (#23789)
t3chguy Nov 18, 2022
9231206
Add --noImplicitAny to strict CI check (#23793)
t3chguy Nov 18, 2022
ad466a2
Update jest monorepo to v29.2.3 (#23796)
renovate[bot] Nov 21, 2022
5ae6b49
Update typescript-eslint monorepo to v5.43.0 (#23798)
renovate[bot] Nov 21, 2022
4bf0dbb
Update babel monorepo (#23797)
renovate[bot] Nov 21, 2022
b34a4ed
Delete redeploy.py (#23814)
t3chguy Nov 22, 2022
c777be5
Upgrade matrix-js-sdk to 21.2.0
RiotRobot Nov 22, 2022
1ec2155
Upgrade matrix-react-sdk to 3.61.0
RiotRobot Nov 22, 2022
e9df942
Prepare changelog for v1.11.15
RiotRobot Nov 22, 2022
8c271f3
v1.11.15
RiotRobot Nov 22, 2022
6a07d25
Merge branch 'master' into develop
RiotRobot Nov 22, 2022
5cc0462
Reset matrix-js-sdk back to develop branch
RiotRobot Nov 22, 2022
c1d4abb
Reset matrix-react-sdk back to develop branch
RiotRobot Nov 22, 2022
cbf5c43
Update to eslint-plugin-matrix-org 0.8 (#23825)
weeman1337 Nov 23, 2022
c6a34ca
Attempt to unwedge develop (#23853)
t3chguy Nov 29, 2022
81966e4
Translations update from Weblate (#23866)
RiotTranslateBot Nov 29, 2022
957e93e
Upgrade matrix-js-sdk to 22.0.0-rc.1
RiotRobot Nov 29, 2022
bff0009
Upgrade matrix-react-sdk to 3.62.0-rc.1
RiotRobot Nov 29, 2022
293d119
Prepare changelog for v1.11.16-rc.1
RiotRobot Nov 29, 2022
6ba67ea
v1.11.16-rc.1
RiotRobot Nov 29, 2022
6c85cac
Update all (major) - abandoned (#23799)
renovate[bot] Nov 29, 2022
40a2934
Update alex-page/github-project-automation-plus digest to 1f8873e (#2…
renovate[bot] Nov 29, 2022
22341bc
Update typescript-eslint monorepo to v5.44.0 (#23872)
renovate[bot] Nov 29, 2022
7c4081e
Update CODEOWNERS (#23873)
t3chguy Nov 29, 2022
bdc112c
Update all non-major dependencies (#23871)
renovate[bot] Nov 30, 2022
c7c9d4f
Update @types/node (#23877)
t3chguy Nov 30, 2022
546c503
Lock file maintenance (#23394)
renovate[bot] Nov 30, 2022
76eb76f
Add `betas.md` (#22734)
SimonBrandner Nov 30, 2022
003fc7c
Remove prop-types (#23881)
t3chguy Dec 1, 2022
6d724cb
add docs for UIFeature.BulkUnverifiedSessionsReminder (#23875)
Dec 2, 2022
43335ed
Upgrade matrix-js-sdk to 22.0.0-rc.2
RiotRobot Dec 2, 2022
c0c84ed
Upgrade matrix-react-sdk to 3.62.0-rc.2
RiotRobot Dec 2, 2022
12bb305
Prepare changelog for v1.11.16-rc.2
RiotRobot Dec 2, 2022
4376a65
v1.11.16-rc.2
RiotRobot Dec 2, 2022
eb6d617
Downgrade to style-loader 2 to regain Webpack 4 compatibility (#23894)
robintown Dec 2, 2022
2cf4c5a
Update dependency @types/node to v16.18.4 (#23898)
renovate[bot] Dec 5, 2022
7defcf3
Adding tarfile member sanitization to extractall() (#23906)
t3chguy Dec 5, 2022
d4a0046
Upgrade matrix-js-sdk to 22.0.0
RiotRobot Dec 6, 2022
2bb0508
Upgrade matrix-react-sdk to 3.62.0
RiotRobot Dec 6, 2022
65dbfe4
Prepare changelog for v1.11.16
RiotRobot Dec 6, 2022
dd01341
v1.11.16
RiotRobot Dec 6, 2022
f278785
Merge branch 'master' into develop
RiotRobot Dec 6, 2022
549b0e8
Reset matrix-react-sdk back to develop branch
RiotRobot Dec 6, 2022
c473cb6
Reset matrix-js-sdk back to develop branch
RiotRobot Dec 6, 2022
d8131eb
Update project board IDs for automation (#23943)
kittykat Dec 8, 2022
a32f12c
Add prettier
weeman1337 Dec 9, 2022
7921a6c
Apply prettier formatting
weeman1337 Dec 9, 2022
6710a28
Add custom modernizr build to prettierignore
weeman1337 Dec 9, 2022
c6e0f0f
Update project board IDs for automation (#23950)
kittykat Dec 9, 2022
d4b9767
Fix GitHub workflow code style
weeman1337 Dec 9, 2022
fa2e306
Merge pull request #23821 from vector-im/weeman1337/prettier
andybalaam Dec 9, 2022
11572f9
Add andybalaam's issues to the team board
andybalaam Dec 12, 2022
e8fc433
Merge pull request #23964 from andybalaam/andybalaam/add-self-to-boar…
andybalaam Dec 12, 2022
60d05f0
Update docs links (#23966)
t3chguy Dec 12, 2022
c736076
Translations update from Weblate (#23979)
RiotTranslateBot Dec 13, 2022
96c0a37
Upgrade matrix-js-sdk to 23.0.0-rc.1
RiotRobot Dec 14, 2022
61253c3
Upgrade matrix-react-sdk to 3.63.0-rc.2
RiotRobot Dec 14, 2022
4e9ba16
Exclude CHANGELOG from prettier and undo what it did
RiotRobot Dec 14, 2022
26c101d
Prepare changelog for v1.11.17-rc.1
RiotRobot Dec 14, 2022
acbe597
v1.11.17-rc.1
RiotRobot Dec 14, 2022
ebd71f8
Upgrade matrix-js-sdk to 23.0.0
RiotRobot Dec 21, 2022
08095f5
Upgrade matrix-react-sdk to 3.63.0
RiotRobot Dec 21, 2022
25283a8
Prepare changelog for v1.11.17
RiotRobot Dec 21, 2022
193eb51
v1.11.17
RiotRobot Dec 21, 2022
1c4fada
upgrade/element-web-v1.11.17: fix conflits from element
aulamber Jan 9, 2023
f98ecb6
upgrade/element-web-v1.11.17: move workflows/backport to deactivated …
aulamber Jan 9, 2023
26fa959
Re-add postinstall command
aulamber Jan 9, 2023
5929fb5
Redo patches for : are-external-users-allowed-in-room, simplify-excha…
aulamber Jan 11, 2023
71e1a3d
Redo patch fix-key-request
aulamber Jan 11, 2023
143af74
redo patch change-keys-in-room-summary-card
odelcroi Jan 11, 2023
a98f8c5
redo patch user-friendlier-encrypted-messages
odelcroi Jan 11, 2023
5e38faa
redo patch hide-location-if-no-map-server
odelcroi Jan 11, 2023
0329720
Redo patches: hide-cross-signing-actions, hide-room-alias-settings, h…
aulamber Jan 11, 2023
c581f2d
Merge remote-tracking branch 'origin/upgrade/element-web-v1.11.17' in…
aulamber Jan 12, 2023
80526db
Redo patches: are-external-users-allowed-in-room, auto-accept-tac, hi…
aulamber Jan 12, 2023
389bebb
Redo patch redo-key-sharing-after-own-device-verification
aulamber Jan 12, 2023
ebe052d
Fix all remaining patches issues except forgot-password
aulamber Jan 16, 2023
20591f8
Merge branch 'develop_tchap' into upgrade/element-web-v1.11.17
aulamber Jan 16, 2023
254a7f2
revert workflows
odelcroi Jan 17, 2023
8a39686
remove forgot-password patch
odelcroi Jan 17, 2023
09897b9
Merge branch 'develop_tchap' into upgrade/element-web-v1.11.17
estellecomment Jan 19, 2023
8a94f9e
Remove snapshot test, we do not have control over html so it breaks t…
estellecomment Jan 19, 2023
3fe4d78
Reimplement forgot password for element-web 1.11.17 (#373)
estellecomment Jan 20, 2023
2e255ea
Upgrade/element-web v1.11.17 : fix linter (#383)
estellecomment Jan 20, 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
148 changes: 84 additions & 64 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,82 +1,102 @@
module.exports = {
plugins: ["matrix-org"],
extends: [
"plugin:matrix-org/babel",
"plugin:matrix-org/react",
],
extends: ["plugin:matrix-org/babel", "plugin:matrix-org/react"],
env: {
browser: true,
node: true,
},
rules: {
// Things we do that break the ideal style
"quotes": "off",
quotes: "off",
},
settings: {
react: {
version: 'detect',
version: "detect",
},
},
overrides: [{
files: [
"src/**/*.{ts,tsx}",
"test/**/*.{ts,tsx}",
"module_system/**/*.{ts,tsx}",
// :TCHAP: Lint our cypress files, copied from react-sdk. React-sdk lints them too, so we keep up !
"cypress/**/*.ts",
"test/**/*.{ts,tsx,js}",
],
extends: [
"plugin:matrix-org/typescript",
"plugin:matrix-org/react",
],
// NOTE: These rules are frozen and new rules should not be added here.
// New changes belong in https://github.com/matrix-org/eslint-plugin-matrix-org/
rules: {
// Things we do that break the ideal style
"prefer-promise-reject-errors": "off",
"quotes": "off",

// We disable this while we're transitioning
"@typescript-eslint/no-explicit-any": "off",
// We're okay with assertion errors when we ask for them
"@typescript-eslint/no-non-null-assertion": "off",
overrides: [
{
files: [
"src/**/*.{ts,tsx}",
"test/**/*.{ts,tsx}",
"module_system/**/*.{ts,tsx}",
// :TCHAP: Lint our cypress files, copied from react-sdk. React-sdk lints them too, so we keep up !
"cypress/**/*.ts",
"test/**/*.{ts,tsx,js}",
],
extends: [
"plugin:matrix-org/typescript",
"plugin:matrix-org/react",
],
// NOTE: These rules are frozen and new rules should not be added here.
// New changes belong in https://github.com/matrix-org/eslint-plugin-matrix-org/
rules: {
// Things we do that break the ideal style
"prefer-promise-reject-errors": "off",
"quotes": "off",

// TCHAP: for cypress only
"@typescript-eslint/no-empty-interface": "off",
// We disable this while we're transitioning
"@typescript-eslint/no-explicit-any": "off",
// We're okay with assertion errors when we ask for them
"@typescript-eslint/no-non-null-assertion": "off",

// Ban matrix-js-sdk/src imports in favour of matrix-js-sdk/src/matrix imports to prevent unleashing hell.
"no-restricted-imports": ["error", {
"paths": [{
"name": "matrix-js-sdk",
"message": "Please use matrix-js-sdk/src/matrix instead",
}, {
"name": "matrix-js-sdk/",
"message": "Please use matrix-js-sdk/src/matrix instead",
}, {
"name": "matrix-js-sdk/src",
"message": "Please use matrix-js-sdk/src/matrix instead",
}, {
"name": "matrix-js-sdk/src/",
"message": "Please use matrix-js-sdk/src/matrix instead",
}, {
"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",
// TCHAP: for cypress only
"@typescript-eslint/no-empty-interface": "off",
// Ban matrix-js-sdk/src imports in favour of matrix-js-sdk/src/matrix imports to prevent unleashing hell.
"no-restricted-imports": ["error", {
"paths": [{
"name": "matrix-js-sdk",
"message": "Please use matrix-js-sdk/src/matrix instead",
}, {
"name": "matrix-js-sdk/",
"message": "Please use matrix-js-sdk/src/matrix instead",
}, {
"name": "matrix-js-sdk/src",
"message": "Please use matrix-js-sdk/src/matrix instead",
}, {
"name": "matrix-js-sdk/src/",
"message": "Please use matrix-js-sdk/src/matrix instead",
}, {
"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",
}],
}],
}],
},
},
}],
{
files: ["test/**/*.{ts,tsx}"],
rules: {
// We don't need super strict typing in test utilities
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
},
},
{
files: [
"src/**/*Tchap*.{ts,tsx}",
"src/**/*ContentScan*.{ts,tsx}",
"src/lib/ExpiredAccountHandler.ts",
"src/lib/IncomingKeyRequestHandler.ts",
"src/components/views/dialogs/ExpiredAccountDialog.tsx",
],
rules: {
// Tchap files are not up to date yet in proper typescript style. Use warnings instead of errors to unbreak the CI.
"@typescript-eslint/explicit-function-return-type": "warn",
"@typescript-eslint/explicit-member-accessibility": "warn",
},
},
],
};
5 changes: 4 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
* @vector-im/element-web
* @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
54 changes: 27 additions & 27 deletions .github/ISSUE_TEMPLATE/bug-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@ name: Bug report for Tchap Web (in browser)
description: File a bug report if you are using Element in a web browser like Firefox, Chrome, Edge, and so on.
labels: [web, v4, bug]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!

Please report security issues by email to security@matrix.org
- type: textarea
id: reproduction-steps
attributes:
label: Steps to reproduce
description: Please attach screenshots, videos or logs if you can.
placeholder: Tell us what you see!
value: |
1. Where are you starting? What can you see?
2. What do you click?
3. More steps…
validations:
required: true
- type: textarea
id: result
attributes:
label: Outcome
placeholder: Tell us what went wrong
value: |
#### What did you expect?
Please report security issues by email to security@matrix.org
- type: textarea
id: reproduction-steps
attributes:
label: Steps to reproduce
description: Please attach screenshots, videos or logs if you can.
placeholder: Tell us what you see!
value: |
1. Where are you starting? What can you see?
2. What do you click?
3. More steps…
validations:
required: true
- type: textarea
id: result
attributes:
label: Outcome
placeholder: Tell us what went wrong
value: |
#### What did you expect?

#### What happened instead?
validations:
Expand All @@ -42,7 +42,7 @@ body:
id: browser
attributes:
label: Browser information
description: Which browser are you using? Which version?
description: Which browser are you using? Which version?
placeholder: e.g. Chromium Version 92.0.4515.131
validations:
required: false
Expand Down Expand Up @@ -78,7 +78,7 @@ body:
description: |
Did you know that you can send a /rageshake command from the web application to submit logs for this issue? Trigger the defect, then type `/rageshake` into the message input area followed by a description of the problem and send the command. You will be able to add a link to this defect report and submit anonymous logs to the developers.
options:
- 'Yes'
- 'No'
- "Yes"
- "No"
validations:
required: true
36 changes: 18 additions & 18 deletions .github/ISSUE_TEMPLATE/enhancement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ body:
value: |
#### What would you like to do?

#### Why would you like to do it?
#### Why would you like to do it?

#### How would you like to achieve it?
validations:
required: true
- type: textarea
id: alternative
attributes:
label: Have you considered any alternatives?
placeholder: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
id: additional-context
attributes:
label: Additional context
placeholder: Is there anything else you'd like to add?
validations:
required: false
#### How would you like to achieve it?
validations:
required: true
- type: textarea
id: alternative
attributes:
label: Have you considered any alternatives?
placeholder: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
id: additional-context
attributes:
label: Additional context
placeholder: Is there anything else you'd like to add?
validations:
required: false
6 changes: 3 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Checklist

* [ ] Tests written for new code (and old code if feasible)
* [ ] Linter and other CI checks pass
* [ ] Sign-off given on the changes (see [CONTRIBUTING.md](https://github.com/vector-im/element-web/blob/develop/CONTRIBUTING.md))
- [ ] Tests written for new code (and old code if feasible)
- [ ] Linter and other CI checks pass
- [ ] Sign-off given on the changes (see [CONTRIBUTING.md](https://github.com/vector-im/element-web/blob/develop/CONTRIBUTING.md))

<!--
If you would like to specify text for the changelog entry other than your PR title, add the following:
Expand Down
10 changes: 10 additions & 0 deletions .github/cfp_headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

/version
Content-Type: text/plain

/apple-app-site-association
Content-Type: application/json
30 changes: 30 additions & 0 deletions .github/deactivated_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@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 }}
Loading