Commit Graph

1093 Commits

Author SHA1 Message Date
Caleb Cartwright
6dc8aac451 feat: create new Test Results category (#7218)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-05 22:35:40 +00:00
chris48s
b79e00db14 migrate regularUpdate() from request-->got (#7215)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-03 19:53:18 +00:00
chris48s
32dd99c540 Two minor docstring fixes (#7216)
* fix XmlElement ref in docstring

* make sure jsdoc picks up renderDownloadsBadge() docstring
2021-11-03 18:49:10 +00:00
chris48s
eb07b60cf0 migrate github badges to use got instead of request; affects [github librariesio] (#7212)
* migrate github badges to use got instead of request

* simplify creation of requestFetcher in libraries.io base

* improve libraries.io connection error test

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-31 16:19:09 +00:00
Caleb Cartwright
8fcde9de85 refactor: use renderDownloadsBadge helper in remaining classes (#7211)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-31 16:10:05 +00:00
Caleb Cartwright
c3d213c65c deprecate David badges (#7197) 2021-10-31 11:01:31 -05:00
Caleb Cartwright
89410389e0 use downloads renderer in next batch of classes, run [hexpm homebrewdownloads jenkinsplugininstalls jetbrainsdownloads jsdelivr modrinth]] (#7210)
* refactor: use downloads renderer in next batch of classes

* chore: run prettier
2021-10-31 10:55:25 -05:00
Caleb Cartwright
c294b12f42 fix: GitHub Package Json test (#7198)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-29 02:19:31 +00:00
Caleb Cartwright
1011cd5483 fix: ensure libraries.io header values are processed numerically (#7196) 2021-10-28 21:09:46 -05:00
Caleb Cartwright
ae58e4a211 Add authentication for Libraries.io-based badges, run [Libraries Bower] (#7080)
* feat: support authentication on Libraries.io requests

* feat: wire up libraries.io config and api provider instantiation

* feat: create libraries.io and bower base classes

* refactor: tweak libraries/bower service classes and tests

* rename request fetcher function/arg

* throw exception when no tokens available

* cleanup old value

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-28 19:21:24 -05:00
chris48s
6e100bf274 fixes and tests for pipenv helpers (#7194) 2021-10-28 17:54:09 +01:00
Caleb Cartwright
e4e7b09009 Add a render helper for downloads badges, run [amo ansible apm chromewebstore clojars conda crates docker dub eclipse gem githubdownloads] (#7163)
* refactor: add render helper for downloads badges

* refactor: use new helper in some download badge classes

* doc renderer function

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-26 23:19:20 +00:00
Caleb Cartwright
50c0be0029 add GitLab Release badge, run all [GitLab] (#7021)
* feat: add GitLabRelease badge

* use single project route param

* add query param for date ordering

* add test for nested subgroup

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-22 22:08:42 -05:00
chris48s
14f64d17a8 Revert "got --> node-fetch" (#7175)
This reverts commit b209f5c63a.
2021-10-21 18:01:10 +01:00
chris48s
a8214b74cf fix [github] release/tag/download schema (#7170)
closes #7169
2021-10-18 19:20:25 -05:00
Caleb Cartwright
a43c98a89a Supported nested groups on [GitLabPipeline] badge (#7159)
* feat: supported nested groups on gitlab pipeline status badge

* satiate the formatting gods

* use main as default branch

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-16 19:12:02 +00:00
Caleb Cartwright
694b07d636 Support nested groups on [GitLabTag] badge (#7158)
* refactor: support groups on gitlab tag badge

* fix mocked test

* add nested subgroup test

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-16 18:47:03 +00:00
Chris Carini
f04826a661 Fixing incorrect JetBrains Plugin rating values for [JetBrainsRating] (#7140)
* Fixing incorrect JetBrains Plugin rating values for [JetBrainsRating]

Fixes #7139

* Improving the `votes` `Joi` schema

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-15 04:13:29 +00:00
Caleb Cartwright
bfc2f96dc0 support using release or tag name in [GitHub] Release version badge (#7075)
* feat: support using release or tag name in GitHubRelease version badge

* add comment to query param test

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-14 22:41:27 +00:00
Caleb Cartwright
8a6eba330e feat: support branches in sonar badges (#7065)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-13 21:31:45 +00:00
Dominik Grzelak
5b5ffce5b2 Add [Modrinth] total downloads badge (#7132)
* Add [Modrinth] total downloads badge

* Check that [Modrinth] downloads value is non-negative

* Remove unnecessary test for negative downloads value

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-10 18:43:10 +00:00
Caleb Cartwright
b3199b23b3 refactor and simplify [AzureDevOpsTests] (#7076)
* refactor: simplify AzureDevOpsTests service tests via helpers

* refactor: apply standard service class patterns to AzureDevOpsTests class

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-09 16:39:09 +00:00
Caleb Cartwright
de5bd01557 tests: update requires.io service test targets (#7081)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-09 15:36:59 +00:00
chris48s
b209f5c63a got --> node-fetch (#6914) 2021-10-08 17:27:50 +01:00
chris48s
0ce98396d7 remove [github] admin routes (#7105) 2021-10-05 17:17:26 +01:00
Caleb Cartwright
42a9ca6444 feat: add 2021 support to GitHub Hacktoberfest (#7086)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-04 15:00:14 +00:00
Marc Bernard
ca927fd5d8 Add [ClearlyDefined] service (#6944)
* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* [ClearlyDefined] New badge

* Add HTTP 500 error message

Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* Update error message for test

* Handle incomplete response

* Make file count optional

* Use NotFound

Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-29 02:10:01 +00:00
Caleb Cartwright
aa38625b86 refactor: cleanup AppveyorTests with by using shared helpers (#7077)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-27 23:09:00 +00:00
Caleb Cartwright
a3e2b2ff28 handle null licenses in crates.io response schema, run [crates] (#7074)
* fix: handle null licenses in crates.io response schema

* more tests for crates license badge

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-27 22:53:09 +00:00
Caleb Cartwright
14a65ba38f change [JenkinsTests] targets to get service tests working again (#7068)
* fix: change JenkinsTests targets to get service tests working again

* update example to match working job url

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-26 21:16:13 +00:00
Caleb Cartwright
ca0defa0a7 refactor: switch to David status API and update error handling (#7070)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-26 20:59:44 +00:00
Caleb Cartwright
926e62f927 fix: annotate false lgtm hardcoded creds alert (#7069)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-26 20:05:00 +00:00
Florian "sp1rit
8a9efb2fc9 [OBS] add Open Build Service service-badge (#6993)
* service: add obs service

* service: obs: replaced replaceAll with replace and global regex

* service: obs: added space between class members

* service: obs: support for multiple instances

* service: obs: removed user prefix from auth vars

obs_userName is now called obs_user and obs_userPass is called obs_pass

Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* service: obs: removed constructor hack in favour of serviceKey

* service: obs: apply suggestions from @calebcartwright

* service: obs: remove unneccesary http status mappings

Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-25 17:44:56 +00:00
Caleb Cartwright
961e13b229 Add API-based support for [GitLab] badges, add new GitLab Tag badge (#6988)
* Added GitLab Tag service

* Added prettyMessage for when repo has no tags

* Added pretty message for repo not found

* core: esm-ify gitlab tag service

* feat: support gitlab auth

* feat: support custom gitlab url on tag badges

* tests: add auth test for gitlab

* docs: fix gitlab config key references

* feat: support gitlab tag sorting options

* docs: add custom gitlab instance example for tags badge

* use v in gitlab route

* fix: gitlab tag examples

Co-authored-by: Ideotec <guille@ideotec.es>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-14 23:06:57 +00:00
Caleb Cartwright
6bb62e4c0b tests: fix dockerversion service test (#7014)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-14 22:46:31 +00:00
Caleb Cartwright
721d0142ff tests: fix spigetdownloadsize service test (#7018) 2021-09-14 22:30:14 +00:00
Seth Falco
13a53f123f [freecodecamp]: allow + symbol in username (#7016) 2021-09-13 18:21:26 -05:00
Pierre-Yves B
ca63f21113 Stop attempting to override Accept header in [GitHub] API provider (#7013) 2021-09-12 20:48:23 +01:00
chris48s
042ae1c45f update branch in [githublernajson] test (#7012)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-12 18:17:58 +00:00
J. Ryan Stinnett
8284545e22 Rename Riot to Element in Matrix badge help (#6996)
The Riot Matrix client was renamed to Element in July 2020 (https://element.io/blog/welcome-to-element/). This updates the Matrix badge help text to match.
2021-09-08 17:07:53 +00:00
Rohit Sah
8a1c69ead6 Fixed Reddit Negative Karma Issue (#6992) 2021-09-07 19:49:02 +01:00
Caleb Cartwright
1b871a97b4 refactor: update VS Marketplace Ratings badges for unrated extensions (#6986)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-04 17:33:01 +00:00
Caleb Cartwright
76ca283775 refactor(GitHubCommitActivity): switch to v4/GraphQL API (#6959)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-08-29 17:59:36 +00:00
Seth Falco
b02471ff42 feat: add freecodecamp badge (#6958)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-08-28 16:55:11 +00:00
Pierre-Yves B
1aea78a5d0 Fix [MyGet] version example and test (#6940) 2021-08-23 21:06:29 -05:00
Pierre-Yves B
8fd54b1b8d Switch all shields.io links to https (#6935) 2021-08-22 17:20:59 +01:00
chris48s
dabc907fc5 update [requires] test/example (#6913)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-08-19 17:21:59 +00:00
nixxquality
70947e1ff0 [TwitchExtensionVersion] New badge (#6900)
* Create Twitch Extension Version badge

* skip tests when there's no token

* use renderVersionBadge

* improve joi schema

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-08-19 16:13:29 +00:00
chris48s
48b7f70ef2 remove disableStrictSsl param from [jenkins] (#6887)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-08-18 19:40:41 +00:00
chris48s
8e0788ccdc enforce strict SSL checking for [coverity] (#6886)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-08-12 19:04:11 +00:00