Commit Graph

1290 Commits

Author SHA1 Message Date
chris48s
091ccfdbcd migrate token pooling to postgres (#8922)
* add ability to store token pool in Postgres DB

* update transitive ansi-regex dependencies
2023-02-23 17:18:39 +00:00
Nicolas Jakob
303fb86200 Add [Vcpkg] version service (#8923)
Co-authored-by: chris48s <chris48s@users.noreply.github.com>
2023-02-20 19:44:47 +00:00
chris48s
c2fe2ffa2e documentation html fixes (#8887)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-02-12 18:47:16 +00:00
chris48s
3c983c8ac0 replace [twitter] badge with static fallback (#8842)
* replace [twitter] badge with static fallback

* remove links[1]

* fix service test

* cache for longer

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-01-25 19:15:50 +00:00
chris48s
e8c42e9ec1 migrate service tests to GH actions (#8421)
* run service tests with GHA

* rename GithubGist services to Gist

* completely delete circle ci config
2023-01-17 20:55:57 +00:00
Mher Zaqaryan
7136943d6d Add various [Polymart] badges (#8811)
* Add [polymart] badges (#7429)

* fix misspelling issue

* add required to all joi objects

* fix not found badge return a valid resource issue

* fix misspelling issue

* fix invalid resource issue

* remove default badge color

Co-authored-by: chris48s <chris48s@users.noreply.github.com>

* remove version default badge color

* change version label to the service name

* add renderVersionBadge() method for version rendering

* fix method name issue

* change version regex

* fix code style issue

* add renderVersionBadge from version and remove the manually added renderer

Co-authored-by: chris48s <chris48s@users.noreply.github.com>
2023-01-16 20:58:56 +00:00
chris48s
2fb9889742 update [githubpipenv] tests/examples (#8797)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-01-14 20:37:46 +00:00
Prashant Rawat
0c73b35915 Add docstrings for pipenv helpers (#8787)
* add docstrings for pipenv helpers

* update param description

Co-authored-by: chris48s <chris48s@users.noreply.github.com>
2023-01-10 20:49:52 +00:00
James Chen-Smith
a0149a8f8f deprecate [apm] service (#8773)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-01-07 18:43:10 +00:00
Prashant Rawat
5e6583c530 Docstrings for php-version service (#8766)
* add docstrings for php-version service

* update docstring for resource-cache service

* update docstring param type
2023-01-06 21:01:59 +00:00
Paula Barszcz
bb1fda2aa7 deprecate lgtm; lgtm service tests should be passing (#8771) 2023-01-04 19:48:47 +00:00
chris48s
c3d08f7f8b Send X-GitHub-Api-Version when calling [GitHub] v3 API (#8669)
* send X-GitHub-Api-Version when calling GitHub v3 API

* TODO: invesitgate

* read baseUrl from config.service.baseUri

* add workflow to check for new GH api releases on schedule

* format config/default.yml to match yaml.dump() format

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-12-31 15:56:04 +00:00
anatawa12
ac2ae0c180 add [VpmVersion] badge (#8755)
* feat: add vpm version badge

* chore: remove sort parameter

* chore: rename repositoryUrl -> repository_url

* fix: test data

* chore: add include_prereleases

* chore: versions requires at least one element

* chore: add example badge for include_prereleases

Co-authored-by: chris48s <chris48s@users.noreply.github.com>
2022-12-31 15:33:24 +00:00
Pierce Thompson
efd707eb65 Add [modrinth] game versions (#8673)
* Add a Modrinth game versions badge

* Require at least one game version

* Code style

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-12-31 15:24:31 +00:00
chris48s
41c53c73c2 allow all numeric branch names in [githubactionsworkflowstatus] (#8734) 2022-12-21 17:49:20 +00:00
chris48s
dd3e2df00a switch [GithubActionsWorkflowStatus] to SVG scraper (#8738) 2022-12-21 17:17:18 +00:00
chris48s
6049ef64c8 handle workflow runs that do not have a conclusion (#8717)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-12-15 22:41:33 +00:00
chris48s
a276770cdb add a clarifying comment to [pypi] getLicenses (#8718) 2022-12-15 22:36:46 +00:00
chris48s
61dd6c0443 switch from github workflows to github actions workflows; test [githubactionsworkflowstatus githubworkflowstatus] (#8475)
* switch from github workflows to github actions workflows

* update github actions workflow badge to use api

* add test case for missing branch param

* custom deprecation message
2022-12-15 18:36:17 +00:00
chris48s
4da9e7d58f fall back to classifiers if license text is really long (#8690) 2022-12-10 13:02:14 +00:00
chris48s
53c5cfa94d allow passing key to [stackexchange] (#8539)
* refactoring groundwork

* add stackapps_api_key setting

* add test for stackexchange auth

* clarify docs

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-12-04 10:53:59 +00:00
chris48s
1c1b03344a handle missing properties array in [VisualStudioMarketplaceVersion] (#8603)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-11-24 18:09:08 +00:00
Paula Barszcz
3efe143edc add a missing redirect to coveralls (#8644)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-11-22 16:34:30 +00:00
chris48s
c2d1cc2874 deprecate [wercker] service (#8642) 2022-11-19 15:39:21 +00:00
Alexandre Sanlim
a2751af0b1 Add [Coincap] Cryptocurrency badges (#8623)
* Add concap services

* Add concap services

* add tests

* Changes after review

* fix import

* fix format

* fix given

* pretty format fix

* changes to code review.

* fix lower label

* fix coincap rank test

* fix labels in static examples

Co-authored-by: chris48s <chris.shaw480@gmail.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
Co-authored-by: chris48s <chris48s@users.noreply.github.com>
2022-11-18 21:18:59 +00:00
Pierce Thompson
2a590fce99 Add [modrinth] version (#8604)
* Add a Modrinth version badge

* Use a more lenient pattern when testing version

* Update version schema

Co-authored-by: chris48s <chris48s@users.noreply.github.com>

* Update route base

Co-authored-by: chris48s <chris48s@users.noreply.github.com>
2022-11-18 19:17:43 +00:00
kuanoni
755af712ae [factorio-mod-portal] services (#8625)
* add latest version service

* add game version service

* update game version service, includes version range

* add game version and latest version service tests

* add last updated service & tests

* add downloads service

* url changes

* add 'range' query to factorio versions

* renamed function to transform

* validate downloads via nonNegativeInteger

https://github.com/badges/shields/pull/8625#discussion_r1021557183

* change version route to /v

https://github.com/badges/shields/pull/8625#discussion_r1021558937

* factorio-version category to platform-support

https://github.com/badges/shields/pull/8625#discussion_r1021557896

* change downloads route to /dt

https://github.com/badges/shields/pull/8625#discussion_r1021559841

* version validator to isVPlusDottedVersionNClauses

https://github.com/badges/shields/pull/8625#discussion_r1021563736

* removed range query param from factorio-version

https://github.com/badges/shields/pull/8625#discussion_r1021568758
2022-11-16 20:36:19 +00:00
Paula Barszcz
6303ddc015 [Coveralls] for GitLab (#8584)
* Added GitLab to Coveralls badge + added redirect

* why does the old redirect accept slash in the user param

* rename test

* modify the old redirector test - but it still doesnt work

* tests are passing

* add missing redirector tests

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-11-14 11:08:10 +00:00
chris48s
5305e11f79 Remove 'suggest badges' feature (#8311)
* remove 'suggest badges' feature

* remove allowedOrigin/ALLOWED_ORIGIN setting

* keep allowedOrigin for now

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-11-09 18:15:59 +00:00
Pierce Thompson
025a49b715 Add [modrinth] followers (#8601)
* Add Modrinth followers

* Update class names
2022-11-08 16:27:06 +00:00
Pierce Thompson
809853ada1 Update the [modrinth] API to v2 (#8600)
* Update the Modrinth API to v2

* Rename the modId pattern to projectId
2022-11-08 10:17:54 +00:00
chris48s
c8a0a8660e tidy up [GitHubGist] routes (#8510)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-11-04 19:43:14 +00:00
chris48s
e223f45bce fix [flathub] version error handling (#8500)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-11-04 19:33:33 +00:00
chris48s
b3a9dd7119 fix [tas] private project test (#8514)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-11-03 20:46:16 +00:00
Sebastian P
a190bb718f [Ansible] Add collection badge (#8578)
* Add ansible collection badge

* Ansible Collection: Remove unneccesary base class

* Ansible Collection: Fix test (label "collection" rather than "role")
2022-11-01 20:22:41 +00:00
chris48s
3528e842d7 fix [githubpullrequestcheckstate] service tests (#8548)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-10-29 18:59:36 +00:00
chris48s
91a6b6d913 require array to have at least 1 item in [githublastcommit] (#8563)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-10-27 19:32:59 +00:00
OronW
252a0046d1 [VisualStudioMarketplace] Add support to prerelease extensions version (Issue #8207) (#8561)
* added pre-release version support to VScode marketplace service. Added pre-release example

* fixed missing 'version' property

* Updated flags property to support all versions in the response. Added comment to explain the flags property calculations

* added test for pre-release versions. Updated mock response structure to match new logic

* updated response schema. Fixed service bug

* Added logic for the case all versions are prerelease. Verify the prerelease key value is 'true'

* fixed bug in case all version are prerelease and the includePrereleases flag is false

* added test for response with prerelease only. Added test in case the prerelease key has false value

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-10-25 19:47:55 +00:00
guoxudong
d52ab7867a feat: add [GitlabLastCommit] service (#8508)
* feat: add gitlab last commit service

* fix

Signed-off-by: guoxudong <guoxudong.dev@gmail.com>

Signed-off-by: guoxudong <guoxudong.dev@gmail.com>
Co-authored-by: chris48s <chris48s@users.noreply.github.com>
2022-10-25 20:40:46 +01:00
chris48s
ae98c7d10c fix [swagger] service tests (allow 0 items in array) (#8564)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-10-25 16:28:57 +00:00
chris48s
9294e5d0d2 fix codecov badge for non-default branch (#8565) 2022-10-24 18:55:08 +01:00
chris48s
9e32586c71 remove failing [lgtm] test case (#8547)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-10-20 21:33:34 +00:00
Paula Barszcz
c0087cae67 Add [GitHubLastCommit] by committer badge (#8537)
* add github last commit by committer badge

* modify queryParam

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-10-20 19:08:48 +00:00
Paula Barszcz
a251357881 [GitHubReleaseDate] - published_at field (#8543)
* gh release date - published at

* example correction

* change published_at query param to display_date

* simplify the  statement
2022-10-20 19:52:44 +01:00
Ben Hutchison
eea9bbd447 Fix [Testspace] with new "untested" value in case_counts array (#8544) 2022-10-18 21:11:37 +01:00
Martin Costello
bd6a04ba03 fix: Support WAITING status for GitHub deployments (#8521)
Fix "invalid response data" badge label for GitHub deployments pending approval.
2022-10-15 20:29:38 +01:00
chris48s
cab87aa19d update [bitbucket] private repo test (#8520)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-10-12 21:51:29 +00:00
chris48s
65a921da24 update [powershellgallery] platform example (#8518)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-10-12 21:43:52 +00:00
chris48s
7c562900ed fix [myget] downloads (tenant) test (#8513)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-10-12 00:11:17 +00:00
Paula Barszcz
a96c25a405 [Whatpulse] badge for a user and for a team (#8466)
* skeleton of WhatPulse badge is done

* rename to category; add UptimeShort; switch to lowercase

* Add divergence for user and team

* small rename; cases for tests listed but not yet coded

* add ordinal numbers to whatpulse ranks

* modify error service tests for whatpulse

* WhatPulse badge changes are in progress

* update tests for WhatPulse badge:

* in tests, rename category to metric

* rename stats to metric

* some polishing

* add daysjs-duration-humanize to uptimeseconds

* add more + increase specificity of whatpulse service tests

* update example

* add space for upload and download

* Update services/test-validators.js
2022-10-11 19:46:42 +00:00