reality/depressionbot — pull request #377 by zuzak (2013-04-18 17:51:16+00:00)
Title: Gitstatus

This is probably awful code. Check before you commit, etcetera.

It should be noted that this removes the text-shadow globally; this is a fairly major change with regards to how the web pages display and might want to be discussed further.

A few issues I don't have the expertise to fix:
* This only shows open milestones; you can get closed ones by appending ``?state=closed`` to the URI, but having two requests threw errors for me.
* Some of the code could be massively streamlined. A way to pass all strings by default through jade would be a nice improvement, and we'd be able to make a proper translation effort: it's a bit of a shame I can't easily translate the depressive quotes into the other languages; although de.nourishedcloud.com would be pro.
* These really should be API calls, and there's probably a better way of fetching them than the way I've done.
* Might be worth listing installed modules as well as active ones, but I'm lazy.
* Would also be nice to pull in stats from other modules, although I'm viewing this page as more of a developer's tool than a layman's one: it's for the sysadmin to see what's happening as opposed to the user seeing what depressionbot is up to.

---

This code creates a page at ./project with a few basic stats and things.