Commit graph

74 commits

Author SHA1 Message Date
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
Maximilian Berkmann
2376ada660
feat: commit conventions awareness (#159)
* feat: commit convention awareness [wip]

fix https://github.com/all-contributors/all-contributors-bot/issues/132

* refactor(commit-conventions): added a tranformer for `angular` and refactored `none`

* feat(git): added lowercase transformation

With some refactoring
2019-04-15 15:05:00 +01:00
Maximilian Berkmann
925cde7992
feat(contribution-types): added Project Management (#176)
PR following up https://github.com/all-contributors/all-contributors/pull/199
2019-03-18 15:00:36 +00:00
Deepak
3e046b740c fix: add common error handling for missing or wrong username (#171) 2019-03-17 14:30:07 +00:00
Jake Bolam
e0240def24
fix: add additional new line for prettier (#168)
* fix: add additional new line for prettier

* update snpashot

* readme

* at end not start
2019-02-21 21:40:17 -05:00
Jake Bolam
fdd6b74547
fix: npm squish and cell centering (#164)
* fix: npm squish and cell centering

* readme

* wip

* wip

* tests
2019-02-08 08:38:05 -10:00
Jake Bolam
e4b22f8cd7
feat: use allcontributors.org (#160)
* use allcontributors.org

* update snap
2019-02-07 16:39:10 -10:00
Maximilian Berkmann
b0c3376ac4 BREAKING CHANGE: changed generator to an HTML based one (#157)
*BREAKING CHANGE*

* style(generate): changed generator to an HTML based one [WIP]

I added and set the HTML generator for resolving #154 (which works when testing manually but doesn't
when running the cli in dev mode).

fix #154

* refactor(generate): (re)moved files to keep it DRY

* refactor: refactored/updated tests

Update the contributors test (which wasn't already committed somehow) and tweaked the
`format-contribution-type` test.

* docs(readme): removed doctoc

BREAKING CHANGE: (in 2babe26b08) The resulting contributors table is in HTML/CSS instead of being in Markdown.

* refactor(generate): removed the style from the generation

Removed the `<style>` block from the generated HTML code as it's redundant on Github (since it's one
of the non-whitelisted tags). The `README.md` was also updated reflecting the breaking changes.

* refactor(generate): image height and tweaks

Added `height` to images for avatars, quoted some `<table>` attributes and updated `README.md`

* docs: drop TOC
2019-02-06 08:37:09 -10:00
Maximilian Berkmann
48fecd3ca7
feat(contribution-types): added business and content (#156)
I added the missing types for "Business development" and "Content".
2019-01-28 10:23:37 +00:00
Jake Bolam
21b694aee4
fix: add in contributorsPerLine on init (#149) 2019-01-18 13:47:56 -05:00
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