Commit Graph
723 Commits
Author SHA1 Message Date
Paul MelnikowandGitHub eefca67f14 Avoid inadvertently invoking unwrapped request in vendor helper functions (#924)
- Tweak a couple names to improve readability
2017-09-22 14:08:45 -04:00
Theodore DuboisandPaul Melnikow 56566efd57 Add GitHub search hit counter badge 2017-09-22 13:41:49 -04:00
Abdelkrime AriesandPaul Melnikow 0f65d86486 Add JitPack version badge; fixes #900 2017-09-22 13:35:10 -04:00
Pascal PaulisandPaul Melnikow c7b782b014 Add [continuousphp] integration (#1051) 2017-09-22 13:19:55 -04:00
teppeisandPaul Melnikow 9a3bbcdb2a fix: contributors for GitHub Enterprise 2017-09-22 01:11:50 -04:00
Paul MelnikowandThaddée Tyl 852784b1a2 Fetch Bower data using libraries.io (#919)
- Avoid downloading bower packages via git
- Service is well resourced: https://libraries.io/team
- Same service used by https://bower.io/search/
2017-09-17 23:55:07 +02:00
Thaddee Tyl d032090038 Use a custom logging mechanism
This mechanism eases knowing when a message was logged while keeping the
simplicity of the logging mechanism.
2017-08-30 22:03:30 +02:00
mattbkandThaddée Tyl c023e23e0f Change Gratipay 'tips' to 'receives'
Pull request: #1053.
2017-08-30 21:58:08 +02:00
Elmar PruesseandDaniel Lo Nigro 10566c3c0d Add Conda unit tests 2017-08-23 21:27:43 -07:00
Elmar PruesseandDaniel Lo Nigro 94baa3a298 Cleanup conda shields
- use `const` instead of `var` where possible
 - use `'` instead of `"` consistently
 - replace `forEach` loop with `reduce` call

Thanks to @Daniel15 for review!
2017-08-23 21:27:43 -07:00
Elmar PruesseandDaniel Lo Nigro 43b39c05c3 Add conda badges 2017-08-23 21:27:43 -07:00
Tair AssimovandDaniel Lo Nigro 6534a2a1a8 Add dockbit.com badge (#1022)
* Add dockbit.com badge

* Add missing semicolon

* Remove empty and unneeded tags in SVG file

* Use ES6 consts and template string

* Add Dockbit badge tests and handle server error
2017-07-02 12:59:30 -07:00
Daniel ShumwayandDaniel Lo Nigro 31aad05943 fix(gratipay): distinguish between anonymous and 0 dollar projects (#1007)
* fix(gratipay): distinguish between anonymous and 0 dollar projects

* test(gratipay): add service test

* test(gratipay): test $0
2017-07-01 22:43:11 -07:00
Eugene BekkerandDaniel Lo Nigro ce0eb7b336 Adding support for PowerShell Gallery (#1024)
* Adding support for PowerShell Gallery

PS Gallery is nuget v2 based.  Fixes #1013.

* Updating examples with PowerShell Gallery
2017-07-01 22:35:30 -07:00
Dave CrossandThaddée Tyl 79c24c569b MetaCPAN API v0 has been switched off. Change to use v1. 2017-06-14 13:50:50 +02:00
Thaddee Tyl 42a5de9cab Return when a vendor request fails
Otherwise, this creates cryptic error messages in the server logs.
2017-06-02 20:41:02 +02:00
Rohan PaiandDaniel Lo Nigro f97d5a6bd4 add Sourcegraph.com badge (#828) 2017-05-05 21:30:38 -07:00
Nathan Rennie-WaldockandPaul Melnikow 6031711180 Support [GitHub] releases containing a / in the tag (#756)
- Add tests for download counts
2017-05-04 16:34:44 -04:00
Andre CaetanoandPaul Melnikow a6d81f2391 [Github] File size badge (#745)
Closes #730
2017-05-01 14:28:45 -04:00
Daniel Lo NigroandGitHub 87af3bf672 Add [Discord] badge (#977)
Add Discord badge
2017-04-30 21:54:36 -07:00
Fabrizio CucciandPaul Melnikow 138c1ea4d5 [maven-central] Maven Central badge based on repo1.maven.org rather than search.maven.org (#957)
According to http://central.sonatype.org/pages/ossrh-guide.html#releasing-to-central:

> Upon release, your component will be published to Central: this typically occurs within 10 minutes, though updates to search can take up to two hours.

So, besides the delay, if the indexing jobs for search.maven.org are paused (see https://issues.sonatype.org/browse/OSSRH-27247), it may take quite some time to see the last artifact version even though it has been actually released on Maven Central.

This uses 'latest' version instead of 'release' version. According to the Maven documentation of the maven-metadata.xml (http://maven.apache.org/ref/3.2.5/maven-repository-metadata/repository-metadata.html):
- 'latest': what the latest version in the directory is, including snapshots;
- 'release': what the latest version in the directory is, of the releases only.

Using the 'release' version would imply altering the behavior of the badge, i.e. getting the release version instead of the latest version, which could also be a snapshot version.

Fixes #846.
2017-04-30 10:11:56 -04:00
drdamourandPaul Melnikow 02fc1a1a21 [sonar] Invert colors for public_documented_api_density (#974)
Fix the logic from #724.
2017-04-29 13:54:39 -04:00
drdamourandPaul Melnikow a086dca4de [sonar] Support public_documented_api_density metric as a percentage (#724)
See http://docs.sonarqube.org/display/SONAR/Metric+Definitions
2017-04-28 16:19:39 -04:00
anatoly techtonikandPaul Melnikow 6c34191fcf Add logo to AppVeyor badge and change logo color (#812)
Fixes #507
2017-04-28 01:35:19 -04:00
Paul MelnikowandGitHub f47aa968cd Prepare to modify / refactor analytics (#970)
- Move analytics into their own file
- Add test of analytics endpoint
2017-04-28 01:06:06 -04:00
Saugat AcharyaandDaniel Lo Nigro df9bbbf11b Add npm weekly and npm yearly downloads badge (#958)
Add new badges npm weekly and npm yearly
2017-04-27 21:51:05 -07:00
Georges DupéronandPaul Melnikow db2aafaf2a Removed ability to specify the badge's label for the “website” service, as this is already possible with ?label=some-text 2017-04-26 14:25:15 -04:00
Thaddee TylandPaul Melnikow 182018be76 Redirect root to https://shields.io
The website relies on GitHub Pages. When created, that did not support
TLS. However, last year, support for TLS was added, as detailed
in the following blog post:
https://github.com/blog/2186-https-for-github-pages
2017-04-25 23:43:09 -04:00
G. RoggemansandPaul Melnikow 9b8c1c806d GitHub (pre-)releases (#959)
Added the `/github/release/user/repo/all.svg` endpoint that shows the latest release, including pre-releases.
2017-04-25 12:16:28 -04:00
Daniel Lo NigroandPaul Melnikow ccbdad69ba Split various utilities into standalone files (#952) 2017-04-24 18:37:22 -04:00
Thibaud LepretreandPaul Melnikow 108533e08e [SonarQube] Support user token authentication (#854)
- new secret: `sonarqube_token`
2017-04-24 11:21:09 -04:00
Georges DupéronandPaul Melnikow 571f46f16a Website badge: Fix color and subdirs, allow specifying label (#949) 2017-04-20 14:21:27 -04:00
Cr@zyandPaul Melnikow a079b682e3 Add badges for Uptime Robot (#947)
* numberOfDays optional (default 30) for Uptime Robot ratio
* Require a monitor key, not a user key
* Update gitignore for Jetbrains
2017-04-20 09:31:03 -04:00
Daniel Lo NigroandPaul Melnikow c5bd4a4f5a Add badge for NuGet download count, again (#945)
Switched from SearchAutocompleteService to SearchQueryService as this service also provides download counts.

Closes #678.
2017-04-20 09:26:56 -04:00
Georges DupéronandOlivier Lacan c6f4f57cd1 Closes #946 “maintenance badge doesn't need a question mark” (#950) 2017-04-19 19:14:56 +02:00
Georges DupéronandPaul Melnikow 26847dca80 Fix website badge for deep links (#720)
Works: https://img.shields.io/website/http/github.com.svg
Does not work: https://img.shields.io/website/http/github.com/badges.svg

Regexp was too greedy and included the beginning of the path in the protocol
2017-04-18 23:55:19 -04:00
Maël NisonandPaul Melnikow 5a8b565ebb Fix NPM license badge for scoped packages (#796)
Closes #757
2017-04-18 22:42:14 -04:00
Paul Melnikow a3429a316a Add cauditor.org badge (#704) 2017-04-16 23:44:30 -04:00
Paul Melnikow 1ff0d9217f Fix express repository owner name (#721)
Closes #721
2017-04-13 15:48:58 -04:00
Paul Melnikow 64f8f11026 Allow specifying the key and cert for SSL (#844) 2017-04-13 15:30:30 -04:00
Paul MelnikowandThaddée Tyl 59ec4a420c Check explicitly that license is an array 2017-04-13 08:17:47 +02:00
Paul MelnikowandThaddée Tyl 1ae490a218 Improve CTAN error handling and fix non-svg 404 badges
Fix #921
2017-04-13 08:17:47 +02:00
Paul MelnikowandThaddée Tyl c7c92f12fd Clarify that secrets are optional
- Quit witih an error when secrets can’t be loaded
- Refactor duplicated code

Resolves #894
2017-04-13 00:02:18 +02:00
Paul MelnikowandThaddée Tyl 9e4476d1b6 Use standard version color for clojars 2017-04-12 23:58:37 +02:00
Paul MelnikowandThaddee Tyl 64e9d13e76 Disallow unused variables and turn on a few recommended rules 2017-04-12 23:55:13 +02:00
Paul MelnikowandThaddee Tyl de18dce94a Add more test helpers
While working on some tests, I was having a tricky problem in a test suite. Eventually I tracked it down to an interaction between tests. I suspected the test library, but once I tried to make an isolated test case, I realized the test library was working fine. It turns out it was the server’s request cache. The fix is to clear the cache between tests.

Not needed for this PR, though I’m adding it to this branch because it conflicts with this change.
2017-04-12 23:13:16 +02:00
Paul MelnikowandThaddee Tyl 5a45003bc3 Test server logic for img2svg error, and run the server in-process
Running the server in process is necessary for the mock to work. This is an approach I’ve taken in the past. I experimented with this setup quite a bit when I was playing around with a test suite, and it seemed to work well enough. Setting `process.argv` is a admitedly a bit gross, though a cleaner approach would require more involved changes to `server.js`.
2017-04-12 23:13:16 +02:00
Paul MelnikowandThaddee Tyl 8b77d16a72 Always call the callback + reliable erroring
Fixes #914
2017-04-12 23:13:16 +02:00
Paul MelnikowandThaddee Tyl 0760d17d82 Return data from svg2img via callback
Given the chunks coming from imagemagick are getting stored memory and
then tucked into a cache, this function could as easily return a buffer
via callback. Streaming is just making it more complex. (And trickier to
test!)
2017-04-12 23:13:16 +02:00
Javier GonzálezandPaul Melnikow aa981cba84 iTunes app store version (#840) 2017-04-10 14:40:16 -04:00