jomo
26f6b089ef
log errors only once, fixes #140
...
also made sure some (network) errors have level 'WARN'
these are printed without stacktrace
2015-09-20 21:17:13 +02:00
jomo
b4ae89832a
add missing 'cache' import in routes/skins
2015-09-02 23:22:52 +02:00
jomo
607dcaf6e5
use status -2 for 404s
...
human_status (response.js) defines code -2 as 'user error'. 404 is definitely a user error, so using that makes sense.
eventually we should change the whole status code thing with #120
2015-07-17 10:09:34 +02:00
Jake
b1cdf61e4b
Change invalid request path to be a 404 rather than 422, implement status id in response module
2015-07-16 17:48:48 -05:00
jomo
3e4f150262
add missing import N°2
2015-06-25 21:24:26 +02:00
Jake
d2ab7b87ad
Fix tests with new default code
2015-06-24 15:08:05 -05:00
Jake
8c39d0c017
Add support for userIds as defaults, ccloses #115
2015-06-24 01:23:22 -05:00
Jake
f1fd92f1cf
Disallow additional paths, closes #123
2015-06-24 00:50:38 -05:00
jomo
6273e3bcc8
adjust 422 messages
2015-05-06 22:13:28 +02:00
jomo
c8dad9dfbb
invalidate cache when skin file is gone
2015-04-22 00:31:37 +02:00
jomo
3cdcccde57
improve logging
2015-04-22 00:26:10 +02:00
jomo
8971e3c02b
use new response module for renders + bug fixes
2015-04-21 00:57:14 +02:00
jomo
a947b02c87
use new response module for skins
2015-04-20 23:18:27 +02:00
jomo
d025a3004d
remove always-empty first entry in req.url.path_list
...
rhyme pro 😎
2015-04-20 01:10:39 +02:00
jomo
9d2fe0c454
some logging fixes
2015-04-06 03:32:13 +02:00
jomo
b84a65fd8e
restructure directories
...
www.js is our 'main' file, it's now at the project's root instead of server.js
routes, views, assets are now in lib, too
2015-04-06 03:06:38 +02:00