Skip to content

Commit a2e5ba2

Browse files
committed
Add issue templates, change tested up to
1 parent 659aea4 commit a2e5ba2

File tree

6 files changed

+251
-0
lines changed

6 files changed

+251
-0
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
2+
# Contributor Covenant Code of Conduct
3+
4+
## Our Pledge
5+
6+
We as members, contributors, and leaders pledge to make participation in our
7+
community a harassment-free experience for everyone, regardless of age, body
8+
size, visible or invisible disability, ethnicity, sex characteristics, gender
9+
identity and expression, level of experience, education, socio-economic status,
10+
nationality, personal appearance, race, caste, color, religion, or sexual
11+
identity and orientation.
12+
13+
We pledge to act and interact in ways that contribute to an open, welcoming,
14+
diverse, inclusive, and healthy community.
15+
16+
## Our Standards
17+
18+
Examples of behavior that contributes to a positive environment for our
19+
community include:
20+
21+
* Demonstrating empathy and kindness toward other people
22+
* Being respectful of differing opinions, viewpoints, and experiences
23+
* Giving and gracefully accepting constructive feedback
24+
* Accepting responsibility and apologizing to those affected by our mistakes,
25+
and learning from the experience
26+
* Focusing on what is best not just for us as individuals, but for the overall
27+
community
28+
29+
Examples of unacceptable behavior include:
30+
31+
* The use of sexualized language or imagery, and sexual attention or advances of
32+
any kind
33+
* Trolling, insulting or derogatory comments, and personal or political attacks
34+
* Public or private harassment
35+
* Publishing others' private information, such as a physical or email address,
36+
without their explicit permission
37+
* Other conduct which could reasonably be considered inappropriate in a
38+
professional setting
39+
40+
## Enforcement Responsibilities
41+
42+
Community leaders are responsible for clarifying and enforcing our standards of
43+
acceptable behavior and will take appropriate and fair corrective action in
44+
response to any behavior that they deem inappropriate, threatening, offensive,
45+
or harmful.
46+
47+
Community leaders have the right and responsibility to remove, edit, or reject
48+
comments, commits, code, wiki edits, issues, and other contributions that are
49+
not aligned to this Code of Conduct, and will communicate reasons for moderation
50+
decisions when appropriate.
51+
52+
## Scope
53+
54+
This Code of Conduct applies within all community spaces, and also applies when
55+
an individual is officially representing the community in public spaces.
56+
Examples of representing our community include using an official email address,
57+
posting via an official social media account, or acting as an appointed
58+
representative at an online or offline event.
59+
60+
## Enforcement
61+
62+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
63+
reported to the community leaders responsible for enforcement at
64+
https://joost.blog/contact-me/ .
65+
66+
All complaints will be reviewed and investigated promptly and fairly.
67+
68+
All community leaders are obligated to respect the privacy and security of the
69+
reporter of any incident.
70+
71+
## Enforcement Guidelines
72+
73+
Community leaders will follow these Community Impact Guidelines in determining
74+
the consequences for any action they deem in violation of this Code of Conduct:
75+
76+
### 1. Correction
77+
78+
**Community Impact**: Use of inappropriate language or other behavior deemed
79+
unprofessional or unwelcome in the community.
80+
81+
**Consequence**: A private, written warning from community leaders, providing
82+
clarity around the nature of the violation and an explanation of why the
83+
behavior was inappropriate. A public apology may be requested.
84+
85+
### 2. Warning
86+
87+
**Community Impact**: A violation through a single incident or series of
88+
actions.
89+
90+
**Consequence**: A warning with consequences for continued behavior. No
91+
interaction with the people involved, including unsolicited interaction with
92+
those enforcing the Code of Conduct, for a specified period of time. This
93+
includes avoiding interactions in community spaces as well as external channels
94+
like social media. Violating these terms may lead to a temporary or permanent
95+
ban.
96+
97+
### 3. Temporary Ban
98+
99+
**Community Impact**: A serious violation of community standards, including
100+
sustained inappropriate behavior.
101+
102+
**Consequence**: A temporary ban from any sort of interaction or public
103+
communication with the community for a specified period of time. No public or
104+
private interaction with the people involved, including unsolicited interaction
105+
with those enforcing the Code of Conduct, is allowed during this period.
106+
Violating these terms may lead to a permanent ban.
107+
108+
### 4. Permanent Ban
109+
110+
**Community Impact**: Demonstrating a pattern of violation of community
111+
standards, including sustained inappropriate behavior, harassment of an
112+
individual, or aggression toward or disparagement of classes of individuals.
113+
114+
**Consequence**: A permanent ban from any sort of public interaction within the
115+
community.
116+
117+
## Attribution
118+
119+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/),
120+
version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

