Commit Graph

98 Commits

Author SHA1 Message Date
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