Commit Graph

3193 Commits

Author SHA1 Message Date
Paul Melnikow
cfbd2c30df SVG by default (#3717)
Make cleaner badge URLs by omitting the `.svg` extension.

Closes #2674
2019-07-24 12:57:39 -05:00
Paul Melnikow
e6f8c4ed65 Fix extraneous brackets in query string builder (#3766)
Fix #3765
2019-07-24 12:13:50 -05:00
Paul Melnikow
3964eb5cb0 Remove use of deprecated Domain API (#3762)
Use of this feature [has been discouraged for a long time](https://nodejs.org/api/domain.html).

Since most of our code is now bubbling through async, we aren't really getting these "vendor errors" anymore.

Errors that _do_ bubble up through the services have been reported to Sentry since #3706, though they seem to be missing a bunch of their stack traces. Sentry also seems to be combining unrelated internal errors. (https://github.com/badges/shields/issues/3709#issuecomment-514299441) Maybe this will help.
2019-07-23 16:43:09 -05:00
dependabot-preview[bot]
2895aaf93c Build(deps-dev): bump gatsby-plugin-react-helmet from 3.1.0 to 3.1.2 (#3755)
Bumps [gatsby-plugin-react-helmet](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-react-helmet) from 3.1.0 to 3.1.2.
- [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.2/packages/gatsby-plugin-react-helmet)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 22:19:17 +01:00
dependabot-preview[bot]
c7cae03d7d Build(deps-dev): bump eslint-plugin-cypress from 2.2.1 to 2.6.0 (#3754)
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.2.1 to 2.6.0.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.2.1...v2.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 22:05:19 +01:00
dependabot-preview[bot]
b214a28822 Build(deps-dev): bump @typescript-eslint/eslint-plugin (#3753)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v1.13.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 21:58:13 +01:00
Paul Melnikow
0e181f16b5 Rewrite QueryStringBuilder using hooks (#3740) 2019-07-23 12:08:19 -05:00
Pierre-Yves B
883b025555 Made popout-square check more specific (#3760) 2019-07-23 17:25:11 +01:00
dependabot-preview[bot]
8fa0ab13c0 Build(deps-dev): bump gatsby-plugin-page-creator from 2.1.1 to 2.1.5 (#3752)
Bumps [gatsby-plugin-page-creator](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-page-creator) from 2.1.1 to 2.1.5.
- [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.5/packages/gatsby-plugin-page-creator)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 10:32:07 -05:00
dependabot-preview[bot]
acd2d4b79f Build(deps-dev): bump @typescript-eslint/parser from 1.12.0 to 1.13.0 (#3750)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v1.13.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-23 07:14:51 -05:00
dependabot-preview[bot]
f305c05cc1 Build(deps-dev): bump @types/enzyme from 3.10.2 to 3.10.3 (#3748)
Bumps [@types/enzyme](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/enzyme) from 3.10.2 to 3.10.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/enzyme)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 21:22:41 -05:00
Caleb Cartwright
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
dependabot-preview[bot]
f251de395d Build(deps): bump config from 3.1.0 to 3.2.2 (#3751)
Bumps [config](https://github.com/lorenwest/node-config) from 3.1.0 to 3.2.2.
- [Release notes](https://github.com/lorenwest/node-config/releases)
- [Changelog](https://github.com/lorenwest/node-config/blob/master/History.md)
- [Commits](https://github.com/lorenwest/node-config/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 15:14:22 -05:00
Paul Melnikow
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 B
ecb85cef53 Remove popout styles (#3747)
* Remove popout styles

* Make popout-square fall back to flat-square
2019-07-22 20:56:07 +01:00
Paul Melnikow
ec6512b7ba Rewrite RequestMarkupButton using hooks (#3739) 2019-07-21 13:48:49 -05:00
Pierre-Yves B
345c26f72d Handle packages with no released versions in [PackagistVersion] (#3746) 2019-07-20 17:52:53 +01:00
Paul Melnikow
236decac29 Rewrite Main using hooks (#3738) 2019-07-19 12:27:25 -05:00
Paul Melnikow
4090ab8a01 Rewrite SugggestionAndSearch using hooks (#3741) 2019-07-19 12:10:10 -05:00
Paul Melnikow
88fc4a751c Initial adoption of TypeScript in the frontend (#3722)
Ref #3657
2019-07-17 23:11:51 -04:00
Paul Melnikow
d4e17d4e94 Rewrite PathBuilder using hooks (#3721) 2019-07-17 22:02:01 -04:00
Paul Melnikow
5d3d78b209 Rewrite Customizer using hooks (#3720) 2019-07-17 21:15:30 -04:00
Paul Melnikow
be275b9f13 Rewrite CopiedContentIndicator using hooks (#3719) 2019-07-17 16:16:42 -04:00
Pierre-Yves B
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
dependabot-preview[bot]
e556ac2793 Build(deps): bump simple-icons from 1.10.0 to 1.11.0 (#3728)
Bumps [simple-icons](https://github.com/simple-icons/simple-icons) from 1.10.0 to 1.11.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-16 19:40:51 -05:00
dependabot-preview[bot]
c7130bec61 Build(deps-dev): bump babel-preset-gatsby from 0.2.1 to 0.2.6 (#3733)
Bumps [babel-preset-gatsby](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/babel-preset-gatsby) from 0.2.1 to 0.2.6.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/babel-preset-gatsby/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/babel-preset-gatsby@0.2.6/packages/babel-preset-gatsby)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-16 19:05:38 -05:00
dependabot-preview[bot]
da36dcf195 Build(deps-dev): bump portfinder from 1.0.20 to 1.0.21 (#3730)
Bumps [portfinder](https://github.com/indexzero/node-portfinder) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/indexzero/node-portfinder/releases)
- [Commits](https://github.com/indexzero/node-portfinder/compare/v1.0.20...v1.0.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-16 23:02:18 +02:00
dependabot-preview[bot]
d9aefc61bf Build(deps): bump prom-client from 11.5.2 to 11.5.3 (#3731)
Bumps [prom-client](https://github.com/siimon/prom-client) from 11.5.2 to 11.5.3.
- [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.5.2...v11.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-16 22:49:58 +02:00
dependabot-preview[bot]
7ba56fa96d Build(deps-dev): bump cypress from 3.3.2 to 3.4.0 (#3729)
Bumps [cypress](https://github.com/cypress-io/cypress) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v3.3.2...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-16 22:15:02 +02:00
dependabot-preview[bot]
aa03fdcdb4 Build(deps): bump semver from 6.1.2 to 6.2.0 (#3732)
Bumps [semver](https://github.com/npm/node-semver) from 6.1.2 to 6.2.0.
- [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.2...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-16 20:11:17 +01:00
dependabot-preview[bot]
cde36f642d Build(deps-dev): bump react-modal from 3.8.2 to 3.9.1 (#3727)
Bumps [react-modal](https://github.com/reactjs/react-modal) from 3.8.2 to 3.9.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.8.2...v3.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-16 08:31:27 -05:00
Paul Melnikow
3bce0b0eee Capitalize Open Collective in badge listing (#3734) 2019-07-15 22:27:16 +01:00
dependabot-preview[bot]
f44352f74a Build(deps-dev): bump gatsby-plugin-styled-components (#3726)
Bumps [gatsby-plugin-styled-components](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-styled-components) from 3.1.0 to 3.1.2.
- [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.2/packages/gatsby-plugin-styled-components)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-15 07:37:26 -05:00
dependabot-preview[bot]
289e69c475 Build(deps-dev): bump jsdoc from 3.6.2 to 3.6.3 (#3725)
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/master/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.2...3.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-15 07:22:12 -05:00
dependabot-preview[bot]
5ff5462e8d Build(deps-dev): bump nock from 11.0.0-beta.20 to 11.0.0-beta.24 (#3723)
Bumps [nock](https://github.com/nock/nock) from 11.0.0-beta.20 to 11.0.0-beta.24.
- [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>
2019-07-15 06:47:35 -05:00
Paul Melnikow
4e4e7be804 Update lockfile with npm audit fixes (#3718) 2019-07-14 19:30:00 -04:00
Paul Melnikow
b493fbf70e Add warnings alongside deprecated URL patterns (#3715)
Ref #3714
2019-07-14 19:14:19 -04:00
Paul Melnikow
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 Cartwright
bd8b1ead59 tests: remove service tests for dropped static png routes (#3712) 2019-07-13 17:40:17 +01:00
Jan Škrášek
39d47a10b4 service/packagist: normalize stability suffixes (#3699) 2019-07-13 11:02:43 -05:00
Pierre-Yves B
9576ba8fc3 Split [Conda] tests (#3711) 2019-07-13 10:55:41 -05:00
Pierre-Yves B
102db63d46 Split [pypi] tests (#3704)
* Split [pypi] tests

* Changed filenames to match previous class names
2019-07-13 10:45:58 -05:00
Paul Melnikow
6cbc7b587a Document the production Redis hosting (#3710)
Close #3332
2019-07-13 08:39:07 -05:00
Paul Melnikow
ec0264dfb7 Fix Redis prod issue for Node 9 (#3707)
Encountered while testing #3332
2019-07-12 19:51:05 -04:00
Paul Melnikow
153732756c Log internal errors to Sentry (#3706)
Fix #3688
2019-07-12 19:40:46 -04:00
Paul Melnikow
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
Paul Melnikow
84063f8ae3 Switch to ioredis, and update RedisTokenPersistence to use a set instead of a list (#3668)
Also add a script for importing a batch of tokens.

Ref #3332
2019-07-12 18:30:24 -04:00
Pierre-Yves B
5fb429a1ef Split [Jetbrains] tests (#3702)
* Split [Jetbrains] tests

* Removed inaccessible/invalid tests
2019-07-12 22:59:21 +01:00
Pierre-Yves B
69862549a8 Split [LGTM] tests (#3703) 2019-07-12 22:22:56 +01:00
Pierre-Yves B
12db962e50 Split [Bitbucket] tests (#3701) 2019-07-12 21:09:29 +01:00