Jake
b151e03035
Add default image support. Custom images are not rendered - alex or steve are
2014-12-17 14:51:58 -06:00
Jake
9ba3f5190a
Create get_render helpers method, move things around
2014-12-17 14:51:56 -06:00
Jake
55f023bfb3
Add tests for renders
2014-12-17 14:51:55 -06:00
Jake
f674775520
Update documentation & README for renders
2014-12-17 14:51:54 -06:00
Jake
2873157e97
Add 3d render support
2014-12-17 14:51:17 -06:00
jomo
9faeedc03f
convert keys to lower case at cache level
2014-12-10 19:53:44 +01:00
jomo
0c73d39c79
high scalability!!! using '.' instead of 'null' string
2014-12-08 22:38:06 +01:00
jomo
04c167f5aa
fix false 'downloaded' status being returned when null hash is 'checked'
2014-12-08 21:59:21 +01:00
jomo
e726fb9d5f
convert uuid params to lower case, store only lower case uuids
2014-12-08 21:57:37 +01:00
Jake
6afe31cb20
Allow uppercase UUIDs, hotfix for #29
2014-12-06 08:42:10 -06: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
96ae65ee6a
set User-Agent to ' https://crafatar.com '
2014-11-30 06:49:49 +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
7d47028ff7
fix errors for null skins, closes #20
2014-11-30 03:34:37 +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
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
jomo
db223f1dc6
fix tests
2014-11-29 21:24:59 +01:00
Jake
db5a94e44e
Remove force-flush
2014-11-29 12:24:33 -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
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
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
jomo
55ed86a3f6
skin support, fix #15
2014-11-24 00:53:39 +01:00
jomo
796f410248
allow custom config
2014-11-23 23:19:32 +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
3216833887
allow dashed uuid
2014-11-22 21:28:54 +01:00
jomo
3830b3ccf4
more tests w/ timeouts
2014-11-22 21:17:49 +01:00
jomo
42dae4582b
logging stuff
2014-11-22 18:04:45 +01:00
jomo
df3f008188
fix typo
2014-11-22 17:20:25 +01:00
jomo
1aeeb19fcf
only flush redis when running on heroku; don't delete files on start (see @46f36e9fede3984e85cb1cafa7a4fea67a56176d)
2014-11-22 17:16:55 +01:00
jomo
04066591c5
add comment about heroku + deleting files
2014-11-22 02:27:20 +01:00
jomo
170ca55535
Revert "don't flush redis on start, don't delete images on start"
...
Ah, we did this because heroku.
2014-11-22 02:24:35 +01:00
jomo
7afeafc21a
don't flush redis on start, don't delete images on start
...
I think we initially did this to debug some problems with broken data in redis
2014-11-22 01:50:19 +01:00
jomo
46f36e9fed
speed improvement: don't download files that exist on disk
2014-11-22 01:46:34 +01:00
jomo
9dde7e31b5
don't cache on fail
2014-11-22 01:30:50 +01:00
jomo
749403e81b
fix uuid_valid
2014-11-22 00:32:47 +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
8d73f50dd4
Fix README merge
2014-11-20 20:02:36 -06:00