Commit Graph

646 Commits

Author SHA1 Message Date
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
Thaddee Tyl
5e4c711813 Twitter follow: verify that data is not undefined 2016-02-22 19:44:29 +01:00
Thaddee Tyl
d23eb63da1 Coverity: avoid crashing the catch code
badgeData was set to undefined and crashed, causing the badgeData.text[1] reset
to crash as well.
2016-02-22 19:34:08 +01:00
Adam Dinwoodie
85286649b6 Add support for Code Climate issues
Resolves #571.
2016-02-22 11:29:49 +00:00
Thaddee Tyl
aac24d4be1 Stack exchange: Detect IP rate limiting 2016-02-17 16:11:35 +01:00
Thaddee Tyl
35dad91bf9 Show 0 downloads for npm packages with no downloads
Fixes #635.
2016-02-14 18:37:50 +01:00
Ken Cochrane
31ed719d1d Update Docker API hostname 2016-02-14 11:03:39 -05:00
Hendrik Brummermann
2921f872d4 added support for download counter on folders at Sourceforge 2016-02-11 18:49:38 +01:00
Thaddee Tyl
9aced916d7 Twitter badge shouldn't override ?label=
Part of #620.
2016-01-31 19:47:23 +01:00
AdrieanKhisbe
9facc08eec Fix twitter scheme color
cf #620
2016-01-31 17:15:55 +01:00
Thaddee Tyl
1bc62fcca3 Maintenance badge
Solves #607.
2016-01-22 21:50:16 +01:00
Thaddee Tyl
5a3b16cf07 Convert single link to a one-element list 2016-01-22 01:41:59 +01:00
Thaddee Tyl
262445a3ed Merge remote-tracking branch 'joshrtay/fix-npm-version-badge-scoped' 2016-01-19 00:50:43 +01:00
Thaddee Tyl
2d24d18ff8 Mention purpose of GitHub private tokens
See #578.
2016-01-17 21:03:22 +01:00
Thaddee Tyl
102e324077 Merge remote-tracking branch 'yannickgit/token-auth-on-github' 2016-01-17 21:02:00 +01:00
Yannick Galatol
41f4bf36d7 Allow token authentication on github 2016-01-17 20:32:06 +01:00
Thaddee Tyl
d741b192e8 Detect Stack Exchange badge errors 2016-01-17 20:20:40 +01:00
Lars Brinkhoff
0b5a8dd2b9 Visual Studio Online build integration. 2016-01-13 08:02:26 +01:00
Liu Xing
0c692d25e0 Change CodeShip domain 2016-01-05 11:11:26 +08:00
Carlos Perez
40740b925a Proper handling of request to bithound badge api. 2015-12-30 10:03:52 -06:00
Carlos Perez
abcd9d6dec Add bitHound integration. 2015-12-30 10:03:52 -06:00
Thaddee Tyl
8ddc3cced7 JIRA issue badge: URL protection, input examples, nits
Part of #587.
2015-12-29 23:06:48 +01:00
Thaddee Tyl
a836fde7f5 Merge remote-tracking branch 'ruizb/jira-issue-vendor' 2015-12-29 23:01:56 +01:00
Thaddee Tyl
c9999ca46c Jenkins 'green' means the build passed
Fixes #586.
2015-12-29 22:46:50 +01:00
Thaddee Tyl
8c88223b6e Merge remote-tracking branch 'larsbrinkhoff/magnumci' 2015-12-29 22:40:01 +01:00
Thaddee Tyl
30c90860db Merge remote-tracking branch 'tomchentw/fix-gemnasium' 2015-12-29 22:31:52 +01:00
Lars Brinkhoff
aae1a0c30a Magnum CI fixes after code review. 2015-12-28 21:42:01 +01:00
Lars Brinkhoff
3901d15cb5 New vendor: Magnum CI. 2015-12-28 21:42:01 +01:00
Josh Taylor
53272c6a94 fix npm version badge for scoped packages 2015-12-27 22:10:53 -08:00
Thaddee Tyl
fa8a3f747f stackexchange: code cleanup, left-hand-side changes
Part of #600
2015-12-27 23:59:25 +01:00
Thaddee Tyl
4b6de8d6ff Merge remote-tracking branch 'larsbrinkhoff/stackexchange' 2015-12-27 23:48:11 +01:00
Thaddee Tyl
ca1cb86d6c Gratipay badge for teams
Fixes #520.

Related to 42d7ea17b5
2015-12-22 18:59:34 +01:00
Thaddee Tyl
33d95aefff Remove "total" from total downloads badges
As mentionned here:
https://github.com/badges/shields/pull/582#issuecomment-164302758.
2015-12-21 20:14:00 +01:00
Benoit Ruiz
58e6a1f20e Add JIRA issue vendor 2015-12-18 14:36:21 +01:00
Lars Brinkhoff
edf80a5560 Fixes according to code review. 2015-12-18 07:07:41 +01:00
Raphaël Pinson
449210e80f Use floorCountColor() for stackexchange badge 2015-12-18 07:07:41 +01:00
Raphaël Pinson
1bfabb9ed7 Add tag badges for StackExchange 2015-12-18 07:07:41 +01:00
Raphaël Pinson
900b482915 Add StackExchange integration 2015-12-18 07:07:41 +01:00
Thaddee Tyl
2fb5c72ec6 Codacy code cleanup 2015-12-17 23:04:54 +01:00
Thaddee Tyl
37649f6ff1 Merge remote-tracking branch 'triberraar/master' 2015-12-17 23:03:17 +01:00
Thaddee Tyl
a1597955d6 Scrutinizer: allow / in branches everywhere
Part of #561.
2015-12-16 00:00:29 +01:00
Thaddee Tyl
6996879173 Scrutinizer code quality: support branches with /
Fixes #561.
2015-12-15 23:52:22 +01:00
Lars Brinkhoff
7aad792fb5 Coverity also consistently uses "passing". 2015-12-14 07:20:46 +01:00
Tom Chen
495eee1660 fix(server.js): Gemnasium svg regex update 2015-12-14 11:12:25 +08:00
Thaddee Tyl
f46071f9ca Merge remote-tracking branch 'lykegenes/Add-Package-Control' 2015-12-13 23:11:49 +01:00
Patrick Samson
3ad1b37d93 Remove 'total' from badge 2015-12-13 17:09:05 -05:00
Patrick Samson
f35c86d5dc Fixed Package Control downloads support 2015-12-13 16:55:11 -05:00