Commit Graph

692 Commits

Author SHA1 Message Date
Thaddee Tyl
62ecc175ca Merge branch 'jira-sprint'
Fixes #770.
2017-01-09 23:56:37 +01:00
Thomas VIAL
83da3fefef Added JIRA agile sprint completion 2017-01-09 23:56:09 +01:00
Thaddee Tyl
a440c0840b Register colorA/B as part of the cache index 2017-01-08 17:26:26 +01:00
Thaddee Tyl
052740ff15 Improve Chrome Web Store: price with currency, rating over 5 2016-11-25 00:08:49 +01:00
Thaddee Tyl
1b699773ba Factorize star rating string generation
There was duplicated code in d10764a8f5.

Related to #831.
2016-11-24 23:56:31 +01:00
RedSparr0w
d10764a8f5 add 5 star ratings 2016-11-24 23:54:49 +01:00
Konstantin Zudov
52b0369c14 Allow specifying the color of left/right part
Specifying `colorA`/`colorB` parameters allows
to change the background color of the left/right
part of the badge.
2016-10-30 15:36:05 +01:00
Thaddee Tyl
7403b61e25 Mozilla Add-ons: say "add-on" instead of addon
Mozilla's website uses that format.

Also, show star-rating as "4/5" instead of "4 stars" (which looks verbose, less
informative, and grammatically incorrect if there is a single star).
2016-10-30 10:51:52 +01:00
Józef Sokołowski
2cb82a4ab3 Add Mozilla Addons support 2016-10-30 10:47:56 +01:00
Danial
3edd0df04c CircleCI: show vendor error messages on badges
example:
https://github.com/badges/shields/pull/798#issuecomment-255621160
2016-10-26 00:10:44 +02:00
Thaddee Tyl
6e5904df0a Match CircleCI project host with trailing /
This prevents from misparsing /circleci/project/githubuser/repo.svg as user
"user".

Related to #798.
2016-10-23 17:26:47 +02:00
Thaddee Tyl
dce818a7d2 Merge remote-tracking branch 'redsparrow/Circle_CI' 2016-10-23 17:23:18 +02:00
RedSparr0w
2b0d688d09 Update With Changes 2016-10-22 22:56:40 +13:00
Peter Dave Hello
251c792d74 Add CDNJS version integration 2016-10-15 23:16:25 +08:00
Thaddee Tyl
1996a5399f Ensure GitHub contributors can have a metric prefix 2016-10-15 16:38:43 +02:00
Thaddee Tyl
670867098d Send false instead of Nan to GitHub contributors-anon 2016-10-15 16:35:39 +02:00
Thaddee Tyl
18bc0be3e5 Merge remote-tracking branch 'qzb/bugfix/contributors-badge' 2016-10-15 16:34:33 +02:00
RedSparr0w
e31f9ac2bd Fix Circle CI Integration 2016-09-27 11:16:18 +13:00
Nishanth Vijayan
25fb85e397 Allow label overriding in all Chrome web store badges 2016-09-06 16:46:41 +05:30
Thaddee Tyl
00a025310d Merge remote-tracking branch 'pyro2927/enterprise' 2016-08-17 19:29:41 +02:00
Józef Sokołowski
dfb4804973 Fix contributors badge
Fixes #764
2016-08-16 10:52:49 +02:00
Mauro Pompilio
a51c440310 Merge branch 'master' into librariesio 2016-08-12 10:48:47 +01:00
Thaddee Tyl
551bbc82fe Fix GitHub closed issues count
Fixes #761.
2016-08-10 21:58:58 +02:00
Thaddee Tyl
fbe13d7896 Merge remote-tracking branch 'jrottenberg/241' 2016-07-26 00:00:08 +01:00
Thaddee Tyl
f41ee2d0f8 Issue Stats: default to short form
Use the long form with prefix 'long'.
An example of that is added.

