Commit Graph
681 Commits
Author SHA1 Message Date
Anand ChowdharyandCaleb Cartwright 58a5239e18 Add [Netlify] (fixed #3129) (#3953)
* Add Netlify (fixed #3129)

* Update services/netlify/netlify.service.js

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Remove pattern from return statement

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Add Netlify namedLogo to return statement

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Change label from "build" to "netlify" in test

Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* Change label from "build" to "netlify" in test

Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* test(netlify): Fix failing tests

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Fix "netlify" spelling in label

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Use const instead of let for result

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Change "project not found" to "not found"

* Use unknown as fallback response

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>

* Add documentation for project ID, remove commented part

* Fix documentation key in example
2019-09-06 12:21:17 -05:00
Pierre-Yves BandGitHub 4190609d1b Handle missing Symfony Insight grade gracefully (#3933) 2019-09-03 09:49:00 +01:00
Réda Housni AlaouiandCaleb Cartwright 94fdb81d1c Maven central service should not parse versions as number (#3935) 2019-09-02 12:47:18 -05:00
chris48sandGitHub 136c1f3525 more lenient semver coerce in [wordpress] version (#3914) 2019-08-27 21:09:37 +01:00
Paul MelnikowandGitHub 433c73a49f Add some implementation comments to Luarocks (#3924)
These came from https://github.com/badges/shields/pull/3094#issuecomment-467396574
2019-08-27 08:41:26 -04:00
Pierre-Yves BandGitHub e00af3200c Handle more [Twitter] invalid user inputs (#3922) 2019-08-26 17:38:36 +01:00
Caleb CartwrightandGitHub c9cd77a746 chore: update JenkinsTests example (#3912) 2019-08-25 14:01:02 -05:00
Patrick FaionandCaleb Cartwright 9c5ecc2c2d Add service for [GitHubLabels] (#3902)
* Add service for github labels

* Set better category

Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* Add more restrictive schema for color property

Co-Authored-By: Caleb Cartwright <calebcartwright@users.noreply.github.com>

* Make error message more consistent
2019-08-24 17:01:32 -05:00
Caleb CartwrightandGitHub a0be4aae1c tests: update DubDownload service test for reliability (#3910) 2019-08-24 12:33:27 -05:00
Caleb CartwrightandGitHub 997cb0953c tests: improve durability of nexus service test (#3911) 2019-08-24 12:25:11 -05:00
Caleb CartwrightandGitHub fad4d1e286 tests: improve reliability of Snyk tests (#3900) 2019-08-21 08:18:36 -05:00
Caleb CartwrightandGitHub 08474aed11 move [Nexus] server and queryOpt from route to query params (#3792)
* refactor(Nexus): move server and queryOpt from route to query params

* tests: fix nexus auth test

* chore: satiate prettier
2019-08-19 09:45:02 -05:00
chris48sandGitHub 20202b5bfa convert eslint-jsdoc warnings to errors (#3882)
* convert eslint-jsdoc warnings to errors
* appease linter
2019-08-18 20:05:18 +01:00
chris48sandGitHub 5168675d0d move [githubtag] and [githubrelease] under /v, move variants to query params (#3610)
* move GH tag and release under /v, move variants to query params
    - move github /tag and /release under /v
    - both sort by date as default
    - specify sort=date/semver, include_prereleases as query params
    - use graphql api for tags

* pass string params from example defs to modal
2019-08-17 22:16:41 +01:00
Caleb CartwrightandGitHub b14203e0dd tests: fix OSSLifecycle service test with new active target (#3877) 2019-08-16 11:34:32 -05:00
Caleb CartwrightandGitHub 452b9840ea tests: fix aur vote service test (#3837) 2019-08-12 06:20:12 -05:00
Caleb CartwrightandPaul Melnikow 750c8fda62 chore: add jsdoc to osslifecycle function (#3838) 2019-08-11 21:49:13 +03:00
Caleb CartwrightandGitHub fb2727d22e tests: make MozillaObservatory service tests more durable (#3817) 2019-08-09 15:56:53 -05:00
Paul MelnikowandGitHub 4eb6d25ff7 Fix trailing 0 in [F-Droid] yaml format (#3831)
Closes #3830
2019-08-06 15:39:55 +02:00
Caleb CartwrightandGitHub acfcf82d1f fix: tweak build schema for AzureDevOps to handle never built use case (#3829) 2019-08-06 08:09:58 -05:00
Caleb CartwrightandPaul Melnikow 0c5c6f9551 fix: runtime TypeError in CodeFactorGrade service (#3815)
Fixes #3813
2019-08-03 18:35:24 +01:00
Pierre-Yves BandGitHub 8ff783bc68 Handle missing UserDownloads in [ChromeWebStoreUsers] (#3812) 2019-08-01 07:49:51 +01:00
Caleb CartwrightandGitHub 9eba551842 fix runtime type error in [crates] version (#3811)
* fix: runtime type error in crates version service

* chore: switch CratesVersion tester to use createServiceTester helper

* chore: removed commented out line
2019-07-31 18:19:34 -05:00
chris48sandGitHub 75ee413178 Add BaseGraphqlService, support [github] V4 API (#3763)
* add base class for Graphql APIs
* add GithubAuthV4Service + updates to GH token pool
* update github forks to use GithubAuthV4Service
* rename GithubAuthService to GithubAuthV3Service
2019-07-29 21:42:03 +01:00
Caleb CartwrightandPaul Melnikow a42c9d3517 tests: increase codetally test timeout (#3791) 2019-07-25 22:16:38 -05:00
Paul MelnikowandGitHub ab7a2106b5 Handle [DynamicJson] parse error (#3783)
Close #3781
2019-07-25 11:35:31 -05:00
Paul MelnikowandGitHub 09f9f80e6c Use https for [sourceforge] (#3778) 2019-07-25 10:27:51 -05:00
Paul MelnikowandGitHub ead56cdf49 [DynamicJson] Catch jsonpath parse error (#3776)
Closes #3772
2019-07-24 22:07:23 -05:00
Pierre-Yves BandGitHub 777a5ff23c Cover missing PHP version requirement in [PackagistPhpVersion] (#3768) 2019-07-24 22:18:13 +01:00
Paul MelnikowandGitHub cfbd2c30df SVG by default (#3717)
Make cleaner badge URLs by omitting the `.svg` extension.

Closes #2674
2019-07-24 12:57:39 -05:00
Caleb CartwrightandPaul Melnikow 21a67b9511 chore: fix teamcity example badge listings (#3759)
Refs https://github.com/badges/shields/pull/3717#discussion_r305633151
2019-07-22 19:19:26 -05:00
Paul MelnikowandGitHub 28b8836595 Unify the ESLint config (#3743)
Adding TypeScript to the frontend and a `.d.ts` file to `core` (see #3742) has multiplied out the different combinations of lint rules. ESLint has support for file-pattern-based overrides, which we've used in some places, but we've also maintained a separate eslintrc for `frontend/`.

This merges the config together, with the strategy of putting all the rules at the top level except where they conflict, and applying settings to exactly the files where they should apply.

This introduces a few new errors in the server but they are true positives – hoisting and lowercase class names – things we don't really need to be doing).
2019-07-22 15:06:38 -05:00
Pierre-Yves BandGitHub 345c26f72d Handle packages with no released versions in [PackagistVersion] (#3746) 2019-07-20 17:52:53 +01:00
Pierre-Yves BandGitHub 3dbe655611 Display one decimal for metrics smaller than 10 (#3735)
* Display one decimal for metrics smaller than 10

* Update test validators

* Run Prettier

* Update GitHub regexes
2019-07-17 20:00:29 +01:00
Paul MelnikowandPierre-Yves B 3bce0b0eee Capitalize Open Collective in badge listing (#3734) 2019-07-15 22:27:16 +01:00
Paul MelnikowandGitHub b493fbf70e Add warnings alongside deprecated URL patterns (#3715)
Ref #3714
2019-07-14 19:14:19 -04:00
Paul MelnikowandGitHub 6a2f384860 Update [Sonar] routes: metric first, and server in the query string (#3696)
This is the preferred way we’re handling server URLs: in the query string.

While we still have a mix of these, I’ve argued this way is better for these reasons:

1. It allows us to make the URLs a bit more standardized across services.
2. It makes the routes unambiguous.
3. It requires less code.

While it introduces a URL-encoding requirement on the parameter, I think these tradeoffs are worth it.
2019-07-14 17:06:14 -04:00
Caleb CartwrightandPierre-Yves B bd8b1ead59 tests: remove service tests for dropped static png routes (#3712) 2019-07-13 17:40:17 +01:00
Jan ŠkrášekandCaleb Cartwright 39d47a10b4 service/packagist: normalize stability suffixes (#3699) 2019-07-13 11:02:43 -05:00
Pierre-Yves BandCaleb Cartwright 9576ba8fc3 Split [Conda] tests (#3711) 2019-07-13 10:55:41 -05:00
Pierre-Yves BandCaleb Cartwright 102db63d46 Split [pypi] tests (#3704)
* Split [pypi] tests

* Changed filenames to match previous class names
2019-07-13 10:45:58 -05:00
Paul MelnikowandGitHub 65afff40d4 Fix up Redis config (#3705)
- Move to private
- Fix validation
- Don't log the URL

Ref #3332
2019-07-12 19:12:49 -04:00
Pierre-Yves BandGitHub 5fb429a1ef Split [Jetbrains] tests (#3702)
* Split [Jetbrains] tests

* Removed inaccessible/invalid tests
2019-07-12 22:59:21 +01:00
Pierre-Yves BandGitHub 69862549a8 Split [LGTM] tests (#3703) 2019-07-12 22:22:56 +01:00
Pierre-Yves BandGitHub 12db962e50 Split [Bitbucket] tests (#3701) 2019-07-12 21:09:29 +01:00
Paul MelnikowandGitHub 46ac947e9b Refactor auth config checks in another test (#3698)
This is one more like #3694.

Ref #3652 #3393
2019-07-11 20:00:20 -04:00
Pierre-Yves BandGitHub 0a276f692f Colorize [OSSLifecycle] badge (#3695)
* Updated examples

* Ran Prettier again
2019-07-11 23:28:21 +01:00
Paul MelnikowandGitHub ace66f457d Refactor auth config checks within tests (#3694)
Ref #3652 #3393
2019-07-11 18:11:34 -04:00
Paul MelnikowandGitHub e2608a6570 Refactor GitHub OAuth credential handling (#3693)
Continues the work of #3652.
2019-07-11 18:04:53 -04:00
Paul MelnikowandGitHub 930a7219b0 Refactor [bitbucket] secrets (#3691)
Continues the work of #3652.

Since Bitbucket is the only service to use two sets of credentials like this, it seems to make the most sense to build a very local solution.
2019-07-11 17:56:51 -04:00