Commit Graph
100 Commits
Author SHA1 Message Date
jomo a49a1c7649 iojs v1.4.1 2015-02-27 18:55:44 +01:00
jomo 48092d0422 add inch-ci for doc quality tracking 2015-02-27 18:53:47 +01:00
jomo f984b20344 mv modules/ lib/
that's what all the cool kids do
2015-02-27 18:49:39 +01:00
jomo 2972e818c7 complete that sentence 2015-02-27 01:08:39 +01:00
jomo 9c8df06c6b proper handling of steve/alex
it's more complex than just even/odd UUID
2015-02-27 01:07:09 +01:00
jomo 296d5fd8cd ez's = ez' 2015-02-22 03:02:32 +01:00
jomo 1ffe25ade9 readme contacts = website contacts 2015-02-22 02:42:53 +01:00
jomo 7be65475fe remove node.js support, fix travis tests
not sure why it's failing on travis. It does work locally with node 0.12
2015-02-22 02:39:18 +01:00
jomo 012f5bf006 merge #101, fixes #99 2015-02-22 02:27:21 +01:00
jomo 7d8b629f33 check if +type+ is present when reading from cache, fixes #101 tests 2015-02-22 02:21:35 +01:00
jomo 5e4a6d5bbe don't set undefined = null in cache.get_details; #101 2015-02-22 02:17:05 +01:00
jomo e2d038f78c oops 2015-02-21 21:17:57 +01:00
jomo 1840ea6fd7 test info in README, add verbose test option 2015-02-21 21:16:03 +01:00
jomo 6b4fcb9aea use "" instead of "." for null hashes 2015-02-21 21:08:02 +01:00
jomo ec0840794b fix tests Jake0oo0 -> Jake_0 2015-02-21 21:05:00 +01:00
jomo e093371955 only read response.statusCode if response is available 2015-02-20 19:44:28 +01:00
jomo ebd42a1e0f use iojs 1.3, fixes #103 2015-02-20 19:24:47 +01:00
jomo 4b920d57e8 reduce number of logs
some were just left in there from debugging and could be removed or set to logging.debug
some others could be compacted
a few errors were written to stdout instead of stderr
2015-02-20 01:22:37 +01:00
jomo 3910602002 updated our node-canvas fork, try again travis 😏 2015-02-20 00:53:44 +01:00
jomo 9705e84ad8 add iojs v1.2.0 to travis, fixes #100 2015-02-20 00:31:40 +01:00
jomo c0c2a63a8b disable verbose tests again 2015-02-19 01:57:55 +01:00
jomo 0e46019d40 set 60s timeout on errors; #99 2015-02-19 01:55:35 +01:00
jomo dc33912ec7 raise error on 429 TooManyRequests
this has the effect that we're not caching 'null' as a reponse. see #99
2015-02-18 23:55:34 +01:00
jomo 5b8493df15 improved comments n°2 2015-02-18 23:42:00 +01:00
jomo 71ac3db416 improved comments 2015-02-18 23:16:48 +01:00
jomo e951e9b0e7 better logging of GET requests 2015-02-18 22:42:32 +01:00
jomo 6cb4a46ac7 naming things is hard n°2 2015-02-18 21:47:17 +01:00
jomo aaedc2f3aa naming things is hard 2015-02-18 21:35:54 +01:00
jomo 6a84c5a1d0 move comment to proper position 2015-02-18 21:35:34 +01:00
jomo 16fdf8d1ac add editorconfig for .gitignore 2015-02-18 19:31:06 +01:00
jomo 3cc14ae837 improve .editorconfig 2015-02-18 19:29:41 +01:00
jomo b88db00b97 Merge branch 'master' of github.com:crafatar/crafatar 2015-02-18 19:18:09 +01:00
jomo 79ab1d0e2a correct comments 2015-02-18 19:18:05 +01:00
jomo 281cd523e6 remove unused options for GET requests 2015-02-18 19:14:59 +01:00
jomo de5bad8702 code cleanup 2015-02-14 21:58:56 +01:00
jomo 8750b863a8 contributing: add tests for fixed issues 2015-02-14 21:24:11 +01:00
jomo 2a172cc6f9 switch from node 0.12 to iojs 1.2, closes #89 2015-02-14 20:50:45 +01:00
jomo 8d6d992557 Merge branch 'master' of github.com:crafatar/crafatar 2015-02-14 20:26:22 +01:00
jomo 3fdd942c0f cache non-existing UUIDs, fixes #93 2015-02-14 20:26:09 +01:00
jomo 7ca7006736 listen on all interfaces by default 2015-02-14 02:34:24 +01:00
jomo eb8bc85ee2 Merge branch 'master' of github.com:crafatar/crafatar 2015-02-14 02:18:09 +01:00
jomo 6ecde79475 capes_dir != capes_path 2015-02-14 02:17:55 +01:00
jomo cb7f03b0b5 renders = '3D renders' 2015-02-13 21:10:53 +01:00
jomo 34e94c090e server.js should be imported, not called directly 2015-02-13 21:07:36 +01:00
jomo 99a5a34f3b fix server not starting
broken by af421ec
2015-02-13 20:48:36 +01:00
jomo c2a4b3f9f0 proper engrish 2015-02-13 20:30:54 +01:00
jomo 30c4ba200c Infinity
... relax, take your time.

JavaScript has no Integers, only Numbers. Infinity is typeof Number
2015-02-13 19:18:58 +01:00
jomo 4d1f4466fd clean up JS 2015-02-13 19:07:42 +01:00
jomo 630435fd5a update canvas module for iojs; #89 2015-02-11 01:52:08 +01:00
jomo 6d0ccef8f4 needs to be listening on 0.0.0.0 !! 2015-02-10 01:50:31 +01:00
jomo 16b33fc71d better dokku docs 2015-02-10 01:13:02 +01:00
jomo b13559d57c use logging 2015-02-10 00:44:43 +01:00
jomo 08ef1c1d12 Merge branch 'master' of github.com:crafatar/crafatar 2015-02-10 00:20:15 +01:00
jomo 39dbfc76d1 add option to disable timestamps in logs 2015-02-10 00:19:56 +01:00
jomo a368d97a6c use single cluster by default, see #80 2015-02-10 00:14:29 +01:00
jomo 572ce487ba call back after writing to cache, fixes #86
remove_hash has no callback because it's only called very rarely and the write/change calls can cause more trouble
2015-02-09 23:39:50 +01:00
jomo 1baae79402 add GitHub issues to contact section 2015-02-08 00:03:37 +01:00
jomo fd56704b34 complete #62 for the front page 2015-02-07 23:56:40 +01:00
jomo 48ce2f9267 add missing @ for twitter username 2015-02-07 23:53:43 +01:00
jomo ec1fe8985e add title to front page avatars 2015-02-07 23:47:51 +01:00
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