* feat: added schema and API options for new badge
* fix: fixed platform test's for new schema and api options
* feat: added new badge for theme and plugin last updated
* test: added testing for new badge
* feat: added regex pattern for last update string
* fix: fixed mock test's that didn't match regex pattern
* refactor: changed to moment formatting
Changed to use the moment lib to validate and format last_update date strings from upstream API
* fix: fixed failing platform service tests
Co-authored-by: chris48s <chris48s@users.noreply.github.com>
* feat: added wp required version badge for themes
Refactored to allow plugin and theme extensionType for WP Required Version. Also added required schema for themes, already present for plugins.
* test: added testing for the new badge
Added testing for the new theme badge
* refactor: convert static classes to static props
* fix: modules export
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* Added GithubDirectoryFileCount badge
* Additional information on a schema
* Update services/github/github-directory-file-count.service.js
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
* Update services/github/github-directory-file-count.service.js
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
* Update services/github/github-directory-file-count.service.js
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
* More examples
* Moved isArray check to transform method
* Using isMetric for validation
* Added documentaion on type and extension parameters
* Moved a couple of service tests to unit tests
* extension is applicable for type file only
* Note on GitHub API limit
* Using metric helper for a count formatting
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* Added GithubRPackageVersion badge
* Minor changes to GithubGoModGoVersion badge
* More examples
* Removed mocking with nock from service tests
* Added unit tests
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* feat: added schema and api options
* feat: added new badge for required php version
* test: fixed existing testing and added new for new badge
Fixed existing testing to conform to new api options and schema. Also added testing for the new badge
* fix: changed to mocked test
Changed the Theme Not Set test to a mock as unable to find a live example (previously used 'generatepress' however this now has the data). Also split out query selector fields to allow updating in one place for themes and plugins
* fix: changed the style of the badge to better show the info
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* Handle the case when the Github deployment status returns null
* Integration test null latestStatus response from Github Deployments
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* fix: TypeError in DockerVersion badge
* A reference to the issue in test
Co-authored-by: Paul Melnikow <github@paulmelnikow.com>
Co-authored-by: Paul Melnikow <github@paulmelnikow.com>
* Converted [swagger] from static class to props
* Converted [symfony teamcity travis treeware] from static classes to props
* Fixed staticPreview field in travis
Co-authored-by: Jabbar Memon <jabbar@zoop.one>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* Completed For visual-studio-app-center
* Completed For visual-studio-marketplace
* Completed For w3c
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* add the const value "no change" as a new status
* add no change status to schema valid status list
* set default color for not found status
* change colors to respect the severity of the status and include "no change"
* add "no change" to the test case
* keep not found status for #5521
* convert [homebrew,hsts,itunes,jenkins,jetbrains] classes to static props
* Run the prettier across the files
* Updated the correct values in logos.spec.js
* revert back the logos.spec.js changes
* Completed refactoring of [lgtm liberapay librariesio localizely luarocks]
* Convert defaultBadgeData to object
* Completed some classes[maven-central maven-metadata microbadger mozilla-observatory myget netlify] into props
* Completed some classes[maven-central maven-metadata microbadger mozilla-observatory myget netlify] into props
* changed the title
* Added todo in mozilla-observatory service
Co-authored-by: Jabbar Memon <jabbar@zoop.one>
* convert [homebrew,hsts,itunes,jenkins,jetbrains] classes to static props
* Run the prettier across the files
* Updated the correct values in logos.spec.js
* revert back the logos.spec.js changes
* Completed refactoring of [lgtm liberapay librariesio localizely luarocks]
* Convert defaultBadgeData to object
Co-authored-by: Jabbar Memon <jabbar@zoop.one>
* feat: updated to new WordPress API
Updated to the new WordPress API, and separated plugin and theme schemas for future expansion
* test: updated testing for new API
Updated some testing to work with the new API request
* feat: updated schema to require keys
Updated schema to require all the keys in the schema
* fix: remove duplicate requirement
The helper already includes required so we don't need to require it again
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
* fix: remove duplicate requirement
The helper already includes required so we don't need to require it again
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
* convert [homebrew,hsts,itunes,jenkins,jetbrains] classes to static props
* Run the prettier across the files
* Updated the correct values in logos.spec.js
* revert back the logos.spec.js changes
Co-authored-by: Jabbar Memon <jabbar@zoop.one>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>