Commit Graph

253 Commits

Author SHA1 Message Date
Thaddee Tyl
1acc586bac Packagist: using semver to order versions
Fixes #175.
2014-05-26 13:30:14 +02:00
Thaddee Tyl
778bdebe10 Show the most recent semver GitHub release tag.
Fixes issue #172.
2014-05-26 13:28:57 +02:00
Samuel E. Giddins
8a12179bcd [CocoaPods] Added CocoaPods license and platform badges
Using Orta-sanctioned colors from https://github.com/CocoaPods/pod-template/issues/44
2014-05-26 13:28:57 +02:00
Thaddee Tyl
64dabbb881 Coveralls: use request().
Should fix #180.
2014-05-26 13:28:57 +02:00
Nick Merwin
c22df02ccf Coveralls apiUrl use badge subdomain
To bypass CloudFlare's threat control.
2014-05-26 13:28:57 +02:00
Thaddee Tyl
8cc1a17cd4 Relocate the TeamCity code.
To be with Travis, another build success checker.

Also, changed the comment so that it reflects that this is *not* a version
grabbing hook.
2014-05-26 13:28:57 +02:00
Thaddee Tyl
16a800a82f Use semver to show versions.
This commit introduces the common function to do that.
2014-05-26 13:28:56 +02:00
Daniel Lo Nigro
4bc454198f Add NuGet download count 2014-05-26 13:28:56 +02:00
Daniel Lo Nigro
77a90bfd77 Americanise spelling 2014-05-19 11:16:11 -07:00
Daniel Lo Nigro
f3b41eea1c Revert "Americanise spelling"
This reverts commit 45a0b413af.
2014-05-19 11:15:20 -07:00
Daniel Lo Nigro
45a0b413af Americanise spelling 2014-05-19 11:12:38 -07:00
Daniel Lo Nigro
1257a956fc Add TeamCity code coverage 2014-05-17 23:23:57 -07:00
Thaddee Tyl
d623f52400 Shorter metric prefix map. 2014-05-10 18:02:39 +02:00
Thaddee Tyl
0cf7c72da8 Small fixes. 2014-05-09 23:06:28 +02:00
Jan Vansteenkiste
734ba2e8b8 Added puppet forge (version) support 2014-05-09 06:06:34 +02:00
Thaddee Tyl
0123974678 Add a lot more metric prefixes. 2014-05-06 10:53:25 +00:00
Thaddee Tyl
2a61abf55c Total and daily downloads for Packagist.
Fixes #167.
2014-05-04 18:11:11 +00:00
Leo Colombaro
a5851b55ef Get latest GitHub release by creation dates comparison
Fixes #169
2014-05-04 13:00:26 +02:00
Thaddee Tyl
f477e1a517 When failing to get data from a vendor while having sent a badge from cache,
… we stop faster.
2014-05-02 18:49:43 +00:00
Thaddee Tyl
99d490e1c3 Send cached badge directly if statistically accurate.
See rationale here:
<https://github.com/badges/shields/issues/161#issuecomment-41812007>.
2014-05-02 17:16:07 +00:00
Thaddee Tyl
0a4bcd6ff9 Set the serverUnresponsive flag correctly.
Even when we can send cache data.
2014-04-30 16:11:16 +00:00
Thaddee Tyl
784fcbbbf7 Cache all badges to show them if the vendor is not accessible. 2014-04-30 10:46:13 +00:00
ZHANG Yi
703f67d54a gemnasium: fix devDependencies badge 2014-04-29 15:58:26 +08:00
Thaddee Tyl
5cee17f494 Trivial comment change for precision. 2014-04-24 15:00:12 +00:00
Thaddee Tyl
fdc9f374c3 Reorder travis builds together on try.html.
Also, update comment on TeamCity to be more contextual.
2014-04-23 23:32:22 +00:00
Anthony van der Hoorn
acfe2accb2 Adds TeamCity CodeBetter release badge 2014-04-23 15:00:30 -04:00
Anthony van der Hoorn
abc6d690db Adds Nuget release badge 2014-04-21 09:14:44 -04:00
Thaddee Tyl
5ec58cae0c Apply flat style to custom badges.
Follow-up to issue #159.
2014-04-20 22:27:18 +00:00
Thaddee Tyl
d578b65513 new flat style: cleanup.
- The information stored in `makeImage`'s `options` parameter is better served
  in its `data` parameter,
- Remove the (no longer used) `colorscheme` parameter to `makeTemplate`,
- We can already get to the contents of the URL query parameter `style` through
  that `data` parameter in `getRequest`,
- Relocation of the code to set badge data related to the flat style into
  `getBadgeData`,
- Code style (adding semicolons).

