|
2 | 2 |
|
3 | 3 | ## Our Pledge
|
4 | 4 |
|
5 |
| -As contributors and maintainers of this project, and in order to keep Yii community open and welcoming, we ask to respect all community members. |
| 5 | +As contributors and maintainers of this project, and in order to keep Yii community open and welcoming, we ask to |
| 6 | +respect all community members. |
6 | 7 |
|
7 | 8 | ## Our Standards
|
8 | 9 |
|
9 |
| -Examples of behavior that contributes to creating a positive environment include: |
| 10 | +Examples of behavior that contributes to a positive environment for our community include: |
10 | 11 |
|
11 |
| -* Using welcoming and inclusive language |
12 |
| -* Being respectful of differing viewpoints and experiences |
13 |
| -* Gracefully accepting constructive criticism |
14 |
| -* Focusing on what is best for the community |
15 |
| -* Showing empathy towards other community members |
| 12 | +* Demonstrating empathy and kindness toward other people |
| 13 | +* Being respectful of differing opinions, viewpoints, and experiences |
| 14 | +* Giving and gracefully accepting constructive feedback |
| 15 | +* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience |
| 16 | +* Focusing on what is best not just for us as individuals, but for the overall community |
16 | 17 |
|
17 | 18 | Examples of unacceptable behavior by participants include:
|
18 | 19 |
|
19 |
| -* The use of sexualized language or imagery and unwelcome sexual attention or |
20 |
| - advances |
21 |
| -* Personal attacks |
22 |
| -* Trolling or insulting/derogatory comments, and personal or political attacks |
| 20 | +* The use of sexualized language or imagery, and sexual attention or advances of any kind |
| 21 | +* Trolling, insulting or derogatory comments, and personal or political attacks |
23 | 22 | * Public or private harassment
|
24 |
| -* Publishing other's private information, such as physical or electronic |
25 |
| - addresses, without explicit permission |
26 |
| -* Other conduct which could reasonably be considered inappropriate in |
27 |
| - a professional setting |
| 23 | +* Publishing others' private information, such as a physical or email address, without their explicit permission |
| 24 | +* Other conduct which could reasonably be considered inappropriate in a professional setting |
28 | 25 |
|
29 |
| -## Our Responsibilities |
| 26 | +## Enforcement Responsibilities |
30 | 27 |
|
31 |
| -Project maintainers are responsible for clarifying the standards of acceptable |
32 |
| -behavior and are expected to take appropriate and fair corrective action in response |
33 |
| -to any instances of unacceptable behavior. |
| 28 | +Core team members are responsible for clarifying and enforcing our standards of acceptable behavior and will take |
| 29 | +appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, |
| 30 | +or harmful. |
34 | 31 |
|
35 |
| -Project maintainers have the right and responsibility to remove, edit, or reject comments, |
36 |
| -commits, code, wiki edits, issues, and other contributions that are not aligned to this |
37 |
| -Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors |
38 |
| -that they deem inappropriate, threatening, offensive, or harmful. |
| 32 | +Core team members have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, |
| 33 | +issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for |
| 34 | +moderation decisions when appropriate. |
39 | 35 |
|
40 | 36 | ## Scope
|
41 | 37 |
|
42 |
| -This Code of Conduct applies both within project spaces and in public spaces when |
43 |
| -an individual is representing the project or its community. Examples of representing |
44 |
| -a project or community include posting via an official social media account, |
45 |
| -within project GitHub, official forum or acting as an appointed representative at |
46 |
| -an online or offline event. |
| 38 | +This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing |
| 39 | +the community in public spaces. Examples of representing a project or community include using an official e-mail |
| 40 | +address, posting via an official social media account, within project GitHub, official forum or acting as an appointed |
| 41 | +representative at an online or offline event. |
47 | 42 |
|
48 | 43 | ## Enforcement
|
49 | 44 |
|
50 |
| -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported |
51 |
| -by contacting core team members. All complaints will be reviewed and investigated |
52 |
| -and will result in a response that is deemed necessary and appropriate to the circumstances. |
53 |
| -The project team is obligated to maintain confidentiality with regard to the reporter of |
54 |
| -an incident. Further details of specific enforcement policies may be posted separately. |
| 45 | +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting core team members. All |
| 46 | +complaints will be reviewed and investigated promptly and fairly. |
55 | 47 |
|
56 |
| -Project maintainers who do not follow or enforce the Code of Conduct in good faith |
57 |
| -may face temporary or permanent repercussions as determined by other members of |
58 |
| -the project's leadership. |
| 48 | +All core team members are obligated to respect the privacy and security of the reporter of any incident. |
| 49 | + |
| 50 | +## Enforcement Guidelines |
| 51 | + |
| 52 | +Core team members will follow these Community Impact Guidelines in determining the consequences for any action they |
| 53 | +deem in violation of this Code of Conduct: |
| 54 | + |
| 55 | +### 1. Correction |
| 56 | + |
| 57 | +**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in |
| 58 | +the community. |
| 59 | + |
| 60 | +**Consequence**: A private, written warning from core team members, providing clarity around the nature of the violation |
| 61 | +and an explanation of why the behavior was inappropriate. A public apology may be requested. |
| 62 | + |
| 63 | +### 2. Warning |
| 64 | + |
| 65 | +**Community Impact**: A violation through a single incident or series of actions. |
| 66 | + |
| 67 | +**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including |
| 68 | +unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding |
| 69 | +interactions in community spaces as well as external channels like social media. Violating these terms may lead to |
| 70 | +a temporary or permanent ban. |
| 71 | + |
| 72 | +### 3. Temporary Ban |
| 73 | + |
| 74 | +**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. |
| 75 | + |
| 76 | +**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified |
| 77 | +period of time. No public or private interaction with the people involved, including unsolicited interaction with those |
| 78 | +enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. |
| 79 | + |
| 80 | +### 4. Permanent Ban |
| 81 | + |
| 82 | +**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate |
| 83 | +behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. |
| 84 | + |
| 85 | +**Consequence**: A permanent ban from any sort of public interaction within the community. |
59 | 86 |
|
60 | 87 | ## Attribution
|
61 | 88 |
|
62 |
| -This Code of Conduct is adapted from the [Contributor Covenant][homepage], |
63 |
| -version 1.4.0, available at |
64 |
| -[http://contributor-covenant.org/version/1/4/][version] |
| 89 | +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at |
| 90 | +[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. |
| 91 | + |
| 92 | +Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC]. |
| 93 | + |
| 94 | +For answers to common questions about this code of conduct, see the FAQ at |
| 95 | +[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at |
| 96 | +[https://www.contributor-covenant.org/translations][translations]. |
65 | 97 |
|
66 |
| -[homepage]: http://contributor-covenant.org |
67 |
| -[version]: http://contributor-covenant.org/version/1/4/ |
| 98 | +[homepage]: https://www.contributor-covenant.org |
| 99 | +[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html |
| 100 | +[Mozilla CoC]: https://github.com/mozilla/diversity |
| 101 | +[FAQ]: https://www.contributor-covenant.org/faq |
| 102 | +[translations]: https://www.contributor-covenant.org/translations |
0 commit comments