931 Commits

Author SHA1 Message Date
jomo
a4ae97ea1e clean up docs 2014-12-04 23:13:14 +01:00
jomo
7aa25b807d cache images for 20 minutes, not 1 hour 2014-11-30 20:37:45 +01:00
jomo
5ef084d8be catch df errors 2014-11-30 20:25:24 +01:00
jomo
972a9db442 typos 2014-11-30 19:40:49 +01:00
jomo
96ae65ee6a set User-Agent to 'https://crafatar.com' 2014-11-30 06:49:49 +01:00
jomo
30fabeac8c clarify how to get face without helm 2014-11-30 06:39:33 +01:00
jomo
bbeb734d91 parseInt size 2014-11-30 06:30:38 +01:00
jomo
d18b862ecc proper favicon, close #11
I also added a note about the default parameter for skins
2014-11-30 05:18:27 +01:00
jomo
39e6e626b9 add tiny tests for skins 2014-11-30 03:48:32 +01:00
jomo
7d47028ff7 fix errors for null skins, closes #20 2014-11-30 03:34:37 +01:00
jomo
a31282e244 OCD 2014-11-30 03:02:09 +01:00
jomo
91854ad86e log -> debug etag 2014-11-30 03:01:06 +01:00
jomo
cf43f1dc07 use seconds in config, don't clear .files 2014-11-30 02:56:21 +01:00
jomo
d65dbd83a2 fix seconds / ms 2014-11-30 02:49:42 +01:00
jomo
48e1f54336 add imagecleaner, fix #4 2014-11-30 02:48:54 +01:00
jomo
332330f68e replacing all single quotes with double quotes
Until now it was a big mess with some strings using single quotes and some others double quotes
We were using way more double quotes, so I chose to use them globally
2014-11-30 00:07:05 +01:00
jomo
1a7f456c83 fix #23 2014-11-29 23:57:48 +01:00
jomo
60387c8c7c req.secure is always 'http' 2014-11-29 23:20:29 +01:00
jomo
e80ddc79f3 Use node instead of npm to start 2014-11-29 23:19:52 +01:00
jomo
4883531127 merge :octocat: 2014-11-29 23:16:50 +01:00
jomo
e01cff53b2 re-add checking for existing file before downloading 2014-11-29 23:15:43 +01:00
Jake
df592034f6 Fix callback 2014-11-29 15:35:14 -06:00
Jake
6eef94d6f5 Oops..... 💩 2014-11-29 14:52:29 -06:00
Jake
703b8e6a8a Use node instead of npm to start 2014-11-29 14:48:59 -06:00
jomo
8cea2ed65f fix windoge line splitting? 2014-11-29 21:32:13 +01:00
jomo
4f610861e9 Merge branch 'master' of github.com:Jake0oo0/crafatar 2014-11-29 21:25:19 +01:00
jomo
db223f1dc6 fix tests 2014-11-29 21:24:59 +01:00
Jake
a40a3819d8 Fix http vs https 2014-11-29 14:17:40 -06:00
Jake
fd7fbc0f3c Fix some tests 2014-11-29 12:28:37 -06:00
Jake
db5a94e44e Remove force-flush 2014-11-29 12:24:33 -06:00
Jake
a6efbbc3af Merge branch 'master' of github.com:Jake0oo0/crafatar 2014-11-29 12:21:41 -06:00
Jake
a4c11f396f Rewrite skin support 2014-11-29 12:21:35 -06:00
Jake
caf7c731da Move extraction logic 2014-11-29 10:55:51 -06:00
jomo
042129eed4 log used username / uuid in tests 2014-11-29 17:39:50 +01:00
jomo
2cc7b455af using flat badges from shields.io in readme 2014-11-29 17:28:35 +01:00
jomo
b98cfa8918 log if uuid was too old or not known 2014-11-29 17:26:24 +01:00
jomo
3d708d2342 fix #22, caused by @e6481e3 2014-11-29 17:15:59 +01:00
jomo
452bb14605 debug log for cloudflare/etag 2014-11-27 13:37:14 +01:00
jomo
6945cda8d6 remove redundant etag modifications
helm and size are URL parameters. An Etag is an identifier for a single URL, not multiple
2014-11-27 13:36:22 +01:00
jomo
37d1f3c2da I think everyone knows how to use <img> 2014-11-25 20:21:04 +01:00
jomo
b1e842c12c solve merge conflicts. @Jake0oo0 please don't push to heroku only ;) 2014-11-25 20:02:59 +01:00
jomo
b0c66785a7 added avatars to readme 2014-11-25 19:55:50 +01:00
jomo
7d09da8384 add Access-Control-Allow-Origin, fix #19 2014-11-25 00:37:14 +01:00
jomo
95ebaf86c5 use Etag, fix #18 2014-11-25 00:35:25 +01:00
jomo
040aeb1c0c Don't store helm image when user has no helm, fix #16 2014-11-24 23:24:19 +01:00
Jake
d3b8dde3c8 Attempt to set Origin header 2014-11-24 15:59:55 -06:00
Jake
ca57f598d2 Allow CORS everywhere! 2014-11-24 15:54:12 -06:00
Jake
480385559d Merge branch 'master' of github.com:Jake0oo0/crafatar 2014-11-24 15:51:28 -06:00
Jake
c2108ff442 Allow CORS requests, closes #19 2014-11-24 15:51:17 -06:00
jomo
0734060d96 oops 💩 2014-11-24 02:31:21 +01:00