Part of #656.
2016-07-24 00:04:19 +02:00
Thaddee Tyl
08b2989756 Merge remote-tracking branch 'kevinoid/issuestats' 2016-07-23 23:59:27 +02:00
Andrew Spyker
925c314ffd add NetflixOSS OSSMETADATA osslifecycle support 2016-07-09 20:57:35 -07:00
Thaddee Tyl
b5fc436e8d GitHub stars and commits: metric figures 2016-07-05 10:57:13 +02:00
Thaddee Tyl
8a648fa156 Merge remote-tracking branch 'harryi3t/master' 2016-07-03 20:33:13 +02:00
Thaddee Tyl
d69ecd5ef3 GitHub pull requests / closed pull requests
Corrects code from the #423 patch.
2016-07-03 20:05:00 +02:00
Thaddee Tyl
658291fa90 Merge remote-tracking branch 'peterdavehello/EnhanceGitHub' 2016-07-03 20:04:49 +02:00
Peter Dave Hello
5f010260e1
use metric for badge text in GitHub issues 2016-07-03 20:33:39 +08:00
Peter Dave Hello
e1666e1cae
add GitHub closed issues, pr integration 2016-07-03 20:31:28 +08:00
Peter Dave Hello
04d24f6c62 add GitHub contributors integration 2016-07-03 20:28:09 +08:00
Peter Dave Hello
2d3f21624d
add GitHub pullrequests integration 2016-07-03 20:28:08 +08:00
Thaddee Tyl
37dd62a659 Example for GitHub downloads tag 2016-07-03 11:24:23 +02:00
Thaddee Tyl
56746d4a38 GitHub auth: rely on cache if no tokens remain 2016-06-27 19:37:19 +02:00
Thaddee Tyl
e79368dc76 GitHub auth: use custom request() in server.js 2016-06-24 23:22:33 +02:00
Thaddee Tyl
0769bebfa5 A few CocoaPods cleanups
Related to #705.
2016-06-08 14:56:39 +02:00
Nikita Lutsenko
8faa38e7f0 Add CocoaPods apps badges. 2016-06-07 12:07:44 -07:00
Nikita Lutsenko
f8861a4c51 Add CocoaPods downloads badges. 2016-06-07 12:07:44 -07:00
Thaddee Tyl
ccaacfc408 Support GitHub OAuth user authentication
Issue #529.
2016-05-21 21:34:35 +02:00
pyro2927
2f6c455420 Allowing GitHub API URL override
Useful for GitHub Enterprise installations
2016-05-17 15:16:35 -07:00
Thaddee Tyl
bf78077010 Merge remote-tracking branch 'jsmaniac/website-badge' 2016-05-17 23:58:04 +02:00
Thaddee Tyl
4b62a15f74 Merge remote-tracking branch 'gep13/RemoveUnnecessaryBreak' 2016-05-16 22:37:31 +02:00
Thaddee Tyl
2c30d62d10 Merge remote-tracking branch 'g105b/master' into codacy 2016-05-16 23:59:20 +02:00
Thaddee Tyl
4f2f95fed7 Production cache debugging endpoint
Initially motivated by a CloudFlare cache error (#534).
2016-05-14 15:18:58 +02:00
Thaddee Tyl
159e1eff57 Remove gitter debugging headers
From be5a9eef48 and
82d84607c2.
2016-05-14 15:18:20 +02:00
Thaddee Tyl
82d84607c2 Set gitter Expires to 50 secs later
For debugging purposes for CloudFlare.
2016-05-14 13:17:15 +02:00
Thaddee Tyl
be5a9eef48 Set gitter Cache-Control max-age to 50
For debugging purposes for CloudFlare.
2016-05-10 20:03:53 +02:00
Harendra Singh
840a48ec4b Adds ability to customize shippable badges 2016-05-10 18:34:27 +05:30
Thaddee Tyl
6650f5a555 Add uncertainty modifier for GitHub issues
Related to #709.
2016-05-09 21:37:29 +02:00
Thaddee Tyl
38f9625cde Generalize maxAge 2016-05-08 12:30:11 +02:00
Philippe Lafoucrière
d41c73db42 Fix Gemnasium badge when status is update!
up-to-date appears twice here, and update! nowhere. This causes badges like https://img.shields.io/gemnasium/resque/resque-web.svg to appear undefined, while there are actually red: https://gemnasium.com/resque/resque-web.svg
2016-05-05 15:58:46 -04:00
Thaddee Tyl
cb598af0d4 gitter: more space for the logo 2016-05-01 11:24:09 +02:00
Thaddee Tyl
b5a90f8859 Twitter follow badge adjustment
It has an @ for parity with official buttons.
2016-05-01 11:10:52 +02:00
Thaddee Tyl
16df09a7c3 Merge remote-tracking branch 'uchida/fix-ansible-role-badge' 2016-04-27 19:32:37 +02:00
Thaddee Tyl
5fca8bb965 Ensure metric() doesn't produce "1000K"
for instance
2016-04-27 19:10:20 +02:00
Thaddee Tyl
7177bee242 beerpay: added comments 2016-04-20 20:34:18 +02:00
Thaddee Tyl
f5bdef4298 Merge remote-tracking branch 'colkito/master' 2016-04-20 20:33:00 +02:00
Thaddee Tyl
954a47df7f Omit needless ? in regex
Related to #462 and #597.
2016-04-18 21:22:17 +02:00
Maarten Balliauw
22700fd0da Add support for custom MyGet tenants
Add support for custom MyGet tenants (e.g. dotnet.myget.org)

Sample shield URL would be: `https://img.shields.io/dotnet.myget/dotnet-coreclr/v/Microsoft.DotNet.CoreCLR.svg`
2016-04-18 21:12:02 +02:00
Georges Dupéron
36a6da574d Added support for online/offline website badge. 2016-04-17 00:32:52 +02:00
Kevin Locke
4fe65e1675 [PATCH v3] Add support for issuestats.com
This commit adds support for issuestats.com, as requested in #351.  The
implementation is straight-forward, with the exception of the handling
of 'not found' which currently returns text/html with code 200 (see
hstove/issue_stats#38).  The URL parsing is somewhat lax to allow future
support for other hosting platforms which may not follow GitHub's
user/repo URL scheme.  It also passes through the `concise` query
parameter, if present, which shortens the text a bit.

Changes in v3:
- Fix `concise` option assignment holdover missed in v2 changes.
- Make `label` check null/undefined rather than falsey.

Changes in v2:
- Move type to first parameter and shorten to 1 character.
- Change `concise` option from query param to optional path component
- Make `color` check null/undefined rather than falsey.
- Add try-catch around JSON value extraction and response, by request.

Fixes: #351

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-04-16 15:28:44 -07:00
Thaddee Tyl
27a371a22b Merge remote-tracking branch 'kencochrane/update_docker_url' 2016-04-15 23:06:05 +02:00
Gary Ewan Park
c86f903bce
Removed unnecessary break 2016-04-14 08:41:55 +01:00
Thaddee Tyl
6c4e21b73d Homebrew fixes
Related to #675.
2016-04-14 09:22:32 +02:00
Thaddee Tyl
32b89a9c05 Merge remote-tracking branch 'gep13/braumeister' 2016-04-14 09:21:25 +02:00
Thaddee Tyl
0ef8ac9ea4 Bitbucket support
Fixes #626.
2016-04-11 09:02:23 +02:00
Thaddee Tyl
b89dc72fc4 Support ?maxAge
Fixes #534.
2016-04-09 19:34:13 +02:00
Thaddee Tyl
4cbdf9ab4f Merge remote-tracking branch 'sanemat/chore/chrome-web-store-re-try' 2016-04-08 23:32:12 +02:00
Gary Ewan Park
2b5ec621a7 (GH-638) Added basic badge integration for homebrew 2016-04-07 20:16:54 +01:00
Thaddee Tyl
2ecb691196 Correct indentation
From 40471a1.
2016-04-06 01:14:41 +02:00
Thaddee Tyl
6fb5bd2d01 Merge remote-tracking branch 'jpellis/aur' 2016-04-06 01:13:05 +02:00
Thaddee Tyl
7dc09e2e8d Added dotted-version comparator & latest version
As planned in
https://github.com/badges/shields/issues/490#issuecomment-205550621.

Fixes #490.
2016-04-05 22:21:23 +02:00
sanemat
e5103a1781 Add chrome extension support
* Version, Downloads, Price, Rating and Rating Count for chrome app,
chrome extension and chrome theme.
* Google does not provide a public API for chrome web store.
* Use `chrome-web-store-item-property`.
    * Gather meta information from chrome web store.

see #505, #636
2016-04-05 22:03:18 +09:00
JP-Ellis
40471a137e Add AUR integration.
Add badge for the Arch User Repository (AUR).  Includes badges to
display the current version, number of votes, and license.

Unfortunately, their API does not display downloads at this stage.

Signed-off-by: JP-Ellis <josh@jpellis.me>
2016-04-05 12:03:47 +10:00
Thaddee Tyl
af939703a4 Merge remote-tracking branch 'evancohen/waffle' 2016-04-03 13:14:48 +02:00
Thaddee Tyl
657986351c GitHub issue label support
Related to #257.
2016-04-03 13:13:30 +02:00
Akihiro Uchida
fa109d5e39 fix errored in ansible role badge 2016-04-03 18:07:26 +09:00
Evan Cohen
fbd5b564be code style fixes and a slight optimization 2016-04-01 11:00:32 -07:00
Evan Cohen
cd1c9e176b adding fallback color when there are no labels 2016-03-31 22:42:13 -07:00
Evan Cohen
5b2b74bdbb using waffle API. Fixes badges/shields#257 2016-03-31 21:54:36 -07:00
Thaddee Tyl
27ef17defb Waffle.io support
Fixes #257.
2016-03-30 23:55:29 +02:00
Mario Colque
93247eef67 added working examples in cooments, code-styling, added example to try.html 2016-03-30 13:50:15 -03:00
Julien Rottenberg
e728f2395c Clearer format for #661 2016-03-29 21:33:51 -07:00
Thaddee Tyl
e1f2b7b5b1 Merge remote-tracking branch 'me-and/codeclimate-issues' 2016-03-29 23:49:07 +02:00
Thaddee Tyl
fdc3c98915 Merge remote-tracking branch 'tomap/master' 2016-03-29 23:26:09 +02:00
Thaddee Tyl
cb0ded2f3a Merge remote-tracking branch 'nhnb/source_downloads_per_folder' 2016-03-28 20:46:07 +02:00
Thaddee Tyl
7bd2e9a819 gemnasium ?label override
Closes #619.
2016-03-28 20:11:53 +02:00
Thaddee Tyl
99c1a4fbdc Merge remote-tracking branch 'rexxars/bithound-support' 2016-03-28 19:33:07 +02:00
Thaddee Tyl
fbb034f6e5 MyGet: use of v3 API
Fixes #655.
2016-03-15 14:20:00 +01:00
Thaddee Tyl
4df74acd6c NuGet: use API v3
The v2 API returned XML even though we asked for JSON.

MyGet is still not working.

Part of #655.
2016-03-14 18:16:09 +01:00
Thaddee Tyl
a1332d406b Merge remote-tracking branch 'meteormatt/master' 2016-03-12 22:44:03 +01:00
Greg Bowler
6647218834 Implement Codacy coverage badge
fixes badges/shields#559
2016-03-11 17:29:20 +00:00
Greg Bowler
0c4a0e4316 Update original SVG URL to include explicit "grade" 2016-03-11 16:58:27 +00:00
Greg Bowler
d2a6b5a4ea Update regex for backwards compatibility, but do not match "coverage" 2016-03-11 16:56:04 +00:00
Julien Rottenberg
d1321179c9 PR for badges/shields#241 2016-02-27 18:56:23 -08:00
Mario Colque
1c1993f7a8 added beerpay.io itegration 2016-02-25 18:13:02 -03:00
Thomas
ec1420649c Visual Studio Team Services
Visual Studio Online has been renamed Visual Studio Team Services
2016-02-24 11:26:18 +01:00