canvas-lms/app
Derek Bender d6619c11c3 warn when grade has too many or negative points
refs: CNVS-27399

Test Plan:
 - Given an assignment with 100 points possible
 - In gradebook, submission details modal
   (the comments icon), Gradebook: Individual View,
   and from SpeedGrader™:
   - When the assignment is graded with 149 or 0 points
   - Then no warning is present

   - When the assignment is graded 150
   - Then a warning is present

   - When the assignment is graded -1
   - Then a negative warning is present

   - When the assignment has no points possible, or is excused
   - Then there is no warning present

Notes:
 - This should work for any assignment where there is a total points
   possible value except for 0

Change-Id: I528f3c4e71276d1e2696d47cb5709ff9d7c44fff
Reviewed-on: https://gerrit.instructure.com/85945
Tested-by: Jenkins
Reviewed-by: Spencer Olson <solson@instructure.com>
Reviewed-by: Neil Gupta <ngupta@instructure.com>
QA-Review: KC Naegle <knaegle@instructure.com>
Product-Review: Christi Wruck
2016-08-15 15:08:55 +00:00
..
coffeescripts warn when grade has too many or negative points 2016-08-15 15:08:55 +00:00
controllers AddressBook facade 2016-08-15 15:03:56 +00:00
helpers AddressBook facade 2016-08-15 15:03:56 +00:00
jsx warn when grade has too many or negative points 2016-08-15 15:08:55 +00:00
messages don't show scores in messages if account setting is reverted 2016-07-13 19:52:24 +00:00
middleware allow services to pass their Request ID 2016-03-01 22:30:45 +00:00
models AddressBook facade 2016-08-15 15:03:56 +00:00
observers add Enrollment + UserAccountAssociation kinesis live events 2016-08-07 17:39:06 +00:00
presenters fix grading periods api to allow proper delete functionality 2016-08-06 00:29:16 +00:00
serializers cache false values in locked_serializer 2016-08-09 19:45:23 +00:00
stylesheets Conditional Breakdown Graph for Teacher 2016-08-11 14:56:13 +00:00
views add filter for users on quiz moderation 2016-08-12 22:27:11 +00:00