-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #638 from globe-and-citizen/develop
Release 2.4
- Loading branch information
Showing
84 changed files
with
3,630 additions
and
1,143 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 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 |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
/src-cordova | ||
/.quasar | ||
/node_modules | ||
.eslintrc.js | ||
/.eslintrc.js |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,38 @@ | ||
<!-- | ||
Please, include: | ||
- A description of the changes proposed in the pull request. | ||
- A reference to a related issue in your repository: | ||
- Add keyword "close", "fix" or "resolve" to inform the issue related. | ||
Example: Resolve #123 | ||
--> | ||
|
||
## Description | ||
### 🛠 Description | ||
|
||
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. | ||
|
||
Fixes # (issue) | ||
|
||
### ✨ Type of change | ||
|
||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] This change requires a documentation update | ||
|
||
### 🧠 Rationale behind the change | ||
|
||
Why did you choose to make these changes? Were there any trade-offs you had to consider? | ||
|
||
### 🧪 All Test Suites Passed? | ||
|
||
- [ ] Manual tested | ||
- [ ] Vitest | ||
- [ ] Cypress | ||
|
||
### 📸 Screenshots (optional) | ||
|
||
Please provide some screenshot for relevant changes | ||
|
||
### 🏎 Quick checklist | ||
|
||
- [ ] My code follows the style guidelines of this project | ||
- [ ] I have performed a self-review of my own code | ||
- [ ] I have commented my code, particularly in hard-to-understand areas | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] My changes generate no new warnings | ||
- [ ] I have added tests that prove my fix is effective or that my feature works | ||
- [ ] New and existing unit tests pass locally with my changes | ||
- [ ] Any dependent changes have been merged and published in downstream modules | ||
- [ ] I have checked my code and corrected any misspellings |
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 |
---|---|---|
|
@@ -41,3 +41,6 @@ coverage/ | |
conf-example | ||
functions/node_modules | ||
package-lock.json | ||
|
||
package-lock.json | ||
|
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 @@ | ||
#!/usr/bin/env sh | ||
|
||
message="$(cat $1)" | ||
requiredPattern="^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip):#\d+ - .{1,100}$" | ||
mergePattern="^Merge (branch|remote-tracking branch)" | ||
|
||
# Check if the commit message is a merge message | ||
if echo "$message" | grep -E "$mergePattern"; then | ||
echo "Merge commit detected. Skipping commit message check." | ||
exit 0 | ||
fi | ||
|
||
# Check if the commit message matches the required pattern | ||
if ! echo "$message" | grep -E "$requiredPattern"; then | ||
echo "$message" | ||
echo "Error: Commit message does not match the required pattern!" | ||
echo "The correct format is:" | ||
echo " <type>:#<ticketNumber> - <description>" | ||
echo "Where <type> is one of: feat, fix, docs, style, refactor, test, chore." | ||
echo "Example: fix:#123 - fixed issue 123" | ||
exit 1 | ||
fi |
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 @@ | ||
lint-staged |
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 |
---|---|---|
@@ -1,15 +1,29 @@ | ||
# HOW TO CONTRIBUTE | ||
# Code Of Conduct | ||
|
||
## "Our World Is One Country" | ||
|
||
Globe&Citizen, as a company and service, is based on the premise that people are _people_ all around the world and that all humans display the unique capacity to cooperate flexibly in groups. Participation requires, above all else, a willingness to work with other developers who are different from yourself respectfully, openly, in good faith. | ||
|
||
## Steps to Contributing | ||
## Our Standards | ||
|
||
1. Fork a local copy of the code base and get to know it. | ||
2. Create your own development branch off of the shared "develop" branch to work on locally. | ||
3. Push to your forked repository and then open a 'pull' request. | ||
Examples of behavior that contributes to creating a positive environment include: | ||
|
||
## Other Considerations | ||
- Using welcoming and inclusive language | ||
- Being respectful of differing viewpoints and experiences | ||
- Gracefully accepting constructive criticism | ||
- Focusing on what is best for the community | ||
- Showing empathy towards other community members | ||
|
||
...coming soon... | ||
Examples of unacceptable behavior by participants include: | ||
|
||
- The use of sexualized language or imagery and unwelcome sexual attention or advances | ||
- Trolling, insulting/derogatory comments, and personal or political attacks | ||
- Public or private harassment | ||
- Publishing others' private information, such as a physical or electronic address, without explicit permission | ||
- Other conduct which could reasonably be considered inappropriate in a professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. | ||
|
||
Project maintainers 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, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. |
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
Binary file not shown.
Oops, something went wrong.