forked from matrix-org/matrix-js-sdk
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove unused sessionStore ([\matrix-org#2455](matrix-org#2455)). * Implement MSC3827: Filtering of `/publicRooms` by room type ([\matrix-org#2469](matrix-org#2469)). * expose latestLocationEvent on beacon model ([\matrix-org#2467](matrix-org#2467)). Contributed by @kerryarchibald. * Live location share - add start time leniency ([\matrix-org#2465](matrix-org#2465)). Contributed by @kerryarchibald. * Log real errors and not just their messages, traces are useful ([\matrix-org#2464](matrix-org#2464)). * Various changes to `src/crypto` files for correctness ([\matrix-org#2137](matrix-org#2137)). Contributed by @ShadowJonathan. * Update MSC3786 implementation: Check the `state_key` ([\matrix-org#2429](matrix-org#2429)). * Timeline needs to refresh when we see a MSC2716 marker event ([\matrix-org#2299](matrix-org#2299)). Contributed by @MadLittleMods. * Try to load keys from key backup when a message fails to decrypt ([\matrix-org#2373](matrix-org#2373)). Fixes element-hq/element-web#21026. Contributed by @duxovni. * Send call version `1` as a string ([\matrix-org#2471](matrix-org#2471)). Fixes element-hq/element-web#22629. * Fix issue with `getEventTimeline` returning undefined for thread roots in main timeline ([\matrix-org#2454](matrix-org#2454)). Fixes element-hq/element-web#22539. * Add missing `type` property on `IAuthData` ([\matrix-org#2463](matrix-org#2463)). * Clearly indicate that `lastReply` on a Thread can return falsy ([\matrix-org#2462](matrix-org#2462)). * Fix issues with getEventTimeline and thread roots ([\matrix-org#2444](matrix-org#2444)). Fixes element-hq/element-web#21613. * Live location sharing - monitor liveness of beacons yet to start ([\matrix-org#2437](matrix-org#2437)). Contributed by @kerryarchibald. * Refactor Relations to not be per-EventTimelineSet ([\matrix-org#2412](matrix-org#2412)). Fixes matrix-org#2399 and element-hq/element-web#22298. * Add tests for sendEvent threadId handling ([\matrix-org#2435](matrix-org#2435)). Fixes element-hq/element-web#22433. * Make sure `encryptAndSendKeysToDevices` assumes devices are unique per-user. ([\matrix-org#2136](matrix-org#2136)). Fixes matrix-org#2135. Contributed by @ShadowJonathan. * Don't bug the user while re-checking key backups after decryption failures ([\matrix-org#2430](matrix-org#2430)). Fixes element-hq/element-web#22416. Contributed by @duxovni.
- Loading branch information
Showing
78 changed files
with
4,429 additions
and
2,517 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 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 |
---|---|---|
|
@@ -2,6 +2,16 @@ name: Pull Request | |
on: | ||
pull_request_target: | ||
types: [ opened, edited, labeled, unlabeled, synchronize ] | ||
workflow_call: | ||
inputs: | ||
labels: | ||
type: string | ||
default: "T-Defect,T-Deprecation,T-Enhancement,T-Task" | ||
required: false | ||
description: "No longer used, uses allchange logic now, will be removed at a later date" | ||
secrets: | ||
ELEMENT_BOT_TOKEN: | ||
required: true | ||
concurrency: ${{ github.workflow }}-${{ github.event.pull_request.head.ref }} | ||
jobs: | ||
changelog: | ||
|
@@ -12,15 +22,71 @@ jobs: | |
- uses: matrix-org/allchange@main | ||
with: | ||
ghToken: ${{ secrets.GITHUB_TOKEN }} | ||
requireLabel: true | ||
|
||
enforce-label: | ||
name: Enforce Labels | ||
prevent-blocked: | ||
name: Prevent Blocked | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: read | ||
steps: | ||
- uses: yogevbd/[email protected] | ||
- name: Add notice | ||
uses: actions/github-script@v5 | ||
if: contains(github.event.pull_request.labels.*.name, 'X-Blocked') | ||
with: | ||
REQUIRED_LABELS_ANY: "T-Defect,T-Deprecation,T-Enhancement,T-Task" | ||
BANNED_LABELS: "X-Blocked" | ||
BANNED_LABELS_DESCRIPTION: "Preventing merge whilst PR is marked blocked!" | ||
script: | | ||
core.setFailed("Preventing merge whilst PR is marked blocked!"); | ||
community-prs: | ||
name: Label Community PRs | ||
runs-on: ubuntu-latest | ||
if: github.event.action == 'opened' | ||
steps: | ||
- name: Check membership | ||
uses: tspascoal/get-user-teams-membership@v1 | ||
id: teams | ||
with: | ||
username: ${{ github.event.pull_request.user.login }} | ||
organization: matrix-org | ||
team: Core Team | ||
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
|
||
- name: Add label | ||
if: ${{ steps.teams.outputs.isTeamMember == 'false' }} | ||
uses: actions/github-script@v5 | ||
with: | ||
script: | | ||
github.rest.issues.addLabels({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
labels: ['Z-Community-PR'] | ||
}); | ||
close-if-fork-develop: | ||
name: Forbid develop branch fork contributions | ||
runs-on: ubuntu-latest | ||
if: > | ||
github.event.action == 'opened' && | ||
github.event.pull_request.head.ref == 'develop' && | ||
github.event.pull_request.head.repo.full_name != github.repository | ||
steps: | ||
- name: Close pull request | ||
uses: actions/github-script@v5 | ||
with: | ||
script: | | ||
github.rest.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: "Thanks for opening this pull request, unfortunately we do not accept contributions from the main" + | ||
" branch of your fork, please re-open once you switch to an alternative branch for everyone's sanity." + | ||
" See https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md", | ||
}); | ||
github.rest.pulls.update({ | ||
pull_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
state: 'closed' | ||
}); |
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
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
Oops, something went wrong.