160 Commits

Author SHA1 Message Date
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
729623eeef why did I leave this in here -.- 2015-01-11 23:39:13 +01:00
jomo
e437b90b51 prepend uuid to all logs 2015-01-11 02:13:21 +01:00
jomo
35756cc724 add benchmark.sh
should be ran from inside test/ dir
2015-01-10 20:25:17 +01:00
jomo
5bf3d7b5dc remove trailing newline
just had to make a trivial change for dokku 💩
2015-01-10 01:37:33 +01:00
jomo
04b5161285 this doesn't work :/ 2015-01-09 18:49:50 +01:00
jomo
9d6f602206 faster requests in bulk.sh 2015-01-02 00:02:33 +01:00
Jake
a370cf3160 Test both types of skins 2014-12-26 00:15:04 -06:00
Jake
0bd2371fca Add render tests in new format 2014-12-26 00:06:54 -06:00
Jake
01e95f7f19 Merge 2014-12-26 00:04:36 -06:00
jomo
ca67afd9ec more clean code 2014-12-17 14:52:14 -06:00
Jake
5e453ced02 Use get_render in tests 2014-12-17 14:51:57 -06:00
Jake
55f023bfb3 Add tests for renders 2014-12-17 14:51:55 -06:00
jomo
9aede69c9d clean up tests
- renamed a bunch of tests to be more descriptive
- added tests for lower/upper case uuid/name
- looping over the 4 IDs (see above) instead of redefining tests

fixes #40
2014-12-10 21:25:52 +01:00
Jake
eff49afa65 Add test for uppercase UUIDs 2014-12-06 08:45:25 -06:00
jomo
39e6e626b9 add tiny tests for skins 2014-11-30 03:48:32 +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
jomo
1a7f456c83 fix #23 2014-11-29 23:57:48 +01:00
jomo
e01cff53b2 re-add checking for existing file before downloading 2014-11-29 23:15:43 +01:00
jomo
8cea2ed65f fix windoge line splitting? 2014-11-29 21:32:13 +01:00
jomo
4f610861e9 Merge branch 'master' of github.com:Jake0oo0/crafatar 2014-11-29 21:25:19 +01:00
jomo
db223f1dc6 fix tests 2014-11-29 21:24:59 +01:00
Jake
a40a3819d8 Fix http vs https 2014-11-29 14:17:40 -06:00
Jake
fd7fbc0f3c Fix some tests 2014-11-29 12:28:37 -06:00
jomo
042129eed4 log used username / uuid in tests 2014-11-29 17:39:50 +01:00
jomo
3d708d2342 fix #22, caused by @e6481e3 2014-11-29 17:15:59 +01:00
jomo
bac6a0dadd less spammy tests :) 2014-11-23 23:05:43 +01:00
jomo
ea3f322c73 test improvements, fix #14 2014-11-23 22:41:27 +01:00
jomo
8ee862596b add test for invalid file updates (#14) 2014-11-23 22:39:02 +01:00
jomo
3b7acbd28d add test for existing files / not re-downloading (#14) 2014-11-23 22:17:40 +01:00
jomo
06172a8aaf add test for textures 404 (#14) 2014-11-23 22:11:07 +01:00
jomo
148ea45631 add test for timing out on username info (#14) 2014-11-23 22:01:11 +01:00
jomo
e6481e3c73 bug fixes, improvements, fix #13, fix #14 2014-11-23 21:53:42 +01:00
jomo
ebd8e18b29 add tests for default avatar 2014-11-23 04:45:39 +01:00
jomo
05d7547a07 tests: dashed uuid should be valid 2014-11-23 04:15:44 +01:00
jomo
3830b3ccf4 more tests w/ timeouts 2014-11-22 21:17:49 +01:00
jomo
7dbfaedb2f allow longer timeouts when testing 2014-11-22 17:20:16 +01:00
jomo
893ac91717 add more tests for usernames 2014-11-22 02:20:21 +01:00
jomo
bc8a6d9b15 add usernames.txt
can be used for testing, all usernames (currently) exist but not all of them may have a skin.

It's relatively small compared to uuids.txt.
2014-11-22 02:12:38 +01:00
jomo
a03ee5d979 more username/uuid tests 2014-11-22 00:56:49 +01:00
Jake
d0065fa0f7 Fix failing test 2014-11-20 22:14:19 -06: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
a6c74c9831 use 160px as default - 180 results in irregular resized pixels (22,5px) 2014-11-03 02:12:58 +01:00
jomo
f71f11aa87 flush redis after connection established, improve bulk.sh 2014-11-03 01:11:19 +01:00
Jake
0862cb8474 Fix Travis, closes #7 2014-11-02 11:09:07 -06:00
jomo
3025062117 stfu travis 2014-11-02 10:32:36 -06:00
Jake
ca7aafbcaa Seperate methods 2014-11-02 07:57:39 -06:00
Jake
5d062f759f Auth client 2014-11-02 07:54:28 -06:00