Initial commit for mongo-based analytics:
Designing document database schema for storing aggregate counts.
Working background worker and fast increment events.
Added predictor analytics event logging.
Added per-assignment score tracking over time to analytics store.
Added foreman to development Gemfile group.
WIP: Created initial assignment event analytics graph to staff dashboard.
Refactored analytics code into lib module, ready to turn into gem. Added
analytics classes for additional aggregate types.
Created analytics rake events to purge analytics db and populate with sample data.
Refactored front-end analytics graphs to pull data from Analytics Aggregate classes.
Got login frequency analytics working. Refactored event_logger, user_id always required, optional data moved to data hash.
Added todos for refactoring analytics classes with type modules.
Added pageview analytics event.
Fixed rake task for populating with sample login events.
Refactored formatted data returned from analytics aggregate.
Extracted front-end chart info to data attributes of div element.
Cleaned up and moved analytics route.
Added analytics front-end charts for course logins and pageviews.
Added average course predictor scores to front-end charts.
Added new analytics pageview aggregates for better graphing. Added per-page pageviews chart to staff dashboard.
Fixed issue with having to restart rails when analytics lib file changed.
Refactored analytics aggregates, easier to understand and to create new aggregates.