Go to file
Nate Collings cbd207736b add read_only to custom_gradebook_columns
Test Plan:

1 - Run the migrations and validate that the
    `read_only` column exists on the
    `custom_gradebook_columns` table, with a default
    of false
2 - Create a new CustomGradebookColumn through the API
    and validate that it accepts and persists the
    `read_only` parameter. Example curls:

   Create the column:

   curl -H "Authorization: Bearer <token>" \
     http://localhost:3000/api/v1/courses/:id/custom_gradebook_columns \
     -X POST \
     -F "title=ReadOnly" \
     -F "read_only=true"

   Validate the columns:

   curl -H "Authorization: Bearer <token>" \
     http://localhost:3000/api/v1/courses/:id/custom_gradebook_columns/

3 - Open the gradebook for a course and validate that you cannot
    edit the `read_only` columns in both the old and new
    gradebooks. (Tabbing should still work as normal.)

4 - Go to the Individual View. Under Global Settings, check Show Notes
    in Student Info. Under Content Selection, select a student.
    Confirm that you can only edit the custom columns that were
    not created as read_only.

refs PFS-9913, PFS-9914, PFS-10003

Change-Id: I18005cc0eaf19202c00a5d79c2a04421b5d12a5c
Reviewed-on: https://gerrit.instructure.com/139625
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Tested-by: Jenkins
Product-Review: Ian Morris <ianm@instructure.com>
QA-Review: Aiona Hernandez <ahernandez@instructure.com>
2018-02-26 19:59:46 +00:00
Gemfile.d bump saml2 2018-02-17 14:57:25 -07:00
app add read_only to custom_gradebook_columns 2018-02-26 19:59:46 +00:00
bin Put finishing touches on planner under canvas 2018-02-21 17:49:03 +00:00
build use RubyGems version in base docker image 2018-02-07 22:35:06 +00:00
client_apps Remove broken symlink 2018-02-16 17:12:08 +00:00
config skip fancy find_in_batches with eager_load values 2018-02-26 17:57:24 +00:00
db/migrate add read_only to custom_gradebook_columns 2018-02-26 19:59:46 +00:00
doc Update membership expansion documentation 2018-02-13 21:45:55 +00:00
docker-compose Use node 8.9.4 2018-01-03 20:41:37 +00:00
frontend_build [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
gems don't import exact value for numeric range questions 2018-02-21 22:03:52 +00:00
jest let jest know about some of our aliases 2018-01-12 19:16:18 +00:00
lib add read_only to custom_gradebook_columns 2018-02-26 19:59:46 +00:00
packages/canvas-planner new activity button scrolls to offscreen indicator 2018-02-26 14:01:51 +00:00
public fix wrong link url in rce link plugin 2018-02-22 20:44:45 +00:00
script Fix initial setup migration issue 2018-02-23 06:21:16 +00:00
spec add read_only to custom_gradebook_columns 2018-02-26 19:59:46 +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 ignore AmbiguousBlockAssociation for specs 2018-02-12 18:37:09 +00:00
.eslintrc.js [eslint] have --fix add copyright header for you 2018-02-15 20:01:41 +00:00
.gitignore don’t cp all of canvas-planner’s node_modules dir 2018-02-05 22:13:31 +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 Use node 8.9.4 2018-01-03 20:41:37 +00:00
.prettierrc Add .prettierrc so it matches our existing code 2017-11-03 16:21:50 +00:00
.rubocop.yml relax some rubocop nits 2018-02-15 18:23:47 +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 Add CLA FAQ from legal 2018-01-22 16:41:44 -05:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Dockerfile use RubyGems version in base docker image 2018-02-07 22:35:06 +00:00
Dockerfile-production use RubyGems version in base docker image 2018-02-07 22:35:06 +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 ensure lato font is loaded in the rce 2018-02-16 19:24:43 +00:00
issue_template.md Add issue_template.md for GitHub issues 2016-02-17 21:00:48 +00:00
jest.config.js Convert theme editor sidebar to use instui 2018-02-22 20:31:59 +00:00
karma.conf.js speed up JS tests by running them concurrently 2018-01-16 19:32:28 +00:00
package.json [npm dependencies] update all our npm dependencies 2018-02-23 21:32:43 +00:00
schema.graphql graphql: add late policy fields to submissions 2018-02-21 17:20:41 +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 speed up JS tests by running them concurrently 2018-01-16 19:32:28 +00:00
yarn.lock update yarn.lock 2018-02-26 17:31:58 +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.