Commit Graph

1119 Commits

Author SHA1 Message Date
Tapan Chudasama
3fc1ef35bc replace label in hn-user-karma with U/ (#7500) 2022-01-18 17:52:50 -06:00
Jakub Fijałkowski
d5c38c92be Support [Feedz] response with multiple pages without items (#7476)
* Support Feedz response with multiple pages without items

* Parallelize fetches from Feedz when getting multiple pages

* Simplify schema management

* Retrun early if we don't need to fetch any more pages

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-01-16 18:55:57 +00:00
Pierre-Yves Bigourdan
94a8d945c3 Fix [CodacyCoverage] tests and examples (#7470) 2022-01-09 19:26:03 +01:00
Pierre-Yves Bigourdan
0d96a0ea7c Fix [CodeFactor] tests and example (#7471) 2022-01-09 19:16:30 +01:00
Pierre-Yves Bigourdan
bea98b3f9f Fix [Nexus] tests (#7472) 2022-01-09 19:11:16 +01:00
chris48s
bb5614df70 minor [reddit] improvements (#7436)
* apply colour scheme to reddit karma badge

* accept negative metric in reddit karma tests

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-12-29 18:26:44 +00:00
Tapan Chudasama
9069459435 [HackerNews] Show User Karma (#7411)
hackernews: add hn user karma badge
2021-12-28 20:12:00 +00:00
Piotrek Żygieło
3bdf1cb364 [YouTube] Drop support for removed dislikes (#7410)
* [YouTube] Support no longer supporting dislikes

* Drop dislikes and duplicated schema

* Remove YT dislikes

Co-authored-by: Piotrek Żygieło <pzygielo@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-12-23 04:14:26 +00:00
Caleb Cartwright
24355a0773 change closed GitHub issue color to purple (#7374)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-12-18 20:43:02 +00:00
chris48s
86895cf256 update [codacy] tests/examples (#7355)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-12-10 21:37:07 +00:00
chris48s
015c39336b throw on unexpected keys in expectBadge() (#7354)
* throw on unexpected object keys

* fix docs.rs tests

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-12-10 21:26:41 +00:00
aaronweldy
b53ac49f4a [GithubPackageJson] Get version from monorepo subfolder package.json (#7350)
* Add filename query params for subdirectory of monorepo

* Rename query param schema

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-12-05 20:51:12 +00:00
Caleb Cartwright
1f104b2280 tests: fix Jenkins Coverage service test (#7323)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-12-04 17:35:51 +00:00
Caleb Cartwright
567dce6367 tests: fix GitLab Tag service test (#7322)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-12-04 17:15:18 +00:00
Caleb Cartwright
c0642663b3 tests: increase timeout for tokei gitlab tests (#7275)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-12-01 20:51:25 +00:00
chris48s
feb1682814 Clean up cache module; affects [feedz jenkinsplugin myget node nuget packagist travis wordpress] (#7319)
* update terminology
    - "regular update" to "cached resource"
    - "interval" to "ttl"
    - move file and update imports

* set a default TTL, don't explicitly pass params if we want the default

* add tests

* update docs
2021-11-29 21:21:03 +00:00
chris48s
99bffd3a86 Send better user-agent values (and got config changes) (#7309)
* expose fetchLimitBytes/userAgent in got-config module

* export a function not a factory

* send better user-agent values

- add userAgentBase setting
- send short SHA in user agent on heroku
- set a version (tag or short SHA) in Dockefile and use
  it to report server version in UA for docker users

* add a comment explaining fileSize

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-25 17:11:49 +00:00
Caleb Cartwright
95a439a1cc tests: fix Codeship service tests (#7307)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-21 21:05:59 +00:00
chris48s
6d22389e88 rename sendAndCacheRequest (#7277) 2021-11-17 20:00:29 +00:00
Caleb Cartwright
53762c7ccd feat: deprecate dependabot badges (#7274) 2021-11-15 22:28:09 +00:00
chris48s
c73072deed Remove requestOptions2GotOptions compatibility layer (#7270)
* gzip --> decompress

* strictSSL --> https.rejectUnauthorized

* auth --> username/password

* qs --> searchParams

* fix base service auth docs

* completely remove requestOptions2GotOptions layer

* update the docs

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-15 19:56:08 +00:00
Caleb Cartwright
42b0033bc8 fix: spigetdownloadsize service test (#7273)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-15 19:39:31 +00:00
Caleb Cartwright
be013e175b fix: npmversion tagged service test (#7269) 2021-11-14 13:04:36 -06:00
chris48s
0e38eab8df migrate request --> got in [github] auth acceptor (#7248) 2021-11-12 18:04:03 +00:00
dependabot[bot]
9f322f55f6 chore(deps-dev): bump eslint from 7.32.0 to 8.2.0, run [weblate steam oreversion orespongeversions gitlabcoverage] (#7235)
* chore(deps-dev): bump eslint from 7.32.0 to 8.2.0

Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.2.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.2.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* deps: update ts-eslint plugins

* chore: apply linter fixes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Caleb Cartwright <caleb.cartwright@outlook.com>
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
2021-11-06 19:06:03 +00:00
chris48s
f1b643df0d remove request from legacy request handler (#7233)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-06 10:59:58 +00:00
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