.github/CONTRIBUTING.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Contribution Guidelines
2+
3+
Before filing a bug report or a feature request, be sure to read the contribution guidelines.
4+
5+
## How to use GitHub
6+
We use GitHub exclusively for well-documented bugs, feature requests and code contributions. Communication is always done in English.
7+
8+
To receive free support for this plugin, go to [the support formus](https://wordpress.org/support/plugin/yoast-comment-hacks/). Thanks for your understanding.
9+
10+
## Security issues
11+
Please do not report security issues here. Instead, report them per our [security policy](https://github.com/jdevalk/comment-hacks/security/policy).
12+
13+
## I have found a bug
14+
Before opening a new issue, please:
15+
* update to the newest versions of WordPress, Yoast SEO and the PDF XML sitemap plugins.
16+
* search for duplicate issues to prevent opening a duplicate issue. If there is already an open existing issue, please comment on that issue.
17+
* follow our _New issue_ template when creating a new issue.
18+
* add as much information as possible. For example: add screenshots, relevant links, step by step guides etc.
19+
20+
## I have a feature request
21+
Before opening a new issue, please:
22+
* search for duplicate issues to prevent opening a duplicate feature request. If there is already an open existing request, please leave a comment there.
23+
* add as much information as possible. For example: give us a clear explanation of why you think the feature request is something we should consider for the plugin.
24+
25+
## I want to create a patch
26+
Community made patches, localizations, bug reports and contributions are very welcome and help us tremendously.
27+
28+
When contributing please ensure you follow the guidelines below so that we can keep on top of things.
29+
30+
#### Submitting an issue you found
31+
Make sure your problem does not exist as a ticket already by searching through [the existing issues](https://github.com/jdevalk/comment-hacks/issues/). If you cannot find anything which resembles your problem, please [create a new issue](https://github.com/jdevalk/comment-hacks/issues/new).
32+
33+
#### Fixing an issue
34+
35+
* Fork the repository on GitHub (make sure to use the `develop` branch).
36+
* Make the changes to your forked repository.
37+
* Ensure you stick to the [WordPress Coding Standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/) and you properly document any new functions, actions and filters following the [documentation standards](https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/).
38+
* When committing, reference your issue and include a note about the fix.
39+
* Push the changes to your fork and submit a pull request to the `develop` branch of the Accessibility Checker repository.
40+
41+
We will review your pull request and merge when everything is in order. We will help you to make sure the code complies with the standards described above.
42+
43+
#### 'Patch welcome' issues
44+
Some issues are labeled 'patch-welcome'. This means we see the value in the particular enhancement being suggested but have decided for now not to prioritize it. If you however decide to write a patch for it, we'll gladly include it after some code review.
45+
46+
#### Additional Resources
47+
* [General GitHub Documentation](https://help.github.com/)
48+
* [GitHub Pull Request documentation](https://help.github.com/send-pull-requests/)

.github/ISSUE_TEMPLATE/Bug_report.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
assignees:
5+
- jdevalk
6+
7+
---
8+
9+
<!-- Please use this template when creating an issue.
10+
- Please check the boxes after you've created your issue.
11+
- Please use the latest version of the plugin.-->
12+
13+
* [ ] I've read and understood the [contribution guidelines](https://github.com/jdevalk/pdf-xml-sitemap/blob/main/.github/CONTRIBUTING.md).
14+
* [ ] I've searched for any related issues and avoided creating a duplicate issue.
15+
16+
### Please give us a description of what happened
17+
18+
### To Reproduce
19+
#### Step-by-step reproduction instructions
20+
1.
21+
2.
22+
3.
23+
24+
#### Expected results
25+
1.
26+
27+
#### Actual results
28+
1.
29+
30+
31+
### Screenshots, screen recording, code snippet
32+
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
33+
34+
### Technical info
35+
36+
37+
#### Used versions
38+
* Device you are using:
39+
* Operating system:
40+
* PHP version:
41+
* WordPress version:
42+
* WordPress Theme:
43+
* Plugin version:
44+
* Relevant plugins in case of a bug:
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
assignees:
5+
- jdevalk
6+
7+
---
8+
9+
<!-- Before opening a new issue, please search for duplicate issues to prevent opening a duplicate feature request. If there is already an open existing request, please leave a comment there. -->
10+
11+
## Is your feature request related to a problem? Please describe.
12+
13+
## Describe the solution you'd like
14+
15+
## Why do you think this feature is something we should consider for this plugin?
16+
17+
## Additional context

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/SECURITY.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
You can report any security bugs found in the source code of this plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/yoast-comment-hacks). The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.
6+
7+
## Responding to Vulnerability Reports
8+
9+
I take security bugs very seriously. I appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions. Patchstack will work with you and me to deal with the security issue as best as possible.
10+
11+
## Disclosing a Vulnerability
12+
13+
Once an issue is reported, I will use the following disclosure process:
14+
15+
- When a report is received, I confirm the issue and determine its severity together with Patchstack.
16+
- If we know of specific third-party services or software that require mitigation before publication, those projects will be notified.
17+
- An advisory is prepared (but not published) which details the problem and steps for mitigation.
18+
- Patch releases are published and the advisory is published.
19+
- Release notes and our readme.txt will include a `Security` section with a link to the advisory.
20+
21+
We credit reporters for identifying vulnerabilities, although we will keep your name confidential if you request it.

0 commit comments

Comments
 (0)