v0.2.2 - "Carmen"
Pre-releaseCarmen is the third development pre-release for Codelife. It introduces a collated admin panel, advanced javascript rules, protection against flagging abuse, and remote server rendering to improve security.
Admin Panel
User Roles (such as user, contributor, and admin) have been added to Codelife. As such, all admin capabilities have been placed in a single panel, requiring admin login to access. Here, admins have the ability to add and delete lesson content, translate test rules, moderate flagged content, and set user permissions.
Javascript Rules
The javascript rule system now includes variable equivalence, function invocation, and regex matching. Lesson feedback will now be more granular for forthcoming Javascript lessons.
Flagging Abuse Protection
Though bullying can occur through inappropriate content, so too can it occur by falsely flagging content. Users are now provided an admin-configurable monthly quota of reports to cut down on fraudulent reports.
Remote Server Rendering
As with any web service that allows users to upload content and interact, executing arbitrary Javascript can be unsafe. The first step to improving security is to render the javascript on a separate domain, which is now accomplished via a sandbox set up at codelife.tech.
Known Issues
- Remote Server Rendering is still in testing, currently the page will not render until a keystroke is registered.
- The Rules Panel layout will undergo a redesign before the next pre-release.
- There is a known state issue when Codeblocks are closed and re-opened, under investigation.


