* 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>
* 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>
* 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>
* 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>
* 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
* 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>
* Add ansible collection badge
* Ansible Collection: Remove unneccesary base class
* Ansible Collection: Fix test (label "collection" rather than "role")
* 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>
* 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