jomo
d4b0a335c4
return 200 for default avatars/renders/skins, fixes #111
2015-03-18 01:11:49 +01:00
jomo
13360430d9
join logs using , instead of + " " +
2015-03-15 01:57:19 +01:00
jomo
f984b20344
mv modules/ lib/
...
that's what all the cool kids do
2015-02-27 18:49:39 +01:00
Jake
20d8b281bd
welp..fix
2015-02-11 19:31:05 -06:00
Jake
5a06e99643
Why does only one test seem to be processed
2015-02-11 18:25:56 -06:00
Jake
9296fac091
uuid -> userId closes #62
2015-01-31 16:48:36 -06:00
jomo
e0accc429b
merge
2015-01-31 18:02:23 +01:00
jomo
ebe88cdc48
Revert #62 to avoid conflicts with #77
...
This reverts commit 6e03f0f55dd351b35bd58106f529a5e8e2bf6d39.
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
Jake
6e03f0f55d
Replace id with uuid, closes #62
2015-01-29 20:39:18 -06:00
Jake
ffcd023c05
Code cleanup
2015-01-29 19:09:02 -06:00
Jake
3def0910bc
Network rewrite/major cleanup, major caching changes, etc
...
Work on implementing capes
Update to no-express
Add more render tests
Add capes express route
Add documentation
Add undefined images to .gitignore
Fix no-express server again
Cleanup config a bit
General cleanup
Add CodeClimate badge
Test on Heroku
Speed optimizations
Fix tests
Code cleanup
2015-01-26 22:09:42 -06: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
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
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
0009535fc0
upper case HTTP status messages
2015-01-02 22:26:39 +01:00
jomo
0a8f2e133e
allow .png extension for avatars
2015-01-02 22:04:21 +01:00
jomo
81cd71bf6e
fix 422 response in avatars
2015-01-02 22:02:06 +01:00
jomo
958b1ea907
remove expressjs from avatars
2015-01-02 21:55:38 +01:00
jomo
64948368c5
prefix errors with requested uuid
2015-01-02 05:35:45 +01:00
jomo
e7cec3556a
fix etag quotes for avatars
2014-12-31 18:56:12 +01:00
jomo
9faeedc03f
convert keys to lower case at cache level
2014-12-10 19:53:44 +01:00
jomo
c8d28ed2df
Revert "Lower case UUIDs - skins/avatars"
...
I already commited this ;)
This reverts commit e4bdecfbb756f38a85310a205a5693b7c5055f1b.
2014-12-08 22:39:38 +01:00
jomo
81bc380b0f
Merge branch 'master' of github.com:Jake0oo0/crafatar
2014-12-08 22:38:16 +01:00
Jake
e4bdecfbb7
Lower case UUIDs - skins/avatars
2014-12-08 15:36:00 -06:00
jomo
e726fb9d5f
convert uuid params to lower case, store only lower case uuids
2014-12-08 21:57:37 +01:00
jomo
bbeb734d91
parseInt size
2014-11-30 06:30:38 +01:00
jomo
91854ad86e
log -> debug etag
2014-11-30 03:01:06 +01:00
jomo
332330f68e
replacing all single quotes with double quotes
...
Until now it was a big mess with some strings using single quotes and some others double quotes
We were using way more double quotes, so I chose to use them globally
2014-11-30 00:07:05 +01:00
Jake
a4c11f396f
Rewrite skin support
2014-11-29 12:21:35 -06:00
jomo
452bb14605
debug log for cloudflare/etag
2014-11-27 13:37:14 +01:00
jomo
6945cda8d6
remove redundant etag modifications
...
helm and size are URL parameters. An Etag is an identifier for a single URL, not multiple
2014-11-27 13:36:22 +01:00
jomo
7d09da8384
add Access-Control-Allow-Origin, fix #19
2014-11-25 00:37:14 +01:00
jomo
95ebaf86c5
use Etag, fix #18
2014-11-25 00:35:25 +01:00
jomo
0734060d96
oops 💩
2014-11-24 02:31:21 +01:00
jomo
1dd1ee4d34
allow custom default image, fix #17
2014-11-24 02:12:56 +01:00
jomo
55ed86a3f6
skin support, fix #15
2014-11-24 00:53:39 +01:00
jomo
e6481e3c73
bug fixes, improvements, fix #13 , fix #14
2014-11-23 21:53:42 +01:00
jomo
3216833887
allow dashed uuid
2014-11-22 21:28:54 +01:00
Jake
8d73f50dd4
Fix README merge
2014-11-20 20:02:36 -06:00
Jake
f95ce50abc
Username support
2014-11-20 20:01:39 -06:00
jomo
03306dff08
better X-Storage-Type
...
none: Cached: User has no skin.
cached: Skin cached
checked: cached & checked for updates. No (new) skin
downloaded: checked, Skin changed or unknown, downloaded.
error: (error)
2014-11-10 23:55:56 +01:00
jomo
e592048ec1
always show image, get steve/alex by UUID, send correct HTTP status codes
2014-11-05 01:40:03 +01:00
jomo
6eac9b907d
clarify config options
2014-11-05 00:12:08 +01:00
Jake
6b6f7c7f46
Allow .png file extension
2014-11-02 10:32:37 -06:00
jomo
b59d6ced07
cache non-existing UUIDs
2014-11-02 10:32:35 -06:00