Commit Graph

12 Commits

Author SHA1 Message Date
Jonathan Reinink
e69d52ae1c Add the ability to output badges as JSON. 2014-10-13 22:48:39 -04:00
Kazuki Suda
ed3a453026 Fix "no such file or directory" 2014-09-17 22:16:05 +09:00
Thaddee Tyl
a230e7c9c5 Allow invalid template styles. 2014-06-23 22:14:09 +02:00
Thaddee Tyl
2343e24d8a Load all templates through dot. 2014-04-20 16:12:35 +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
c6163c9a4f move colorscheme back to original location, add @ syntax to cli for specifying style, cache templates on server start 2014-04-19 10:27:20 -07:00
Max Ogden
f97fbf0dd0 add templates support and new flat style option 2014-04-19 01:11:06 -07:00
Thaddee Tyl
24f1bd6f0f Using __dirname 2014-01-18 18:57:03 +01:00
Thaddee Tyl
4f4cbf67a1 Font size increase.
Font order change.

Part of issue #14.
2014-01-14 11:37:40 +01:00
Thaddee Tyl
1b3f60ab8e Use local verdana file if available. 2014-01-04 13:34:13 +01:00
Thaddee Tyl
9bdbe595b9 Separate color scheme data in its own file. 2014-01-03 16:27:18 +01:00
Thaddee Tyl
3f906d533b Separate the SVG-generating logic. 2014-01-03 16:21:06 +01:00