Commit graph

91 commits

Author SHA1 Message Date
QriLa | Hyeon Gu
554667bfdd
feat: Add width and valign attributes for cleaner <td> (#344) 2022-10-11 04:52:06 +08:00
Angel Aviel Domaoan
0be7a63481
fix: cleanup table footer (#341) 2022-10-06 22:20:28 +08:00
Angel Aviel Domaoan
8fc7c7e689
feat: add contribution type promotion (#339) 2022-10-05 05:20:53 +08:00
Jake Bolam
b41e668fe4
feat: add footer with link to usage (#163) 2022-09-28 09:54:52 -07:00
Rambaud Pierrick
7a9150fa52
feat: adapt to rst (#301)
Co-authored-by: Maximilian Berkmann <maxieberkmann@gmail.com>
Co-authored-by: Angel Aviel Domaoan <13580338+tenshiAMD@users.noreply.github.com>
2022-09-27 17:07:15 +00:00
Angel Aviel Domaoan
109b2614d2
fix: set alt value for contributor image with no complete name (#335) 2022-09-24 01:17:50 +08:00
Angel Aviel Domaoan
9d82568f41
fix: add alt value for contributor image (#334) 2022-09-23 09:55:19 -07:00
Angel Aviel Domaoan
94b555e274
fix: set commitConvention default same as app (#318) 2022-09-23 09:49:38 -07:00
Josh Goldberg
097f741c79
refactor: log full error stack on error (#316) 2022-09-10 09:17:27 +08:00
Chad Dougherty
531b7e1c4a
fix: incorrect usage of tbody (#311) 2022-09-09 00:00:44 +08:00
Dominic Saadi
5df6b47f8a
fix: trim nextLink before slicing (#309)
fix: trim `nextLink` before slicing
2022-09-07 08:31:03 +00:00
Jake Bolam
e1fd794ef7
fix: set default value as 7 for contributorsPerLine (#139)
fix: set default value as `7` for `contributorsPerLine`

Co-authored-by: Maximilian Berkmann <maxieberkmann@gmail.com>
Co-authored-by: Angel Aviel Domaoan <13580338+tenshiAMD@users.noreply.github.com>
2022-09-07 08:27:30 +00:00
Pierre Huyghe
deb6be93f0
refactor: add tbody to contributors table (#307)
* refactor: add tbody to contributors table

* chore(node): bump version to lts

* fix(html): add correct indentation

* test(url): fix bind error message

Co-authored-by: Pierre Huyghe <phuyghe.externe@bedrockstreaming.com>
2022-09-07 16:19:41 +08:00
Lucas Cimon
d3b8f8889d
fix: scriptName + improving usage messages (#305)
* Improving usage messages + fixing scriptName

* Fixes post-review
2021-11-29 22:51:02 +00:00
SirWindfield
a8227af31c
feat: add namespaced token (#296)
* feat: add namespaced token

This commit adds the possibility to specify the private token via the
ALL_CONTRIBUTORS_PRIVATE_TOKEN environment variable. If the environment
variable is not set it will fall back to the previous behavior and check
for PRIVATE_TOKEN instead.

Closes #294

* style: remove irregular whitespace

* refactor: remove unneeded parenthesis
2021-02-13 16:25:11 +00:00
LaChapeliere
f9f2866bbb
feat(contribution-types): add research contribution type (#291)
* feat(contribution-types.js): add research contribution type

Add a research contribution type with microscope emoji, for people doing literature review, code
prototyping or any other research-related activity.

#446

* fix(contribution-types.js): fix name and position of added type

Fix name of added type (was "question" due to copy pasting) and position (alphabetical order)

#446

* Transform emoji code into emoji

Co-authored-by: Maximilian Berkmann <maxieberkmann@gmail.com>

Co-authored-by: Maximilian Berkmann <maxieberkmann@gmail.com>
2020-10-09 19:34:34 +01:00
Darek Kay
d517440203
feat: display a meaningful error when the config file is missing (#288)
* feat: display a meaningful error when the config file is missing

## What

When you try to add a user with `.all-contributorsrc` missing, you will get a cryptic error message (see also all-contributors/all-contributors#378):

```
$ all-contributors add darekkay maintenance
Cannot read property 'then' of null
```

This PR displays a meaningful error message in this case.

## Why

So users know what's causing the problem.

## How

Before a contribution is being added, the script checks whether the config file exists. If it doesn't, an error message is being displayed:

```
$ all-contributors add darekkay maintenance
Configuration file not found: C:\projects\test\.all-contributorsrc
```

* docs: add darekkay as a contributor

* refactor: fixed typos

* docs(readme): table rectification

Co-authored-by: Maximilian Berkmann <maxieberkmann@gmail.com>
2020-10-04 21:44:02 +01:00
Darek Kay
d44b70a1f0
refactor: return a Promise instead of relying on callback parameter (#289) 2020-10-04 21:11:18 +01:00
Shai Reznik
5c506a526c
fix(github): show the actual error message (#286)
* fix: 🐛 show actual github error message

* refactor(github): replaced "github" with "GitHub"

Co-authored-by: Berkmann18 <maxieberkmann@gmail.com>
2020-09-20 11:52:21 +01:00
Erek Speed
1affe41308
fix: make all-contributors output prettier compliant. (#283)
Fixes #441
2020-09-16 22:28:03 +01:00
Jeroen Claassens
374d07635f
fix: fixed thrown error message (#280)
This accidentally got in as I was copypasting code as part of #277
2020-08-16 10:27:40 +01:00
Jeroen Claassens
74f3b710a6
refactor: move from "request" to "node fetch" (#277)
* feat: migrate from request to node-fetch

* docs(readme): add favna for all contributors

* fix: forgot to refactor this one

* style(gitlab): fixed formatting issues

Co-authored-by: Berkmann18 <maxieberkmann@gmail.com>
2020-08-14 10:21:34 +01:00
David Anson
8af13c3f5e
fix: replace markdownlint-enable with markdownlint-restore to restore (vs. enable all) previous rules (fixes #276). (#278) 2020-08-14 10:18:31 +01:00
Markus Löning
3bb4a03008
feat(contribution-types): adds mentoring (#274)
* feat: 🎸 Add mentoring

* style: remove white spaces
2020-07-24 13:37:44 +01:00
Paweł Kowalski
fc2d05e6b9
perf: add image size to avatar url to improve performance (#269)
Co-authored-by: Maximilian Berkmann <maxieberkmann@gmail.com>
2020-06-28 17:58:51 +01:00
Piotr Stępniewski
b77f86bf7f
feat(repo): github profile url should be valid (#268)
* feat(repo): github profile url should be valid

* docs: add k3nsei as a contributor
2020-06-07 21:38:12 +01:00
Maximilian Berkmann
bcc0d99fd0
feat(contribution-types): add missing contribution types (#261) 2020-05-24 10:46:50 -07:00
allcontributors[bot]
d26cd47c81
docs: add MarceloAlves as a contributor (#222)
* docs: update README.md

* docs: update .all-contributorsrc

* docs(readme): re-generated the table

* docs(readme): table fix

* fix(generate): experimental fix

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Berkmann18 <maxieberkmann@gmail.com>
2020-05-24 01:43:59 +01:00
Andrew Lisowski
db5d731d96
fix(repo): pass optionalPrivateToken to recursive calls (#258) 2020-04-17 18:20:41 +01:00
Alex Chan
b3d0995a65
feat(alpha-sort): Add a parameter contributorsSortAlphabetically (#249)
This parameter allows the user to sort the list of contributors in
alphabetical order of their name.
2020-02-23 17:32:21 +00:00
Andrew Lisowski
0965095ecd feat: support Github Enterprise (#97)
* add isEnterprise config option and add function to change hostname if on enterprise

* add hipstersmoothie as contributor

* infer enterprise API

* handle enterprise authentication

* add tylerkrupicka as a contributor

Co-authored-by: Tyler Krupicka <tylerkrupicka@gmail.com>
Co-authored-by: Maximilian Berkmann <maxieberkmann@gmail.com>
2020-01-17 20:09:58 +00:00
Stefano Moia
0993a90a57 feat(contribution-types): added "Data" contribution (#231)
* feat(contribution-types): added "Data" contribution

* Updated node and yarn versions to pass CI

Co-authored-by: Maximilian Berkmann <maxieberkmann@gmail.com>
2020-01-03 22:22:24 +00:00
Jake Bolam
dbb05a4dd8
fix: fix badge replacement (#232) 2019-12-08 20:05:05 -05:00
Anand Chowdhary
3382821641 fix: a11y issue by removing unnecessary alternate text (#217) (#218)
* fix(a11y): Remove unnecessary alternate text

* fix: Remove alternate text from test images
2019-11-28 08:13:30 -05:00
James George
7d83c7cac1 chore: make use of inhouse command recommendation (#228) 2019-11-27 19:49:17 +00:00
Nicolas Goutay
f38e0c8e87 feat: add a11y contribution type (#223)
* feat: add a11y contribution type

* Fix missing comma in `contribution-types.js`
2019-11-13 10:38:04 +00:00
Marcelo Alves
deee5d0a01 feat: add review links (#213)
* feat: 🎸 add review links

* docs: add marceloalves to contributors
2019-11-06 01:52:44 +00:00
kharaone
72de75abc5 fix: using a custom badge template breaks badge replacement (#210) 2019-10-20 00:45:00 +01:00
Fabrizio
97878f496f fix: add contributions (#211)
* Fix issue #209

* Fix validation issue

* Add myself to contributors list
2019-10-18 23:59:50 +01:00
simon3000
a91145f0f3 fix: username might be a number (#203) 2019-09-16 17:33:28 +01:00
SnO₂WMaN
06bbb6ed78 feat: Add gitmoji option to commitConventions (#205) 2019-09-04 16:48:01 +01:00
simon3000
b87fd03489 fix(repo): test lint (#204)
Fixes src/repo/__test__/github.js
2019-09-02 17:15:43 +01:00
Rachel M. Carmena
fdea80649d fix: badge link change
Fix #195
2019-07-19 14:12:10 +01:00
Jeppe Reinhold
42bc241ba1 feat: Make markdownlint ignore generated contributors table (#194)
* add markdownlint-disable and scope prettier-ignore

* re-generate contributors

* set commitConvention to angular, sort .all-contributorsrc
2019-07-16 14:15:52 +01:00
Nick Schonning
68166eca69 feat: Pretty-print the generagted HTML table (#190)
Closes #189
Keeps the Table left aligned, and moves the tr and td in by 2 spaces each
2019-06-11 16:17:51 +01:00
Jake Bolam
354b5111d4 feat: init with all-contributors emoji (#136)
* feat: init with all-contributors emoji 

* test(init): updated test snapshot
2019-05-21 10:35:32 +01:00
Maximilian Berkmann
ebff1e8b88
feat: added a JSON handler/fixer (#165)
* feat: added a JSON handler/fixer [wip]

Added a module that will check JSON files and give a good level of details for errors while
attempting to fix it

re https://github.com/all-contributors/all-contributors-bot/issues/102

* refactor: consolidated the fix handler

Made the fixer a bit more concise and added the fields to allow for an auto-update of the config
file (if it was changed)

* chore(package): use another `jsonlint`

* refactor(config-file): use `json-fixer`

* chore(package): bump `json-fixer` to 1.3

* chore(package): bumped `json-fixer`
2019-05-20 09:47:51 +01:00
Maximilian Berkmann
febecff496
feat(init): creates the contributor file if not found (#158)
* feat(init): creates the contributor file if not found

If not found, the specified contributor file (defaulting to `README.md`) will be created prior to
injections in it.

re https://github.com/all-contributors/all-contributors-bot/issues/105

* refactor(init): renamed a module and its export

Renamed `check-file` to `file-exist` and its exported function to `ensureFileExists`

* test(init): added contributors file test

Added two test cases for the contributors file existence check
2019-05-07 16:48:58 +01:00
James George
9aa79485c2 feat:suggest matching commands if the user mistypes 🚧 (#181) 2019-05-07 11:42:18 -04:00
ehmicky
e639593c5d fix: default commitConvention to 'none' (#179) 2019-04-18 13:50:14 +01:00