Paul Melnikow and GitHub
656326d693
Rewrite [appveyor] tests badge ( #1940 )
2018-08-20 14:49:59 -04:00
dependabot[bot] and Paul Melnikow
77061fe6af
Bump eslint-plugin-promise from 3.8.0 to 4.0.0 ( #1950 )
...
Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise ) from 3.8.0 to 4.0.0.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases )
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/compare/v3.8.0...v4.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-20 10:00:04 -04:00
dependabot[bot] and Paul Melnikow
fd4637c042
Bump eslint from 5.3.0 to 5.4.0 ( #1951 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.3.0 to 5.4.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.3.0...v5.4.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-20 09:56:28 -04:00
Paul Melnikow and GitHub
77b54c8c9a
Sort some badges ( #1945 )
...
This implements proposals 1, 2, and 4 from #1905 :
* Move gem rank from ratings to downloads; tweak title
* Move docker build from other to build
* Move bundlephobia, github file, github repo, imagelayers, and microbadger size + layers badges into new category
* Fill in a couple missing titles
2018-08-19 17:55:20 -04:00
Paul Melnikow and GitHub
a16d436602
Optionally persist [Github] tokens in Redis ( #1939 )
...
This is a fairly simple addition of a Redis-backed TokenPersistence. When GithubConstellation is initialized, it will create a FsTokenPersistence or a RedisTokenPersistence based on configuration. Have added tests of the Redis backend as an integration test, and ensured the server starts up correctly when a `REDIS_URL` is configured.
Ref: #1848
2018-08-19 10:27:23 -04:00
Paul Melnikow and GitHub
edb7d82500
Change format of [npm] type definitions badge ( #1897 )
...
Based on feedback at chalk/chalk#286 .
2018-08-19 09:27:23 -04:00
Paul Melnikow and GitHub
365f2cff5f
Run tests by prefix e.g. [librariesio] ( #1933 )
...
Close #1923
2018-08-19 00:40:02 -04:00
Paul Melnikow and GitHub
b10a6a4aa7
Refactor [github] token persistence, again ( #1906 )
...
Instead of saving tokens on a timer, save them when they change. Use EventEmitter to keep the components loosely coupled.
This is easier to reason about, much easier to test, and better supports adapting to backends which support atomic operations.
This replaces json-autosave, which was a bit difficult to read and also hard to test, with fsos, the lower-level utility it’s built on.
Ref: #1848
2018-08-18 23:54:53 -04:00
Paul Melnikow and GitHub
a252239018
Fix and test trace logging in BaseJsonService ( #1944 )
...
This fixes a regression introduced in #1929 which was caught by service tests post-merge.
2018-08-18 17:45:46 -04:00
Paul Melnikow and GitHub
12be1bd747
Service logging tweaks ( #1929 )
...
- Log the response when using `test:services:trace`
- Fully log large nested objects
Since the `badgeData` is in a different format from the JSON response, and also doesn't include the title, including this output is helpful. It makes it clearer what the Joi matchers are trying to match.
Sometimes when there's a deep nested structure, it's helpful or necessary to see the entire thing.
2018-08-18 11:25:40 -04:00
Paul Melnikow and GitHub
544d2c538a
Disable CircleCI cache ( #1938 )
...
See #1937
2018-08-18 10:34:48 -04:00
Marcin Mielnicki and GitHub
96188c2f01
Example command for starting server with SENTRY_DSN after sudo ( #1935 )
2018-08-17 22:50:16 +02:00
Paul Melnikow and GitHub
85de601024
Avoid warning during linting ( #1930 )
...
```
Warning: React version not specified in eslint-plugin-react settings. See https://github.com/yannickcr/eslint-plugin-react#configuration .
```
2018-08-16 21:59:31 -07:00
Pyves and GitHub
886cde72d5
Rewrite [Wercker] service ( #1920 )
2018-08-16 22:03:15 +01:00
Paul Melnikow and GitHub
9119c235a9
Prevent merging exclusive service tests ( #1926 )
...
* Remove an .only() left behind previously
2018-08-16 11:06:08 -07:00
dependabot[bot] and chris48s
30d746653b
Bump request from 2.87.0 to 2.88.0 ( #1911 )
...
Bumps [request](https://github.com/request/request ) from 2.87.0 to 2.88.0.
- [Release notes](https://github.com/request/request/releases )
- [Changelog](https://github.com/request/request/blob/master/CHANGELOG.md )
- [Commits](https://github.com/request/request/compare/v2.87.0...v2.88.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-15 21:44:24 +01:00
dependabot[bot] and chris48s
97c6795e4e
Bump danger from 3.8.4 to 3.8.6 ( #1917 )
...
Bumps [danger](https://github.com/danger/danger-js ) from 3.8.4 to 3.8.6.
- [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/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-15 21:04:45 +01:00
dependabot[bot] and Paul Melnikow
bcf3aca74e
Bump eslint-plugin-react from 7.11.0 to 7.11.1 ( #1921 )
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.11.0 to 7.11.1.
- [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.11.0...v7.11.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-15 08:33:39 -07:00
Pyves and GitHub
b0070ff861
[GitHub] Error message customisation for all status codes ( #1888 )
2018-08-14 18:57:24 +01:00
dependabot[bot] and Paul Melnikow
b0f1d99e13
Bump eslint-plugin-react from 7.10.0 to 7.11.0 ( #1915 )
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.10.0 to 7.11.0.
- [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.10.0...v7.11.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-14 08:30:18 -07:00
dependabot[bot] and Paul Melnikow
8e27ae0f2a
Bump eslint-plugin-import from 2.13.0 to 2.14.0 ( #1918 )
...
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.13.0 to 2.14.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.13.0...v2.14.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-14 08:19:21 -07:00
dependabot[bot] and Paul Melnikow
3b9d2325b8
Bump eslint-plugin-mocha from 5.1.0 to 5.2.0 ( #1919 )
...
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases )
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/5.1.0...5.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-14 08:10:18 -07:00
dependabot[bot] and Paul Melnikow
8b34a927dd
Bump eslint-config-prettier from 2.9.0 to 3.0.1 ( #1916 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 2.9.0 to 3.0.1.
- [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/v2.9.0...v3.0.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-14 08:05:20 -07:00
dependabot[bot] and chris48s
9c64589944
Bump nock from 9.5.0 to 9.6.1 ( #1913 )
...
Bumps [nock](https://github.com/nock/nock ) from 9.5.0 to 9.6.1.
- [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/v9.5.0...v9.6.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-13 19:14:04 +01:00
dependabot[bot] and chris48s
909776ad6d
Bump eslint-plugin-standard from 3.0.1 to 3.1.0 ( #1909 )
...
Bumps [eslint-plugin-standard](https://github.com/xjamundx/eslint-plugin-standard ) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/xjamundx/eslint-plugin-standard/releases )
- [Commits](https://github.com/xjamundx/eslint-plugin-standard/compare/v3.0.1...v3.1.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-13 18:58:34 +01:00
dependabot[bot] and chris48s
801bcf5bb8
Bump joi from 13.5.2 to 13.6.0 ( #1912 )
...
Bumps [joi](https://github.com/hapijs/joi ) from 13.5.2 to 13.6.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/v13.5.2...v13.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-13 18:47:19 +01:00
Paul Melnikow and GitHub
0c703c11b5
Rewrite [uptimerobot] ( #1891 )
2018-08-12 21:47:30 -07:00
Paul Melnikow and GitHub
66d444aa40
Clean up our callback style and enforce no exclusive tests and remove an exclusive test ( #1900 )
...
We use arrow functions in most places; this enforces it.
Passing arrow functions to Mocha is discouraged: https://mochajs.org/#arrow-functions
This was a mix of autofixes and hand adjustments.
2018-08-12 20:45:43 -04:00
Paul Melnikow and GitHub
0a7c833452
Fix an edge case in NpmBase ( #1904 )
...
I noticed this when I copied this code while I was working on #1895 .
2018-08-12 19:13:31 -04:00
chris48s and GitHub
0f534cefc0
use fetch/render pattern in [apm appveyor cdnjs clojars gem] ( #1901 )
...
* remove tests we don't need
* use fetch/render pattern in [apm appveyor cdnjs clojars gem]
2018-08-12 18:27:47 +01:00
Paul Melnikow and GitHub
67193ce09b
Add [librariesio-sourcerank] ( #1898 )
...
It seems like 30+ is great; under 10 pretty bad. I picked some values for a color scheme.
Closes #1532
2018-08-12 12:58:03 -04:00
Paul Melnikow and GitHub
1a71acfa2e
Add badge for dependents and dependent repos using Libraries.io ( #1895 )
...
See #1845
2018-08-12 11:05:43 -04:00
Paul Melnikow and GitHub
2c646ae6ca
Create Monitoring category ( #1903 )
2018-08-12 09:12:47 -04:00
Paul Melnikow and GitHub
2a035d9111
ServiceTester: Minor readability tweak ( #1893 )
...
Was debugging this just now, and think this is easier to read and understand than the previous version.
2018-08-12 07:43:12 -04:00
Danial and GitHub
b2af8f7a04
[GitHub] support issue tags with "/" character ( #1902 )
...
* support tags with "/" character
2018-08-12 15:20:30 +12:00
Paul Melnikow and GitHub
9007658fd0
Refactor and test [github] token persistence ( #1863 )
...
Ref #1848 #1205
2018-08-11 20:13:40 -04:00
Paul Melnikow and GitHub
39d393028d
Fix and test the github admin route ( #1886 )
...
Fix regressions in the github admin and token acceptor endpoints, introduced in #1813 .
2018-08-11 19:48:43 -04:00
Paul Melnikow and chris48s
cd6c38a616
Add InvalidParameter runtime error and return inaccessible for 5xx errors ( #1890 )
...
* InvalidParameter: New error type
* Return inaccessible for 5xx errors from services
* Add test for Inaccessible on 5xx
* Add tests for named error types
2018-08-11 21:05:56 +01:00
Paul Melnikow and GitHub
db4bffb300
Split BaseService and BaseJsonService into separate modules ( #1889 )
...
There’s a lot of behavior here, and going to be even more, so I think it makes sense to split these up as I’ve done with the tests.
2018-08-11 10:43:05 -04:00
Paul Melnikow and GitHub
ed81dcbb36
npm downloads: Better experience for new projects ( #1892 )
...
When a new project is created, the download badge shows “project not found” as reported in #1882 . This gives a more informative message in that case.
2018-08-11 10:18:41 -04:00
Danial and GitHub
39776d5814
support for colorA + logo when no label specified ( #1896 )
...
* support for colorA + logo
* adjust spacing when no label present but logo is present
2018-08-11 15:33:29 +12:00
Paul Melnikow and GitHub
09be682963
BaseService: Make it easier to add more config options ( #1884 )
...
I ran into this while working on #1867 , where ultimately I couldn't solve my problem by injecting config. This will make it easier in the future, though.
2018-08-10 16:02:58 -04:00
chris48s and GitHub
f05a3496ee
Validate response json in [apm appveyor cdnjs clojars gem] ( #1883 )
...
* split gem service into multiple files
* add validation to apm, appveyor, cdnjs, clojars & gem services
* fix the apm examples
2018-08-10 20:52:09 +01:00
dependabot[bot] and Paul Melnikow
15a1449407
Bump redis from 2.6.5 to 2.8.0 ( #1855 )
...
Bumps [redis](https://github.com/NodeRedis/node_redis ) from 2.6.5 to 2.8.0.
- [Release notes](https://github.com/NodeRedis/node_redis/releases )
- [Changelog](https://github.com/NodeRedis/node_redis/blob/master/changelog.md )
- [Commits](https://github.com/NodeRedis/node_redis/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-10 15:38:03 -04:00
Paul Melnikow and GitHub
0db88d33e0
Add debug logging to BaseService and BaseJsonService ( #1867 )
...
Invoke this using `npm run test:services:trace`.
2018-08-10 15:22:13 -04:00
Paul Melnikow and GitHub
ada1dec815
Lengthen timeout on a flaky service test ( #1885 )
2018-08-10 15:10:31 -04:00
dependabot[bot] and Paul Melnikow
2ebb173a62
Bump simple-icons from 1.7.1 to 1.8.3 ( #1877 )
...
Bumps [simple-icons](https://github.com/simple-icons/simple-icons ) from 1.7.1 to 1.8.3.
- [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 >
2018-08-10 13:33:17 -04:00
dependabot[bot] and chris48s
be8fbc2308
Bump babel-eslint from 8.0.2 to 8.2.6 ( #1878 )
...
Bumps [babel-eslint](https://github.com/babel/babel-eslint ) from 8.0.2 to 8.2.6.
- [Release notes](https://github.com/babel/babel-eslint/releases )
- [Commits](https://github.com/babel/babel-eslint/compare/v8.0.2...v8.2.6 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-10 12:38:16 +01:00
dependabot[bot] and chris48s
049530c7a9
Bump node-fetch from 2.0.0 to 2.2.0 ( #1873 )
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.0.0 to 2.2.0.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/bitinn/node-fetch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.0.0...v2.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-10 12:36:26 +01:00
dependabot[bot] and chris48s
96be0a94f9
Bump joi from 13.3.0 to 13.5.2 ( #1879 )
...
Bumps [joi](https://github.com/hapijs/joi ) from 13.3.0 to 13.5.2.
- [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/v13.3.0...v13.5.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-10 12:34:32 +01:00