-
Notifications
You must be signed in to change notification settings - Fork 1
Main #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
GouBuliya
wants to merge
5
commits into
dev
Choose a base branch
from
main
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Main #1
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
dcad598
docs: add open source project files
Cotton-Candy123 4afdd69
docs: update README and switch to Apache 2.0 license
Cotton-Candy123 aa86a7a
Merge dev into main: Apache License 2.0 and UI improvements
Cotton-Candy123 f2c9c87
docs: 添加安全政策文档并完善项目文档结构
Cotton-Candy123 2ca2803
Merge branch 'dev' into main
Cotton-Candy123 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,32 @@ | ||
| ## Description | ||
|
|
||
| <!-- Briefly describe the changes --> | ||
|
|
||
| ## Type of Change | ||
|
|
||
| - [ ] Bug fix | ||
| - [ ] New feature | ||
| - [ ] Documentation update | ||
| - [ ] Refactoring | ||
| - [ ] Tests | ||
|
|
||
| ## Related Issues | ||
|
|
||
| <!-- Link any related issues (e.g., "Closes #123") --> | ||
|
|
||
| ## Testing | ||
|
|
||
| <!-- Describe testing performed --> | ||
|
|
||
| ## Checklist | ||
|
|
||
| - [ ] Code follows project style guidelines | ||
| - [ ] Self-review completed | ||
| - [ ] Comments added for complex code | ||
| - [ ] Documentation updated | ||
| - [ ] Tests added/updated | ||
| - [ ] All tests pass | ||
|
|
||
| ## Additional Notes | ||
|
|
||
| <!-- Any additional notes --> | ||
This file contains hidden or 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,3 @@ | ||
| # .github | ||
|
|
||
| This directory contains GitHub configuration files including issue and pull request templates. |
This file contains hidden or 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,77 +1,81 @@ | ||
| # Contributor Covenant Code of Conduct | ||
| # 贡献者行为准则 | ||
|
|
||
| ## Our Pledge | ||
| ## 我们的承诺 | ||
|
|
||
| We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual orientation. | ||
| 为了营造一个开放和友好的环境,我们作为贡献者和维护者承诺:无论年龄、体型、可见或不可见的残疾、种族、性别特征、性别认同和表达、经验水平、教育程度、社会经济地位、国籍、个人外貌、民族、种姓、肤色、信仰、宗教或性取向如何,参与我们的社区和项目都将是一种无骚扰的体验。 | ||
|
|
||
| We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. | ||
| 我们承诺以有助于建立一个开放、友好、多元、包容和健康的社区的方式行事和互动。 | ||
|
|
||
| ## Our Standards | ||
| ## 行为准则 | ||
|
|
||
| Examples of behavior that contributes to a positive environment for our community include: | ||
| ### 我们的标准 | ||
|
|
||
| * Demonstrating empathy and kindness toward other people | ||
| * Being respectful of differing opinions, viewpoints, and experiences | ||
| * Giving and gracefully accepting constructive feedback | ||
| * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience | ||
| * Focusing on what is best not just for us as individuals, but for the overall community | ||
| 有助于营造积极环境的行为示例包括: | ||
|
|
||
| Examples of unacceptable behavior include: | ||
| - 展现同理心和善意对待他人 | ||
| - 尊重不同的意见、观点和经验 | ||
| - 给予并接受建设性反馈 | ||
| - 对自己的错误承担责任,向受影响的人道歉,并从经验中学习 | ||
| - 关注对整体社区最有利的事情,而非个人利益 | ||
|
|
||
| * The use of sexualized language or imagery, and sexual attention or advances of any kind | ||
| * Trolling, insulting or derogatory comments, and personal or political attacks | ||
| * Public or private harassment | ||
| * Publishing others' private information, such as a physical or email address, without their explicit permission | ||
| * Other conduct which could reasonably be considered inappropriate in a professional setting | ||
| ### 不可接受的行为 | ||
|
|
||
| ## Enforcement Responsibilities | ||
| 不可接受的行为包括: | ||
|
|
||
| Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. | ||
| - 使用性化的语言或图像,以及任何形式的性关注或挑逗 | ||
| - 恶意挑衅、侮辱性或贬低性评论,以及个人或政治攻击 | ||
| - 公开或私下的骚扰行为 | ||
| - 未经许可发布他人的私人信息,如实际地址或电子邮件地址 | ||
| - 在专业环境中被合理认为不适当的其他行为 | ||
|
|
||
| Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. | ||
| ## 执行责任 | ||
|
|
||
| ## Scope | ||
| 社区领袖有责任澄清和执行我们可接受行为的标准,并将对任何不可接受的行为采取适当和公平的纠正措施。 | ||
|
|
||
| This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event. | ||
| 社区领袖有权移除、编辑或拒绝不符合本行为准则的评论、提交、代码、维基编辑、问题和其他贡献,并在适当时说明进行管理决定的原因。 | ||
|
|
||
| ## Enforcement | ||
| ## 适用范围 | ||
|
|
||
| Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at contact@tokenrouter.dev. All complaints will be reviewed and investigated promptly and fairly. | ||
| 本行为准则适用于所有社区空间,也适用于个人在社区活动中正式代表社区的情况。代表我们社区的示例包括使用官方电子邮件地址、通过官方社交媒体账户发布内容,或在线上或线下活动中担任指定代表。 | ||
|
|
||
| All community leaders are obligated to respect the privacy and security of the reporter of any incident. | ||
| ## 执行 | ||
|
|
||
| ## Enforcement Guidelines | ||
| instances of 滥用、骚扰或其他不可接受的行为可以通过 [contact@tokenrouter.dev](mailto:contact@tokenrouter.dev) 向负责执行的社区领袖报告。所有投诉都将得到及时和公平的审查和调查。 | ||
|
|
||
| Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: | ||
| 所有社区领袖都有义务尊重任何事件报告者的隐私和安全。 | ||
|
|
||
| ### 1. Correction | ||
| ### 执行指南 | ||
|
|
||
| **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. | ||
| 社区领袖将遵循以下社区影响指南来确定对任何他们认为违反本行为准则的行为的后果: | ||
|
|
||
| **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. | ||
| #### 1. 纠正 | ||
|
|
||
| ### 2. Warning | ||
| **社区影响**:使用不适当的语言或其他在社区中被认为不专业或不受欢迎的行为。 | ||
|
|
||
| **Community Impact**: A violation through a single incident or series of actions. | ||
| **后果**:社区领袖发出私下的书面警告,阐明违规行为的性质,并解释为什么该行为不适当。可能会要求公开道歉。 | ||
|
|
||
| **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. | ||
| #### 2. 警告 | ||
|
|
||
| ### 3. Temporary Ban | ||
| **社区影响**:通过单次事件或一系列行为构成的违规。 | ||
|
|
||
| **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. | ||
| **后果**:警告并说明持续此类行为的后果。在指定的时间段内禁止与相关人员进行互动,包括主动与执行本行为准则的人员进行互动。这包括避免在社区空间以及社交媒体等外部渠道进行互动。违反这些条款可能会导致临时或永久禁令。 | ||
|
|
||
| **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, during this period is allowed. Violating these terms may lead to a permanent ban. | ||
| #### 3. 临时禁令 | ||
|
|
||
| ### 4. Permanent Ban | ||
| **社区影响**:严重违反社区标准,包括持续的不当行为。 | ||
|
|
||
| **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. | ||
| **后果**:在指定的时间段内禁止与社区进行任何形式的互动或公开交流。在此期间,禁止与相关人员进行任何公开或私人的互动,包括主动与执行本行为准则的人员进行互动。违反这些条款可能会导致永久禁令。 | ||
|
|
||
| **Consequence**: A permanent ban from any sort of public interaction within the community. | ||
| #### 4. 永久禁令 | ||
|
|
||
| ## Attribution | ||
| **社区影响**:表现出违反社区标准的行为模式,包括持续的不当行为、骚扰个人,或对某类人的攻击或贬低。 | ||
|
|
||
| This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html). | ||
| **后果**:永久禁止在社区内进行任何形式的公开互动。 | ||
|
|
||
| Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity). | ||
| ## 来源 | ||
|
|
||
| For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq). Translations are available at [https://www.contributor-covenant.org/translations](https://www.contributor-covenant.org/translations). | ||
| 本行为准则改编自 [Contributor Covenant](https://www.contributor-covenant.org) 2.1 版本,详见 [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html)。 | ||
|
|
||
| 社区影响指南灵感来自 [Mozilla 的行为准则执行阶梯](https://github.com/mozilla/diversity)。 | ||
|
|
||
| 有关本行为准则常见问题的解答,请参阅 FAQ:[https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq)。翻译版本请访问:[https://www.contributor-covenant.org/translations](https://www.contributor-covenant.org/translations)。 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This template is added under
.github/PULL_REQUESTS/, which GitHub does not use for pull request templates, so updates to this file will never appear in new PRs. In this repo,.github/PULL_REQUEST_TEMPLATE.mdalready exists and is the file that will be applied, so keeping this new file creates a misleading dead configuration that contributors may edit without effect.Useful? React with 👍 / 👎.