e1d4b3ee4d
closes GRADE-303 Test Plan: 1. Verify the migration succeeds, and verify you can also roll the migration back successfully. The rest of the steps will assume the migration has been run. 2. Create a course with an assignment. Submit to that assignment as a student, and comment on the submission as the student. 3. Make an API call to get the submissions and their comments for the assignment. GET api/v1/courses/:course_id/assignments/:id/submissions? include[]=submission_comments Verify the submission comments that are returned have an 'edited_at' key on them. The value of 'edited_at' should be nil for all comments. 4. Enter a rails console and update the 'comment' attribute on the submission comment. assignment = Assignment.find(<your-assignment-id>) student = User.find(<your-student-id>) submission = assignment.submissions.find_by(user_id: student) comment = submission.submission_comments.first comment.update!(comment: "i am updating the text on the comment!") 5. Make an API call to get the submissions and their comments for the assignment. GET api/v1/courses/:course_id/assignments/:id/submissions? include[]=submission_comments Verify the value of the 'edited_at' attribute for the comment you adjusted in step 4 is a timestamp. Change-Id: I4c91fdfd7a9cef194f08a2d086601fb827a50095 Reviewed-on: https://gerrit.instructure.com/127476 Tested-by: Jenkins Reviewed-by: Derek Bender <djbender@instructure.com> Reviewed-by: Shahbaz Javeed <sjaveed@instructure.com> QA-Review: Anju Reddy <areddy@instructure.com> Product-Review: Keith T. Garner <kgarner@instructure.com> Reviewed-by: Rob Orton <rob@instructure.com> |
||
---|---|---|
Gemfile.d | ||
app | ||
bin | ||
build | ||
client_apps | ||
config | ||
db/migrate | ||
doc | ||
docker-compose | ||
frontend_build | ||
gems | ||
lib | ||
public | ||
script | ||
spec | ||
.babelrc | ||
.bowerrc | ||
.codeclimate.yml | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.i18nignore | ||
.i18nrc | ||
.jshintrc | ||
.npmrc | ||
.nvmrc | ||
.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 | ||
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.