Related to issue #159.
2014-04-19 22:25:35 +00:00
Max Ogden
f97fbf0dd0 add templates support and new flat style option 2014-04-19 01:11:06 -07:00
Thaddee Tyl
59c04d33df Chef's Cookbook version badge: use "cookbook".
See issue #157
2014-04-11 20:39:12 +00:00
Thaddee Tyl
296a162a41 Use v[version] for Chef as well. 2014-04-11 19:17:56 +00:00
Seth Vargo
731acf5d94 Add a route for Chef cookbooks 2014-04-10 16:55:33 -04:00
Thaddee Tyl
7805b757b5 Vendor request timeout set at 25s. 2014-04-09 16:49:32 +00:00
Thaddee Tyl
7569f68c3b Avoid sending data when vendor server unresponsive. 2014-04-09 16:39:46 +00:00
Thaddee Tyl
5685238956 Using Redis to store analytics on Heroku. 2014-04-07 23:29:30 +00:00
Ford Hurley
d9a80bb6ed Add option to show PyPI downloads from last_week and last_day
In addition to /pypi/dm, users can use /pypi/dw and /pypi/dd for more
detailed download counts.
2014-04-07 08:06:44 -04:00
Thaddee Tyl
9d60e7be36 Inform when a vendor is nonresponding. 2014-04-04 19:02:06 +00:00
Thaddee Tyl
db6a654eba Use word "coverage" for code climate coverage. 2014-03-27 12:39:54 +01:00
Thaddee Tyl
e142a37d96 Support for Packagist License.
Fixes #152.
2014-03-27 12:34:21 +01:00
Thaddee Tyl
1502080555 Code Climate coverage integration.
Fixes #151.
2014-03-26 15:27:41 +01:00
Thaddee Tyl
f19ab602f6 Extract Gemnasium data from SVG image.
Fixes issue #148.
2014-03-23 02:27:48 +01:00
Thaddee Tyl
8ce49b9196 npm version: accurate information using Accept header.
See <https://github.com/npm/npmjs.org/issues/163>.
2014-03-19 12:23:11 +01:00
Thaddee Tyl
5050698c14 [travis] Accurate badge information. 2014-03-17 16:41:51 +01:00
Thaddee Tyl
8ba86f7aff GitHub Badges: use "tag" and "release". 2014-03-17 13:57:26 +01:00
Thaddee Tyl
2bd90326ad GitHub Badges: Check for versions. 2014-03-17 13:57:26 +01:00
Mark S. Everitt
806a2dc67d Adds GitHib release badge. 2014-03-15 02:25:38 +00:00
Thaddee Tyl
c1c35571e6 GitHub tags: Comments, color, version detection.
Related to issue #143.
2014-03-14 16:58:38 +01:00
Mark S. Everitt
569714d986 Adds a badge that gets the latest github tag. 2014-03-14 00:36:41 +00:00
Adrian Kashivskyy
e4c7a30f07 Add CocoaPods version integration 2014-03-12 21:46:00 +01:00
Thaddee Tyl
bf839e8199 [server] Proper try / catch guards.
Fixes issue #139.

Featuring a massive use of Request (the npm module).
2014-03-12 08:18:25 +01:00
Thaddee Tyl
dc45ccc5da [npm] Removed lax certificate requirement.
The downloads API now has a proper certificate.
2014-03-09 10:11:25 +01:00
Thaddee Tyl
15be3df881 npm downloads work again. 2014-03-05 18:50:29 +01:00
Thaddee Tyl
ee4c9f885a Travis support through its json api, not png
If the PNG format (which we only used HEAD with) is rate-limited, as seems to be
the case considering issue #137, this should fix it. However, this is about
experimentation, since I have received little communication from them on those
issues.
2014-03-04 13:55:00 +01:00
Thaddee Tyl
6d9600f8c0 Simplify default badge data setup. 2014-03-03 22:41:45 +01:00
Thaddee Tyl
293b99d967 Using Request for gittip vendor. 2014-03-03 02:41:05 +01:00
Thaddee Tyl
2331cd3214 Auto-save (and auto-load) analytics data. 2014-02-25 23:04:19 +01:00
Thaddee Tyl
b223047f53 Analytics: don't reset too many days. 2014-02-22 12:18:48 +01:00
Thaddee Tyl
9fd74b2814 Make localhost:1337/index.html work for testing. 2014-02-14 17:27:57 +01:00
Ross Masters
b3874fcfe6 Add Packagist latest version badge
Similar to the version badges at https://poser.pugx.org/
2014-02-14 12:42:28 +00:00
Thaddee Tyl
d19a4ad24d Analytics. 2014-02-11 14:56:59 +01:00
Thaddee Tyl
8f84eef93f Redirect the root. 2014-02-09 19:17:40 +01:00
Ricky Elrod
acf16d61e7 Add Hackage support! 2014-02-05 04:38:15 -05:00
Thaddee Tyl
1d55bfb505 [trivial] better comment. 2014-01-30 18:13:28 +01:00
Thaddee Tyl
5602ed50f3 Cache control: w/ cache hit too + re-add 1day for static images 2014-01-28 04:54:26 +01:00
stefan judis
ae09490aed Added no-cache headers - fixes #28 2014-01-28 00:33:54 +01:00
Thaddee Tyl
0b1253347d Use of bright green meaning "OK" for vendors. 2014-01-24 07:55:34 +01:00
Thaddee Tyl
a0de75881a Add /badge/ (alongside :) from public request. 2014-01-24 00:09:00 +01:00
Thaddee Tyl
21bec1cbfd Server cache for 1 minute. 2014-01-24 00:07:03 +01:00
Thaddee Tyl
2b40bec6dc server: check for 302 from Gittip. 2014-01-23 19:41:28 +01:00
Thaddee Tyl
3aafa1a774 PyPI downloads: proper "downloads" label. 2014-01-22 09:55:26 +01:00
Thaddee Tyl
0ecb22fd7b Travis builds: brightgreen. 2014-01-22 09:51:39 +01:00
Thaddee Tyl
07871bcde5 PyPI: versions. 2014-01-22 09:47:43 +01:00
Thaddee Tyl
a279174abc PyPI Integration.
Part of issue #16.
2014-01-22 09:21:05 +01:00
Thaddee Tyl
500b930ae3 server: Omit needless escapeFormat(). 2014-01-22 08:52:37 +01:00
Erin Millard
2fc7a7c191 Allow custom labels for integrated services. 2014-01-22 09:42:56 +10:00
Thaddee Tyl
9ddf3f6a04 Support /travis-ci/ paths for shields.io compatibility 2014-01-20 11:48:05 +01:00
Thaddee Tyl
e698fdf39a Gemnasium Integration.
Part of issue #16.

