canvas-lms/app
Ahmad Amireh 7df6a55a34 Quiz Stats - don't count Student View submissions
QuizSubmission now supports a new scope "for_students" that will grab
all submissions that are:

  - not a teacher preview
  - not a teacher-initiated "Student View" one
  - submitted by students who really are rolled in a course

Closes CNVS-13694

TEST PLAN
---- ----

  - create a quiz with one question
  - enter Student View via the course settings
    + take the quiz
    + get out of Student View
  - visit the statistics page (or hit the API)
    + verify the attempt is not factored
  - generate the CSV of Item-Analysis to verify that IA does not factor
    these attempts either
  - test the change with Survey quizzes - need to make sure "logged out"
    users are still OK where applicable

Change-Id: Ic58569be31576734eb6e309d548a7415c07e08a7
Reviewed-on: https://gerrit.instructure.com/38174
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jason Madsen <jmadsen@instructure.com>
Product-Review: Ahmad Amireh <ahmad@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
2014-07-29 16:13:44 +00:00
..
coffeescripts Ember Quiz Stats - Summary chart scrolling fix 2014-07-29 16:00:03 +00:00
controllers user submission export 2014-07-29 14:56:03 +00:00
helpers create k12 specific stylesheets 2014-07-25 16:46:39 +00:00
messages Adds peer review notification for assigning peer reviewers 2014-07-25 19:56:57 +00:00
middleware clarify Slug vs. UUID and fix event stream 2014-07-11 16:58:42 +00:00
models Quiz Stats - don't count Student View submissions 2014-07-29 16:13:44 +00:00
observers ensure common context_stream_item_key between rails 2 and 3 2014-06-10 17:02:10 +00:00
presenters DA - grade calculation works on backend 2014-07-17 21:27:59 +00:00
serializers DA - quiz edit page 2014-07-23 14:41:24 +00:00
stylesheets Ember Quiz Stats - Summary chart scrolling fix 2014-07-29 16:00:03 +00:00
views user submission export 2014-07-29 14:56:03 +00:00