The report was displaying the AssetUserAccess updated_at, which isn't
always the time of the last access -- #display_name re-saves the record,
for example.
Now AssetUserAccess keeps the last access time in a dedicated
last_access field. Turns out the table already had this column, but it
was unused. So now we're using it.
fixes#6679
test plan:
* As a student, access some course content -- look at assignments,
quizzes, pages, the syllabus, etc
* As a teacher, go to the student roster, select the student, and
click to view the student access report.
* Verify that all the last access times are correct (and not just set
to the current time).
Change-Id: Icef3073e777d191c281a21e8d160ec08201be374
Reviewed-on: https://gerrit.instructure.com/8880
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
This makes the access report actually show the right names for things, and it
also displays icons next to them to indicate the type.
Change-Id: I0241bc9546555a0796dee35786cdfcddb930ef1a
Reviewed-on: https://gerrit.instructure.com/3869
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: JT Olds <jt@instructure.com>