…#86, but more likely will just make it easier to manually reset passwords until we get it figured out
…here ajax is disabled, broken, whatever
… '' for the root.
…and currently the former produces a 404, so standardize on the latter when a request comes in
…e the structure is getting complicated.
…rt only the side effects they need
When pressing the "Run" Button, the unit tests are executed a little too fast with little visual clues, which can have disorienting effects. This makes the green/red light(s) light up with 500ms delays, one after the other. The updated Message is displayed when the light of last test xor the failing test is updated. Please see the discussion here: https://github.com/dbyrne/4clojure/pull/83
…. Refactor to use multiple function bodies instead.
This prevents re-loading of the side when running the code on the problem page, it uses an ajax-request instead. The sandbar.stateful-session is misused a bit in order to minimally affect existing code. An alternative would be to make "run-code", "mark-completed" and some other functions more functional and move all the side effects (if needed) into "static-run-code" and "rest-run-code". The animation on the frontend while the code is executing is not too pretty, it is just meant as a start.