Independent Study Spring 2019/Logging: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


=views/versions=
=views/versions=
 
The previous version of views/versions page doesn't work well, so we need some refactoring to make it better.
==What needs to be done?==
==What needs to be done?==
 
* current UI needs to record the username.
* All fields of event records need to have info buttons describing what they do.
* Search form needs to be changed.
* More models need to be tracked by PaperTrail.
* The order of log attributes needs to be changed.
* We need to add a column for the title (assignment name, course name, rubric name, etc.)
* User ID should be the username of the user, not the user’s row number in the users table.
* Figure out a way to show data in local timezone, but the time stored in database is in UTC by default.
==Files Modified==
==Files Modified==
[https://github.com/expertiza/expertiza/pull/1465/commits/bd1a547486c464e9741142a263977f6a708236e3#diff-55c5b7aecfb519d0e4880eaf2788eb6e application_controller.rb]
[https://github.com/expertiza/expertiza/pull/1465/commits/bd1a547486c464e9741142a263977f6a708236e3#diff-a3fb728902bc153c0fc1612b4597869b versions_controller.rb]
[https://github.com/expertiza/expertiza/pull/1465/commits/bd1a547486c464e9741142a263977f6a708236e3#diff-f2c4e0bef6fa75ef9821224364530b36 versions/_pagination.html.erb]
[https://github.com/expertiza/expertiza/pull/1465/commits/bd1a547486c464e9741142a263977f6a708236e3#diff-325adffe6f7b1a0ac7400e12a5d99f3d versions/search.html.erb]
[https://github.com/expertiza/expertiza/pull/1465/commits/bd1a547486c464e9741142a263977f6a708236e3#diff-1971eca16b7fb333c78f0aa3a960f20b versions/show.html.erb]
New gem, local_time
[https://github.com/expertiza/expertiza/pull/1465/commits/bd1a547486c464e9741142a263977f6a708236e3#diff-8b7db4d5cc4b8f6dc8feb7030baa2478 Gemfile]
[https://github.com/expertiza/expertiza/pull/1465/commits/bd1a547486c464e9741142a263977f6a708236e3#diff-a9c3bd311eab80c9ebe6a69830f9ad02 javascripts/application.js]
[https://github.com/expertiza/expertiza/pull/1465/commits/bd1a547486c464e9741142a263977f6a708236e3#diff-aee6df3da3a94b2dd4a3f4173dc39ecf javascripts/local-time.js]


=ELK Stack=
=ELK Stack=

Revision as of 02:37, 30 April 2019

Abstract

This independent study, Support for logging & data-mining peer-assessment behavior in Spring 2019, is about logging, which is convenient for the administrator or instructor to gather valuable usage of Expertiza from students and do some studies. This study can be divided into 2 parts, refactor of views/versions page and setup of ELK Stack.

views/versions

The previous version of views/versions page doesn't work well, so we need some refactoring to make it better.

What needs to be done?

  • current UI needs to record the username.
  • All fields of event records need to have info buttons describing what they do.
  • Search form needs to be changed.
  • More models need to be tracked by PaperTrail.
  • The order of log attributes needs to be changed.
  • We need to add a column for the title (assignment name, course name, rubric name, etc.)
  • User ID should be the username of the user, not the user’s row number in the users table.
  • Figure out a way to show data in local timezone, but the time stored in database is in UTC by default.

Files Modified

application_controller.rb versions_controller.rb versions/_pagination.html.erb versions/search.html.erb versions/show.html.erb New gem, local_time Gemfile javascripts/application.js javascripts/local-time.js

ELK Stack

Setup Steps

Download

Future Study

Reference