Commit graph

32 commits

Author SHA1 Message Date
Jeff Wen
9bfdd723a1
fix: require path error (#148) 2019-01-17 14:28:13 +08:00
Maximilian Berkmann
292d4004ee
feat(contribution-type): added maintenance type (#142)
* feat(contribution-type): added maintenance type

fixes #111

* docs(categories): added maintenance category

* refactor: changed the maintenance symbol

* refactor: alphabetical listing fix

I moved the `maintenance` blocks/lines to the correct locations
2019-01-16 11:14:59 +00:00
Jake Bolam
7687e7d2f0
fix: use correct path for initBadge/initList node apis (#145)
* feat: add init content api for node

* feat: add init content api for node

* fix: use correct path for initBadge/initList node apis
2019-01-15 23:51:11 +08:00
Jake Bolam
f551d8b87e
feat: add init content api for node api (#144)
* feat: add init content api for node

* feat: add init content api for node
2019-01-15 22:52:32 +08:00
Maximilian Berkmann
87ce8bb8a7 feat(format-contributor): added alt attributes (#138)
* feat(format-contributor): added `alt` attributes

I added `alt` attributes to `img` tags which specifies the name of the
contributor in them (for accessibility purposes).

* docs: added @Berkmann18

I added myself (I forgot to do that) for code (cf. my previous commit),
test and doc.
2019-01-15 00:23:02 +08:00
Jake Bolam
8aa15c9ed8
feat: add node api for AllContributors GitHub bot (#135) 2019-01-09 22:37:49 +08:00
Jake Bolam
85a9e3a26b
fix: switch over to new org all-contributors (#132) 2019-01-07 15:55:57 +08:00
Jake Bolam
5a9c8b7557
docs: switch to all contributors org (#131)
* docs: switch org

* wip
2019-01-07 14:42:13 +08:00
Jake Bolam
071e0f4484
docs: switch org (#130) 2019-01-07 14:38:29 +08:00
Jake Bolam
89bac0f144 feat: add new types (#127)
<!--
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!

Please make sure that you are familiar with and follow the Code of Conduct for
this project (found in the CODE_OF_CONDUCT.md file).

Also, please make sure you're familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).

If you're new to contributing to open source projects, you might find this free
video course helpful: http://kcd.im/pull-request

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->
**What**:
Add Security contribution type, as mentioned in https://github.com/kentcdodds/all-contributors/issues/106 and implemented in https://github.com/kentcdodds/all-contributors/pull/107

Also added user-testing as introduced as part of https://github.com/kentcdodds/all-contributors/pull/97/files

<!-- Why are these changes necessary? -->
**Why**:
All contributors!

<!-- How were these changes implemented? -->
**How**:
Me

<!-- Have you done all of these things?  -->
**Checklist**:
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [x] Documentation
- [ ] Tests - N/A
- [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
- [x] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->

<!-- feel free to add additional comments -->
2019-01-01 21:48:31 -07:00
Jake Bolam
194d00014c feat: way to avoid github API limit (add tests + docs) (#123)
* feat: way to avoid github API limit

* Update github.js

* prettier

* housekeeping

* all contributors

* readme

* add to contributors

* Update README.md
2018-12-28 08:35:53 -07:00
Jake Bolam
d10370c7b0 infra: better error handling of invalid config file (#124)
<!--
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!

Please make sure that you are familiar with and follow the Code of Conduct for
this project (found in the CODE_OF_CONDUCT.md file).

Also, please make sure you're familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).

If you're new to contributing to open source projects, you might find this free
video course helpful: http://kcd.im/pull-request

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->
**What**:
When a config file is loaded, but the contents cannot be parsed to JSON an error will be thrown. Instead of failing silent: e.g.:
<img width="735" alt="screen shot 2018-12-23 at 5 04 17 pm" src="https://user-images.githubusercontent.com/3534236/50382208-026cdb80-06d5-11e9-8f4d-8d97a9a3cbe1.png">


<!-- Why are these changes necessary? -->
**Why**:
Previously some commands would crash randomly. e.g. `add` with `Cannot read property 'then' of null`.
While other commands e.g. `generate` would succeed but would blow away all your contributors (because it didn't find any)

<!-- How were these changes implemented? -->
**How**:
By Me

<!-- Have you done all of these things?  -->
**Checklist**:
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [ ] Documentation N/A
- [ ] Tests  N/A
- [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
- [ ] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->

<!-- feel free to add additional comments -->
2018-12-26 16:19:46 -07:00
Jake Bolam
e18363f081 feat: way to avoid github API limit (#122)
<!--
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!

Please make sure that you are familiar with and follow the Code of Conduct for
this project (found in the CODE_OF_CONDUCT.md file).

Also, please make sure you're familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).

If you're new to contributing to open source projects, you might find this free
video course helpful: http://kcd.im/pull-request

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->
**What**:
Add a way to avoid GITHUB API LIMIT by supplying an optional GITHUB_AUTH token to increase github rate limiting from 50 requests to 5000 (and limited by user, not IP)

<!-- Why are these changes necessary? -->
**Why**:
To address: #121 

<!-- How were these changes implemented? -->
**How**:
By Me

<!-- Have you done all of these things?  -->
**Checklist**:
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [ ] Documentation
- [ ] Tests
- [ ] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
- [ ] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->

<!-- feel free to add additional comments -->
2018-12-22 20:24:29 -07:00
Xianming Zhong
1f2686baa6 fix: better output format for git command (#113)
<!--
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!

Please make sure that you are familiar with and follow the Code of Conduct for
this project (found in the CODE_OF_CONDUCT.md file).

Also, please make sure you're familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).

If you're new to contributing to open source projects, you might find this free
video course helpful: http://kcd.im/pull-request

Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->

<!-- What changes are being made? (What feature/bug is being fixed here?) -->
**What**:

Without the space, it looks like a little strange.

<!-- Why are these changes necessary? -->
**Why**:

<!-- How were these changes implemented? -->
**How**:

<!-- Have you done all of these things?  -->
**Checklist**:
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [ ] Documentation
- [ ] Tests
- [x] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
- [ ] Added myself to contributors table <!-- this is optional, see the contributing guidelines for instructions -->

<!-- feel free to add additional comments -->
2018-10-18 09:58:29 -06:00
C.Y.Xu
0d1346d04e feat: support Gitlab self hosted instance (#95)
* feat: support Gitlab self hosted instance (#89)

* docs: fix some doc typo

fixes: #89
2018-08-02 16:51:04 -05:00
Spënzor
d2ce3bea26 feat: add clarity to CLI prompt for where repository is hosted (#103)
Users, including myself, have put the wrong link in answer to "Where is the repository hosted?"
2018-07-16 15:37:01 -07:00
Xianming Zhong
62f671dcd0 fix: output error messages if git commands failed (#102) 2018-06-24 19:55:51 -06:00
Tyler Reitz
54febd3c45 fix: d4dc4e2-introduced error (#100)
* adds helpful error message when files is overridden or empty

* fix: d4dc4e2-introduced error

The prior commit to this branch d4dc4e2 introduced an error
in the util/config.js file where it checks for the length of
the content.files property, whether that property exists in
the config or not.
2018-06-19 21:21:12 -06:00
Tyler Reitz
3f2ae00cbc feat: adds helpful error message when files is overridden or empty (#96) 2018-06-19 14:10:23 -06:00
Tyler Reitz
2c9f47629b feat: adds ability to remove contribution types when editing existing user (#94)
* adds ability to remove contribution types when editing existing user

* removes .swp file

* refactor: concat types in all cases except when removing
2018-06-19 14:09:05 -06:00
Andrew Lisowski
4f7bbdf56f chore: run prettier on everything #98 (#99)
* run prettier on everything

* add hipstersmoothie as contributor
2018-06-08 17:35:29 -06:00
Md Zubair Ahmed
526d4dbba2 fix: Wrong contribution type being added to .all-contributorsrc (#78)
* initial issue fix

* tests added

* revert unneisary lint change to untouched file

* added myself

* no contribution types when adding a contributor error handled

* revert commit 1bdb51eadf

* reverted readme back to commit# f697c73c48

* further reverted Readme to master

* removed generated index from rm

* removed generated index from rm

* breaking change to cli fixed:

* Update prompt.js

* Update prompt.js

* added code and test in my contribution

* list of invalid contributions added in error message

Closes #71
2018-06-08 13:11:29 -06:00
Md Zubair Ahmed
c4a0484759 fix: error out when projectOwner & projectName is not set in .all-contributorsrc file. (#80)
* error message when no project name and project owner is added in the init command

* moved error message away from init prompt

* 1. placed json parse in try catch
2. added check for owner and name in getcontributionsfromgithub before constructing url

* added check before config file is written

* changes as per https://github.com/jfmengels/all-contributors-cli/pull/80#pullrequestreview-85678121

* uncommented code

* tests added

* Added myself to contributors table

* test inside utils were moved to github in master branch

* changes to validation check, instead of checking for empty string to null obj value

* typo fixed

* unnecisary check.js file removed
2018-05-29 14:26:25 -06:00
Kent C. Dodds
1562a379db
fix(links): add default for links 2018-03-12 10:18:20 -06:00
João Marques
152a1fe30a feat: add support for GitLab repositories (#84) 2018-02-23 15:13:41 +01:00
David Menendez
ab41caa0c7 fix: surface the message when the check api returns an error (#85) 2018-02-23 08:46:07 +01:00
Mehdi Achour
99871508e8 build: disable complexity lint check 2017-12-25 13:27:15 +01:00
Chris Vickery
5f9fa20346 fix: support contributors without github accounts (#77) 2017-12-13 09:34:06 -07:00
Kevin VanGelder
6fa55d5bd5 feat(types): add platform type (#75) 2017-11-25 07:03:18 -07:00
Kent C. Dodds
383b3fd015 fix: cli 2017-11-22 11:48:15 -07:00
Kent C. Dodds
ba248a99d8
feat: add prettier-ignore to output (#74) 2017-11-22 11:24:01 -07:00
Kent C. Dodds
482a8ab956
chore: upgrade and migrate tooling stuff (#73)
* codemod

* move files

* install kcd-scripts and set up some stuff

* make everything work

* update md files

* change a few things
2017-11-22 11:09:06 -07:00