Sebastian Meyer
0d62406d0b
feat: GithubWorkflowStatus event query string ( #5442 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-08-19 23:09:24 +00:00
chris48s
270c29f757
auto-detect default branch on [github nycrc osslifecycle] ( #5234 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-06-25 20:15:20 +00:00
Caleb Cartwright
f02df4f826
support custom manifest path for [GitHubManifest] and fix service tests ( #5232 )
...
feat: custom manifest path for GH Manifest + fix tests
2020-06-22 19:20:56 +01:00
Joe Izzard
a17bb10662
Implement All Contributors Badge, run [GitHubAllContributors] ( #5163 )
...
* feat: added all-contributors badge and test
* Update services/github/github-all-contributors.service.js
Updated to schema to ensure the array always exists
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
* fix: added branch to parameters
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
2020-06-03 22:44:49 -05:00
chris48s
064a3418a3
fix [githubpullrequestcheckstate] service test ( #5128 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-05-23 13:59:56 +00:00
chris48s
13d75e0607
upgrade to prettier 2 ( #5051 )
...
* arrowParens: avoid
* remove trailingComma setting
2020-05-05 21:07:43 +01:00
chris48s
4d275e0642
upgrade to got 11 ( #5008 )
2020-05-02 17:39:23 +01:00
Paul Melnikow
6bc0d40c37
Fix production crash in [GithubStars] with trailing spaces ( #4983 )
...
* Fix production crash in [GithubStars] with trailing spaces
Closes #4982
* Remove .only()
Co-authored-by: chris48s <chris48s@users.noreply.github.com >
2020-05-01 20:46:42 +00:00
Paul Melnikow
f9d5f57f49
Delay start until the server is ready ( #4959 )
...
Fixes #4958
Fixes, but only in Heroku, #3771 , so let's keep that open.
2020-04-27 22:45:19 -04:00
dependabot-preview[bot]
478d14300c
Build(deps-dev): bump eslint-plugin-import from 2.20.1 to 2.20.2 ( #4859 )
...
* Build(deps-dev): bump eslint-plugin-import from 2.20.1 to 2.20.2
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.20.1 to 2.20.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases )
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.20.1...v2.20.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Fixes
* refactor: combine imports
* refactor: combine imports
* refactor: combine imports
* refactor: update import ordering
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
Co-authored-by: Paul Melnikow <email@paulmelnikow.com >
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
Co-authored-by: Caleb Cartwright <caleb.cartwright@outlook.com >
2020-04-16 18:39:13 -05:00
Jacob Colvin
792ecb7c01
Add [github] Milestone service ( #4747 )
...
* Add isMetricOverMetric test validator
* Add Github Milestone and Milestone-Detail
Co-authored-by: Pierre-Yves B <PyvesDev@gmail.com >
2020-03-09 21:10:12 +00:00
chris48s
d8831729cb
Check request origin before sending credentials ( #4729 )
...
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
Co-authored-by: Paul Melnikow <github@paulmelnikow.com >
Co-authored-by: chris48s <chris48s@users.noreply.github.com >
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
Co-authored-by: Paul Melnikow <github@paulmelnikow.com >
Co-authored-by: chris48s <chris48s@users.noreply.github.com >
2020-03-04 20:42:27 +00:00
François Hodierne
0d8a2d5ca0
Update to eslint 6.8.0 [appveyor githubissuedetail packagist] ( #4489 )
...
* update to eslint 6.8.0 and related packages
* Fixes for no-prototype-builtins
* Updates for explicit-function-return-type
* Add ignores for no-explicit-any
* update to eslint 6.8.0 and related packages
* Fixes for no-prototype-builtins
* Updates for explicit-function-return-type
* Add ignores for no-explicit-any
* package: activate eslint-config-standard
* apply updated eslint configuration
* lint: apply eslint feedback after rebase
* Update lockfile
* Update lockfile
* Restore missing deps
* Update lockfile
* Re-add eslint-plugin-node
* Add eslint-plugin-standard and eslint-plugin-react-hooks
* Clean lint
Co-authored-by: Paul Melnikow <github@paulmelnikow.com >
2020-02-29 11:06:36 -06:00
Anton Gilgur
7f7ecfd111
add sort and prerelease query params to [GitHubCommitsSince] (also refactors [GitHubRelease], [GitHubTag]) ( #4395 )
...
* move getLatestRelease logic from [GitHubRelease] to common-fetch
- so that the sorting and prerelease logic can be used for other
services too, like commits-since
* add sort and prerelease query params to [GitHubCommitsSince]
- they only work when using the 'latest' version of course
- uses same logic as release service
* reuse queryParamSchema from common-fetch for [GitHubTag]
- as they were the exact same schema
* refactor [GitHubCommitsSince] tests to use withRegex
- and the same variable everywhere
* split out release/tag logic from common-fetch to common-release (affects [GitHubCommitsSince], [GitHubRelease], [GitHubTag])
- this logic is only used for code related to releases & tags, so made
sense as a split point
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
2020-02-13 22:18:29 -06:00
Pedro Fracassi
d80636b101
Add [GithubLerna] badge ( #4265 )
...
* Add GitHub Lerna badge
* Add tests, rename class, rework base path, support independent tag
* Switch label to be 'lerna' in all cases
* Run Prettier
Co-authored-by: Pierre-Yves B. <PyvesDev@gmail.com >
2020-02-03 22:34:09 +00:00
chris48s
7d2089e315
skip flakey test ( #4616 )
2020-02-03 20:59:52 +00:00
chris48s
347e0a81f3
set followRedirect: false by default in tests ( #4491 )
...
* set followRedirect: false by default in tests
* update tests implicitly relying on redirects
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-01-07 21:13:48 +00:00
chris48s
9a6b96effc
Use expectRedirect helper in redirect tests; affects [circleci codeclimate codecov discourse endpoint github jenkins jira jitpack lgtm maven nexus scrutinizer sonar swagger symfony teamcity travis twitter vso waffle website wordpress] ( #4481 )
...
* Convert remaining tests to use expectRedirect() helper
* convert last few redirect tests to use svg not json
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-01-03 21:39:58 +00:00
Patric Stout
453821c40e
Add [GithubDeployments] badge ( #4477 ) ( #4478 )
...
* Add GitHub Deployments badge (#4477 )
* require a message
Co-authored-by: chris48s <chris48s@users.noreply.github.com >
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2019-12-31 18:13:16 +00:00
Caleb Cartwright
c455993a4d
add support for [GitHubWorkflowStatus] (Actions) using BaseSvgScraping service implementation ( #3898 )
...
* feat: add BaseSvgScraping service impl for GH Actions
* chore: fix GH Actions service test name
* feat: add branch support to GH Actions/Workflows
* chore: fix schema for GH actions
* refactor: update route path per PR discussion
2019-11-27 07:36:37 -06:00
dependabot-preview[bot]
0f332413df
Build(deps-dev): bump prettier from 1.18.2 to 1.19.1 ( #4328 )
...
* Build(deps-dev): bump prettier from 1.18.2 to 1.19.1
Bumps [prettier](https://github.com/prettier/prettier ) from 1.18.2 to 1.19.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/1.18.2...1.19.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Build(deps-dev): bump prettier from 1.18.2 to 1.19.1
Bumps [prettier](https://github.com/prettier/prettier ) from 1.18.2 to 1.19.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/1.18.2...1.19.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* chore: apply new prettier formatting
* chore: try prettier, again
2019-11-15 19:33:40 -06:00
Paul Melnikow
414a77f3a8
Fix [GithubRelease] not found case with include_prereleases ( #4304 )
...
With a couple minor stylistic changes for readability.
Closes #4303
2019-11-07 15:04:02 -07:00
Caleb Cartwright
5a4f705e8f
fix [GitHubHacktoberfest] service test ( #4299 )
...
* tests: fix hacktoberfest service test
* tests: update message for post-hacktoberfest, add couple unit tests
* chore: lgtm fix
* tests: fix unit test
2019-11-06 04:47:56 -06:00
Hubert Jagodziński
727a033a9b
Added [GithubGoModGoVersion GitHub] badge ( #4232 )
...
* Added Go version badge
* Using destructuring assignment
* Allowing a client to specify a filename
* Turned a test to live one
* Added golang to keywords
* Renamed parseContent to transform
* Added an example with branch and filename
2019-10-31 12:58:23 -05:00
Paul Melnikow
8d088a2672
Add filename override to [GithubPackageJson] ( #4233 )
...
Refs https://github.com/badges/shields/issues/2259#issuecomment-545485159
2019-10-24 23:19:45 +00:00
chris48s
a66e4f9e10
change query for fork count ( #4150 )
2019-10-08 19:15:29 +01:00
Paul Melnikow
76cb943858
Add a GitHub project badge for Hacktoberfest [GithubHacktoberfest] ( #4109 )
2019-10-02 22:05:56 -04:00
Paul Melnikow
33a6c5398d
Fix an undefined variable in [GithubPackageJson] ( #4113 )
...
* Fix an undefined variable in [GithubPackageJson]
Make sure this gets linted in the future.
* Run prettier
2019-10-02 21:26:12 +00:00
Paul Melnikow
a5b2f5436c
Optimize [GithubIssues] using GraphQL ( #4107 )
...
While playing around with a badge for Hacktoberfest I noticed the GitHub Issues badge fetches a huge amount of JSON to render just the total count. There doesn’t seem to be a way to limit the response size through the REST API, so I thought I’d switch this to use GraphQL instead.
2019-10-02 19:34:14 +00:00
Paul Melnikow
e8d49f2504
Add dependency badge for Pipenv applications [GithubPipenv] ( #4096 )
...
I recently published https://github.com/metabolize/rq-dashboard-on-heroku and want to add badges to show the locked version of Python and rq-dashboard, the main dependency it’s wrapping.
This is along the lines of #2259 , which was for package.json-based applications, and also included some discussion of a Python application that used `requirements.txt`. It’s useful for showing the pinned version of any dependency in a Python application that uses a lockfile.
In the future, as an alternative to reading Pipfile.lock, I could see expanding this to read Pipfile. However for my purposes I prefer to show the locked dependency, since that’s the version that a user of my package would actually get if they ran it on Heroku.
2019-10-02 15:24:14 -04:00
Pierre-Yves B
157a6180b2
Make search work with category names ( #4103 )
2019-10-02 20:03:59 +01:00
seetd
51d879d7d2
fix: use repos from badges organization for GithubContributors ( #4104 ) ( #4105 )
...
Fixes #4104
2019-10-02 00:21:46 -05:00
Caleb Cartwright
76b2e2634a
fix(GitHubDownloads): type error on latest with pre-downloads ( #4030 )
2019-09-16 01:08:39 +00:00
Patrick Faion
9c5ecc2c2d
Add service for [GitHubLabels] ( #3902 )
...
* Add service for github labels
* Set better category
Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com >
* Add more restrictive schema for color property
Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com >
* Make error message more consistent
2019-08-24 17:01:32 -05:00
chris48s
20202b5bfa
convert eslint-jsdoc warnings to errors ( #3882 )
...
* convert eslint-jsdoc warnings to errors
* appease linter
2019-08-18 20:05:18 +01:00
chris48s
5168675d0d
move [githubtag] and [githubrelease] under /v, move variants to query params ( #3610 )
...
* move GH tag and release under /v, move variants to query params
- move github /tag and /release under /v
- both sort by date as default
- specify sort=date/semver, include_prereleases as query params
- use graphql api for tags
* pass string params from example defs to modal
2019-08-17 22:16:41 +01:00
chris48s
75ee413178
Add BaseGraphqlService, support [github] V4 API ( #3763 )
...
* add base class for Graphql APIs
* add GithubAuthV4Service + updates to GH token pool
* update github forks to use GithubAuthV4Service
* rename GithubAuthService to GithubAuthV3Service
2019-07-29 21:42:03 +01:00
Pierre-Yves B
3dbe655611
Display one decimal for metrics smaller than 10 ( #3735 )
...
* Display one decimal for metrics smaller than 10
* Update test validators
* Run Prettier
* Update GitHub regexes
2019-07-17 20:00:29 +01:00
Paul Melnikow
65afff40d4
Fix up Redis config ( #3705 )
...
- Move to private
- Fix validation
- Don't log the URL
Ref #3332
2019-07-12 19:12:49 -04:00
Paul Melnikow
46ac947e9b
Refactor auth config checks in another test ( #3698 )
...
This is one more like #3694 .
Ref #3652 #3393
2019-07-11 20:00:20 -04:00
Paul Melnikow
e2608a6570
Refactor GitHub OAuth credential handling ( #3693 )
...
Continues the work of #3652 .
2019-07-11 18:04:53 -04:00
dependabot-preview[bot]
294aa1e1df
Build(deps-dev): bump eslint-plugin-import from 2.17.3 to 2.18.0; autofixes ( #3671 )
...
* Build(deps-dev): bump eslint-plugin-import from 2.17.3 to 2.18.0
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.17.3 to 2.18.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases )
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.17.3...v2.18.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Autofixes
2019-07-08 12:13:46 -04:00
Paul Melnikow
9b3db0774b
Deprecate shields-server.com domain ( #3666 )
...
Now that these s0.server.shields.io entries are set up through the main DNS on Cloudflare, we don't need the shields-server.com domain anymore. One less thing to maintain.
2019-07-07 16:37:42 -04:00
Paul Melnikow
9b6a51b61e
Convert a format to pattern in [githubpackagejson] ( #3660 )
...
This now relies on the order in which these are registered, though that seems okay. Exporting them as an array guarantees that.
Ref #3329
2019-07-07 12:41:30 -04:00
Paul Melnikow
0f19806c58
Bump nock from 11.0.0.beta-14 to 11.0.0.beta-20 ( #3616 )
...
* Bump icedfrisby and icedfrisby-nock
* Bump nock from 11.0.0.beta-14 to 11.0.0.beta-20
Hoping the changes from #3615 will fix the issues that appeared at https://github.com/badges/shields/pull/3552#issuecomment-504610847
* Fix apm tests
* Fix githubcommitstatus
2019-06-28 15:50:17 -04:00
dependabot-preview[bot]
95b6e48bff
Build(deps-dev): bump nock from 11.0.0-beta.14 to 11.0.0-beta.19 ( #3552 )
...
* Build(deps-dev): bump nock from 11.0.0-beta.14 to 11.0.0-beta.19
Bumps [nock](https://github.com/nock/nock ) from 11.0.0-beta.14 to 11.0.0-beta.19.
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/beta/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Fix one test
* Update for breaking change in nock api
* Always use got without retries in tests
2019-06-21 10:45:34 -04:00
dependabot-preview[bot]
d732b937c9
Build(deps-dev): bump prettier from 1.17.1 to 1.18.2 ( #3580 )
...
* Build(deps-dev): bump prettier from 1.17.1 to 1.18.2
Bumps [prettier](https://github.com/prettier/prettier ) from 1.17.1 to 1.18.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/1.17.1...1.18.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* chore: prettier
2019-06-17 19:15:44 -05:00
chris48s
8621fe42d7
Upgrade Joi ( #3505 )
...
* upgrade joi
* find & replace ALL THE THINGS
* update related deps
2019-06-02 21:59:55 +01:00
chris48s
65dba94fa8
Stop calling variables "which"; affects [chocolatey codeclimate conda crates debug gem github mozillaobservatory nuget powershellgallery pub resharper vaadindirectory] ( #3495 )
...
* which --> variant
* which --> alias
* which --> format
* improve param names in codeclimate
* improve param names in github-issue-detail
* update github-issue-detail unit tests
2019-05-28 23:00:12 +01:00
Caleb Cartwright
37030b92a0
tests(GitHubReleaseDate): fix service tests ( #3477 )
2019-05-23 19:31:49 +01:00