353b6e90d4
This commit updates Assignment#duplicate to store a reference to the original assignment on the duplicated assignment. Both the original assignment and the new assignment's lti_resource_link_id are included in the `assignment_created` live event emitted when the new assignment is saved. This allows LTI tools listening for Canvas live events to identify when an assignment has been duplicated, and duplicate their own data accordingly. Closes QUIZ-3749 Test plan: - Set up live events and tail the kinesis stream as per the instructions in doc/live_events.md - Create an LTI assignment - An `assignment_created` live event containing this assignment's lti_resource_link_id should appear in the kinesis log. Make a note of this lti_resource_link_id - Duplicate this assignment by clicking the "kebab" menu and clicking "Duplicate" - Check that another `assignment_created` live event appears in the kinesis log, containing both the original assignment's lti_resource_link_id and the new assignment's lti_resource_link_id Change-Id: I64bdb9a2132e58c4e7be0ab7687c2c819a3587fd Reviewed-on: https://gerrit.instructure.com/140877 Tested-by: Jenkins QA-Review: Michael Hargiss <mhargiss@instructure.com> Reviewed-by: Jeff Belser <jbelser@instructure.com> Product-Review: Michael Hargiss <mhargiss@instructure.com> |
||
---|---|---|
Gemfile.d | ||
app | ||
bin | ||
build | ||
client_apps | ||
config | ||
db/migrate | ||
doc | ||
docker-compose | ||
frontend_build | ||
gems | ||
jest | ||
lib | ||
packages/canvas-planner | ||
public | ||
script | ||
spec | ||
.babelrc | ||
.bowerrc | ||
.codeclimate.yml | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.i18nignore | ||
.i18nrc | ||
.jshintrc | ||
.npmrc | ||
.nvmrc | ||
.prettierrc | ||
.rubocop.yml | ||
.selinimumignore | ||
.stylelintrc | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYRIGHT | ||
Dockerfile | ||
Dockerfile-production | ||
Gemfile | ||
LICENSE | ||
README.md | ||
Rakefile | ||
bower.json | ||
code_of_conduct.md | ||
config.ru | ||
docker-compose.jenkins.yml | ||
docker-compose.override.yml | ||
docker-compose.yml | ||
gulpfile.js | ||
issue_template.md | ||
jest.config.js | ||
karma.conf.js | ||
package.json | ||
schema.graphql | ||
webpack.config.js | ||
webpack.production.config.js | ||
webpack.test.config.js | ||
yarn.lock |
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.