Part of issue #19.
2014-01-20 11:36:41 +01:00
Thaddee Tyl
faf0444be0 Advertise code climate support. 2014-01-20 10:55:54 +01:00
Thaddee Tyl
7d257711f5 Code Climate Integration.
Part of issue #16.
2014-01-20 10:39:53 +01:00
Thaddee Tyl
48cf0cc008 Tests and coverage analysis. 2014-01-18 17:49:52 +01:00
Thaddee Tyl
e92060131f Avoid crash in case of invalid travis. 2014-01-15 23:32:35 +01:00
James Harris
9de0b25280 Add support for explicit branches with coveralls service. 2014-01-13 10:24:29 +10:00
Thaddee Tyl
cea7b6a0b0 [trivial] indentation fix. 2014-01-12 16:28:35 +01:00
James Harris
cb625f018a Added support for specific Travis CI branches. 2014-01-12 16:15:56 +01:00
Thaddee Tyl
bb3d9ff63c Version starts with v, space removal, s/NPM/npm/. 2014-01-06 17:16:36 +01:00
Thaddee Tyl
0e5e5e4f90 Give metric approximation. 2014-01-06 16:48:28 +01:00
Thaddee Tyl
4154eadbca Gem Integration.
Part of issue #16.
2014-01-06 15:48:03 +01:00
Thaddee Tyl
6d398af7e2 NPM Version Integration.
Part of issue #16.
2014-01-06 15:27:32 +01:00
Thaddee Tyl
5b56a3cc74 NPM Integration.
Part of issue #16.
2014-01-06 15:01:58 +01:00
Thaddee Tyl
a01d9abe24 Packagist Integration.
Part of issue #16.
2014-01-06 14:32:06 +01:00
Mathias Bynens
55b208900e server: Send SVG images as UTF-8 2014-01-06 09:31:51 +01:00
Thaddee Tyl
a780b25233 Deal with Coverage's unkown state.
Part of issue #16.
2014-01-05 15:41:35 +01:00
Thaddee Tyl
c3fd3cfd79 Gittip Integration.
Part of issue #16.
2014-01-05 15:33:11 +01:00
Thaddee Tyl
b562c00da5 Coveralls Integration.
Part of issue #16.
2014-01-05 15:15:48 +01:00
Thaddee Tyl
5aab5a8705 Travis-CI integration.
Part of issue #16.
2014-01-05 14:42:54 +01:00
Thaddee Tyl
ec4326381c URL format change, to prepare for future possibilities. 2014-01-05 12:36:52 +01:00
Thaddee Tyl
16da2eee02 Allow {png,gif,jpg,pdf} output. 2014-01-05 12:36:51 +01:00
Thaddee Tyl
cd6bfd23ea Cache images: max-age + last-modified. 2014-01-04 20:36:52 +01:00
Thaddee Tyl
c73f7d098f Server: allow arbitrary hex colors.
Fixes #12 since that ensures Buckler parity.
2014-01-04 16:56:24 +01:00
Thaddee Tyl
c04d52da73 Proper escaping for the web service. 2014-01-03 23:49:05 +01:00
Thaddee Tyl
c566277391 Node engine version information. Deployment files. 2014-01-03 19:25:49 +01:00
Thaddee Tyl
08172c504b Automated server. 2014-01-03 17:08:19 +01:00