Commit Graph
65 Commits
Author SHA1 Message Date
Paul MelnikowandThaddee Tyl 0760d17d82 Return data from svg2img via callback
Given the chunks coming from imagemagick are getting stored memory and
then tucked into a cache, this function could as easily return a buffer
via callback. Streaming is just making it more complex. (And trickier to
test!)
2017-04-12 23:13:16 +02:00
Paul MelnikowandThaddee Tyl ad1e419d42 Add tests for svgToImg 2017-04-12 23:13:16 +02:00
Paul MelnikowandThaddee Tyl 3905424d1c Add a test for badge.js and refactor 2017-04-12 23:13:16 +02:00
Paul MelnikowandThaddee Tyl 076bd384d5 Use a glob pattern instead of hard-coding filenames 2017-03-30 00:18:30 +02:00
Paul MelnikowandThaddee Tyl 5f945d4856 Use Mocha to make tests more reliable 2017-03-30 00:18:30 +02:00
Thaddee Tyl 11b6e06f2f Organize local modules in lib 2017-03-26 22:57:55 +02:00
Paul Melnikow 47a8bf51dc First pass for linting on PRs 2017-03-20 16:54:27 -04:00
Thaddee Tyl 7c8b0e3d32 Contain all private files in private/ 2017-02-05 16:24:35 +01:00
Federico ZivoloandThaddee Tyl ef1a51590e Use gm instead of phantom to create pngs 2017-01-29 19:14:31 +01:00
Thaddee Tyl 2b63d62242 Re-remove the ass testing dependency
It was mistakenly added by 2cb82a4a.
2016-11-20 18:53:51 +01:00
Józef SokołowskiandThaddee Tyl 2cb82a4ab3 Add Mozilla Addons support 2016-10-30 10:47:56 +01:00
Peter Dave Hello 6c21450c46 bump dependencies 2016-10-10 16:52:01 +08:00
Thaddee Tyl 7ea0d811a5 Allow specifying a custom font path in the library 2016-09-07 07:24:58 +01:00
Thaddee Tyl cf8fdd91fb Add measure-text.js to npm files
Fixes #758.
2016-08-07 09:29:51 +02:00
Thaddee Tyl f6ee6745cd npm 1.2.2: another bugfix camp update 2016-06-26 16:20:42 +02:00
Thaddee Tyl 2875ecedbc npm 1.2.1: camp update to allow undefined error in catchpath 2016-06-26 15:41:49 +02:00
Thaddee Tyl 68b105cd3e npm v1.2.0
Removed needless libraries.
2016-06-14 08:27:33 +02:00
Thaddee Tyl 6349c5c24a Put all test-related files in test/ 2016-06-14 08:26:57 +02:00
Thaddee Tyl e3a9ae9411 Convert tests to assert
ass seems outdated and outpaced.
2016-06-12 17:39:36 +02:00
Thaddee Tyl c4924f0d9f Upgrade to node 6
We no longer need to require Promise.
2016-06-12 15:00:29 +02:00
Thaddee Tyl 61306975ef Omit needless promise package 2016-06-12 14:55:28 +02:00
Thaddee Tyl c403e367f7 Synchronize saved GitHub user tokens
Issue #529.

Having a server down breaks the process currently. That will be addressed in a
later commit.
2016-06-01 00:15:45 +02:00
Thaddee Tyl 419483f24e Transmit and save GitHub user tokens
Issue #529.
2016-05-28 22:33:34 +02:00
Thaddee Tyl ccaacfc408 Support GitHub OAuth user authentication
Issue #529.
2016-05-21 21:34:35 +02:00
Thaddee Tyl 78721d7728 Upgrade phantomjs
Fixes https://github.com/badges/shields/issues/645#issuecomment-217222593.
2016-05-05 20:08:21 +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
Thaddee Tyl d2d907c422 Merge remote-tracking branch 'forbeslindesay/pdfkit' 2016-03-13 23:54:56 +01:00
Thaddee Tyl cb0caafe82 camp v16 2016-02-07 19:04:20 +01:00
Thaddee Tyl 961c70287b Use SPDX license, update redis library 2015-09-07 10:35:18 +02:00
Thaddee Tyl 3344252619 Include the LRU cache in npm
Fixes #514
2015-08-23 17:55:32 +02:00
ForbesLindesay e2fbb584c7 Use pdfkit instead of canvas 2015-07-21 11:31:27 +01:00
Mike Taylor 7e9eae14e4 Allow setting server bind address 2015-06-10 10:09:00 -06:00
Thaddee Tyl 923f681393 Merge remote-tracking branch 'peterdavehello/upgrade-dependencies'
Conflicts:
	package.json
2015-04-26 19:43:33 +02:00
Thaddee Tyl b1d3e00a21 Support for logos in flat design
Closes #401
Part of #337
2015-04-25 14:46:49 +02:00
Peter Dave Hello 9dd83f5a20 bump dependency - bower to ~1.4.1 2015-04-19 23:44:32 +08:00
Peter Dave Hello a87c1acc1f bump dependency - camp to ~14.10.12
camp version from 14.11.14 won't pass the build,

so currently, only upgrade to 14.10.12
2015-04-19 23:44:32 +08:00
Peter Dave Hello 8005c66f5e bump dependency - es6-promise to ~2.1.0 2015-04-17 00:51:42 +08:00
Peter Dave Hello 5aa67888f0 bump dependency - promise to ~7.0.0 2015-04-17 00:48:22 +08:00
Peter Dave Hello 4a2bfd523a bump dependency - redis to ~0.12.1 2015-04-17 00:47:17 +08:00
Peter Dave Hello 7dbe8883af bump dependency - request to ~2.55.0 2015-04-17 00:46:20 +08:00
Peter Dave Hello 21ea3bfb03 bump dependency - svgo to ~0.5.1 2015-04-17 00:43:33 +08:00
Peter Dave Hello 136dd8bf2d bump dependency - semver to ~4.3.3, fix #421 2015-04-17 00:38:10 +08:00
Thaddee Tyl d75133fe18 Use promises for suggestions 2015-01-18 16:32:27 +01:00
vsn4ikandThaddee Tyl 2f0dc91c43 Update npm repository url. 2014-11-07 22:58:41 +01:00
Thaddee Tyl 735740a790 lib: v1.1.0 2014-10-25 19:17:14 +02:00
Jakob Krigovsky e92d47d7ed Add support for Bower 2014-09-28 23:30:44 +02:00
Thaddee Tyl 012d08dd3e Update ass to v0.0.6 2014-09-05 09:15:55 +02:00
Thaddee Tyl 1ee622a949 New npm version: v1.0.0
Fixes #186.
2014-05-26 13:30:14 +02:00
Jan Vansteenkiste 3c060d7f96 Add latest semver for version comparing 2014-05-08 18:13:04 +02:00
Thaddee Tyl 5685238956 Using Redis to store analytics on Heroku. 2014-04-07 23:29:30 +00:00