Go to file
Keith Garner 6c6f18930f update new gradebook feature flag
This patchset updates the new gradebook feature flag to 1) allow
teachers to enable the new gradebook for a course (if the admin has
set new gradebook to allow) and 2) disable the ability to turn off the
new gradebook for a course if backwards incompatible features are
used. For now, the features that would stop a move backwards are
enabled late or missing policies, or any submission that had a
late_policy_status manually set.

closes GRADE-691

test plan:
 - As an admin, in the account settings set new gradebook to allow
 - Create a course with a teacher, a ta, a student, and an assignment
 - As a ta, go the course settings and confirm you can't configure new
   gradebook
 - Perform the following actions as a teacher unless otherwise
   specified
    - go to the course settings and enable the new gradebook
    - in the gradebook, configure a late policy
    - go the course settings and confirm you can't turn off new
      gradebook
    - as an admin, go to the course settings and confirm you can't
      turn off new gradebook
    - in the gradebook, turn off the late policy and configure a
      missing policy
    - go the course settings and confirm you can't turn off new
      gradebook
    - as an admin, go the course settings and confirm you can't turn
      off new gradebook
    - in the gradebook, turn off the missing policy
    - go the course settings and confirm you can turn off new
      gradebook (but leave it enabled)
    - as an admin, go the course settings and confirm you can turn off
      new gradebook (but leave it enabled)
    - go into the gradebook, set a missing or late status on the
      assignment for the student
    - go the course settings and confirm you can't turn off new
      gradebook
    - as an admin, go the course settings and confirm you can't turn
      off new gradebook

Change-Id: Ibfde1398c60254de1fd2b9697e8155fabbb1b781
Reviewed-on: https://gerrit.instructure.com/134521
Tested-by: Jenkins
Reviewed-by: Shahbaz Javeed <sjaveed@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2017-12-08 17:30:15 +00:00
Gemfile.d spec: upgrade gergich to 0.2.2 2017-11-20 15:42:32 +00:00
app update new gradebook feature flag 2017-12-08 17:30:15 +00:00
bin copyright linter auto correct, refs SD-2295 2017-05-11 20:06:08 +00:00
build upgrade yarn in dockerfile 2017-11-22 16:38:35 +00:00
client_apps Convert straggling `$ic-bran-primary`s to css vars 2017-09-29 20:28:54 +00:00
config update nn translation 2017-12-08 06:04:29 -07:00
db/migrate update new gradebook feature flag 2017-12-08 17:30:15 +00:00
doc allow changing integrations_ids with sis_import 2017-12-06 22:18:15 +00:00
docker-compose Update to Postgres 9.5 and fix installing pg_collkey 2017-10-18 14:08:38 +00:00
frontend_build Generate JavaScript sourcemaps in production 2017-10-02 18:43:52 +00:00
gems whitelist the 'controls' attribute for 'audio' html tags 2017-12-05 21:05:27 +00:00
lib update new gradebook feature flag 2017-12-08 17:30:15 +00:00
public fix autogrowing textarea submit interaction 2017-12-06 23:46:56 +00:00
script force using yarn 1.3.2 2017-11-22 16:38:47 +00:00
spec update new gradebook feature flag 2017-12-08 17:30:15 +00:00
.babelrc add babel-plugin-transform-runtime for smaller JS 2017-10-12 14:35:46 +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 [eslint] relax ‘one-var’ to allow `let foo, bar` 2017-12-07 16:50:32 +00:00
.gitignore Ignore yarn-error.log files 2017-10-02 16:55:29 +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
.prettierrc Add .prettierrc so it matches our existing code 2017-11-03 16:21:50 +00:00
.rubocop.yml re-enable dot position cop, but configured for end-of-line 2017-11-22 22:20:55 +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 upgrade yarn in dockerfile 2017-11-22 16:38:35 +00:00
Dockerfile-production upgrade yarn in dockerfile 2017-11-22 16:38:35 +00:00
Gemfile allow choosing rails 5.1 via consul 2017-10-11 19:13:02 +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 stylesheets docker volume 2017-11-02 19:11:46 +00:00
docker-compose.yml Use redis:alpine 2017-07-31 22:31:40 +00:00
gulpfile.js clarify why we gulp rev a raw version of jquery 2017-11-01 15:04:46 +00:00
issue_template.md Add issue_template.md for GitHub issues 2016-02-17 21:00:48 +00:00
karma.conf.js Remove phantomjs in favor of chrome headless 2017-11-06 16:35:25 +00:00
package.json upgrade canvas-rce to version 2.6.2 2017-12-08 16:22:50 +00:00
schema.graphql Add status to assignment 2017-11-28 22:14:58 +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 upgrade canvas-rce to version 2.6.2 2017-12-08 16:22:50 +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.