jomo
d967db3ad4
use environment variables for configuration
2020-03-29 07:32:39 +02:00
jomo
d81e2777d2
delete unused function
2020-03-28 23:38:20 +01:00
jomo
0940b50f2c
networking.save_texture should return image buffer, not lwip image object
...
This led to a crash when a cape or skin was not stored on disk.
The function caled skins.save_image and returned that function's lwip image object instead of the expected buffer.
skins.save_image also no longer returns the image object because it's not used anywhere
2016-02-14 17:04:33 +01:00
jomo
fcdb03173a
Use UUID's profileName response to update username model type, see #125
2016-01-13 02:15:47 +01:00
jomo
7d02138c1e
solve merge conflicts
2015-12-14 01:51:49 +01:00
jomo
3c21a59c94
add support for slim renders, fixes #125 , adjust tests
2015-12-13 14:08:59 +01:00
jomo
fb0c70d648
return HTTPERROR on 429 or 5xx, fixes #151
...
otherwise 429 or 5xx would be overwriting cached value with null for $config minutes
2015-10-21 01:02:57 +02:00
jomo
841eb39f05
remove obsolete imports
2015-08-31 05:41:18 +02:00
jomo
755cc74170
don't update file dates
...
this was originally implemented because we wanted to delete the oldest images on disk
where 'oldest' means not *used* for the longest time
that's not useful and was never actually implemented, so we don't need this
2015-08-30 04:48:50 +02:00
jomo
e56f300d3e
use EPHEMERAL_STORAGE instead of HEROKU env
...
afaik you can have persistent storage on heroku, at least via addons
and heroku is probably not the only environment where one has a temporary file system
2015-08-30 02:11:35 +02:00
jomo
a928952dc4
don't force image directories to be relative
2015-08-20 01:52:01 +02:00
jomo
d0689c9e3b
change two more logs to debug
2015-07-17 01:37:26 +02: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
3cdcccde57
improve logging
2015-04-22 00:26:10 +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
jomo
a22454e6e4
Date.now() is faster (and shorter) than new Date().getTime()
2015-03-30 23:56:44 +02:00
jomo
af03fb63f8
❤️ eslint
2015-03-27 23:12:44 +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