Commit Graph
100 Commits
Author SHA1 Message Date
jomo 3473b3bb00 log amount of workers started 2015-01-06 22:02:34 +01:00
jomo 58b7995d53 solve merge conflict 2015-01-06 20:45:18 +01:00
jomo 28ad09213c fix indentation 2015-01-06 18:44:27 +01:00
jomo 8458218d50 use double quotes as we do everywhere else 2015-01-06 18:43:16 +01:00
jomo b32db33ddc use logging module 2015-01-06 18:40:18 +01:00
jomo 363f460ee3 remove Timeout
Why was this here in the first place?
The nodejs docs don't mention anything about this

http://nodejs.org/api/cluster.html#cluster_event_exit
2015-01-06 18:38:03 +01:00
jomo 66144bb580 Merge pull request #70 from connor4312/better-static-serve
Pipe static files, don't read to buffer
2015-01-06 05:52:52 -08:00
jomo 4f8f134180 Merge pull request #69 from connor4312/wat
Fix some silly parsing URLs
2015-01-06 05:46:09 -08:00
jomo e26cff3718 remove useless get_image_hash line for renders 2015-01-04 05:34:35 +01:00
jomo 9affb00576 this is a better fix for #48 2015-01-04 05:03:45 +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 3d1ad616bf make sure file exists before considering redownload, fix #48 2015-01-04 04:29:07 +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 bbc71b0d6c fix #64 2015-01-04 03:08:53 +01:00
jomo 7fbd31fd01 fix #61 2015-01-04 02:39:11 +01:00
jomo 51d9f1db31 fix html, close #63
div elements are not allowed inside p elements
2015-01-04 00:18:48 +01:00
jomo 341eb5b41b rename contents to file_buffer for clarity 2015-01-03 23:57:32 +01:00
jomo f031616984 fix content-length for index 2015-01-03 18:21:14 +01:00
jomo 4a3b635166 remove newline at end of file 2015-01-03 17:50:44 +01:00
jomo 2d38bd20cb remove useless newline log 2015-01-03 09:54:12 +01:00
jomo 0dd29d194d log full request path 2015-01-03 09:53:45 +01:00
jomo 9210051599 proper ingrish 2015-01-03 05:58:58 +01:00
jomo dd3aee541e padding-left for previews; bold placeholder 2015-01-03 05:56:30 +01:00
jomo ba4a7ae149 fix CSS overflow on small screens 2015-01-03 05:52:08 +01:00
jomo aba7eee7ef bootstrap y u stupid 2015-01-03 05:50:47 +01:00
jomo 389803938c we are blazing fast! 2015-01-03 05:37:46 +01:00
jomo 968d81f5cb use correct year automatically 2015-01-03 05:34:42 +01:00
jomo f602665999 preload :hover images
why don't browsers do this automatically? 💩
2015-01-03 05:32:14 +01:00
jomo 756ede7d83 add preview placeholder 2015-01-03 05:14:50 +01:00
jomo a81c3c9de4 fix mime dependency 2015-01-03 05:04:58 +01:00
jomo 4ae88e50c5 rename skins/ -> images/
skins/skins/ is a bit confusing
2015-01-03 05:04:09 +01:00
jomo a80850095a Merge branch 'master' of github.com:Jake0oo0/crafatar 2015-01-03 04:54:08 +01:00
jomo 951dd9504a singular 2015-01-03 04:53:11 +01:00
jomo d1235e38a3 nicer looking tables 2015-01-03 04:51:47 +01:00
jomo 92619310cc add lots of faces to header; make faces single-row 2015-01-03 04:33:15 +01:00
jomo dc08e925e5 add example previews; move renders above skins; fix anchors 2015-01-03 04:06:27 +01:00
jomo b40ab60d50 2015. 2015-01-03 02:09:15 +01:00
jomo 05f662a96c fix spacing 2015-01-03 02:07:45 +01:00
jomo abd5f03259 bring back helm on hover 2015-01-03 02:00:02 +01:00
jomo 25cb3f3c35 fix domain in index 2015-01-03 01:37:42 +01:00
jomo 8c31b0ed43 #crafatar 2015-01-03 00:29:02 +01:00
jomo 024c7f6c14 make travis slow
we can't use travis' container based infrastructure (sudo: false)
containers disallow the use of sudo which we have to use to install dependencies
2015-01-02 23:43:20 +01:00
jomo 1d2e39884d genius 2015-01-02 23:36:47 +01:00
jomo 37228069f7 make travis fast 2015-01-02 23:35:26 +01:00
jomo df49eadea1 Merge pull request #56 from Jake0oo0/no-express
Remove express.js
2015-01-02 14:31:36 -08:00
jomo fecdc4de81 remove obsolete error.jade 2015-01-02 23:20:55 +01:00
jomo 86aea3527d remove app.js 2015-01-02 23:19:16 +01:00
jomo 7ff1ae1b25 remove expressjs from renders 2015-01-02 23:17:33 +01:00
jomo 2f4951311d remove expressjs from skins 2015-01-02 22:58:38 +01:00
jomo 0009535fc0 upper case HTTP status messages 2015-01-02 22:26:39 +01:00
jomo 0a4011abc1 allow only GET + HEAD requests 2015-01-02 22:25:09 +01:00
jomo 846b738226 better error handling + logging in server.js 2015-01-02 22:16:35 +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 3ac98c88cf remove expressjs from index 2015-01-02 21:28:12 +01:00
jomo d10c94698f rewrite server.js 2015-01-02 21:15:26 +01:00
jomo d5ccb72caf remove pretty much unused debug module 2015-01-02 19:55:28 +01:00
jomo 64948368c5 prefix errors with requested uuid 2015-01-02 05:35:45 +01:00
jomo 9d6f602206 faster requests in bulk.sh 2015-01-02 00:02:33 +01:00
jomo 8580f0ade3 linking to twitter 2014-12-31 19:30:18 +01:00
jomo 283b7004a8 Merge branch 'master' of github.com:Jake0oo0/crafatar 2014-12-31 19:06:32 +01:00
jomo 0ce77ac110 unify quotes again 2014-12-31 19:02:22 +01:00
jomo e7cec3556a fix etag quotes for avatars 2014-12-31 18:56:12 +01:00
jomo c80eefd992 flush redis before max memory is reached; hotfix for #49 2014-12-29 23:54:33 +01:00
jomo 73ba73b535 add note about renders / beta 2014-12-29 21:17:52 +01:00
jomo 31fe0a40f9 clean up homepage 2014-12-29 21:06:30 +01:00
jomo 686b09eeb5 add twitter account to readme 2014-12-26 04:53:50 +01:00
jomoandJake 63aa047426 fix head position 2014-12-17 14:52:19 -06:00
jomoandJake a6ff10493d console.debug 2014-12-17 14:52:15 -06:00
jomoandJake ca67afd9ec more clean code 2014-12-17 14:52:14 -06:00
jomoandJake a162387f83 clean code 2014-12-17 14:52:13 -06:00
jomoandJake 834e737498 if true then false else true 2014-12-17 14:52:12 -06:00
jomoandJake 62e1994121 fix config, use min_scale + max_scale 2014-12-17 14:52:11 -06:00
jomoandJake dd2ac9ee4e fix config 2014-12-17 14:52:10 -06:00
jomoandJake 9df986b044 there shouldn't be a max sale 💰 2014-12-17 14:52:08 -06:00
jomoandJake 4df237b454 don't overwrite my config :) 2014-12-17 14:52:07 -06:00
jomo b322ecab7b get rid of typo'd package description 2014-12-11 00:16:02 +01:00
jomo 9140f15f11 I guess coveralls doesn't like the 'list' reporter 2014-12-10 22:17:57 +01: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
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 e4bdecfbb7.
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
jomo 0c73d39c79 high scalability!!! using '.' instead of 'null' string 2014-12-08 22:38:06 +01:00
jomo 04c167f5aa fix false 'downloaded' status being returned when null hash is 'checked' 2014-12-08 21:59:21 +01:00
jomo e726fb9d5f convert uuid params to lower case, store only lower case uuids 2014-12-08 21:57:37 +01:00
jomo a4ae97ea1e clean up docs 2014-12-04 23:13:14 +01:00
jomo 7aa25b807d cache images for 20 minutes, not 1 hour 2014-11-30 20:37:45 +01:00
jomo 5ef084d8be catch df errors 2014-11-30 20:25:24 +01:00
jomo 972a9db442 typos 2014-11-30 19:40:49 +01:00
jomo 96ae65ee6a set User-Agent to 'https://crafatar.com' 2014-11-30 06:49:49 +01:00
jomo 30fabeac8c clarify how to get face without helm 2014-11-30 06:39:33 +01:00
jomo bbeb734d91 parseInt size 2014-11-30 06:30:38 +01:00
jomo d18b862ecc proper favicon, close #11
I also added a note about the default parameter for skins
2014-11-30 05:18:27 +01:00
jomo 39e6e626b9 add tiny tests for skins 2014-11-30 03:48:32 +01:00
jomo 7d47028ff7 fix errors for null skins, closes #20 2014-11-30 03:34:37 +01:00
jomo a31282e244 OCD 2014-11-30 03:02:09 +01:00