Go to file
Xander Moffatt edf0c532bd only validate subscription context on update if present
refs PLAT-4821

* update will not contain the whole subscription

test plan:
* with the live events LTI tool installed and running (see the docs),
update a subscription (eg, mark it deleted)
* this endpoint should succeed even though `ContextType` isn't present
in the request

Change-Id: I0773f18d5a2793c1248b4c761dc5bd79c03537a0
Reviewed-on: https://gerrit.instructure.com/208721
Tested-by: Jenkins
Reviewed-by: Marc Phillips <mphillips@instructure.com>
QA-Review: Marc Phillips <mphillips@instructure.com>
Product-Review: Xander Moffatt <xmoffatt@instructure.com>
2019-09-12 16:20:13 +00:00
.github github: Update stale bot 2019-08-20 13:39:44 +00:00
Gemfile.d bump switchman 2019-09-11 19:51:26 +00:00
app only validate subscription context on update if present 2019-09-12 16:20:13 +00:00
bin spec: add scripts to publish to public pact broker 2018-10-19 02:23:04 +00:00
build spec: Make sure to use the proper docker-compose for cleanup 2019-09-11 20:30:33 +00:00
client_apps Clean up yarn.lock 2019-08-26 16:31:11 +00:00
config update nn translation 2019-09-11 05:54:46 +00:00
db/migrate add submission posted notification 2019-09-10 21:13:34 +00:00
doc update docs about live events 2019-08-29 21:40:50 +00:00
docker-compose use rails built-in RedisCacheStore 2019-08-09 20:22:56 +00:00
frontend_build Upgrade canvas-lms proper to instUI 6 2019-08-30 14:36:53 +00:00
gems Fix Pact Tests for Live Events 2019-09-10 19:52:38 +00:00
hooks fix pre-commit hook with unfixable eslint error 2018-11-27 23:28:12 +00:00
jest spec: fix handlebars transform for jest tests 2019-09-05 15:03:54 +00:00
lib remove broken include[]=external argument for list tabs 2019-09-11 19:56:26 +00:00
packages hide subtitle download button for files not saved 2019-09-10 17:36:20 +00:00
pact Include context_name in planner item response 2018-08-29 22:20:52 +00:00
public Update total points after importing a rubric 2019-09-12 16:07:43 +00:00
script Now that i18nliner can understand it, turn back on fragments 2019-08-20 14:06:41 +00:00
spec Update total points after importing a rubric 2019-09-12 16:07:43 +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 Add linters to new Jenkins 2019-09-03 19:18:30 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore ESLint standardization 2018-11-06 17:46:21 +00:00
.eslintrc.js [eslint] turn off max-classes-per-file rule 2019-08-30 21:53:32 +00:00
.gitignore various rails 6 fixes 2019-08-21 19:47:32 +00:00
.gitmessage prepend some blank lines to .gitmessage 2019-08-09 16:12:53 +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
.lintstagedrc.js Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc Bump to Node 10 2019-03-22 17:29:36 +00:00
.prettierrc Add .prettierrc so it matches our existing code 2017-11-03 16:21:50 +00:00
.prettierwhitelist.js Add eslint and refactor a few things 2019-08-14 19:53:31 +00:00
.rubocop.yml spec: remove ExpectChange and TimesMap 2018-08-31 14:53:41 +00:00
.selinimumignore Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
.stylelintrc Lint for css that will break RTL 2018-10-17 20:21:25 +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 Fix yarn for initial docker-compose build 2019-06-17 22:58:54 +00:00
Dockerfile-production Update bundler in Dockerfile 2019-05-22 16:09:49 +00:00
Dockerfile.githook Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
Gemfile drop rails 5.1 2019-08-01 14:09:31 +00:00
Jenkinsfile Use canvas-docker pool of agents 2019-09-06 20:42:48 +00:00
Jenkinsfile.contract-tests Use canvas-docker pool of agents 2019-09-06 20:42:48 +00:00
Jenkinsfile.frontend spec: Make sure to use the proper docker-compose for cleanup 2019-09-11 20:30:33 +00:00
Jenkinsfile.rspec spec: generate html report 2019-09-09 20:12:26 +00:00
Jenkinsfile.selenium.chrome spec: generate html report 2019-09-09 20:12:26 +00:00
Jenkinsfile.selenium.performance.chrome spec: generate html report 2019-09-09 20:12:26 +00:00
Jenkinsfile.vendored-gems Use canvas-docker pool of agents 2019-09-06 20:42:48 +00:00
Jenkinsfile.xbrowser spec: generate html report 2019-09-09 20:12:26 +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
babel.config.js Upgrade canvas-lms proper to instUI 6 2019-08-30 14:36:53 +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 remove extra logging to debug Passenger connection orphan issue 2017-07-14 16:27:03 +00:00
docker-compose.jenkins.yml update rce-api version on jenkins second attempt 2019-07-19 20:24:19 +00:00
docker-compose.new-jenkins-karma.yml Fix some missed renaming spots in the Jenkinsfile 2019-09-06 22:01:20 +00:00
docker-compose.new-jenkins-selenium.yml spec: separate selenium config into selenium.yml 2019-08-26 12:43:08 +00:00
docker-compose.new-jenkins-web.yml Rename linters-and-js build to frontend 2019-09-05 20:15:10 +00:00
docker-compose.new-jenkins.yml spec: remove 'master' fallback & use PATCHSET_TAG 2019-08-26 20:52:29 +00:00
docker-compose.override.yml Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
docker-compose.spring.yml add a spring docker-compose config 2019-08-19 13:48:15 +00:00
docker-compose.yml Use redis:alpine 2017-07-31 22:31:40 +00:00
gulpfile.js fix polyfill for old browsers 2019-09-09 20:00:17 +00:00
issue_template.md Make issue template disclaimer a comment 2018-05-01 15:00:27 +00:00
jest.config.js upgrade @testing-library npm deps 2019-08-27 14:49:48 +00:00
karma.conf.js upgrade webpack to v4 2019-05-16 15:59:04 +00:00
package.json Spec: fix jest timeouts on patchset/master bulds 2019-09-11 17:14:02 +00:00
schema.graphql Add rubric assessments to graphql and A2 student view 2019-09-12 15:48:52 +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 upgrade webpack to v4 2019-05-16 15:59:04 +00:00
yarn.lock Use native es modules for tinymce-a11y-checker 2019-09-09 20:07:28 +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.