20 Commits

Author SHA1 Message Date
jomo
3c21a59c94 add support for slim renders, fixes #125, adjust tests 2015-12-13 14:08:59 +01:00
jomo
6e6eff5299 add back missing helpers.js 2015-11-23 03:45:17 +01:00
jomo
abdacdc713 fix rendering of slim arms 2015-11-22 04:18:32 +01:00
jomo
d0689c9e3b change two more logs to debug 2015-07-17 01:37:26 +02:00
Jake
d71d99fa9a Make a vast majority of logs debug, make it so that essential info is in one line 2015-07-16 17:42:41 -05:00
jomo
34f94bf9b5 get rid of redundant config names #124 2015-06-25 21:19:50 +02:00
Jake
a2e0edc491 Namespace and move config to root directory, closes #124 2015-06-25 13:12:08 -05:00
jomo
288657107e actually store the skin in store_skin, fixes #108; pipe skins & capes through lwip before saving, fixes #121 2015-05-28 01:32:29 +02:00
jomo
01049cb34d rewrite request queue, fixes #118 2015-05-28 00:45:20 +02:00
jomo
2e66e5c794 add missing status for empty capes 2015-04-21 23:46:07 +02:00
jomo
244f90c4c7 fix bug with skin caching that cached capes as non-existent
when using cache.save_hash, an `undefined` skin or cape hash means "do not touch"
while `null` means "overwrite as non-existent"

this was sent to redis after calling /capes/Notch for the first time:

  "hmset" "notch" "c" "3f688e0e699b3d9fe448b5bb50a3a288f9c589762b3dae8308842122dcb81" "t" "1429651244222"
  "hmset" "notch" "s" "a116e69a845e227f7ca1fdde8c357c8c821ebd4ba619382ea4a1f87d4ae94" "c" "" "t" "1429651244235"

as you can see, the first request stores the c(ape) but does not touch the s(kin), whereas the second request
sets the s(kin) and replaces the c(ape) value
2015-04-21 23:34:14 +02:00
jomo
13169be774 use new response module for capes + more
- made sure that get_cape returns a status
- response.js returns 404 if body is empty
- 'X-Storage-Type: undefined' is no longer returned when status is `null`
2015-04-21 23:27:10 +02:00
jomo
8971e3c02b use new response module for renders + bug fixes 2015-04-21 00:57:14 +02:00
jomo
a22454e6e4 Date.now() is faster (and shorter) than new Date().getTime() 2015-03-30 23:56:44 +02:00
jomo
eeb1939235 remove redundant dashes in render filenames 2015-03-27 23:25:08 +01:00
jomo
af03fb63f8 ❤️ eslint 2015-03-27 23:12:44 +01:00
jomo
48c2a55995 cache_err wouldn't be defined 2015-03-27 21:10:13 +01:00
jomo
13360430d9 join logs using , instead of + " " + 2015-03-15 01:57:19 +01:00
jomo
abaf3f77aa add & clean up documentation
also a small improvement for URL error logging, variable naming, and argument joining
2015-03-01 18:58:21 +01:00
jomo
f984b20344 mv modules/ lib/
that's what all the cool kids do
2015-02-27 18:49:39 +01:00