canvas-lms/lib/cc
Simon Williams 0be2477685 remove code for max_score/min_score/mastery_score
these are legacy fields on the assignment table.  we'll keep the columns
around for a bit, but remove any and all effects.

fixes CNVS-10059

test plan:
- create an assignment, noting it's id
- in the console, run the following commands:
  > assign = Assignment.find(<id>)
  > assign.max_score = assign.points_possible
  > assign.min_score = 1
  > assign.save!
- make sure you can grade someone with a number greater than points possible
  and also that you can give a 0.
- make sure the grade shows up correctly in the gradebook and on the student's
  grade page
- make sure you can still copy assignments between courses
- try exporting an assignment that has a max_score set before this change is
  applied, and importing after.

Change-Id: I8ea228988c6514129db2fca1bea9be92d01c4efd
Reviewed-on: https://gerrit.instructure.com/27740
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Cameron Matheson <cameron@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2013-12-23 20:31:57 +00:00
..
importer remove code for max_score/min_score/mastery_score 2013-12-23 20:31:57 +00:00
qti Controlling visibility of student quiz scores 2013-11-20 22:08:21 +00:00
xsd copy discussion topic require_initial_post attribute 2013-08-23 22:26:51 +00:00
assignment_groups.rb import assignments into groups on selective import 2013-07-30 13:31:36 +00:00
assignment_resources.rb remove code for max_score/min_score/mastery_score 2013-12-23 20:31:57 +00:00
basic_lti_links.rb turning in homework from LTI tools 2013-03-27 14:52:12 +00:00
canvas_resource.rb correctly check for syllabus body flag on course copy 2013-08-29 17:50:21 +00:00
cc_exporter.rb rubyzip 1.0.0 upgrade 2013-11-22 19:23:34 +00:00
cc_helper.rb preserve links to re-uploaded attachments in course copy 2013-08-23 13:12:07 +00:00
events.rb don't copy deleted calendar events 2012-05-31 12:12:06 -06:00
external_feeds.rb importing more canvas export types 2011-04-18 08:09:23 -06:00
grading_standards.rb export the course's grading_standard too 2012-07-03 11:21:18 -06:00
importer.rb added an import package identifier 2011-09-23 13:27:28 -06:00
learning_outcomes.rb Outcome API 2012-08-22 14:05:36 -06:00
manifest.rb Make course syllabus optional when copying courses 2012-11-08 09:29:50 -07:00
module_meta.rb keep external tool id references for copied module items 2013-12-23 19:13:45 +00:00
organization.rb allow modules to be unpublished 2013-02-15 19:10:30 -07:00
resource.rb Make course syllabus optional when copying courses 2012-11-08 09:29:50 -07:00
rubrics.rb preserve account-level rubric associations on course copy 2013-06-19 19:23:48 +00:00
schema.rb whitelist for xsd files for the cc module 2012-12-04 11:54:16 -07:00
topic_resources.rb copy discussion topic require_initial_post attribute 2013-08-23 22:26:51 +00:00
web_links.rb moved common cartridge folder up a level 2011-04-18 08:09:08 -06:00
web_resources.rb make content exports with media files more robust 2013-08-29 14:02:20 +00:00
wiki_resources.rb copy wiki front page setting 2013-08-30 12:34:49 +00:00