163 Commits

Author SHA1 Message Date
Jake
ffcd023c05 Code cleanup 2015-01-29 19:09:02 -06:00
Connor Peet
ab66fac3a6 Don't leak arguments 2015-01-28 23:31:20 -05:00
jomo
a2fc680b11 add some logging 2015-01-28 23:55:19 +01:00
jomo
dda4821b8e hash = object in JS 2015-01-28 23:49:23 +01:00
jomo
c75c46aa9d no need to acess the array 3 times 2015-01-28 23:48:11 +01:00
jomo
daea5be5f1 type should never be null 2015-01-28 23:46:29 +01:00
jomo
eebac0f27c undersore instead of camelcase 2015-01-28 23:45:51 +01:00
jomo
f24160c5f2 fix code style
no need to quote keys in an object
line breaks are good
2015-01-28 23:44:17 +01:00
jomo
0099e8753e fix quotes 2015-01-28 23:42:56 +01:00
jomo
1dd0b9d510 add missing semicolon 😎 2015-01-28 23:42:10 +01:00
jomo
6e118dc496 add missing parameter 2015-01-28 23:41:40 +01:00
jomo
73f5b6b182 join cape_hash and skin_hash into same variable
only one of them is used at the same time. we're already passing the +type+ so we know which one it is
2015-01-28 23:41:15 +01:00
jomo
646746325f remove unnecessary checks
we're no longer using `delete` so the value can never be undefined
2015-01-28 23:38:40 +01:00
jomo
b2f4ca74b9 more meaningful variable names
which and whichhash were quite confusing
2015-01-28 23:37:04 +01:00
jomo
1c2c7f0956 use splice instead of delete
`delete` replaces the value with undefined and doesn't shrink the array size
`splice` actually removes the value and shrinkgs the array size
2015-01-28 23:35:53 +01:00
Jake
5fc0f8b59a Add more tests 2015-01-27 16:06:55 -06:00
Jake
30f1052f90 Correct request version 2015-01-27 15:39:23 -06:00
Jake
9fa9342bdc heyo! 2015-01-27 15:36:07 -06:00
Jake
5a258bb651 Remove debug/formatting 2015-01-26 22:33:26 -06:00
Jake
c428499959 Finish merging 2015-01-26 22:31:35 -06:00
Jake
3def0910bc Network rewrite/major cleanup, major caching changes, etc
Work on implementing capes
Update to no-express
Add more render tests
Add capes express route
Add documentation
Add undefined images to .gitignore
Fix no-express server again
Cleanup config a bit
General cleanup
Add CodeClimate badge
Test on Heroku
Speed optimizations
Fix tests
Code cleanup
2015-01-26 22:09:42 -06:00
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
7e0e66177d add timestamp to logs 2015-01-11 18:08:49 +01:00
jomo
e437b90b51 prepend uuid to all logs 2015-01-11 02:13:21 +01:00
jomo
b9b7e8f2c0 remove trailing newline
just had to make a trivial change for dokku 💩
2015-01-10 01:26:14 +01:00
jomo
2ec4c2c6b3 remove trailing newline
just had to make a trivial change for dokku 💩
2015-01-09 20:56:37 +01:00
jomo
5fa8233bff remove trailing newline
just had to make a trivial change for dokku 💩
2015-01-09 20:54:48 +01:00
jomo
a05e82cb5e clean up redis env parsing, support REDISCLOUD_URL, REDIS_URL or fall back to default 2015-01-09 19:52:51 +01:00
Connor Peet
3daefcf0cf Swap out those syncs 2015-01-07 15:19:06 -05:00
jomo
8458218d50 use double quotes as we do everywhere else 2015-01-06 18:43:16 +01: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
7fbd31fd01 fix #61 2015-01-04 02:39:11 +01:00
jomo
2d38bd20cb remove useless newline log 2015-01-03 09:54:12 +01:00
jomo
4ae88e50c5 rename skins/ -> images/
skins/skins/ is a bit confusing
2015-01-03 05:04:09 +01:00
jomo
283b7004a8 Merge branch 'master' of github.com:Jake0oo0/crafatar 2014-12-31 19:06:32 +01:00
jomo
0ce77ac110 unify quotes again 2014-12-31 19:02:22 +01:00
Jake
7b9fb20db3 Unused config value 2014-12-31 11:58:44 -06:00
Jake
5bc1831644 Merge branch 'master' of github.com:Jake0oo0/crafatar 2014-12-31 11:22:23 -06:00
Jake
6364801d88 Dependency updates 2014-12-31 11:22:05 -06:00
jomo
c80eefd992 flush redis before max memory is reached; hotfix for #49 2014-12-29 23:54:33 +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
Jake
a2f40045a9 update code docs 2014-12-20 15:44:38 -06:00
Jake
573278b035 tfw 😂 💥 👍 :shipit: 2014-12-20 15:32:06 -06:00
Jake
9182164cf7 Fix old skin rendering 2014-12-19 20:02:10 -06:00
Jake
69117f0263 Extra nums 2014-12-19 13:44:12 -06:00
Jake
81f7288c53 Fix one arm 2014-12-18 22:09:04 -06:00