Commit Graph

359 Commits

Author SHA1 Message Date
claudiofullscreen
cd7d0fd488 Fix Gemnasium badges
Gemnasium has changed the 'y' position of the text, so shields
version of the gemnasium badges are currently broken.
This commit fixes them.
2014-08-20 15:09:19 -07:00
Sergey Petrov
c76348e711 Added support for standalone TeamCity instance 2014-08-20 21:55:15 +04:00
Guilhem Lettron
8934e84500 Update chef cookbook url to use new fancy supermarket 2014-08-20 11:58:40 +02:00
Thaddee Tyl
204bc81ccc Analytics for flat and flat-square designs. 2014-08-12 09:03:55 +02:00
Thaddee Tyl
9c9df2f641 Support the old flat style as flat-square.
Part of issue #185.
2014-08-11 08:45:50 +02:00
Thaddee Tyl
7d30f2b92d Hex.pm's website uses the term "Hex", not "Hex.pm" 2014-08-08 18:00:23 +02:00
Alxandr
bbcd8ad954 myget support 2014-08-08 13:17:06 +00:00
myfreeweb
7e9709a0e5 hexpm -> hex.pm 2014-08-06 14:01:30 +04:00
myfreeweb
cfe4abd495 Add hex.pm support 2014-08-06 13:45:02 +04:00
Thaddee Tyl
7dbce1f011 In the code comments: s/visionmedia/strongloop/ 2014-08-04 09:17:30 +02:00
Thaddee Tyl
ee04259e36 Jenkins: added try / catch.
Related to #213.
2014-07-30 21:48:03 +02:00
Thaddee Tyl
fde45337ff Merge remote-tracking branch 'therealtbs/master' 2014-07-30 21:35:27 +02:00
Thaddee Tyl
f778b9f4f3 Server: Expires header.
Fixes #221.

Hat tip to @bogdanRada and @0xced.
2014-07-29 20:34:45 +02:00
Thaddee Tyl
afbf42173d Make things more obvious for contributors. 2014-07-28 19:00:28 +02:00
Thaddee Tyl
3487c6393d David-dm: peer dependencies. 2014-07-21 16:28:05 +02:00
Thaddee Tyl
3db4c7fd55 PyPI license: Example and color adjustments.
To fit with other licenses.
2014-07-21 15:56:15 +02:00
Thaddee Tyl
f97e9924f0 Merge remote-tracking branch 'krak3n/master' 2014-07-21 15:51:12 +02:00
Thaddee Tyl
9ea61976e1 Example for npm license badge. 2014-07-21 15:43:04 +02:00
Thaddee Tyl
5bb5dd19b2 Merge remote-tracking branch 'quard/master' 2014-07-21 15:39:55 +02:00
Thaddee Tyl
5318a7653a gem: code comments. 2014-07-21 13:17:57 +02:00
Thaddee Tyl
0e9436cf4c Code style cleanup. 2014-07-21 13:08:44 +02:00
Chris Reeves
358c690b10 Added PyPI license support 2014-07-16 11:59:22 +01:00
Stephen Belanger
f7aee1e260 Add npm license integration 2014-07-15 12:00:28 -07:00
bogdanRada
f25f310856 update gem downloads count 2014-07-15 11:26:56 +03:00
Thaddee Tyl
0baa320968 Catch monthly analytics update errors. 2014-07-14 12:31:50 +02:00
Thaddee Tyl
4831b6ef01 Gem downloads: Examples for regexp parts. 2014-07-14 12:25:35 +02:00
Thaddee Tyl
2617069511 Gem downloads: omit needless space & code lines. 2014-07-14 12:22:10 +02:00
bogdanRada
baf95cdb4c fix 2014-07-14 12:29:03 +03:00
bogdanRada
d336199e0c remove header 2014-07-14 11:20:18 +03:00
bogdanRada
d42a7162de update gem downloads badge 2014-07-14 11:17:46 +03:00
TBS
0fbc191679 merge host and path into one match 2014-07-13 14:00:44 +00:00
TBS
ab8ec9a585 fix test implementation 2014-07-13 03:04:50 +00:00
TBS
6f616fc58d add jenkins integration 2014-07-13 02:30:31 +00:00
bogdanRada
393bb4768d fix identation 2014-07-10 13:11:17 +03:00
bogdanRada
fc5ee65379 gem downloads count 2014-07-10 13:07:57 +03:00
Samuel E. Giddins
d2ef97ab1b Fix for when there are no platforms specified 2014-07-03 14:29:45 -04:00
Thaddee Tyl
3c03978dbc CocoaPods license can be a hashtable.
Containing the `type` field for license information.

Fixes #205.
2014-07-02 10:15:57 +02:00
Kristian Hellang
b132e01afa Added support for chocolatey version and download count 2014-06-25 02:38:55 +02:00
J.M
43bda164eb Add Scrutinizer coverage badges, see #193 2014-06-24 23:23:40 +02:00
Jason Miller
3a7595f5a4 Add support for david-dm devDependencies #200 2014-06-24 11:17:21 -04:00
Thaddee Tyl
2ad63301f8 Merge remote-tracking branch 'sebmck/master' 2014-06-23 10:20:12 +02:00
Sebastian McKenzie
73b53cfa04 Add support for david 2014-06-22 23:44:27 +10:00
Thaddee Tyl
e4da6075a0 Analytics: count flat badges requests.
Also, allow extending analytics.

Related to issue #185.
2014-06-21 19:42:37 +02:00
Thaddee Tyl
9c09b3c9d8 Removed dead code. 2014-06-19 12:41:45 +02:00
Sebastian McKenzie
2ba6804d91 Add "running" status case for appveyor 2014-06-19 17:40:33 +10:00
Thaddee Tyl
e6a3fdca11 AppVeyor support.
Part of issue #174.
2014-06-19 09:27:35 +02:00
Thaddee Tyl
be872db99c Trivial: Scrutinizer's URL requires a /g/
Related to issue #193.
2014-06-18 23:30:16 +02:00
Thaddee Tyl
6244ac1b2e Relocate helper function. 2014-06-18 23:02:36 +02:00
J.M
97e7853d6a Add GitHub issues badge 2014-06-18 23:02:36 +02:00
J.M
f77c8cdc6b Use original score intervals according to feedback from Scrutinizer team 2014-06-18 22:38:07 +02:00
J.M
a6d0875c02 Add Scrutinizer code quality badge 2014-06-18 21:40:56 +02:00
Thaddee Tyl
1e41c247e1 GitHub release: avoid rate-limiting at 60 req/hour
Part of issue #161.
2014-06-10 17:28:01 +02:00
Thaddee Tyl
e7a4d93ee3 Try the cache when GitHub ratelimit reached.
Related to issue #161.
2014-06-10 14:24:15 +02:00
Thaddee Tyl
356498eda7 Omit needless logs. 2014-06-04 22:38:55 +02:00
Thaddee Tyl
2f12470c2d Use GitHub OAuth apps to increase rate limits. 2014-06-02 23:28:54 +02:00
Thaddee Tyl
e8f8ec6ccb TeamCity Coverage URL change. 2014-05-26 14:24:37 +02:00
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