Caleb Cartwright and Paul Melnikow
2fe61d2c5c
Add [Snyk] badges ( #2566 )
...
Adds vulnerability badges from Snyk.io, closes #1642
- [X] Vulnerability badge for GitHub repos
- [x] Vulnerability badge for npm package
2018-12-20 16:28:54 -05:00
Caleb Cartwright and Paul Melnikow
fc41b576f3
Update [Jira] tests to include color validation ( #2565 )
...
Augmenting the tests for Jira that were added in #2541 to also validate color scheme
2018-12-20 15:55:15 -05:00
Paul Melnikow and GitHub
872aede5be
Add readme badges to gamify refactoring some more ( #2562 )
...
Ref https://github.com/badges/shields/issues/1358#issuecomment-448743020
2018-12-20 15:20:38 -05:00
Paul Melnikow and GitHub
ebe4a12acc
Convert lodash.uniq to native and remove an unused dev dep ( #2564 )
2018-12-20 15:15:56 -05:00
Paul Melnikow and GitHub
483aa5a008
Fix frontend coverage and tweak ignores ( #2563 )
...
Since we use Babel for the frontend but not the server, I split the coverage config into two separate files, one for the frontend and the other for the server.
Refs:
- https://github.com/istanbuljs/nyc#nyc
- https://github.com/istanbuljs/babel-plugin-istanbul#mocha-on-nodejs-through-nyc
Close #2552
2018-12-19 17:46:09 -05:00
Paul Melnikow and GitHub
4e5e3c8aee
Split up [github] testers ( #2560 )
...
- Update github contributors badge for `create-service-tester`.
2018-12-19 17:20:15 -05:00
Paul Melnikow and GitHub
382af10506
Rewrite [GithubManifest] and [GithubPackageJson] badges ( #2470 )
...
Pave the way for #2259 and rewrite #1721 along the way.
Ref: #2320
2018-12-19 16:33:20 -05:00
Caleb Cartwright and Paul Melnikow
6d3798f26f
Migrates [Nexus] service to new service model ( #2520 )
...
Ports the Nexus service to the new service model. Some related/relevant conversation in #2347 (and closes #2347 ). Also adds support for authentication which resolves #1699 .
2018-12-19 15:45:22 -05:00
dependabot[bot] and Paul Melnikow
63f8b256a7
Bump got from 9.4.0 to 9.5.0 ( #2557 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 9.4.0 to 9.5.0.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v9.4.0...v9.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-19 10:56:37 -05:00
Paul Melnikow and GitHub
5c7d07f5be
Rework styling using styled-components ( #2517 )
...
The CSS in the project is relatively difficult to change. While it is very DRY, it relies heavily on inheritance. It's difficult to make changes in the markup modal without it also affecting styles elsewhere.
[styled-components](https://www.styled-components.com/ ) is one of the leading CSS-in-JS libraries. By reducing dependency on global state and CSS inheritance, styles become explicit and are easier to inspect and change. It's also convenient that styles can be embedded with the components they modify.
At runtime, the library creates CSS classes, so it's pretty efficient.
We were using a little bit of [styled-jsx](https://github.com/zeit/styled-jsx ) before, which ships with Next.js, though styled-components is more widely used and I've had good experiences with it all around.
In a few cases I've duplicated styles where it feels more natural to do that: for example, `text-align: center` is duplicated in `Main` and `MarkupModal`.
Much of this is a refactor, though there are a few visual changes, particularly in the markup modal and the style examples.
2018-12-18 16:44:47 -05:00
Caleb Cartwright and chris48s
a1150efd25
Migrate [Coverity] to new service model ( #2550 )
...
* feat: migrate coverity to new service model
* chore: add coverity ondemand to deprecated services list
2018-12-18 21:19:50 +00:00
Paul Melnikow and chris48s
b36a9040f3
Add warning banners to legacy services ( #2546 )
2018-12-18 20:52:17 +00:00
Caleb Cartwright and Paul Melnikow
7d30d86f2b
Migrate [Jira] services to new service model ( #2541 )
...
Migrates the Jira badge services to the new service model, and also adds tests for those badges.
I did make one minor changes to the badge labels/messages when the issue or sprint cannot be found. For example:
With the LegacyService implementation, when an issue was not found the badge would display as 'issue key | inaccessible' such as `KAFKA-2869 | inaccessible` but this changes that behavior to `jira | issue not found`. I personally find this to be a bit more informative of a message, but want to call it out as I know how important backwards compatibility is. However, at first glance I'm also not sure how we'd replicate the old behavior of using the issue key (provided by user as a param) as the badge label when an issue is not found because the API response has a status code of 404 and a different schema than what Joi is expecting/validating.
Similarly for the sprints, the old format for a sprint not found was `completion | inaccessible` it's now `jira | sprint not found`
2018-12-17 23:30:33 -05:00
Dean Davidson and Paul Melnikow
b0fbe5f76f
Refactor [AzureDevOpsCoverage AzureDevOpsTests] to only report on completed builds; test all [azuredevops] ( #2549 )
...
This is in response to [this conversation](https://github.com/badges/shields/issues/2237#issuecomment-446812796 ). The change turned out being even easier than I had anticipated because the [API supports a buildStatus filter](https://docs.microsoft.com/en-us/rest/api/azure/devops/build/builds/list?view=azure-devops-rest-5.0#buildstatus ). I did quite a bit of local testing to make sure this is solid. I also ran tests and checked coverage.
2018-12-17 23:12:52 -05:00
Caleb Cartwright and Paul Melnikow
6c9fc0de79
Migrate [Codetally] to new service model ( #2548 )
2018-12-17 23:07:21 -05:00
dependabot[bot] and Paul Melnikow
b4b29ab0f7
Bump moment from 2.22.2 to 2.23.0 ( #2531 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.22.2 to 2.23.0.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.22.2...2.23.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-17 12:49:15 -05:00
Caleb Cartwright and chris48s
09e8c587d9
feat: migrate sourcegraph to new service model and fix tests ( #2535 )
2018-12-16 22:05:02 +00:00
chris48s and GitHub
bca7416be7
couple of fixes to service test docs ( #2542 )
2018-12-16 20:50:07 +00:00
Paul Melnikow and GitHub
2bf29f97b8
Set up CircleCI test summary [npmcollaborators] ( #2526 )
...
See https://circleci.com/docs/2.0/collect-test-data/
This provides a list of failed tests in the Circle UI and a summary of which tests have failed. It should make interpreting test results easier
2018-12-16 15:42:28 -05:00
chris48s and GitHub
b5ac5d6044
[dynamicyaml f-droid] add yaml base service class ( #2540 )
2018-12-16 20:29:20 +00:00
chris48s and GitHub
df22adfba7
remove logos for deprecated services ( #2539 )
...
* remove logos for deprecated services
* remove references to gratipay logo in tests
2018-12-16 19:33:27 +00:00
chris48s and GitHub
e5cacbc73f
refactor [CRAN] service ( #2538 )
2018-12-16 19:25:27 +00:00
Caleb Cartwright and chris48s
dea35025b1
Deprecate [nsp] service ( #2529 )
...
deprecated nsp service and added doc for deprecation
2018-12-16 19:21:22 +00:00
Paul Melnikow and GitHub
5e50b7bcc4
Fix [npm] badges when a dependency points to a URL ( #2525 )
...
Fix #2523
2018-12-13 14:07:33 -05:00
Paul Melnikow and GitHub
ec35e8de06
Remove unused wait-promise dep ( #2521 )
2018-12-13 14:05:10 -05:00
dependabot[bot] and Paul Melnikow
73be33226f
Bump sinon from 7.2.0 to 7.2.2 ( #2522 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 7.2.0 to 7.2.2.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v7.2.0...v7.2.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-13 12:37:25 -05:00
Paul Melnikow and GitHub
b8461aa921
Rewrite [DynamicXml] and [DynamicYaml] badges ( #2487 )
...
- A little related cleanup in `server.js`: remove a couple import renames.
2018-12-12 16:52:47 -05:00
Paul Melnikow and GitHub
a3a52524fc
Add [npm] badges for collaborator count and dependency version ( #2461 )
...
This adds a badge for collaborator count. When evaluating a library, it can be useful to know that there's not a single-contributor bottleneck for publishing. Having more than one collaborator is a sign of library maturity.
It adds another badge for dependency version of published dependencies, which solves a similar problem as the node-version badge. I will find this useful for making sure dependencies are up to date in a library.
2018-12-12 15:02:37 -05:00
Paul Melnikow and GitHub
38ca6fc396
Add quality category and sort a couple other badges [scrutinizer] ( #2483 )
...
Ref #1905
2018-12-12 14:59:46 -05:00
dependabot[bot] and Pierre-Yves B
f6da548dc3
Bump danger from 6.1.11 to 6.1.12 ( #2513 )
...
Bumps [danger](https://github.com/danger/danger-js ) from 6.1.11 to 6.1.12.
- [Release notes](https://github.com/danger/danger-js/releases )
- [Changelog](https://github.com/danger/danger-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/danger/danger-js/compare/6.1.11...6.1.12 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-12 19:24:55 +00:00
Pierre-Yves B and GitHub
029a14681d
Improved [MicroBadger] tests speed ( #2512 )
2018-12-12 19:19:45 +00:00
Antão Almada and Paul Melnikow
a51111e170
Add Azure DevOps logo ( #2463 )
2018-12-11 16:42:30 -05:00
dependabot[bot] and Paul Melnikow
46064a5f9c
Bump react-modal from 3.6.1 to 3.7.1 ( #2507 )
...
Bumps [react-modal](https://github.com/reactjs/react-modal ) from 3.6.1 to 3.7.1.
- [Release notes](https://github.com/reactjs/react-modal/releases )
- [Changelog](https://github.com/reactjs/react-modal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/reactjs/react-modal/compare/v3.6.1...v3.7.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-11 16:33:35 -05:00
Paul Melnikow and GitHub
88c8b0ee3e
More example urls and static examples [apm waffle] ( #2478 )
2018-12-11 16:31:01 -05:00
Caleb Cartwright and Pierre-Yves B
d74568b9c9
Minor test updates for jenkins coverage and token-pool ( #2509 )
2018-12-11 21:10:21 +00:00
dependabot[bot] and Paul Melnikow
bd930faf24
Bump sinon from 7.1.1 to 7.2.0 ( #2506 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 7.1.1 to 7.2.0.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v7.1.1...v7.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-11 15:58:01 -05:00
dependabot[bot] and Paul Melnikow
965816f363
Bump got from 9.3.2 to 9.4.0 ( #2503 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 9.3.2 to 9.4.0.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v9.3.2...v9.4.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-11 15:55:43 -05:00
dependabot[bot] and Paul Melnikow
47d56de160
Bump enzyme-adapter-react-16 from 1.7.0 to 1.7.1 ( #2504 )
...
Bumps [enzyme-adapter-react-16](https://github.com/airbnb/enzyme ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/airbnb/enzyme/releases )
- [Changelog](https://github.com/airbnb/enzyme/blob/master/CHANGELOG.md )
- [Commits](https://github.com/airbnb/enzyme/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-11 15:52:15 -05:00
Caleb Cartwright and Pierre-Yves B
43faea4561
Add new service for CII Best Practices badges [CIIBestPractices] ( #2477 )
2018-12-11 19:20:51 +00:00
dependabot[bot] and Paul Melnikow
40ddc26f9b
Bump enzyme from 3.7.0 to 3.8.0 ( #2505 )
...
Bumps [enzyme](https://github.com/airbnb/enzyme ) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/airbnb/enzyme/releases )
- [Changelog](https://github.com/airbnb/enzyme/blob/master/CHANGELOG.md )
- [Commits](https://github.com/airbnb/enzyme/compare/enzyme@3.7.0...enzyme@3.8.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-11 10:38:43 -05:00
Paul Melnikow and GitHub
a677c5bbef
Add some basic frontend tests ( #2490 )
...
The frontend has a few tests in `lib/` but not all of that is covered. The components are not covered at all. It's difficult to make changes to the frontend because you have to manually test that things haven't broken.
This PR uses [Enzyme](https://airbnb.io/enzyme/ ) to add some [shallow-rendering tests](https://github.com/airbnb/enzyme/blob/master/docs/api/shallow.md ), which are essentially unit tests of the components.
This should pave the way for functional tests of the more complex components.
2018-12-10 17:20:01 -05:00
chris48s and GitHub
0a98bd3121
refactor [dependabot] semver stability service ( #2494 )
2018-12-10 21:24:18 +00:00
chris48s and GitHub
9189438a91
refactor [bountysource] service ( #2492 )
2018-12-10 21:21:39 +00:00
chris48s and GitHub
b74fe4ed6f
refactor [redmine] plugin rating services ( #2491 )
2018-12-10 20:02:38 +00:00
chris48s and GitHub
66623644c3
make 'donate' call to action clearer ( #2493 )
2018-12-10 20:00:16 +00:00
dependabot[bot] and Pierre-Yves B
11e9e75e45
Bump danger from 6.1.9 to 6.1.11 ( #2501 )
...
Bumps [danger](https://github.com/danger/danger-js ) from 6.1.9 to 6.1.11.
- [Release notes](https://github.com/danger/danger-js/releases )
- [Changelog](https://github.com/danger/danger-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/danger/danger-js/compare/6.1.9...6.1.11 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-10 18:55:12 +00:00
Pierre-Yves B and GitHub
c89396088d
[Wheelmap] service rewrite and tests ( #2486 )
2018-12-10 18:44:47 +00:00
Paul Melnikow and GitHub
1649a42a4a
Fix whitespace in Codetally test ( #2488 )
...
This was caused by #2475 and fixes the mocked test. It's not related to #2480 which is causing the other one to fail.
2018-12-09 16:41:21 -05:00
dependabot[bot] and Paul Melnikow
b08a941490
Bump eslint from 5.9.0 to 5.10.0 ( #2484 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v5.9.0...v5.10.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-08 17:33:46 -05:00
dependabot[bot] and Pierre-Yves B
0e02f8d05e
Bump nock from 10.0.3 to 10.0.4 ( #2485 )
...
Bumps [nock](https://github.com/nock/nock ) from 10.0.3 to 10.0.4.
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/compare/v10.0.3...v10.0.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-12-08 21:55:28 +00:00