Go to file
Ryan Hawkins 5e7af26998 Copy Custom Params for Tool Module Items
Previously, we had added support for migrating custom parameters for
tools that were in a course or assignment context. The next step logical
step after this was to add support for copying over custom params for
tools that were module items. This means that teachers will no longer
have to manually re-add LTI 1.3 tools to their modules after doing a
course copy.

closes INTEROP-6881

flag = none

test-plan:
* Install the LTI 1.3 Test Tool. You'll want to make sure it has the
  module item placement, so you can add it as a module item. In addition,
  you'll want to give it no custom parameters.
* Create a new course and add the test tool to a module as a module
  item. When you're adding it, make sure to define some custom
  parameters, something like `{ "context_id": "$Context.id" }`  Also add an assignment and a URL, just to be thorough.
* Create a new empty course and perform a course copy from the original
  course.
* Launch the tool from the module. You should see in the custom
  parameters section that the custom parameters you defined in the
  original course!
* Export the original course into an IMS Common Cartridge file. Then
  import that file in a new course. You should still be able to launch the
  tool from the module and have the custom params get copied over.

Change-Id: I37265ea8a28f15e6ebc711e18df6aad1c6ef883a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/268683
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Reviewed-by: Mysti Lilla <mysti@instructure.com>
QA-Review: Xander Moffatt <xmoffatt@instructure.com>
Product-Review: Ryan Hawkins <ryan.hawkins@instructure.com>
2021-07-13 21:12:24 +00:00
.github update github pr auto-assignees 2020-09-24 20:00:41 +00:00
.storybook Fix issue with ||= on storybook/preview.js 2021-06-16 14:52:29 +00:00
Gemfile.d bump rails 2021-07-12 20:56:41 +00:00
app Copy Custom Params for Tool Module Items 2021-07-13 21:12:24 +00:00
bin add frozen_string_literal comment to binaries 2021-03-30 18:14:03 +00:00
build update cache version for docker and migrations 2021-07-12 17:37:30 +00:00
config Revert "Revert "remove find_in_batches_with_temp_table"" 2021-07-06 23:00:04 +00:00
db/migrate fix true expiration of access tokens that have refresh tokens 2021-07-13 20:41:06 +00:00
doc doc: explain that passwords can only be set once 2021-07-02 17:37:45 +00:00
docker-compose Revert "correct the docker dev documentation" 2021-06-29 13:53:55 +00:00
engines [DEPRECATE] no longer allow writing to ONLY cassandra for auditors 2021-06-07 17:03:59 +00:00
frontend_build Add important dates checkbox to assignment overrides form 2021-07-06 17:36:02 +00:00
gems fix true expiration of access tokens that have refresh tokens 2021-07-13 20:41:06 +00:00
hooks fix pre-commit hook with unfixable eslint error 2018-11-27 23:28:12 +00:00
jest Reorganize some of the CanvasRce properties 2021-07-10 13:23:49 +00:00
lib Copy Custom Params for Tool Module Items 2021-07-13 21:12:24 +00:00
log Update parallel_runtime_rspec.log from build 223 2021-07-06 18:32:46 +00:00
packages break canvas-media dependency on canvas-rce 2021-07-13 12:33:51 +00:00
public Add outcome proficiency filter to new LMGB 2021-06-02 22:28:11 +00:00
script Provide option to force rebuild containers 2021-06-30 19:29:16 +00:00
spec Copy Custom Params for Tool Module Items 2021-07-13 21:12:24 +00:00
tmp Alpine canvas-lms based image 2020-07-15 17:21:56 +00:00
ui add attachment to dtopic container 2021-07-13 20:29:41 +00:00
.codeclimate.yml disable ESLint in code climate 2017-02-14 17:47:39 +00:00
.dive-ci Spec: Add dive build 2020-03-26 14:52:06 +00:00
.dockerignore modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore add WEBPACK_ANALYSIS and WEBPACK_PEDANTIC flags 2021-05-05 19:59:46 +00:00
.eslintrc.js Update eslint to v7 2021-05-20 18:28:51 +00:00
.gitignore ignore if someone decides to bundle cache 2021-05-27 16:20:08 +00:00
.gitmessage prepend some blank lines to .gitmessage 2019-08-09 16:12:53 +00:00
.groovylintrc.json fix linter rules 2021-05-19 15:43:33 +00:00
.i18nignore (re) decentralize i18nliner configuration 2021-03-10 18:52:49 +00:00
.i18nrc rename some things 2021-04-06 01:12:49 +00:00
.lintstagedrc.js Remove prettier whitelist 2019-10-11 19:29:31 +00:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc upgrade to node14 2021-01-27 15:33:52 +00:00
.prettierrc restore prettier rules to match pre-2.0 defaults 2021-02-09 17:03:14 +00:00
.rubocop.yml require latest IRB 2021-04-05 16:03:14 +00:00
.stylelintrc modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
.travis.yml
CONTRIBUTING.md Remove more freenode references 2021-06-02 16:18:53 +00:00
COPYRIGHT
Dockerfile Default Docker build to development env 2021-06-30 16:13:05 +00:00
Dockerfile.githook Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
Dockerfile.jenkins Revert "asset install in Dockerfile" 2021-06-29 13:36:09 +00:00
Dockerfile.jenkins-cache remove plugin symlinks 2021-05-20 17:21:08 +00:00
Dockerfile.jenkins.final simplify Dockerfile template generation 2020-12-10 17:28:58 +00:00
Dockerfile.jenkins.karma-builder Properly support ruby 2.7 2021-06-11 21:06:37 +00:00
Dockerfile.jenkins.karma-runner disable translations for Jenkins build 2021-02-08 16:03:06 +00:00
Dockerfile.jenkins.linters-final remove need to mount .git directory as volume for Linters 2021-05-10 18:57:42 +00:00
Dockerfile.jenkins.linters-runner stop using buildkit for linters image 2021-04-12 19:19:32 +00:00
Dockerfile.jenkins.webpack-builder split yarn from webpack-builder into yarn-runner 2020-12-14 18:49:51 +00:00
Dockerfile.jenkins.webpack-cache disable translations for Jenkins build 2021-02-08 16:03:06 +00:00
Dockerfile.jenkins.yarn-runner upgrade & dedupe node packages 2021-06-21 19:46:52 +00:00
Dockerfile.package-translations More translations build improvements 2021-06-30 15:32:09 +00:00
Gemfile Properly support ruby 2.7 2021-06-11 21:06:37 +00:00
Jenkinsfile remove reporting is_kubernetes to splunk 2021-06-22 17:58:05 +00:00
Jenkinsfile.axe Add HTML link to periodic #canvas-axe-build alerts 2021-07-01 19:35:31 +00:00
Jenkinsfile.cassandra fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.contract-tests convert contract tests to using docker bridge network 2021-06-15 16:37:49 +00:00
Jenkinsfile.dive fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.docker-smoke Revert "asset install in Dockerfile" 2021-06-29 13:36:09 +00:00
Jenkinsfile.docker-sync sync ruby-passenger 2.7 image 2021-06-11 14:13:23 +00:00
Jenkinsfile.dynamodb fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.js convert JS job to EKS-compatible syntax 2021-06-07 23:05:24 +00:00
Jenkinsfile.master-bouncer-check-all fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.package-translations More translations build improvements 2021-06-30 15:32:09 +00:00
Jenkinsfile.parallel_logs fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.postgres fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.redis fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.selenium-chrome move selenium-chrome build to helper job 2020-12-08 14:41:39 +00:00
Jenkinsfile.selenium.flakey_spec_catcher remove calls to withStarlordDockerLogin 2021-06-23 22:02:41 +00:00
Jenkinsfile.selenium.performance.chrome fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.test-subbuild fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.vendored-gems remove docker_base podTemplate usage, cleanup nodeRequirements usage 2021-06-22 15:19:48 +00:00
Jenkinsfile.xbrowser fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
LICENSE
README.md Update README.md since Canvas is still modern 2016-12-15 03:18:28 +00:00
Rakefile add frozen_string_literal comment to Gemfile and Rakefile 2021-03-30 17:51:26 +00:00
babel.config.js stop babel warnings when building core canvas 2021-06-25 21:14:44 +00:00
bower.json Move k5uplodaer to /packages 2019-05-10 18:30:51 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru add frozen_string_literal_comment to config files 2021-03-30 18:59:58 +00:00
docker-compose.new-jenkins-flakey-spec-catcher.yml update fsc to go into the plugin directory to do tests 2020-06-17 14:58:09 +00:00
docker-compose.new-jenkins-js.yml disable translations for Jenkins build 2021-02-08 16:03:06 +00:00
docker-compose.new-jenkins-package-translations.yml Create shared translation infrastructure for packages 2019-11-06 22:42:03 +00:00
docker-compose.new-jenkins-selenium.yml update jenkins for canvas-rce-api image 2020-12-07 16:40:09 +00:00
docker-compose.new-jenkins.consumer.yml skip uglify js / source maps on pre-merge builds v2 2020-08-11 21:05:54 +00:00
docker-compose.new-jenkins.pulsar.yml stop using a pulsar volume in jenkins build 2021-05-05 22:46:26 +00:00
docker-compose.new-jenkins.vendored-gems.yml extract canvas::redis to canvas_cache 2021-03-02 14:38:55 +00:00
docker-compose.new-jenkins.yml Revert "split rspec / selenium stages by thread" 2021-05-18 13:55:22 +00:00
docker-compose.spring.yml modernize canvas_quizzes 2021-01-14 22:45:10 +00:00
docker-compose.yml Revert "asset install in Dockerfile" 2021-06-29 13:36:09 +00:00
gulpfile.js remove plugin symlinks 2021-05-20 17:21:08 +00:00
issue_template.md Update community urls to reflect platform move 2020-08-12 20:17:02 +00:00
jest.config.js Reorganize some of the CanvasRce properties 2021-07-10 13:23:49 +00:00
karma.conf.js align all JS output directories to single directory on Jenkins 2021-05-20 17:28:03 +00:00
package.json Fixes decorative images and alt text RCE a11y observations 2021-07-07 20:51:14 +00:00
ubuntu.development.Dockerfile REQUIRE bundler 2.2.17 2021-05-24 22:49:05 +00:00
ubuntu.production.Dockerfile REQUIRE bundler 2.2.17 2021-05-24 22:49:05 +00:00
webpack.config.js Opt our js build tooling dirs into prettier 2018-11-07 22:46:16 +00:00
webpack.test.config.js remove plugin symlinks 2021-05-20 17:21:08 +00:00
yarn.lock fix dirty yarn.lock 2021-07-07 22:42:46 +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.