tooomm
78bb890b52
danger: highlight service in msg ( #1928 )
2018-08-26 16:16:21 -04:00
Nicco Kunzmann
504b68ef13
Make wercker preview badge static ( #1974 )
2018-08-26 15:40:24 +01:00
Pyves
f377443585
Fixed Chrome Web Store examples ( #1976 )
2018-08-26 09:21:17 +01:00
Nicco Kunzmann
ed85e1cb12
Clarify what is used to run the specific tests ( #1973 )
2018-08-26 09:12:40 +01:00
Nicco Kunzmann
9428c20418
danger: help users to write server tests ( #1970 )
...
* danger: help users to write server tests
- fixes https://github.com/badges/shields/issues/1968
- adds the desired notice
* add trailing comma
https://circleci.com/gh/badges/shields/11866?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
2018-08-25 17:55:02 +02:00
Pyves
ddb3bf4256
Fixed libraries.io error handling ( #1964 )
2018-08-24 18:32:28 +01:00
Nicco Kunzmann
dad1b4e4f1
Fix link to service tests ( #1969 )
2018-08-23 22:38:11 +01:00
tooomm
53cf4c1fe9
Remove gratipay from frontend ( #1967 )
2018-08-23 22:21:53 +01:00
Nicco Kunzmann
147d0e9bcc
add examples for documentation contributions ( #1962 )
...
The section for documentation contribution is quite short.
This adds examples of when to make a contribution.
2018-08-23 16:32:11 -04:00
chris48s
ae190c5f07
generate static examples without api call [apm appveyor cdnjs clojars gem npm uptimerobot] ( #1740 )
...
* allow service classes to define a static example
* define static example for some services
(apm, appveyor, cdnjs, clojars, gem, librariesio, npm, uptimerobot)
* add/update tests
This allows us to show an example without making an API call to a live service for better performance.
We can now specify 3 fields in the example definition:
* urlPattern for the version with placeholders e.g: /npm/dw/:package.svg
* ExampleUrl/Uri for the concrete example e.g: /npm/dw/localeval.svg
* PreviewUrl/Uri for the static (or live) image we will actually show
2018-08-23 20:22:24 +01:00
Paul Melnikow
a0c43ed219
Reduce boilerplate for creating new testers [npm appveyor gem uptimerobot clojars] ( #1934 )
...
This is a bit of sugar that reduces the boilerplate for creating testers in what I expect will become the standard case: a service in `foo/foo-thing.service.js` with its tests in `foo/foo-thing.tester.js`.
This makes a small stylistic change, which is to name the service by its CamelCase class name rather than an invented snake-case ID. Whereas before the name was specified in `class FooThing extends Base[Json]Service` and a second time in the tester, it now only needs to be specified once.
2018-08-22 18:07:51 -04:00
Paul Melnikow
452affba15
Sort some more badges ( #1948 )
...
- Move the Docker Pulls badge from **Other** to **Downloads**.
- Create **Platform & Version Support** for the following:
- django version support
- python version support
- node version support
- pypi - wheel (waiting to avoid conflict with #1922 )
- pipi - format (waiting to avoid conflict with #1922 )
- pipi - implementation (waiting to avoid conflict with #1922 )
- hhvm
- cocoapods platform
- conda
- php version badges
2018-08-22 15:05:11 -04:00
Paul Melnikow
942466aa92
Allow migrating legacy services to services/ ( #1931 )
2018-08-21 23:38:12 -04:00
dependabot[bot]
b8f81cf405
Bump semver from 5.5.0 to 5.5.1 ( #1952 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Commits](https://github.com/npm/node-semver/compare/v5.5.0...v5.5.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2018-08-20 21:28:20 +01:00
chris48s
c19695f628
don't run deploy bot on dependabot PRs ( #1924 )
...
Don't run deploy bot on dependabot PRs
2018-08-20 21:13:44 +01:00
Pyves
82bc90cec1
Deprecated VersionEye ( #1953 )
2018-08-20 20:04:11 +01:00
Paul Melnikow
656326d693
Rewrite [appveyor] tests badge ( #1940 )
2018-08-20 14:49:59 -04:00
dependabot[bot]
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]
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
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
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
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
365f2cff5f
Run tests by prefix e.g. [librariesio] ( #1933 )
...
Close #1923
2018-08-19 00:40:02 -04:00
Paul Melnikow
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
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
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
544d2c538a
Disable CircleCI cache ( #1938 )
...
See #1937
2018-08-18 10:34:48 -04:00
Marcin Mielnicki
96188c2f01
Example command for starting server with SENTRY_DSN after sudo ( #1935 )
2018-08-17 22:50:16 +02:00
Paul Melnikow
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
886cde72d5
Rewrite [Wercker] service ( #1920 )
2018-08-16 22:03:15 +01:00
Paul Melnikow
9119c235a9
Prevent merging exclusive service tests ( #1926 )
...
* Remove an .only() left behind previously
2018-08-16 11:06:08 -07:00
dependabot[bot]
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]
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]
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
b0070ff861
[GitHub] Error message customisation for all status codes ( #1888 )
2018-08-14 18:57:24 +01:00
dependabot[bot]
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]
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]
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]
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]
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]
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]
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
0c703c11b5
Rewrite [uptimerobot] ( #1891 )
2018-08-12 21:47:30 -07:00
Paul Melnikow
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
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
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
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
1a71acfa2e
Add badge for dependents and dependent repos using Libraries.io ( #1895 )
...
See #1845
2018-08-12 11:05:43 -04:00
Paul Melnikow
2c646ae6ca
Create Monitoring category ( #1903 )
2018-08-12 09:12:47 -04:00
Paul Melnikow
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