Go to file
Matt Taylor 42be7c1a8a store scores for each assignment group
closes GRADE-19

Test Plan:
1. Using the master branch prior to this commit:
   a. Seed a course with all of the following:
      - weighted assignment groups
      - weighted grading periods
      - ungraded assignments
      - quizzes
      - late and missing policies
   b. Record all data displayed in the gradebook
2. Using the code in this commit:
   a. Verify GRADEBOOK_COURSE_SCORE_POPULATED is
      not set in your environment
   b. Run database migrations
   c. Repeat steps in (1a)
   d. Verify that results are identical to (1b)
3. Using the code in this commit:
   a. Set GRADEBOOK_COURSE_SCORE_POPULATED="true"
      in your environment
   b. Repeat steps in (1a)
   c. Verify that results are identical to (1b)
   d. (Dev-QA only)
      Verify that assignment group grades recorded in the
      scores table match those calculated by the front end
4. (Dev-QA only)
   run scores_spec and grade_calculator_spec tests
   with GRADEBOOK_COURSE_SCORE_POPULATED="true"
5. (Dev-QA only)
   After running grade calculations with the new migrations
   in place, revert those migrations and verify that all
   scores created for assignment groups are deleted

Change-Id: Ie5e06eb5ad7c0d3958a686e7f0b054e6585be37d
Reviewed-on: https://gerrit.instructure.com/123085
Reviewed-by: Rob Orton <rob@instructure.com>
Reviewed-by: Jeremy Neander <jneander@instructure.com>
QA-Review: Spencer Olson <solson@instructure.com>
Tested-by: Jenkins
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2017-09-22 14:46:27 +00:00
Gemfile.d Fixing header passthrough parameters for content-type during file submission 2017-09-21 22:20:12 +00:00
app store scores for each assignment group 2017-09-22 14:46:27 +00:00
bin copyright linter auto correct, refs SD-2295 2017-05-11 20:06:08 +00:00
build pin yarn version for docker 2017-09-11 20:24:30 +00:00
client_apps Audit and move vendor/bootstrap/mixins 2017-09-18 19:28:09 +00:00
config update nn translation 2017-09-22 06:01:17 -06:00
db/migrate store scores for each assignment group 2017-09-22 14:46:27 +00:00
doc Add rake task to populate Consul from dynamic_settings.yml 2017-09-19 18:08:39 +00:00
docker-compose remove redis_store from test env 2017-09-20 15:42:09 +00:00
frontend_build re-add missing timezone locales 2017-08-23 21:01:06 +00:00
gems add enrollment_id to provisioning report 2017-09-18 19:46:05 +00:00
lib store scores for each assignment group 2017-09-22 14:46:27 +00:00
public load instructure_links not lazy for editor improvements 2017-09-20 22:02:41 +00:00
script require yarn, not npm 2017-08-14 15:27:14 +00:00
spec store scores for each assignment group 2017-09-22 14:46:27 +00:00
.babelrc Strip out react propTypes in prod webpack build 2017-03-13 23:04:17 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.codeclimate.yml disable ESLint in code climate 2017-02-14 17:47:39 +00:00
.dockerignore Fix build :fingers-crossed: 2017-07-06 19:24:41 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore Don’t eslintignore public/js/vendor because we modified code in there 2017-04-11 16:31:48 +00:00
.eslintrc.js add prettier and config-eslint-prettier 2017-08-24 16:41:57 +00:00
.gitignore update .gitignore for rails 5.1 flag file 2017-07-28 16:27:55 +00:00
.i18nignore bump rails 3 to github branch for ruby 2.2 compatibility 2015-02-18 22:55:20 +00:00
.i18nrc upgrade to node 6 2016-08-09 23:37:07 +00:00
.jshintrc make jslint settings more sane 2012-08-17 11:04:40 -06:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc bump node version to v6.9.5 (latest LTS) 2017-02-09 22:31:33 +00:00
.rubocop.yml bump rubocop 2017-07-28 19:32:48 +00:00
.selinimumignore Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
.stylelintrc stylelint, refs SD-1603 2016-10-25 00:21:16 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md update CONTRIBUTING wording for CLAHub 2017-05-19 19:26:14 +00:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Dockerfile pin yarn version for docker 2017-09-11 20:24:30 +00:00
Dockerfile-production pin yarn version for docker 2017-09-11 20:24:30 +00:00
Gemfile remove rails 4.0 support 2016-10-25 17:17:22 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md Update README.md since Canvas is still modern 2016-12-15 03:18:28 +00:00
Rakefile remove dead parallelized specs task 2016-11-10 21:41:08 +00:00
bower.json use node_modules wherever possible 2016-11-01 15:14:52 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru remove extra logging to debug Passenger connection orphan issue 2017-07-14 16:27:03 +00:00
docker-compose.jenkins.yml Rename docker-compose.test.yml 2017-05-17 18:51:53 +00:00
docker-compose.override.yml Remove karma container from docker-compose.override.yml 2017-08-18 20:03:30 +00:00
docker-compose.yml Use redis:alpine 2017-07-31 22:31:40 +00:00
gulpfile.js make all locale files agree on short month names 2017-08-04 22:14:48 +00:00
issue_template.md Add issue_template.md for GitHub issues 2016-02-17 21:00:48 +00:00
karma.conf.js upgrade webpack related npm modules 2017-08-16 21:33:10 +00:00
package.json use graphql for student context cards 2017-09-15 22:50:17 +00:00
webpack.config.js don't pass frontend build files through babel 2016-11-08 20:29:29 +00:00
webpack.production.config.js upgrade webpack related npm modules 2017-08-16 21:33:10 +00:00
webpack.test.config.js upgrade webpack related npm modules 2017-08-16 21:33:10 +00:00
yarn.lock use graphql for student context cards 2017-09-15 22:50:17 +00:00

README.md

Canvas LMS

Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.