60 Commits

Author SHA1 Message Date
Navarr Barnier
dd7e46f377 Implement Skeleton for Returning Capes (Currently returns skins)
Align capes.js codestyle to the rest of the project

get_cape_hash helper (not working - wip)

clean up capes.js
2015-01-26 22:03:06 -06:00
jomo
e437b90b51 prepend uuid to all logs 2015-01-11 02:13:21 +01:00
jomo
2ec4c2c6b3 remove trailing newline
just had to make a trivial change for dokku 💩
2015-01-09 20:56:37 +01:00
Connor Peet
3daefcf0cf Swap out those syncs 2015-01-07 15:19:06 -05:00
jomo
e26cff3718 remove useless get_image_hash line for renders 2015-01-04 05:34:35 +01:00
jomo
9affb00576 this is a better fix for #48 2015-01-04 05:03:45 +01:00
jomo
3a0a23e5b5 delete hash from redis if file does not exist 2015-01-04 05:01:13 +01:00
jomo
3d1ad616bf make sure file exists before considering redownload, fix #48 2015-01-04 04:29:07 +01:00
jomo
2d38bd20cb remove useless newline log 2015-01-03 09:54:12 +01:00
jomo
0ce77ac110 unify quotes again 2014-12-31 19:02:22 +01:00
Jake
14df0f8eb7 Remove render type debug 2014-12-26 14:22:31 -06:00
Jake
01e95f7f19 Merge 2014-12-26 00:04:36 -06:00
jomo
a6ff10493d console.debug 2014-12-17 14:52:15 -06:00
jomo
a162387f83 clean code 2014-12-17 14:52:13 -06:00
Jake
5811f38c95 Add temporary cleaning solution to renders 2014-12-17 14:52:05 -06:00
Jake
bc98c66f82 Remove extra module in skins 2014-12-17 14:52:03 -06:00
Jake
dbd66f88a5 Fix caching issue 2014-12-17 14:52:02 -06:00
Jake
1c33119e05 Cache caching for skins and renders' 2014-12-17 14:52:01 -06:00
Jake
4bcd9e4530 Remove debug 2014-12-17 14:52:00 -06:00
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
jomo
04c167f5aa fix false 'downloaded' status being returned when null hash is 'checked' 2014-12-08 21:59:21 +01:00
Jake
6afe31cb20 Allow uppercase UUIDs, hotfix for #29 2014-12-06 08:42:10 -06:00
jomo
7d47028ff7 fix errors for null skins, closes #20 2014-11-30 03:34:37 +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
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
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
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
42dae4582b logging stuff 2014-11-22 18:04:45 +01:00
jomo
df3f008188 fix typo 2014-11-22 17:20:25 +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
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
Jake
f95ce50abc Username support 2014-11-20 20:01:39 -06:00
jomo
03306dff08 better X-Storage-Type
none: Cached: User has no skin.
cached: Skin cached
checked: cached & checked for updates. No (new) skin
downloaded: checked, Skin changed or unknown, downloaded.
error: (error)
2014-11-10 23:55:56 +01:00
jomo
a6514ad104 add missing status to comments 2014-11-09 20:57:12 +01:00
jomo
653590228f cache valid UUIDs without skin 2014-11-08 01:16:46 +01:00
jomo
b95d011933 use seconds (as stated in config)
timestamps in JS are ms. multiplied config value with 1000 so it's converted to ms
2014-11-05 00:06:15 +01:00