WardCunningham/Smallest-Federated-Wiki — pull request #111 by nrn (2012-01-30 12:04:16+00:00)
Title: Favicons moved to client side.

I was up late and got inspired. This pull request fixes most of #77. Express server no longer creates favicons, and the client now creates a favicon if it can't get one from the server, and then posts it back to the server at /favicon.png. Express server then saves it to disk if it didn't already have one.

This doesn't pass the create new favicon integration test, i'll have to track down the exact problem, but as best I can tell manually it is working as intended.

client/plugin/favicon.coffee could be a lot more elegant if someone who knows the canvas api takes a crack at it with the built in gradient stuff, this is just a client side port of the server side brute force port of Ward's ruby favicon generator. I just went with what I knew created acceptable favicons for now.

Shouldn't effect the ruby server as long as it is still generating favicons.