forked from Automattic/wordpress-activitypub
-
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 branch 'add/comment-federation' into threaded-comments
- Loading branch information
Showing
109 changed files
with
9,688 additions
and
2,112 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,4 @@ phpunit.xml.dist | |
tests | ||
node_modules | ||
vendor | ||
src |
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,90 @@ | ||
name: Bug Report | ||
description: Helps us improve our product! | ||
labels: "Needs triage, [Type] Bug" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
### Thanks for contributing! | ||
Please write a clear title, then fill in the fields below and submit. | ||
Please **do not** link to image hosting services such as Cloudup, Droplr, Imgur, etc… | ||
Instead, directly embed screenshot(s) or recording(s) in any of the text areas below: click, then drag and drop. | ||
- type: markdown | ||
attributes: | ||
value: | | ||
--- | ||
## Core Information | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Quick summary | ||
- type: textarea | ||
id: steps | ||
attributes: | ||
label: Steps to reproduce | ||
placeholder: | | ||
1. Start at `site-domain.com/blog`. | ||
2. Click on any blog post. | ||
3. ... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: What you expected to happen | ||
placeholder: | | ||
e.g. The post should appear. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: actual | ||
attributes: | ||
label: What actually happened | ||
placeholder: | | ||
e.g. The post did not appear. | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: users-affected | ||
attributes: | ||
label: Impact | ||
description: Approximately how many users are impacted? | ||
options: | ||
- One | ||
- Some (< 50%) | ||
- Most (> 50%) | ||
- All | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: workarounds | ||
attributes: | ||
label: Available workarounds? | ||
options: | ||
- No and the platform is unusable | ||
- No but the platform is still usable | ||
- Yes, difficult to implement | ||
- Yes, easy to implement | ||
- There is no user impact | ||
validations: | ||
required: true | ||
|
||
- type: markdown | ||
attributes: | ||
value: | | ||
<br> | ||
## Optional Information | ||
The following section is optional. | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Logs or notes | ||
placeholder: | | ||
Add any information that may be relevant, such as: | ||
- Browser/Platform | ||
- Theme | ||
- Logs/Errors |
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,34 @@ | ||
name: Feature Request | ||
description: Suggest an idea for the ActivityPub plugin! | ||
title: "Feature Request:" | ||
labels: ["[Type] Feature Request"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please, be as descriptive as possible. Issues lacking detail, or for any other reason than to request a feature, may be closed without action. | ||
- type: textarea | ||
id: what | ||
attributes: | ||
label: What | ||
description: Add a concise description of the feature being requested. | ||
placeholder: eg. I would like a new dropdown at <xyz>... | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: why | ||
attributes: | ||
label: Why | ||
description: Add a description of the problem this feature solves. | ||
placeholder: | | ||
eg. This will solve my accessibility needs. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: how | ||
attributes: | ||
label: How | ||
description: If applicable, add screenshots, mockup, animations and/or videos to help illustrate how the feature could be done. |
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,22 @@ | ||
<!--- Provide a general summary of your changes in the Title above --> | ||
|
||
Fixes # | ||
|
||
## Proposed changes: | ||
<!--- Explain what functional changes your PR includes --> | ||
* | ||
|
||
### Other information: | ||
|
||
- [ ] Have you written new tests for your changes, if applicable? | ||
|
||
## Testing instructions: | ||
<!-- If you were reviewing this PR, how would you like the instructions to be presented? --> | ||
<!-- Please include detailed testing steps, explaining how to test your change. --> | ||
<!-- Bear in mind that context you working on is not obvious for everyone. --> | ||
<!-- Adding "simple" configuration steps will help reviewers to get to your PR as quickly as possible. --> | ||
<!-- "Before / After" screenshots can also be very helpful when the change is visual. --> | ||
|
||
* Go to '..' | ||
* | ||
|
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,50 @@ | ||
# Repo gardening. Automate some of the triage tasks in the repo. | ||
name: Repo Gardening | ||
|
||
on: | ||
pull_request_target: # When a PR is opened, edited, updated, closed, or a label is added. | ||
types: [opened, reopened, synchronize, edited, labeled, closed] | ||
issues: # For auto-triage of issues. | ||
types: [opened, labeled, reopened, edited, closed] | ||
issue_comment: # To gather support references in issue comments. | ||
types: [created] | ||
concurrency: | ||
# For pull_request_target, cancel any concurrent jobs with the same type (e.g. "opened", "labeled") and branch. | ||
# Don't cancel any for other events, accomplished by grouping on the unique run_id. | ||
group: gardening-${{ github.event_name }}-${{ github.event.action }}-${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
repo-gardening: | ||
name: 'Automated repo gardening.' | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'pull_request_target' || github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: lts/* | ||
|
||
- name: Wait for prior instances of the workflow to finish | ||
uses: softprops/turnstyle@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: 'Automate triage (add labels, clean labels, ...).' | ||
uses: automattic/action-repo-gardening@trunk | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
slack_token: ${{ secrets.SLACK_TOKEN }} | ||
slack_team_channel: ${{ secrets.SLACK_TEAM_CHANNEL }} | ||
slack_he_triage_channel: ${{ secrets.SLACK_HE_TRIAGE_CHANNEL }} | ||
slack_quality_channel: ${{ secrets.SLACK_QUALITY_CHANNEL }} | ||
tasks: 'addLabels,cleanLabels,assignIssues,flagOss,gatherSupportReferences,replyToCustomersReminder' | ||
add_labels: '[ | ||
{"path": "src/followers", "label": "[Block] Followers"}, | ||
{"path": "src/follow-me", "label": "[Block] Follow Me"} | ||
]' |
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.