192 Commits

Author SHA1 Message Date
jomo
b7a61bbc36 well shit. 💩💩💩💩💩 2014-11-17 02:52:28 +01: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
66914efb19 styles + missing favicon file ;_; 2014-11-10 22:47:30 +01:00
jomo
7954f4ba23 we don't need serve-favicon 2014-11-10 01:59:03 +01:00
jomo
05bc54721b fix content margin-top
floating header is 50px and has a 20px margin-bottom (which is obviously not applied)
2014-11-09 23:34:36 +01:00
jomo
9b3720e6fe add alt tags to images 2014-11-09 23:26:28 +01:00
jomo
c8c686133f fix link -> meta tag 2014-11-09 23:24:47 +01:00
jomo
6c3136712d fix jade markup, link to #, remove commented code 2014-11-09 23:21:17 +01:00
jomo
fe82720ff6 comply with html standards
image/x-icon is not a valid MIME type. the valid MIME for ico files is image/vnd.microsoft.icon.
the .ico file also contained 3 sizes (which we don't really need), which were poorly resized. One of the sizes actually had glitches, see https://i.imgur.com/OGWpggH.png

the /favicon.ico file remains, but contains only 1 image. The link/icon meta tag complies with the standard defined at
https://html.spec.whatwg.org/multipage/semantics.html#rel-icon. It links to favicon.png using image/png.

The ico file has been compressed to 1.1KB and the PNG is 0.5KB.
2014-11-09 23:19:46 +01:00
jomo
24fcc70973 add some meta tags 2014-11-09 22:05:58 +01:00
jomo
a6514ad104 add missing status to comments 2014-11-09 20:57:12 +01:00
jomo
f9fe00b36c fix coveralls? 2014-11-08 04:36:25 +01:00
jomo
987cbe911a remove some stuff 2014-11-08 03:54:14 +01:00
jomo
814e4ee66b fix coveralls / travis? :o 2014-11-08 03:13:52 +01:00
jomo
d8041c3ccd fix travis badge 2014-11-08 03:00:48 +01:00
jomo
4d562d70c4 use coveralls 2014-11-08 02:58:16 +01:00
jomo
2de0b0f9be add coveralls badge 2014-11-08 02:16:08 +01:00
jomo
db84f8745b comment = 👍 2014-11-08 02:13:42 +01:00
jomo
93623905ac use stictEqual where applicable, add tests 'should not exist' and 'should exist without skin' 2014-11-08 02:02:02 +01:00
jomo
c545c47ddf use \n instead of \r\n 2014-11-08 01:33:01 +01:00
jomo
653590228f cache valid UUIDs without skin 2014-11-08 01:16:46 +01:00
jomo
230444f866 add clean_images.sh, fixes #4 2014-11-08 00:23:25 +01:00
jomo
a1eaaa3de3 delete faces + helms on start (relevant: #4)
since redis is flushed, we don't know about these files anyway
2014-11-07 23:05:29 +01:00
jomo
d4cb8e9aef useless menu is useless | mobile 2014-11-06 22:41:47 +01:00
jomo
7b93a1ef98 use CSS for 'fork me on github' banner 2014-11-06 22:40:45 +01:00
jomo
1976ed13c9 correct docs 2014-11-06 22:02:33 +01:00
Jake
4b47be0bdd Serve from cdnjs 2014-11-05 21:35:19 -06:00
Jake
55031236b8 Merge branch 'master' of github.com:Jake0oo0/crafatar 2014-11-05 21:32:33 -06:00
Jake
0c4f305211 Remove body padding 2014-11-05 21:32:29 -06:00
jomo
b48d54afd0 update docs for new handling of fallback, update our own images 2014-11-05 01:59:00 +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
jomo
2a13d1e1c5 💩 💩 💩 💩 genius me
░░░░░░░░░░░░░░░░░░░▄▄▄▄▄▄░░░░░░░░░
░░░░░░░░░░░░█▀█▄▄▀▀░░░░░░▀█▄░░░░░░
░░░░░░░█▀▀▀▀░░░░░░░░░░░░░░░░▀▄▄▄▄░
░░░░░▄▄▀░░░▄█░░░░░░░░░░░░░░░░▄▄██▄
░░░░░█░░▄█▀░░▀▀▀▀▀▄▄░░░░░░░▄▄█░▀█░
░░░░░█░▄▀░░░░░░░░░░░▀▀▀▀▄▄███░░░▀▄
░░░░░▀▄█▄███▄▄░░░▄▄▄▄░░░░▄▀░░░░░░█
░░░░░░█▄█▀██▀░░░░█▀▄▄▀░░█░░░░░░░█▀
░░░░░██░██▀░░░░░▄█▄███░░█░░░░░░░█░
░░░▄▄█▀█▄░░▄▄▄▄░░█░░░░▄▀░░░░░░░█░░
░▄▀░░███▄░░▀▀░▀░░░░░▄█▄░░░░░░░█▀░░
█░░░░█░█▄▄▄▄▄▄▄░░░░░█▀███░░░░░█░░░
█░░░░██████▀▀▀█░░░░░░██░█▄▄▄▄▄█░░░
░░░░░██░▄██▀▀██░█░░░▄▀██▀░░░░▀▀▀▄░
░░░░░█▀██░░▄███░█░░░█▀░░░░░░░░░░░█
░░░░░░▄█▀▀▀██▀░░░░▄▀░░░░░░░░░░░░░▀
░░░░░░▀▄░░░░░░░░▄▀░░░░░░░░░░░░░░░░
░░░░░░░░█▄▀▀▀▄▀▀░░░░░░░░░░░░░░░░░░
2014-11-05 00:07:39 +01:00
jomo
b95d011933 use seconds (as stated in config)
timestamps in JS are ms. multiplied config value with 1000 so it's converted to ms
2014-11-05 00:06:15 +01:00
jomo
5f63cfac78 fix stupid bug that would result in never updating images
redis gives us a string. Thus, <time> + <number> resulted in '<time><number>' which was quite a big number and wouldn't ever be bigger than a valid Date
2014-11-05 00:04:50 +01:00
jomo
939d8f10a4 update file date on hash update (face only) 2014-11-04 23:43:39 +01:00
jomo
94911167e6 correct readme 2014-11-03 17:08:19 +01:00
jomo
b7b07ffc04 useless menu is useless 2014-11-03 02:16:23 +01:00
jomo
a6c74c9831 use 160px as default - 180 results in irregular resized pixels (22,5px) 2014-11-03 02:12:58 +01:00
jomo
c03c3ed1cc link lwip in readme 2014-11-03 01:52:31 +01:00
jomo
1ab0ca9913 compress default images 2014-11-03 01:29:01 +01:00
jomo
69be1145b2 add travis status + link to readme 2014-11-03 01:21:56 +01:00
jomo
ce8e194b45 mobile friendly website 2014-11-03 01:18:16 +01:00
jomo
f71f11aa87 flush redis after connection established, improve bulk.sh 2014-11-03 01:11:19 +01:00
jomo
e35106a03b Merge branch 'master' of github.com:Jake0oo0/crafatar 2014-11-02 21:28:22 +01:00
Jake
0862cb8474 Fix Travis, closes #7 2014-11-02 11:09:07 -06:00
Jake
5a4643f334 Add Redis getter 2014-11-02 10:47:40 -06:00
Jake
326e733d43 No 2014-11-02 10:43:17 -06:00
Jake
3eb8d7278d Don't watch 2014-11-02 10:42:24 -06:00