Commit Graph

1193 Commits

Author SHA1 Message Date
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
290f6bc5d0 website: homebrew maxAge 2016-04-17 00:19:16 +02: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
f6cfed4653 website: ?maxAge 2016-04-13 23:39:54 +02:00
Thaddee Tyl
1cf19d5aaf suggest AGPL
Fixes #674.
2016-04-11 09:05:24 +02:00
Thaddee Tyl
cbc0f9ddc8 website: document ?maxAge 2016-04-11 09:03:13 +02:00
Thaddee Tyl
0ef8ac9ea4 Bitbucket support
Fixes #626.
2016-04-11 09:02:23 +02:00
Thaddee Tyl
c6ec615528 Merge remote-tracking branch 'peterdavehello/favicon-optimize' 2016-04-10 14:15:00 +02:00
Thaddee Tyl
3f5297e2a8 website update with maxAge fix 2016-04-10 14:10:54 +02:00
Thaddee Tyl
e3535f7a42 website: remote ?maxAge from link dialog
Follow-up for 89affa49fe.
2016-04-10 14:02:23 +02:00
Thaddee Tyl
89affa49fe website: use heavy HTTP caching
This will hopefully help a bit for #633.
2016-04-10 13:43:00 +02:00
Thaddee Tyl
b89dc72fc4 Support ?maxAge
Fixes #534.
2016-04-09 19:34:13 +02:00
Thaddee Tyl
e8a2b1ce8a Document custom badges more prominently
Fixes #663.
2016-04-08 23:57:22 +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
f07b7ab69c website: AUR 2016-04-06 01:15:27 +02: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
1e24e2624d GitHub label, Waffle label 2016-04-04 23:43:52 +02: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
0826665c49 website: waffle.io 2016-03-31 23:58:14 +02:00
Thaddee Tyl
27ef17defb Waffle.io support
Fixes #257.
2016-03-30 23:55:29 +02:00
Thaddee Tyl
582a8f7ce3 website: code climate, visual studio 2016-03-30 22:53:00 +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
cde3298ddb website: sourceforge + bithound 2016-03-29 23:20:58 +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
479b5c6666 Document the command to generate index.html 2016-03-28 19:53:49 +02:00
Thaddee Tyl
99c1a4fbdc Merge remote-tracking branch 'rexxars/bithound-support' 2016-03-28 19:33:07 +02:00
Konstantin Molchanov
4b3b8bd49b Attempt to add logo to flat-square template
I'm really not sure this would work, I just copied a code chunk from flat.
2016-03-22 10:58:35 +03:00
Thaddee Tyl
2fb78ba775 website: MyGet 2016-03-15 14:25:47 +01: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
b72e29d793 Increase chances of pixel grid alignment 2016-03-13 23:55:06 +01:00