Commit Graph

3118 Commits

Author SHA1 Message Date
Paul Melnikow
9b3db0774b Deprecate shields-server.com domain (#3666)
Now that these s0.server.shields.io entries are set up through the main DNS on Cloudflare, we don't need the shields-server.com domain anymore. One less thing to maintain.
2019-07-07 16:37:42 -04:00
Paul Melnikow
9b6a51b61e Convert a format to pattern in [githubpackagejson] (#3660)
This now relies on the order in which these are registered, though that seems okay. Exporting them as an array guarantees that.

Ref #3329
2019-07-07 12:41:30 -04:00
Paul Melnikow
eec904c262 Fix raster redirect and drop the legacy static .png route (#3659) 2019-07-07 11:49:21 -04:00
Paul Melnikow
66c7f13e38 Drop gif + png, and redirect png to raster.shields.io (#3644)
1. Remove rasterization support from the server. This responsibility is delegated to a raster server which proxies the SVG badges and renders them.
2. When a raster server URL is configured, 301 redirect all .png badges to the identical URL on the raster server.
    `https://img.shields.io/npm/v/express.png?style=flat-square` ↪️`https://raster.shields.io/npm/v/express.png?style=flat-square`
3. For configured redirects, redirect to the canonical URL on the raster server.
    `https://img.shields.io/vso/build/totodem/8cf3ec0e-d0c2-4fcd-8206-ad204f254a96/2.png?style=flat-square`
    ↪️`https://img.shields.io/azure-devops/build/totodem/8cf3ec0e-d0c2-4fcd-8206-ad204f254a96/2.png?style=flat-square`
4. Redirect the "legacy badge old version" to the appropriate URL on the raster server.
5. When no raster server is configured (e.g. PRs), render an SVG containing **404 | raster badges not available** for all `.png` badges. (Note that the raster server can be self-hosted; however, this is deferred to a later PR.)
5. Drop support for jpg and gif which are very infrequently used (see #3112). Render an SVG containing **410 | jpg no longer available**.
7. ~~Remove raster dependencies.~~ Remove the raster cache (which is only used in the CLI, and therefore pointless).
8. Move the LRUCache code out of the npm package.
8. A wee bit of refactoring in `server.js`.

Ref #3112
Close #3631
2019-07-06 16:41:46 -04:00
Pierre-Yves B
c6ef885b75 Footer update (#3655)
* Reworded footer

* Added metrics link
2019-07-06 17:14:13 +01:00
Paul Melnikow
093d9cd368 Minor refactor: expose custom promisify function from legacy request handler (#3650)
Cherry-picked from #3410; should simplify reworking it.
2019-07-05 21:26:05 -04:00
Paul Melnikow
9346548850 Refactor [BitbucketPullRequest] (#3649)
This encapsulates the fetch methods slightly better. Cherry-picked from #3410, which needs to be reworked. This change should simplify dropping in the new auth method when that happens.
2019-07-05 17:40:43 -04:00
Paul Melnikow
c817e69775 Minor refactor in [azuredevopstests] (#3651)
Cherry-picked from #3410; should simplify reworking it.
2019-07-05 16:52:17 -04:00
Paul Melnikow
5d06503844 Update Zeit members list (#3646) 2019-07-05 14:51:57 -04:00
Paul Melnikow
f693ef019d Document raster server production hosting (#3643)
Ref #3631
2019-07-05 13:54:05 -04:00
Danial
8f11291b98 Fix for-the-badge spacing, uppercase left, right instead of text[] variables (#3640) 2019-07-05 11:59:02 +12:00
Pierre-Yves B
77b4551716 Support other [Bugzilla] instances (#3633) 2019-07-04 22:57:51 +01:00
Paul Melnikow
d3261be1db Docker: Don't installl Cypress (#3634)
Noticed this in the Docker Hub build log:
https://cloud.docker.com/u/shieldsio/repository/registry-1.docker.io/shieldsio/shields/builds/de14f15e-0f10-4842-9ad2-42b8558bc2ff

Ref #3558
2019-07-02 21:17:10 -04:00
chris48s
0d3266a0ad JSDoc comments for service test runner (#3630) 2019-07-02 12:41:28 -04:00
dependabot-preview[bot]
ec17c4d67e Build(deps-dev): bump js-yaml-loader from 1.2.0 to 1.2.2 (#3628)
* Build(deps-dev): bump js-yaml-loader from 1.2.0 to 1.2.2

Bumps [js-yaml-loader](https://github.com/wwilsman/js-yaml-loader) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/wwilsman/js-yaml-loader/releases)
- [Commits](https://github.com/wwilsman/js-yaml-loader/compare/v1.2.0...v1.2.2)

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

* clarify how service defs are loaded
2019-07-01 18:39:31 -04:00
chris48s
f29da0abdd JSDoc comments for token pool (#3632) 2019-07-01 17:55:08 -04:00
Caleb Cartwright
ea865436a1 add [Sonar] badges for various test metrics (#3571)
* feat: add SonarTests badges

* chore: remove commented out line

* refactor: update SonarTestsSummary to override transform
2019-07-01 15:46:51 -05:00
dependabot-preview[bot]
0cf00d963d Build(deps-dev): bump gatsby-plugin-remove-trailing-slashes (#3629)
Bumps [gatsby-plugin-remove-trailing-slashes](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-remove-trailing-slashes) from 2.0.11 to 2.1.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-remove-trailing-slashes@2.1.0/packages/gatsby-plugin-remove-trailing-slashes)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 19:47:22 +01:00
dependabot-preview[bot]
e20e1c5064 Build(deps-dev): bump gatsby-plugin-catch-links from 2.0.15 to 2.1.0 (#3626)
Bumps [gatsby-plugin-catch-links](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links) from 2.0.15 to 2.1.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-catch-links/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-catch-links@2.1.0/packages/gatsby-plugin-catch-links)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 19:26:27 +01:00
dependabot-preview[bot]
8cba5b18a5 Build(deps-dev): bump react-modal from 3.8.1 to 3.8.2 (#3623)
Bumps [react-modal](https://github.com/reactjs/react-modal) from 3.8.1 to 3.8.2.
- [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.8.1...v3.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 19:18:17 +01:00
dependabot-preview[bot]
412ecddfec Build(deps-dev): bump eslint-plugin-react-hooks from 1.6.0 to 1.6.1 (#3627)
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 1.6.0 to 1.6.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/commits/HEAD/packages/eslint-plugin-react-hooks)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 19:04:36 +01:00
dependabot-preview[bot]
7aaf42ba1b Build(deps-dev): bump eslint-config-prettier from 5.0.0 to 6.0.0 (#3625)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v5.0.0...v6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 18:56:58 +01:00
dependabot-preview[bot]
7e2726cd9e Build(deps-dev): bump concurrently from 4.1.0 to 4.1.1 (#3624)
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v4.1.0...v4.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 18:44:26 +01:00
dependabot-preview[bot]
9f9e949f85 Build(deps-dev): bump eslint-plugin-react from 7.13.0 to 7.14.2 (#3621)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.13.0 to 7.14.2.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.13.0...v7.14.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 18:37:53 +01:00
dependabot-preview[bot]
acd3dedbb7 Build(deps-dev): bump eslint-plugin-sort-class-members (#3620)
Bumps [eslint-plugin-sort-class-members](https://github.com/bryanrsmith/eslint-plugin-sort-class-members) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/bryanrsmith/eslint-plugin-sort-class-members/releases)
- [Commits](https://github.com/bryanrsmith/eslint-plugin-sort-class-members/compare/v1.4.0...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 12:26:08 -05:00
dependabot-preview[bot]
f71c47edcd Build(deps): bump simple-icons from 1.9.28 to 1.10.0 (#3622)
Bumps [simple-icons](https://github.com/simple-icons/simple-icons) from 1.9.28 to 1.10.0.
- [Release notes](https://github.com/simple-icons/simple-icons/releases)
- [Commits](https://github.com/simple-icons/simple-icons/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 11:39:20 -04:00
Paul Melnikow
0f19806c58 Bump nock from 11.0.0.beta-14 to 11.0.0.beta-20 (#3616)
* Bump icedfrisby and icedfrisby-nock

* Bump nock from 11.0.0.beta-14 to 11.0.0.beta-20

Hoping the changes from #3615 will fix the issues that appeared at https://github.com/badges/shields/pull/3552#issuecomment-504610847

* Fix apm tests

* Fix githubcommitstatus
2019-06-28 15:50:17 -04:00
Paul Melnikow
6c21d86194 Bump icedfrisby and icedfrisby-nock (#3615) 2019-06-28 14:04:03 -04:00
chris48s
d78edaf5b5 add/improve some JSDoc comments on core API (#3595) 2019-06-25 22:42:01 +01:00
dependabot-preview[bot]
1ae6a0fd16 Build(deps): bump prom-client from 11.3.0 to 11.5.2 (#3604)
Bumps [prom-client](https://github.com/siimon/prom-client) from 11.3.0 to 11.5.2.
- [Release notes](https://github.com/siimon/prom-client/releases)
- [Changelog](https://github.com/siimon/prom-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/siimon/prom-client/compare/v11.3.0...v11.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-25 20:44:00 +02:00
dependabot-preview[bot]
34a6096f5e Build(deps): bump @hapi/joi from 15.0.3 to 15.1.0 (#3605)
Bumps [@hapi/joi](https://github.com/hapijs/joi) from 15.0.3 to 15.1.0.
- [Release notes](https://github.com/hapijs/joi/releases)
- [Changelog](https://github.com/hapijs/joi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hapijs/joi/compare/v15.0.3...v15.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-25 10:48:11 -05:00
dependabot-preview[bot]
aca051c968 Build(deps-dev): bump gatsby-plugin-page-creator from 2.0.13 to 2.1.1 (#3607)
Bumps [gatsby-plugin-page-creator](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-page-creator) from 2.0.13 to 2.1.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-page-creator/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-page-creator@2.1.1/packages/gatsby-plugin-page-creator)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-25 06:35:36 -05:00
dependabot-preview[bot]
b6a72cdb58 Build(deps): bump semver from 6.1.1 to 6.1.2 (#3603)
Bumps [semver](https://github.com/npm/node-semver) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.1.1...v6.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 22:24:50 -05:00
dependabot-preview[bot]
7ed502e23d Build(deps-dev): bump enzyme from 3.9.0 to 3.10.0 (#3579)
* Build(deps-dev): bump enzyme from 3.9.0 to 3.10.0

Bumps [enzyme](https://github.com/airbnb/enzyme/tree/HEAD/packages/enzyme) from 3.9.0 to 3.10.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/commits/enzyme@3.10.0/packages/enzyme)

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

* tests: tweak assertion on emtpy attribute
2019-06-24 21:09:04 -05:00
dependabot-preview[bot]
6fc6cf7acf Build(deps-dev): bump gatsby-plugin-styled-components (#3602)
Bumps [gatsby-plugin-styled-components](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styled-components) from 3.0.7 to 3.1.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-styled-components/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-styled-components@3.1.0/packages/gatsby-plugin-styled-components)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 19:40:12 -05:00
dependabot-preview[bot]
5ddd28143e Build(deps-dev): bump snap-shot-it from 7.7.0 to 7.8.0 (#3601)
Bumps [snap-shot-it](https://github.com/bahmutov/snap-shot-it) from 7.7.0 to 7.8.0.
- [Release notes](https://github.com/bahmutov/snap-shot-it/releases)
- [Commits](https://github.com/bahmutov/snap-shot-it/compare/v7.7.0...v7.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 19:17:23 -05:00
dependabot-preview[bot]
479eaf4673 Build(deps-dev): bump babel-preset-gatsby from 0.1.11 to 0.2.0 (#3598)
Bumps babel-preset-gatsby from 0.1.11 to 0.2.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 15:02:23 -05:00
dependabot-preview[bot]
38bc46db7c Build(deps-dev): bump gatsby-plugin-react-helmet from 3.0.12 to 3.1.0 (#3597)
Bumps [gatsby-plugin-react-helmet](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-helmet) from 3.0.12 to 3.1.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-react-helmet/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-react-helmet@3.1.0/packages/gatsby-plugin-react-helmet)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 14:28:19 -05:00
Caleb Cartwright
96dde9919d rollback nock to 11.0.0-beta.14 (#3594)
* chore(deps): rollback nock to 11.0.0-beta.14

* chore: add package-lock.json

* Run npm install, to try to fix deploy issue
2019-06-23 17:16:41 -04:00
Pierre-Yves B
1e207f1886 Tutorial improvements and fixes (#3593) 2019-06-23 17:52:41 +01:00
Caleb Cartwright
c312eae3e3 feat: add CodeFactor grade badge (#3588) 2019-06-22 09:13:34 -05:00
dependabot-preview[bot]
95b6e48bff Build(deps-dev): bump nock from 11.0.0-beta.14 to 11.0.0-beta.19 (#3552)
* Build(deps-dev): bump nock from 11.0.0-beta.14 to 11.0.0-beta.19

Bumps [nock](https://github.com/nock/nock) from 11.0.0-beta.14 to 11.0.0-beta.19.
- [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-preview[bot] <support@dependabot.com>

* Fix one test

* Update for breaking change in nock api

* Always use got without retries in tests
2019-06-21 10:45:34 -04:00
Caleb Cartwright
fe76a55e2c tests: fix some jenkins service tests (#3590) 2019-06-20 08:59:55 -04:00
dependabot-preview[bot]
5c67bfe0e0 Build(deps-dev): bump enzyme-adapter-react-16 from 1.13.1 to 1.14.0 (#3575)
Bumps [enzyme-adapter-react-16](https://github.com/airbnb/enzyme/tree/HEAD/packages/enzyme-adapter-react-16) from 1.13.1 to 1.14.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/commits/enzyme-adapter-react-16@1.14.0/packages/enzyme-adapter-react-16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 20:00:36 -05:00
dependabot-preview[bot]
6342db52a8 Build(deps-dev): bump eslint-config-prettier from 4.3.0 to 5.0.0 (#3583)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v4.3.0...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 19:45:43 -05:00
dependabot-preview[bot]
d732b937c9 Build(deps-dev): bump prettier from 1.17.1 to 1.18.2 (#3580)
* Build(deps-dev): bump prettier from 1.17.1 to 1.18.2

Bumps [prettier](https://github.com/prettier/prettier) from 1.17.1 to 1.18.2.
- [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.17.1...1.18.2)

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

* chore: prettier
2019-06-17 19:15:44 -05:00
dependabot-preview[bot]
a4e2df80f8 Build(deps-dev): bump gatsby from 2.9.1 to 2.9.4 (#3582)
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.9.1 to 2.9.4.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby@2.9.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 21:31:10 +02:00
dependabot-preview[bot]
eaa15a9f0b Build(deps): bump query-string from 6.5.0 to 6.7.0 (#3577)
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.5.0 to 6.7.0.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v6.5.0...v6.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 21:19:41 +02:00
dependabot-preview[bot]
a6d82daef3 Build(deps-dev): bump snap-shot-it from 7.4.4 to 7.7.0 (#3581)
Bumps [snap-shot-it](https://github.com/bahmutov/snap-shot-it) from 7.4.4 to 7.7.0.
- [Release notes](https://github.com/bahmutov/snap-shot-it/releases)
- [Commits](https://github.com/bahmutov/snap-shot-it/compare/v7.4.4...v7.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 21:07:30 +02:00
dependabot-preview[bot]
8deabe6245 Build(deps-dev): bump husky from 2.3.0 to 2.4.1 (#3578)
Bumps [husky](https://github.com/typicode/husky) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v2.3.0...v2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-17 07:42:29 -05:00