forked from element-hq/element-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'v1.10.15' into deploy-auto
* Fix missing element desktop preferences ([\element-hq#8798](matrix-org/matrix-react-sdk#8798)). Contributed by @t3chguy.
- Loading branch information
Showing
126 changed files
with
5,659 additions
and
3,306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
src/vector/modernizr.js | ||
# Legacy skinning file that some people might still have | ||
src/component-index.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
.github/ISSUE_TEMPLATE/config.ylm → .github/ISSUE_TEMPLATE/config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Report a security vulnerability | ||
url: https://github.com/vector-im/element-web/security/policy | ||
about: Please review our security policy for more details | ||
- name: Questions & support | ||
url: https://matrix.to/#/#element-web:matrix.org | ||
about: Please ask and answer questions here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Build and Package | ||
on: | ||
pull_request: { } | ||
push: | ||
branches: [ 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" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: 'yarn' | ||
|
||
- name: Install Dependencies | ||
run: "./scripts/layered.sh" | ||
|
||
- name: Build & Package | ||
run: "./scripts/ci_package.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Separate to the main build workflow for access to develop | ||
# environment secrets, largely similar to build.yaml. | ||
name: Build and Package develop | ||
on: | ||
push: | ||
branches: [ develop ] | ||
repository_dispatch: | ||
types: [ element-web-notify ] | ||
jobs: | ||
build: | ||
name: "Build & Upload source maps to Sentry" | ||
runs-on: ubuntu-latest | ||
environment: develop | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- 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: sentry | ||
SENTRY_PROJECT: riot-web |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Pull Request | ||
on: | ||
pull_request_target: | ||
types: [ opened, edited, labeled, unlabeled, synchronize ] | ||
concurrency: ${{ github.workflow }}-${{ github.event.pull_request.head.ref }} | ||
jobs: | ||
changelog: | ||
name: Preview Changelog | ||
if: github.event.action != 'synchronize' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: matrix-org/allchange@main | ||
with: | ||
ghToken: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
enforce-label: | ||
name: Enforce Labels | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: read | ||
steps: | ||
- uses: yogevbd/enforce-label-action@2.1.0 | ||
with: | ||
REQUIRED_LABELS_ANY: "T-Defect,T-Enhancement,T-Task" | ||
BANNED_LABELS: "X-Blocked" | ||
BANNED_LABELS_DESCRIPTION: "Preventing merge whilst PR is marked blocked!" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: SonarQube | ||
on: | ||
workflow_run: | ||
workflows: [ "Tests" ] | ||
types: | ||
- completed | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }} | ||
cancel-in-progress: true | ||
jobs: | ||
prdetails: | ||
name: ℹ️ PR Details | ||
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' | ||
uses: matrix-org/matrix-js-sdk/.github/workflows/pr_details.yml@develop | ||
with: | ||
owner: ${{ github.event.workflow_run.head_repository.owner.login }} | ||
branch: ${{ github.event.workflow_run.head_branch }} | ||
|
||
sonarqube: | ||
name: 🩻 SonarQube | ||
needs: prdetails | ||
# Only wait for prdetails if it isn't skipped | ||
if: | | ||
always() && | ||
(needs.prdetails.result == 'success' || needs.prdetails.result == 'skipped') && | ||
github.event.workflow_run.conclusion == 'success' | ||
uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop | ||
with: | ||
repo: ${{ github.event.workflow_run.head_repository.full_name }} | ||
pr_id: ${{ needs.prdetails.outputs.pr_id }} | ||
head_branch: ${{ needs.prdetails.outputs.head_branch || github.event.workflow_run.head_branch }} | ||
base_branch: ${{ needs.prdetails.outputs.base_branch }} | ||
revision: ${{ github.event.workflow_run.head_sha }} | ||
coverage_workflow_name: tests.yml | ||
coverage_run_id: ${{ github.event.workflow_run.id }} | ||
secrets: | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Static Analysis | ||
on: | ||
pull_request: { } | ||
push: | ||
branches: [ develop, master ] | ||
repository_dispatch: | ||
types: [ element-web-notify ] | ||
env: | ||
# These must be set for fetchdep.sh to get the right branch | ||
REPOSITORY: ${{ github.repository }} | ||
PR_NUMBER: ${{ github.event.pull_request.number }} | ||
jobs: | ||
ts_lint: | ||
name: "Typescript Syntax Check" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: 'yarn' | ||
|
||
- name: Install Dependencies | ||
run: "./scripts/layered.sh" | ||
|
||
- name: Typecheck | ||
run: "yarn run lint:types" | ||
|
||
i18n_lint: | ||
name: "i18n Check" | ||
uses: matrix-org/matrix-react-sdk/.github/workflows/i18n_check.yml@develop | ||
|
||
js_lint: | ||
name: "ESLint" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: 'yarn' | ||
|
||
# Does not need branch matching as only analyses this layer | ||
- name: Install Deps | ||
run: "yarn install --pure-lockfile" | ||
|
||
- name: Run Linter | ||
run: "yarn run lint:js" | ||
|
||
style_lint: | ||
name: "Style Lint" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: 'yarn' | ||
|
||
# Does not need branch matching as only analyses this layer | ||
- name: Install Deps | ||
run: "yarn install --pure-lockfile" | ||
|
||
- name: Run Linter | ||
run: "yarn run lint:style" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Tests | ||
on: | ||
pull_request: { } | ||
push: | ||
branches: [ develop, master ] | ||
repository_dispatch: | ||
types: [ element-web-notify ] | ||
env: | ||
# These must be set for fetchdep.sh to get the right branch | ||
REPOSITORY: ${{ github.repository }} | ||
PR_NUMBER: ${{ github.event.pull_request.number }} | ||
jobs: | ||
jest: | ||
name: Jest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Yarn cache | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'yarn' | ||
|
||
- name: Install Dependencies | ||
run: "./scripts/layered.sh" | ||
|
||
- name: Run tests with coverage | ||
run: "yarn coverage --ci" | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: coverage | ||
path: | | ||
coverage | ||
!coverage/lcov-report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.