dependabot[bot]
fd41131579
Bump prettier from 1.15.3 to 1.16.0 ( #2819 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 1.15.3 to 1.16.0.
- [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.15.3...1.16.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-21 12:29:43 -05:00
dependabot[bot]
b7f0f2fd8e
Bump nock from 11.0.0-beta.3 to 11.0.0-beta.4 ( #2818 )
...
Bumps [nock](https://github.com/nock/nock ) from 11.0.0-beta.3 to 11.0.0-beta.4.
- [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-01-21 12:23:29 -05:00
dependabot[bot]
a438ea7eee
Bump sinon from 7.2.2 to 7.2.3 ( #2820 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 7.2.2 to 7.2.3.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v7.2.2...v7.2.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-21 12:05:34 -05:00
dependabot[bot]
433f92fc1e
Bump eslint from 5.12.0 to 5.12.1 ( #2822 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.12.0 to 5.12.1.
- [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.0...v5.12.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-21 12:00:55 -05:00
Jan Keromnes
36956897e9
Make code contributions easier with Gitpod ( #2783 )
...
Ref #2772
2019-01-21 11:44:53 -05:00
chris48s
fba846986a
fix logo imports in [github twitter liberapay] ( #2817 )
...
this was moved in #2796 but we missed updating some of the imports
2019-01-20 23:19:12 -05:00
Paul Melnikow
26d0495ee6
Add logo support for the endpoint badge and refactor logo functions ( #2796 )
2019-01-20 20:22:46 +00:00
Paul Melnikow
a8e27d139d
Fix Docker build ( #2815 )
...
Close #2814
2019-01-20 15:01:07 -05:00
chris48s
7789e80fe5
refactor [packagecontrol] service ( #2803 )
2019-01-19 14:28:14 -05:00
James Cahill
e3c8508ce4
Added various [Spiget] badges ( #2745 )
...
* Spiget Downloads badge
* Spiget Download Size badge
* Spiget Latest version badge
* Add a base class
* Spiget Rating / Stars badges
* Spiget versions badge
* remove useless regex escape
* use renderVersionBadge for rendering
* misc fixes
* use expectJSON when possible
* use the download count color formatter
* merge service classes
* add keywords
* Add tests for non-star ratings
* Add nock tests
* misc fixes
* chore: minor formatting update on spiget dl
2019-01-19 11:24:58 -06:00
Paul Melnikow
94acb92258
Rewrite test of analytics endpoint ( #2810 )
...
This test is being weirdly flaky in #2809 . The problem seems to be in the test helper code, so I rewrote this using Joi.
I imagine the change has to do with a change to the test ordering. It's a bit puzzling.
However, the new test seems fine (and the endpoint is rarely used; not critical to begin with).
2019-01-18 23:51:07 -05:00
Paul Melnikow
69ced81cd1
Fix integration test pattern ( #2811 )
...
Ref #2792
2019-01-18 11:56:04 -06:00
dependabot[bot]
cd8528c30f
Bump eslint-plugin-react from 7.12.3 to 7.12.4 ( #2804 )
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.12.3 to 7.12.4.
- [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.12.3...v7.12.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-18 06:46:46 -05:00
chris48s
653242d004
refactor [itunes] service ( #2802 )
2019-01-18 06:44:49 -05:00
dependabot[bot]
835c21faf3
Bump react-select from 2.2.0 to 2.3.0 ( #2805 )
...
Bumps [react-select](https://github.com/JedWatson/react-select ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/JedWatson/react-select/releases )
- [Changelog](https://github.com/JedWatson/react-select/blob/master/.sweet-changelogs.js )
- [Commits](https://github.com/JedWatson/react-select/compare/v2.2.0...v2.3.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-18 06:40:43 -05:00
Paul Melnikow
5ff7beb3bf
Reorganize token pooling code ( #2792 )
...
Ref #2698
2019-01-18 06:18:31 -05:00
Paul Melnikow
4bfc8d3b72
Fix [static] tests ( #2797 )
2019-01-17 15:24:02 -05:00
Paul Melnikow
328a6b0f9d
Set static previews for packagecontrol ( #2799 )
2019-01-17 15:18:55 -05:00
Paul Melnikow
d927df22c5
Convert more static previews ( #2801 )
2019-01-17 15:13:31 -05:00
dependabot[bot]
ab5fee2bfd
Bump eslint-config-prettier from 3.4.0 to 3.5.0 ( #2794 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 3.4.0 to 3.5.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/v3.4.0...v3.5.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-17 20:02:26 +00:00
dependabot[bot]
f2a6569037
Bump got from 9.5.1 to 9.6.0 ( #2795 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 9.5.1 to 9.6.0.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v9.5.1...v9.6.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-17 19:59:28 +00:00
Paul Melnikow
3c98ad38ac
test:server -> test:core ( #2798 )
...
This renames `npm run test:server` to `npm run test:core` to go along with the reorganization of #2698 . `server` has been a bit imprecise, since there's a lot of stuff under test besides the server, and most of the tests don't hit the server itself.
Probably files like `luarocks.spec.js` ought to be run as part of a different target, especially if we build out a separate code-coverage metric for core. Though I'm not in a huge rush to sort that out.
2019-01-17 13:52:47 -05:00
Paul Melnikow
2ece7c4ee2
Wrap HTML in __html in service def export ( #2791 )
...
The intention of wrapping HTML in an `__html` is to avoid accidentally unsafe rendering of something that is non-html.
Including this in the definition export solves the problem, and does not seem too onerous for other possible users of that file.
Close #2725
2019-01-17 13:47:23 -05:00
Paul Melnikow
4415a3e94e
Reorganize badge URL helper functions ( #2790 )
...
Ref #2698
2019-01-17 13:44:46 -05:00
Paul Melnikow
05b9dd46e8
BaseService: Minor stylistic refactor of color computation ( #2793 )
...
As I was working on refactoring the logo code, I thought of a way to compute the color in a way more befitting the declarative style of the function.
2019-01-16 23:36:06 -05:00
Caleb Cartwright
576a6c1dee
Fix [AzureDevOps] branch specific badges ( #2777 )
...
* fix: updated Azure DevOps fetch function to reflect query param name change
* fix: fixed branch filter for azure devops to enable branch name usage
* fix: simplified branch pattern for azure devops badges
2019-01-16 21:16:32 -06:00
Paul Melnikow
bcc9acd18f
Disallow redundant example patterns ( #2787 )
2019-01-16 19:47:10 -05:00
Paul Melnikow
7d4acba5c1
Validate namedParams in examples ( #2786 )
...
Fix #2784
2019-01-16 19:38:36 -05:00
Paul Melnikow
97e719f226
Make it harder to accidentally trigger all the service tests ( #2789 )
...
It’s happened twice that `[*]` has ended up in a PR title and the full test run has happened inadvertently. Once was me and once was a new contributor.
This raises the bar on doing it accidentally.
2019-01-16 16:58:17 -05:00
Paul Melnikow
18b98a30e3
Reorganize server and service test runner ( #2781 )
...
Ref #2698
2019-01-16 16:30:18 -05:00
Paul Melnikow
474b126be6
Fix color again, for legacy badges ( #2782 )
...
Ref: https://github.com/badges/shields/pull/2780#issuecomment-454873296
2019-01-16 13:37:48 -05:00
Paul Melnikow
4bf55a7826
Fix numeric colorB ( #2780 )
...
Numeric colors weren't properly being handled by `makeBadge` after #2742 .
Since this function really does not need to be accepting colors as strings, rather than make the function more lenient to work with Scoutcamp, I coerced the types of the colors on the way in.
Two tests cover the functionality in the modern service. I don't feel strongly that the legacy version needs coverage at this point, though I've added one for the moment on the github languages badge where this manifested.
Fix #2778
2019-01-16 11:55:50 -05:00
Paul Melnikow
8a10279d95
Add static preview to some [GitHub] services ( #2766 )
2019-01-15 21:43:35 -05:00
Thomas Démoulins
678359bdd6
Fix orange statuses, run tests for [AppveyorCi AzureDevOps Bitbucket CircleCi Gitlab Readthedocs Shippable Wercker] ( #2776 )
...
* Fix orange statuses
* Add test for partially succeeded build
* Add service test for partially succeeded builds
* Add service test for partially succeeded builds
2019-01-15 18:56:42 -06:00
Paul Melnikow
4597d77015
Refactor badge color functions ( #2742 )
...
- Replace the idea of color schemes with the idea of named colors (since none of our colorschemes have used `colorA`)
- Pass through the normalized color to `_shields_test` to harmonize with BaseService and simplify testing
- Update service tests
- Move responsibility for color generation into the npm package
- Remove several color helper functions and their tests
- Update gh-badge public API to accept `color` and `labelColor`
This is a precursor to refactoring some of the logo code for #2473 .
2019-01-15 16:43:33 -05:00
Paul Melnikow
cab689706f
Dynamic cache length overriding ( #2755 )
...
For the Endpoint badge: #2473 .
`request-handler.js` is such a bear. I’m looking forward to being able to rewrite it when the service refactor is done.
2019-01-15 15:44:39 -05:00
Paul Melnikow
a2eec8c8ec
Add more static previews ( #2770 )
2019-01-15 15:41:38 -05:00
Paul Melnikow
5026221e84
Provide better dev feedback by validating services when they are loaded ( #2769 )
...
It's easy to push services that don't validate, because much of the tooling, including the service test runner and the service definition generator, do not validate all the services. This leads to errors that manifest in CI. It would be more helpful to see these errors sooner.
This moves the `validateDefinition()` check to `loadServiceClasses()`, where the services are first loaded, and fixes related validation errors.
2019-01-15 15:39:13 -05:00
Paul Melnikow
a43711fca1
Use simpler regexes in [appveyortests] to address lgtm alert ( #2768 )
...
Two of these regexes have triggered a LGTM alert.
https://lgtm.com/rules/1505904457770/
I’m not terribly concerned about it given this is a test, though it’s nice to clear these up, and the new regexes are a bit easier to understand.
2019-01-15 15:36:52 -05:00
Pierre-Yves B
55ce947a35
Extended usage of build-status.js tomore services ( #2763 )
...
* Extended usage of build-status.js
* Removed remaining status arguments
2019-01-15 20:27:18 +00:00
Paul Melnikow
22e8510fc7
Remove some unused state to clear lgtm alerts ( #2767 )
...
39309c9c20/files/frontend/components/markup-modal/markup-modal-content.js (x9b1573629b59d42e) :1
2019-01-15 14:59:02 -05:00
Paul Melnikow
79af2840f3
Fix overriding bind address on CLI ( #2773 )
...
This fixes e.g. `node server 8080 0.0.0.0`.
Ref #2772 .
2019-01-15 14:38:55 -05:00
Paul Melnikow
a58de54281
Set static previews for [jenkins jenkinsplugin] and tweak tests ( #2765 )
2019-01-14 22:39:51 -05:00
Paul Melnikow
394a411127
Showcase two of our distinguishing features ( #2705 )
2019-01-14 18:54:42 -05:00
Paul Melnikow
9b4ff6a567
Unfork path-to-regexp ( #2757 )
...
pillarjs/path-to-regexp#176 has been released.
2019-01-14 20:41:48 +00:00
dependabot[bot]
eacb331f11
Bump fast-xml-parser from 3.12.11 to 3.12.12 ( #2758 )
...
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser ) from 3.12.11 to 3.12.12.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases )
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-14 20:38:34 +00:00
dependabot[bot]
be3102b08a
Bump simple-icons from 1.9.17 to 1.9.18 ( #2760 )
...
Bumps [simple-icons](https://github.com/simple-icons/simple-icons ) from 1.9.17 to 1.9.18.
- [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-01-14 20:27:44 +00:00
Pierre-Yves B
3cebe3bbd4
Made tests use isBuildStatus validator from build-status.js ( #2762 )
2019-01-14 19:39:06 +00:00
dependabot[bot]
e999d9d018
Bump eslint-config-prettier from 3.3.0 to 3.4.0 ( #2759 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 3.3.0 to 3.4.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/v3.3.0...v3.4.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-14 11:24:22 -05:00
dependabot[bot]
a6f09913e7
Bump got from 9.5.0 to 9.5.1 ( #2761 )
...
Bumps [got](https://github.com/sindresorhus/got ) from 9.5.0 to 9.5.1.
- [Release notes](https://github.com/sindresorhus/got/releases )
- [Commits](https://github.com/sindresorhus/got/compare/v9.5.0...v9.5.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-01-14 11:02:28 -05:00