-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🎨 Add enum type for user status [skip ci] * ⬆️ 💪 Moving core to L5.5 with new features * 🐎 🎨 Separated some routes and logic * 💚 Fix: Add default user status to inactive * 💚 ⬆️ Update phpunit to 6.4 * 💪 Update travis config and scrutinizer coverage * 💚 Limit 20 chars for username on seed * Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com * 💚 Update codecov and travis [skip ci] * Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com * Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com * 📝 remove codecov flas [skip ci] * 💪 Add API resource instead of json response * 💚 Add blood_type_id in Authenticate::register method * 💚 ✅ Fix codecov report on travis * Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com * Scrutinizer Auto-Fixes (#46) * ⬆️ Update laravel and other deps [skip ci] * ⬆️ 💪 Add Password * Add contributors list and remove assets files [skip ci] * 💪 Add avatar field in UserResource * 📝 fix badge links and contributors counter [skip ci] * 💚 Add codeclimate configuration [skip ci] * 💪 Preparing to add blood bank module [ski ci] * 💪 Add User country code and default avatar * 💚 Fix: Controller class not found * 💪 ⬆️ fix #38: Finish L5.5 Upgrade * 💚 ⬇️ revert mockery version to 0.9 * 💪 Add github templates and adjust some functions * 📝 Add contributors list [skip ci] * 💚 fix: syntax error in Campaign resource * 💚 fix: add => simbol in Campaign resource
- Loading branch information
Showing
87 changed files
with
3,148 additions
and
8,845 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"projectName": "doesangue-core", | ||
"projectOwner": "doesangueorg", | ||
"files": [ | ||
"CONTRIBUTORS.md", | ||
"README.md" | ||
], | ||
"imageSize": 100, | ||
"commit": false, | ||
"contributors": [ | ||
{ | ||
"login": "JoseCage", | ||
"name": "José Cage ", | ||
"avatar_url": "https://avatars2.githubusercontent.com/u/4200487?v=4", | ||
"profile": "https://josecage.github.io", | ||
"contributions": [ | ||
"code", | ||
"doc", | ||
"ideas", | ||
"review", | ||
"test" | ||
] | ||
}, | ||
{ | ||
"login": "vinicius73", | ||
"name": "Vinicius Reis", | ||
"avatar_url": "https://avatars0.githubusercontent.com/u/1561347?v=4", | ||
"profile": "http://luizvinicius.com.br/", | ||
"contributions": [ | ||
"doc", | ||
"example", | ||
"tool" | ||
] | ||
}, | ||
{ | ||
"login": "pablolovera", | ||
"name": "Pablo Lovera", | ||
"avatar_url": "https://avatars0.githubusercontent.com/u/3923722?v=4", | ||
"profile": "https://github.com/pablolovera", | ||
"contributions": [ | ||
"code", | ||
"example" | ||
] | ||
} | ||
] | ||
} |
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,14 @@ | ||
--- | ||
engines: | ||
phpcodescniffer: | ||
enabled: true | ||
config: | ||
standards: "PSR2" | ||
ignore_warnings: true | ||
ratings: | ||
paths: | ||
- "**.php" | ||
exclude_paths: | ||
- config/ | ||
- bootstrap/ | ||
- tests/ |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
* Core Version: 1.0. | ||
* PHP Version: 7. | ||
* Database Driver & Version: | ||
|
||
- [ ] I have read the CONTRIBUTING document. | ||
- [ ] This isn't a duplicate issue. | ||
|
||
## Description: |
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,11 @@ | ||
Types of changes | ||
|
||
- [ ] 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 change) | ||
- [ ] I have read the CONTRIBUTING document. | ||
- [ ] My code follows the code style of this project. | ||
- [ ] My change requires a change to the documentation. | ||
- [ ] I have updated the documentation accordingly. | ||
- [ ] I have added tests to cover my changes. | ||
- [ ] All new and existing tests passed. |
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,66 @@ | ||
filter: | ||
paths: | ||
- 'app/*' | ||
excluded_paths: | ||
- 'resources/views/*' | ||
- - 'resources/assets/*' | ||
- 'config/*' | ||
- 'tests/*' | ||
checks: | ||
php: | ||
properties_in_camelcaps: true | ||
function_in_camel_caps: true | ||
encourage_single_quotes: true | ||
phpunit_assertions: true | ||
no_long_variable_names: | ||
maximum: '20' | ||
fix_use_statements: | ||
remove_unused: true | ||
preserve_multiple: true | ||
preserve_blanklines: true | ||
order_alphabetically: false | ||
unused_variables: true | ||
|
||
# phpunit_assertions: true | ||
function_in_camel_caps: true | ||
encourage_single_quotes: true | ||
# javascript: true | ||
|
||
coding_style: | ||
php: | ||
indentation: | ||
general: | ||
size: 2 | ||
spaces: | ||
within: | ||
brackets: true | ||
|
||
|
||
build: | ||
environment: | ||
php: | ||
version: 7.1.* | ||
|
||
mysql: 5.7 | ||
|
||
variables: | ||
APP_KEY: base64:D6N/Z/7E0B1M3l1GumT+Kp+JT7E4bzbeMRuxzV3CP1s= | ||
DB_DATABASE: doesangue | ||
DB_USERNAME: root | ||
DB_CONNECTION: mysql | ||
APP_ENV: testing | ||
|
||
dependencies: | ||
before: | ||
- mysql -uroot -e 'CREATE DATABASE doesangue' | ||
|
||
tests: | ||
override: | ||
- | ||
command: 'vendor/bin/phpunit --coverage-clover=build/logs/clover.xml' | ||
coverage: | ||
file: 'build/logs/clover.xml' | ||
format: 'clover' | ||
# before: | ||
# - command: php artisan migrate --env=testing --no-interaction | ||
# - command: php artisan db:seed --env=testing --no-interaction |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
language: php | ||
php: | ||
# - 5.6 | ||
- 7.0 | ||
# - 7.0 | ||
- 7.1 | ||
- nightly | ||
|
||
|
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,73 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as | ||
contributors and maintainers pledge to making participation in our project and | ||
our community a harassment-free experience for everyone, regardless of age, body | ||
size, disability, ethnicity, gender identity and expression, level of experience, | ||
nationality, personal appearance, race, religion, or sexual identity and | ||
orientation. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to creating a positive environment | ||
include: | ||
|
||
* 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 | ||
|
||
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. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces | ||
when an individual is representing the project or its community. Examples of | ||
representing a project or community include using an official project e-mail | ||
address, posting via an official social media account, or acting as an appointed | ||
representative at an online or offline event. Representation of a project may be | ||
further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported by contacting the project team at info@doesangue.me. All | ||
complaints will be reviewed and investigated and will result in a response that | ||
is deemed necessary and appropriate to the circumstances. The project team is | ||
obligated to maintain confidentiality with regard to the reporter of an incident. | ||
Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good | ||
faith may face temporary or permanent repercussions as determined by other | ||
members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, | ||
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html | ||
|
||
[homepage]: https://www.contributor-covenant.org |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
## Contributors | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors) | ||
|
||
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): | ||
|
||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
| [<img src="https://avatars2.githubusercontent.com/u/4200487?v=4" width="100px;"/><br /><sub>José Cage </sub>](https://josecage.github.io)<br />[💻](https://github.com/doesangueorg/doesangue-core/commits?author=JoseCage "Code") [📖](https://github.com/doesangueorg/doesangue-core/commits?author=JoseCage "Documentation") [🤔](#ideas-JoseCage "Ideas, Planning, & Feedback") [👀](#review-JoseCage "Reviewed Pull Requests") [⚠️](https://github.com/doesangueorg/doesangue-core/commits?author=JoseCage "Tests") | [<img src="https://avatars0.githubusercontent.com/u/1561347?v=4" width="100px;"/><br /><sub>Vinicius Reis</sub>](http://luizvinicius.com.br/)<br />[📖](https://github.com/doesangueorg/doesangue-core/commits?author=vinicius73 "Documentation") [💡](#example-vinicius73 "Examples") [🔧](#tool-vinicius73 "Tools") | [<img src="https://avatars0.githubusercontent.com/u/3923722?v=4" width="100px;"/><br /><sub>Pablo Lovera</sub>](https://github.com/pablolovera)<br />[💻](https://github.com/doesangueorg/doesangue-core/commits?author=pablolovera "Code") [💡](#example-pablolovera "Examples") | | ||
| :---: | :---: | :---: | | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
|
||
|
||
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome! |
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.