Commit Graph

2602 Commits

Author SHA1 Message Date
Paul Melnikow
ae37e9b723 Add a diagnostic page for testing logos (#2890)
It can be helpful to have some diagnostic pages for development and quality control. I added one here for the logos, which renders all the named logos in ?style=flat and ?style=social.
2019-02-08 00:08:45 -05:00
Andrew Marcuse
c46d2f9dae [NodePing] support for NodePing uptime monitoring service (#2910)
* [NodePing] support for NodePing uptime monitoring service

* NodePing test tweaks
2019-02-07 20:24:40 -06:00
Paul Melnikow
2ee1327eed Refactor the NuGet v2 badges; switch Resharper to XML (#2934)
This closes #2921 by switching ReSharper to the XML API used by Powershell, and refactors the powershell code back into the common nuget v2 service class. It also removes mocked tests of the color logic, replacing them with smaller-bracket tests that accomplish the same thing more concisely.
2019-02-07 21:14:04 -05:00
dependabot[bot]
49ee68fcb3 Bump babel-preset-gatsby from 0.1.6 to 0.1.7 (#2949)
Bumps babel-preset-gatsby from 0.1.6 to 0.1.7.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 20:11:04 -05:00
dependabot[bot]
310bfba542 Bump react from 16.7.0 to 16.8.1 (#2950)
* Bump react from 16.7.0 to 16.8.1

Bumps [react](https://github.com/facebook/react) from 16.7.0 to 16.8.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/compare/v16.7.0...v16.8.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Update lockfile
2019-02-07 19:46:10 -05:00
dependabot[bot]
f963fa4421 Bump walkdir from 0.0.12 to 0.2.0 (#2948)
Bumps [walkdir](https://github.com/soldair/node-walkdir) from 0.0.12 to 0.2.0.
- [Release notes](https://github.com/soldair/node-walkdir/releases)
- [Changelog](https://github.com/soldair/node-walkdir/blob/master/CHANGELOG.md)
- [Commits](https://github.com/soldair/node-walkdir/commits/v0.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 19:38:31 -05:00
dependabot[bot]
568d687fa6 Bump react-dom from 16.7.0 to 16.8.1 (#2946)
Bumps [react-dom](https://github.com/facebook/react) from 16.7.0 to 16.8.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/compare/v16.7.0...v16.8.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 19:35:44 -05:00
dependabot[bot]
de916536e4 [Security] Bump lodash from 4.17.10 to 4.17.11 (#2954)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.11. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Changelog](https://github.com/lodash/lodash/blob/master/CHANGELOG)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.11)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 19:19:08 +00:00
Owen Voke
dd6ee70802 Update from RawGit to local path (#2952) 2019-02-07 12:44:51 -05:00
Paul Melnikow
9070570a39 Update deploy script for Gatsby deploy (#2944)
Knock on wood, that deploy went remarkably well. 👔
2019-02-07 00:59:33 -05:00
Paul Melnikow
da5fd26847 Readme: Repair link to logo (#2945) 2019-02-06 19:15:16 -06:00
Paul Melnikow
d8ce045ead Adopt Gatsby (#2906)
While Next.js can handle static sites, we've had a few issues with it, notably a performance hit at runtime and some bugginess around routing and SSR. Gatsby being fully intended for high-performance static sites makes it a great technical fit for the Shields frontend. The `createPages()` API should be a really nice way to add a page for each service family, for example.

This migrates the frontend from Next.js to Gatsby. Gatsby is a powerful tool, which has a bit of downside as there's a lot to dig through. Overall I found configuration easier than Next.js. There are a lot of plugins and for the most part they worked out of the box. The documentation is good.

Links are cleaner now: there is no #. This will break old links though perhaps we could add some redirection to help with that. The only one I’m really concerned about `/#/endpoint`. I’m not sure if folks are deep-linking to the category pages.

There are a lot of enhancements we could add, in order to speed up the site even more. In particular we could think about inlining the SVGs rather than making separate requests for each one.

While Gatsby recommends GraphQL, it's not required. To keep things simple and reduce the learning curve, I did not use it here.

Close #1943 
Fix #2837 Fix #2616
2019-02-06 16:37:55 -05:00
Philip Harrison
cf7b76d5a6 Update Dependabot logo (#2931)
* Update dependabot logo
* update tests
2019-02-06 21:33:40 +00:00
chris48s
7953a97e1d refactor [jitpack] service (#2943) 2019-02-06 16:11:46 -05:00
chris48s
4a8a1f20ef refactor [pub] service (#2942) 2019-02-06 16:07:06 -05:00
dependabot[bot]
44c891a3be Bump enzyme-adapter-react-16 from 1.9.0 to 1.9.1 (#2941)
Bumps [enzyme-adapter-react-16](https://github.com/airbnb/enzyme) from 1.9.0 to 1.9.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/compare/enzyme-adapter-utils@1.9.0...enzyme-adapter-utils@1.9.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-06 00:47:45 -05:00
Caleb Cartwright
aa105e4a6c tests: update teamcity test targets (#2940) 2019-02-05 21:39:54 -06:00
Caleb Cartwright
855c9cd261 Remove dev dep imports in production code (#2937)
Fixes #2876 with @paulmelnikow's suggestion 

Moved imports of `ServiceTester` and `createServiceTester` to a separate file so that dev dependencies are not imported by service classes.
2019-02-05 21:51:55 -05:00
Paul Melnikow
cdeba2fdf9 Fix some service tests [circle dependabot githubissues] (#2936) 2019-02-05 21:49:40 -05:00
Paul Melnikow
84e5d58d9b Add CLI for debugging badges (#2930)
Often when responding to bug reports it would be helpful to easily run an example failing badge URL. It takes a while to do that, because you have to copy and paste just the right part of the badge URL. This works on `img.shields.io` links as well as partial paths and should make this really easy. 💨
2019-02-05 21:47:30 -05:00
Paul Melnikow
e083dd3ce5 deprecatedService: rename url to route for consistency; test on [versioneye] (#2938) 2019-02-05 21:37:00 -05:00
dependabot[bot]
023588bbc2 Bump nyc from 13.1.0 to 13.2.0 (#2923)
Bumps [nyc](https://github.com/istanbuljs/nyc) from 13.1.0 to 13.2.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases)
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/nyc/compare/v13.1.0...v13.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 17:47:34 -05:00
dependabot[bot]
e383c0e36c Bump @babel/plugin-proposal-object-rest-spread from 7.3.1 to 7.3.2 (#2925)
Bumps [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel) from 7.3.1 to 7.3.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.3.1...v7.3.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 17:40:08 -05:00
Pierre-Yves B
b6c2f166f5 Fixed Jacoco example (#2933)
This small pull request closes #2648. The previous project targeted by the example no longer seems to be using the Jacoco plugin, so I've hunted down another one:
https://img.shields.io/jenkins/j/https/builds.apache.org/job/Derby-JaCoCo.svg 
![](https://img.shields.io/jenkins/j/https/builds.apache.org/job/Derby-JaCoCo.svg)
2019-02-05 17:38:00 -05:00
dependabot[bot]
652e960204 Bump enzyme-adapter-react-16 from 1.8.0 to 1.9.0 (#2922)
Bumps [enzyme-adapter-react-16](https://github.com/airbnb/enzyme) from 1.8.0 to 1.9.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-adapter-utils@1.8.0...enzyme-adapter-utils@1.9.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 17:31:52 -05:00
Paul Melnikow
ef5c36dcb4 Remove some obsolete .networkOff() tests (#2932) 2019-02-05 21:23:24 +00:00
dependabot[bot]
3b8fb49aac Bump nock from 11.0.0-beta.5 to 11.0.0-beta.6 (#2924)
Bumps [nock](https://github.com/nock/nock) from 11.0.0-beta.5 to 11.0.0-beta.6.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/beta/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 10:08:17 -05:00
Pierre-Yves B
ea833a83c4 [GitHubCommitActivity] improvements and examples (#2920) 2019-02-04 20:27:52 -05:00
chris48s
566a8cb461 delete LGTM logo (#2919) 2019-02-04 21:13:32 +00:00
Paul Melnikow
552e5e798d Add semantic color keywords and improve formatting of color examples (#2869)
* Add semantic color keywords

This is based on the list I proposed at https://github.com/badges/shields/issues/1522#issuecomment-456455618. As I started documenting `default` I realized it didn't feel quite right. It's not semantic in relation to the content the way the others are, and it's also not the default left color. I changed it to `disabled` which isn't perfect, but seems better. I'm open to other suggestions.

I updated the documentation but the colors won't render correctly until this is deployed

Close #1522

* Reformat the aliases

* Pretty up the docs

* Reset whitespace changes

* Clean lint
2019-02-04 15:05:57 -06:00
dependabot[bot]
6179090a96 Bump lint-staged from 8.1.1 to 8.1.3 (#2918)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.1 to 8.1.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.1...v8.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 20:59:07 +00:00
dependabot[bot]
26f3881e7c Bump danger from 7.0.4 to 7.0.7 (#2917)
Bumps [danger](https://github.com/danger/danger-js) from 7.0.4 to 7.0.7.
- [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/7.0.4...7.0.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 20:57:18 +00:00
dependabot[bot]
4d9a1967dd Bump eslint from 5.12.1 to 5.13.0 (#2914)
Bumps [eslint](https://github.com/eslint/eslint) from 5.12.1 to 5.13.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.12.1...v5.13.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 20:54:27 +00:00
dependabot[bot]
e3b6f06e08 Bump prettier from 1.16.3 to 1.16.4 (#2916)
Bumps [prettier](https://github.com/prettier/prettier) from 1.16.3 to 1.16.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.16.3...1.16.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 20:49:13 +00:00
dependabot[bot]
006cc92729 Bump simple-icons from 1.9.18 to 1.9.19 (#2915)
Bumps [simple-icons](https://github.com/simple-icons/simple-icons) from 1.9.18 to 1.9.19.
- [Release notes](https://github.com/simple-icons/simple-icons/releases)
- [Commits](https://github.com/simple-icons/simple-icons/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 20:16:27 +00:00
Paul Melnikow
7c3bca1ab7 Refactor endpoint functions (#2909) 2019-02-03 17:29:52 -05:00
dependabot[bot]
a72a36d1fc Bump lint-staged from 8.1.0 to 8.1.1 (#2892)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.0...v8.1.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-03 10:54:18 +00:00
dependabot[bot]
2895cf5761 Bump danger from 7.0.2 to 7.0.4 (#2884)
Bumps [danger](https://github.com/danger/danger-js) from 7.0.2 to 7.0.4.
- [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/7.0.2...7.0.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-03 10:52:11 +00:00
Paul Melnikow
b01e466284 Endpoint page: improve formatting (#2907)
Partly addresses #2837 but does not resolve it
2019-02-02 14:10:52 -05:00
dependabot[bot]
89ee5d1cb1 Bump prettier from 1.16.1 to 1.16.3 (#2902)
Bumps [prettier](https://github.com/prettier/prettier) from 1.16.1 to 1.16.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.16.1...1.16.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-01 17:20:14 -05:00
Paul Melnikow
3a7bddbc26 Consolidate service definition schema, removing support for previewUrl (#2895)
This removes `LONG_CACHE` and its descendants, which was a feature that added `?maxAge` to the live preview badges in the frontend. Since they are all static that is no longer needed, as the static badges all have longer cache timeouts regardless.
2019-01-30 18:35:11 -06:00
Paul Melnikow
7955f460f3 Move suggest code and rewrite tests (#2886)
The suggest code was an exception to our usual organization pattern. There was a service test, but it's not a service. The code would sometimes regress because it wasn't being tested all the time.

This makes them no longer run as service tests, which is good because they run as part of every build. Some of them are smaller-bracket tests which is good too, because it will make them easier to test, especially as this code grows.

I'd have liked to keep using frisby for the ones that make requests to the server, though I ran into some issues with sequencing of setup that I think will require upstream changes.
2019-01-30 17:48:54 -06:00
Paul Melnikow
f32306d982 Update production DNS access doc (#2899)
* Update production DNS access doc

Thanks @olivierlacan!

* Add link to DNS registrar

* Updates
2019-01-30 17:41:44 -06:00
Paul Melnikow
085c43d42d Remove unused dependencies (#2900) 2019-01-30 17:38:18 -06:00
Paul Melnikow
4fc31cfff9 Add timeouts to some flaky tests (#2896)
* Add timeouts to some flaky tests

* tests: increased timeouts on snyk tests
2019-01-30 17:35:40 -06:00
Olivier Lacan
5af5c480db Fix typos and clarify non-promotional (#2898)
Just noticed this typo and that one of the essential parts of the specification 
could be worded more clearly. It seems like the hardest to enforce with SaaS 
companies, so I don't think the explicitness will hurt.
2019-01-30 16:08:50 -05:00
dependabot[bot]
1a5336385c Bump eslint-plugin-import from 2.15.0 to 2.16.0 (#2897)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.15.0...v2.16.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-30 10:43:52 -06:00
Paul Melnikow
eef3d36f52 Convert remaining preview URLs (#2887)
Close #1961
2019-01-29 21:13:15 -06:00
dependabot[bot]
27b053284e Bump snap-shot-it from 6.2.8 to 6.2.9 (#2885)
Bumps [snap-shot-it](https://github.com/bahmutov/snap-shot-it) from 6.2.8 to 6.2.9.
- [Release notes](https://github.com/bahmutov/snap-shot-it/releases)
- [Commits](https://github.com/bahmutov/snap-shot-it/compare/v6.2.8...v6.2.9)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-29 19:37:33 -06:00
Paul Melnikow
027cb4fe31 Fix [conda] service tests and rm some obsolete tests (#2894)
Ref https://circleci.com/gh/badges/daily-tests/119
2019-01-29 19:31:45 -06:00