Commit Graph
100 Commits
Author SHA1 Message Date
jomo de70ac4172 we support 1.8 skins
I think this is worth to mention
2015-02-07 18:38:32 +01:00
jomo b928bfbe0c fix akliz link 2015-02-07 17:36:29 +01:00
jomo a6c72cf155 add notice about name changes 2015-02-04 20:17:15 +01:00
jomo 768c6037b4 changed IGN to jomo 2015-02-04 20:15:43 +01:00
jomo ecc8dc5e23 add contribution guidelines 2015-02-03 23:09:20 +01:00
jomo 7162562cdc prepend log prefix to each log line, use console.warn & console.error
this has two effects:
1. errors will go to stderr
2. errors (and other multi-line messages) will have the log prefix on *each line*
2015-02-03 22:28:35 +01:00
jomo 3958ad6a26 ignore sublime project files 2015-02-03 21:25:39 +01:00
jomo 80a75cc60e move env.DEBUG check out of config 2015-02-02 00:33:16 +01:00
jomo 27aa12a76b more crafatar/crafatar changes 2015-02-01 22:47:27 +01:00
jomo 9dcedaddfb Merge branch 'master' of github.com:Jake0oo0/crafatar 2015-02-01 22:34:07 +01:00
jomo 0f136b941f less confusing var names
so 'type' was actually a hash *of* some type
2015-02-01 21:43:43 +01:00
jomo 045ffbd63f log URL for too many requests 2015-02-01 21:31:37 +01:00
jomo dfa88ec9f1 Merge branch 'master' of github.com:Jake0oo0/crafatar 2015-02-01 21:08:56 +01:00
jomo 54a410abf7 don't run foreverjs as deamon #74 2015-02-01 17:44:29 +01:00
jomo 7222115e46 add X-Request-ID to docs 2015-02-01 17:31:07 +01:00
jomo db040cc015 dependency badges 2015-02-01 16:56:11 +01:00
jomo 7a1ffc904b use array instead of object, use dashed names 2015-01-31 20:45:31 +01:00
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
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
jomo 5929461df8 Merge pull request #76 from nixter1029/master
Someone can't spell.
2015-01-17 07:06:44 -08: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
jomo 5f0a3dcb63 use postinstall script instead of Procfile
https://docs.npmjs.com/misc/scripts
2015-01-10 03:20:34 +01:00
jomo 7021bdb606 set default port to 5000
testing stuff with dokku
2015-01-10 02:26:06 +01:00
jomo 5bf3d7b5dc remove trailing newline
just had to make a trivial change for dokku 💩
2015-01-10 01:37:33 +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 0df0e39ab0 Merge pull request #73 from Tama63/master
Add deploy to heroku button
2015-01-09 13:29:18 -08: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 25abbb4f02 Add timeout again
otherwise you'll get a little bit of spam when workers die instantly
2015-01-09 20:13:22 +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
jomo bc2bb0bec0 use npm start, not node <file> 2015-01-09 19:30:24 +01:00
jomo 04b5161285 this doesn't work :/ 2015-01-09 18:49:50 +01:00
jomo 5ce343b052 npm start = www.js 2015-01-08 19:27:57 +01:00
jomo b91362e8de flip dinnerbone & grumm, fix #72 2015-01-08 19:25:09 +01:00
jomo 3473b3bb00 log amount of workers started 2015-01-06 22:02:34 +01:00
jomo 58b7995d53 solve merge conflict 2015-01-06 20:45:18 +01:00
jomo 28ad09213c fix indentation 2015-01-06 18:44:27 +01:00
jomo 8458218d50 use double quotes as we do everywhere else 2015-01-06 18:43:16 +01:00
jomo b32db33ddc use logging module 2015-01-06 18:40:18 +01:00
jomo 363f460ee3 remove Timeout
Why was this here in the first place?
The nodejs docs don't mention anything about this

http://nodejs.org/api/cluster.html#cluster_event_exit
2015-01-06 18:38:03 +01:00
jomo 66144bb580 Merge pull request #70 from connor4312/better-static-serve
Pipe static files, don't read to buffer
2015-01-06 05:52:52 -08:00
jomo 4f8f134180 Merge pull request #69 from connor4312/wat
Fix some silly parsing URLs
2015-01-06 05:46:09 -08: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 a9a0032b1f actually do send etag on error, but send "none" etag when no (=default) image is sent 2015-01-04 04:36:10 +01:00
jomo 0dfc91f948 don't send etag on error, improves #48 2015-01-04 04:32:59 +01:00
jomo 3d1ad616bf make sure file exists before considering redownload, fix #48 2015-01-04 04:29:07 +01:00
jomo 8ef7bd5937 always show http status 2015-01-04 03:58:40 +01:00
jomo cbbfb73bea split pathname into array, URL decode, fix #65 2015-01-04 03:37:51 +01:00
jomo bbc71b0d6c fix #64 2015-01-04 03:08:53 +01:00
jomo 7fbd31fd01 fix #61 2015-01-04 02:39:11 +01:00
jomo 51d9f1db31 fix html, close #63
div elements are not allowed inside p elements
2015-01-04 00:18:48 +01:00
jomo 341eb5b41b rename contents to file_buffer for clarity 2015-01-03 23:57:32 +01:00
jomo f031616984 fix content-length for index 2015-01-03 18:21:14 +01:00
jomo 4a3b635166 remove newline at end of file 2015-01-03 17:50:44 +01:00
jomo 2d38bd20cb remove useless newline log 2015-01-03 09:54:12 +01:00
jomo 0dd29d194d log full request path 2015-01-03 09:53:45 +01:00
jomo 9210051599 proper ingrish 2015-01-03 05:58:58 +01:00
jomo dd3aee541e padding-left for previews; bold placeholder 2015-01-03 05:56:30 +01:00
jomo ba4a7ae149 fix CSS overflow on small screens 2015-01-03 05:52:08 +01:00
jomo aba7eee7ef bootstrap y u stupid 2015-01-03 05:50:47 +01:00
jomo 389803938c we are blazing fast! 2015-01-03 05:37:46 +01:00
jomo 968d81f5cb use correct year automatically 2015-01-03 05:34:42 +01:00
jomo f602665999 preload :hover images
why don't browsers do this automatically? 💩
2015-01-03 05:32:14 +01:00
jomo 756ede7d83 add preview placeholder 2015-01-03 05:14:50 +01:00
jomo a81c3c9de4 fix mime dependency 2015-01-03 05:04:58 +01:00
jomo 4ae88e50c5 rename skins/ -> images/
skins/skins/ is a bit confusing
2015-01-03 05:04:09 +01:00