21 Commits

Author SHA1 Message Date
jomo
e01cff53b2 re-add checking for existing file before downloading 2014-11-29 23:15:43 +01:00
jomo
db223f1dc6 fix tests 2014-11-29 21:24:59 +01: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
3d708d2342 fix #22, caused by @e6481e3 2014-11-29 17:15:59 +01:00
jomo
dd8a3b91e2 using our own logging, allows us to do some eventual modifications 2014-11-23 23:02:45 +01:00
jomo
e6481e3c73 bug fixes, improvements, fix #13, fix #14 2014-11-23 21:53:42 +01:00
jomo
3830b3ccf4 more tests w/ timeouts 2014-11-22 21:17:49 +01:00
jomo
46f36e9fed speed improvement: don't download files that exist on disk 2014-11-22 01:46:34 +01:00
jomo
5b5462393d nicer logging format 2014-11-22 00:23:44 +01:00
jomo
e828f976f1 removing some errors in networking.skin_file callback
404 shouldn't return an error, null is fine. Setting the error causes that non-existing skins aren't cached. Thus we'd always make a new request to mojang, which will result in hitting the (sessionserver's) rate limit
Removing the error for Too Many Requests for the same reason.
2014-11-22 00:22:08 +01:00
Jake
c717f0f293 Fix an issue with errors being null in skin_file callback 2014-11-20 22:10:07 -06:00
Jake
f95ce50abc Username support 2014-11-20 20:01:39 -06:00
jomo
b59d6ced07 cache non-existing UUIDs 2014-11-02 10:32:35 -06:00
jomo
d9ffa6cc69 make logs useful 2014-11-02 05:24:22 +01:00
jomo
da8ba52717 add redis caching, closes #3. More logs, closes #9 2014-11-02 04:12:00 +01:00
jomo
5f8465c06a fix bug that didn't return error 2014-11-01 21:29:43 +01:00
jomo
1606fac89b add support for helmets (?helm), closes #2. changed '/:uuid/123' to '/:uuid?size=123', closes #10. Bugfixes 2014-11-01 21:03:42 +01:00
jomo
d84d55f533 better error handling 2014-10-30 00:21:16 +01:00
jomo
a07ca210d6 fix undefined skins_dir, add http_timeout to config 2014-10-29 21:23:36 +01:00
jomo
cc159d3620 split code into more modules, fixes #8 2014-10-29 19:53:27 +01:00