Commit Graph

654 Commits

Author SHA1 Message Date
jomo
8dddb1e022 allow DEBUG env variable to be used
makes it easier to turn on debugging in production without changing the config
2015-01-31 20:41:32 +01:00
jomo
5533a3ef91 log worker ID 2015-01-31 20:40:05 +01:00
jomo
ff5e9a601b catch 204 responses from mojang
I have no idea what causes 404 and what causes 204, but then it's mojang 💩
2015-01-31 20:36:59 +01:00
jomo
5ccff8474d show log level, fix bug with leading space in logs 2015-01-31 20:28:59 +01:00
jomo
08706e56bd move misplaced docs, add missing docs, better name for a function
naming things is hard.
2015-01-31 20:15:52 +01:00
jomo
1d2f0458c4 more changes for #77 2015-01-31 19:19:18 +01:00
jomo
baa87bc23b remove unused argument 2015-01-31 18:03:33 +01:00
jomo
e0accc429b merge 2015-01-31 18:02:23 +01:00
jomo
ebe88cdc48 Revert #62 to avoid conflicts with #77
This reverts commit 6e03f0f55d.
2015-01-31 17:57:21 +01:00
jomo
e6152d5898 prepend request IDs instead of UUIDs, fixes #77
also cleaned up a few other things I noticed when looking over the files
2015-01-31 17:10:49 +01:00
Jake
8ce8b9d0d9 Merge pull request #81 from Jake0oo0/uuid-id
Replace id with uuid #62
2015-01-29 20:42:36 -06:00
Jake
6e03f0f55d Replace id with uuid, closes #62 2015-01-29 20:39:18 -06:00
Jake
ffcd023c05 Code cleanup 2015-01-29 19:09:02 -06:00
Jake
32c3ece12d Merge pull request #78 from connor4312/master
Don't leak arguments
2015-01-29 06:42:36 -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
74f1618aa3 Merge pull request #52 from Jake0oo0/capes
Capes Support + Network changes - Initial commits from @navarr
2015-01-27 16:26:20 -06: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
5929461df8 Merge pull request #76 from nixter1029/master
Someone can't spell.
2015-01-17 07:06:44 -08:00
Alex Robinson
73f84ecc42 Someone can't spell. 2015-01-17 10:01:25 -05:00
jomo
729623eeef why did I leave this in here -.- 2015-01-11 23:39:13 +01:00
jomo
7e0e66177d add timestamp to logs 2015-01-11 18:08:49 +01:00
jomo
e3f4d8d743 add contact info to website 2015-01-11 07:24:18 +01:00
jomo
61b1e45524 maybe this helps a little against those steves
this is horrible.
2015-01-11 07:18:26 +01:00
jomo
feacb19d76 add env vars to app.json; improve installation instructions 2015-01-11 02:46:38 +01:00
jomo
e437b90b51 prepend uuid to all logs 2015-01-11 02:13:21 +01:00
jomo
c90c030904 prepend uuid to "status: " logs 2015-01-10 23:34:27 +01:00
jomo
b5674e0375 fix header wrapping on small screens 2015-01-10 21:55:00 +01:00
jomo
86033323bb add akliz sponsor logo + link 2015-01-10 21:43:54 +01:00
jomo
35756cc724 add benchmark.sh
should be ran from inside test/ dir
2015-01-10 20:25:17 +01:00
jomo
28002c2aff Merge branch 'master' of github.com:Jake0oo0/crafatar 2015-01-10 04:42:22 +01:00
jomo
9bedd94bab Revert "set default port to 5000"
This reverts commit 7021bdb606.
2015-01-10 03:23:13 +01:00