46 Commits

Author SHA1 Message Date
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
jomo
60387c8c7c req.secure is always 'http' 2014-11-29 23:20:29 +01:00
Jake
6eef94d6f5 Oops..... 💩 2014-11-29 14:52:29 -06:00
Jake
a40a3819d8 Fix http vs https 2014-11-29 14:17:40 -06: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
d658a84668 docs improvements 2014-11-24 01:49:00 +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
9b3884d85a remove link to latest commit, wasn't working as expected 2014-11-05 00:13:35 +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
jomo
19597e232d get commit hash from post-commit hook, see http://stackoverflow.com/a/14924922/2517068 2014-11-02 16:08:40 +01:00
jomo
b9848e6e1f show commit hash on site 2014-11-02 14:54:57 +01:00
jomo
b513883d93 use outdated hash on network errors, fixes #5 🍺 2014-11-02 05:15:38 +01:00
jomo
9e46878932 much secure hyper text transfer protocol. wow 🐕 2014-11-02 04:40:06 +01:00
jomo
da8ba52717 add redis caching, closes #3. More logs, closes #9 2014-11-02 04:12:00 +01:00
jomo
2d061246c4 fix X-Storage-Type always returning local 2014-11-01 22:17:55 +01:00
jomo
999f2fda37 fix empty 404 image 2014-11-01 21:10:37 +01:00
jomo
1606fac89b add support for helmets (?helm), closes #2. changed '/:uuid/123' to '/:uuid?size=123', closes #10. Bugfixes 2014-11-01 21:03:42 +01:00
jomo
d84d55f533 better error handling 2014-10-30 00:21:16 +01:00
jomo
cc159d3620 split code into more modules, fixes #8 2014-10-29 19:53:27 +01:00
jomo
e2348bbb9d use 'request' for http actions; remove skins/tmp (was only for debugging); use buffer for skin -> avatar 2014-10-23 23:56:52 +02:00
Jake
02e23bcff8 Dynamic domain on index page code samples 2014-10-19 20:51:28 -05:00
Jake
3762a3f8bc Add Storage-Type and Response-Time header, indicating how the skin was retrieved and time it took to process the request respectively 2014-10-19 20:43:27 -05:00
jomo
507e0e9220 add ?default=alex|steve; more error handling 2014-10-20 01:22:59 +02:00
jomo
77bcf9dbe7 prevent large images 2014-10-19 23:36:58 +02:00
jomo
adea3320bc merge 2014-10-19 23:32:13 +02:00
jomo
81c51cdbbe do not extract face on every request, store face only 2014-10-19 23:28:21 +02:00
Jake
f3ca19f631 Add temp restriction: 2014-10-19 16:01:50 -05:00
jomo
6baf03aa80 typo 2014-10-19 21:05:55 +02:00
jomo
dd9574c19b don't process invalid requests 2014-10-19 21:04:47 +02:00
Jake
c5c4f8443d No need for unused routes 2014-10-19 12:00:32 -05:00
Jake
ec393a47ed Use lwip, add size 2014-10-19 11:13:29 -05:00
Jake
f088c17a8b init commit 2014-10-18 13:57:06 -05:00