Go to file
August Thornton 56136448e6 protect from no method error on nil object
it's possible for @warning_messages to not get set in the account
context, therefore we need to guard against it from being nil.

refs EVAL-3715
flag = none

Test plan:
- go to /profile/settings
- click "Download Submissions" button on the right-hand side of the page
- verify that the page loads without error

Change-Id: I334b8cb73d27471b77e016970eec597f32625f6c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/343211
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jen Smith <jen.smith@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: August Thornton <august@instructure.com>
2024-03-19 20:18:14 +00:00
.github update github reviewers list 2022-06-28 19:24:59 +00:00
.storybook reduce use of babel 2023-12-24 00:34:28 +00:00
.vscode create web compose varient running puma/debug 2024-01-25 20:06:31 +00:00
Gemfile.d bundle update rubocop 2024-03-14 17:14:12 +00:00
app protect from no method error on nil object 2024-03-19 20:18:14 +00:00
bin remove bundle binstub 2024-01-18 17:16:15 +00:00
build bundle update --bundler 2024-02-14 22:30:21 +00:00
config update uk translation 2024-03-19 05:55:07 +00:00
db/migrate fix migration integrity migration 2024-03-18 20:04:34 +00:00
doc update LTI variable substitution docs 2024-03-14 18:35:38 +00:00
docker-compose install pgvector in Docker environment 2024-03-08 20:03:30 +00:00
gems don't look for pending_upload attachments when looking for existing attachments 2024-03-18 23:09:27 +00:00
hooks Politely suggest that new .js(x) files be in TypeScript 2023-11-14 03:07:16 +00:00
inst-cli remove CommonJS from k5uploader 2024-02-22 20:18:45 +00:00
jest spec: allow jquery-migrate warnings during jest tests 2024-03-14 17:06:02 +00:00
lib make sure to upload the attachment for submission snapshots 2024-03-18 21:00:35 +00:00
log remove deprecated build & log 2023-02-13 16:36:02 +00:00
packages upgrade to jquery 3.5 2024-03-19 19:28:16 +00:00
patches patch format-message to fix CJS issue 2024-01-23 02:22:22 +00:00
public Do Thursday's tweaks 2024-01-25 21:11:01 +00:00
script remove --ignore-optional flag 2024-01-17 23:34:02 +00:00
spec upgrade to jquery 3.5 2024-03-19 19:28:16 +00:00
tmp
ui upgrade to jquery 3.5 2024-03-19 19:28:16 +00:00
ui-build remove window.jQuery from ProvidePlugin config 2024-02-27 21:41:13 +00:00
vendor/gems/bundler-multilock bundle update bundler-multilock 2024-02-13 16:15:32 +00:00
.codeclimate.yml
.devcontainer.json Add VSCode devcontainer configuration 2023-10-11 14:57:46 +00:00
.dive-ci
.dockerignore .jx -> .jsx in canvas-planner 2023-07-28 16:33:32 +00:00
.editorconfig
.eslintignore upgrade to jquery 3.5 2024-03-19 19:28:16 +00:00
.eslintrc.js upgrade jquery-ui position to unpatched 1.9.0-beta.1 2024-02-08 02:47:04 +00:00
.git-blame-ignore-revs rubocop: update .git-blame-ignore-revs 2024-01-31 03:23:03 +00:00
.gitignore Remove babel-plugin-themeable-styles 2024-01-30 15:01:11 +00:00
.gitmessage
.groovylintrc.json stop loading webpack-builder image twice before running JS specs 2022-08-17 13:45:40 +00:00
.i18nignore Don't try to extract translations from vendor 2022-03-03 17:48:51 +00:00
.i18nrc (i18n-js:4) use i18nliner-canvas from npm 2022-06-23 18:42:23 +00:00
.irbrc rubocop: fix miscelleneuos violations in prep of bumping rubocop 2023-04-12 19:26:13 +00:00
.lintstagedrc.js Improve pre-commit hook 2023-02-07 18:42:53 +00:00
.npmrc
.nvmrc Upgrade to node 18 2023-09-11 17:28:59 +00:00
.prettierrc Use trailing commas where valid in ES5 2022-09-23 19:05:01 +00:00
.rspec spec: automatically require spec_helper 2021-10-26 17:39:19 +00:00
.rubocop.yml bundle update rubocop 2024-03-04 16:21:17 +00:00
.sentryignore Only upload production source maps to Sentry 2022-03-24 18:17:54 +00:00
.stylelintrc
CONTRIBUTING.md
COPYRIGHT
Courses add all the custom recurrence UI 2023-07-14 12:55:32 +00:00
Dockerfile remove CommonJS from k5uploader 2024-02-22 20:18:45 +00:00
Dockerfile.githook
Dockerfile.jenkins bundle update --bundler 2024-02-14 22:30:21 +00:00
Dockerfile.jenkins-cache add Rails 7.1 lockfiles for embedded gems 2024-02-14 22:30:10 +00:00
Dockerfile.jenkins.final Unfreze bundle when using gem overrides 2023-08-24 17:25:57 +00:00
Dockerfile.jenkins.js use bind mounts for cache helper image copies 2022-09-26 11:51:46 +00:00
Dockerfile.jenkins.linters Unfreze bundle when using gem overrides 2023-08-24 17:25:57 +00:00
Dockerfile.jenkins.ruby-runner keep lockfiles in sync as part of `bundle` commands 2023-05-16 18:39:21 +00:00
Dockerfile.jenkins.webpack-assets use bind mounts for cache helper image copies 2022-09-26 11:51:46 +00:00
Dockerfile.jenkins.webpack-builder use bind mounts for cache helper image copies 2022-09-26 11:51:46 +00:00
Dockerfile.jenkins.webpack-cache cache compiled webpack assets 2022-09-27 19:43:55 +00:00
Dockerfile.jenkins.webpack-runner replace JS_BUILD_NO_UGLIFY; enable sourcemaps in jenkins 2024-01-29 20:33:23 +00:00
Dockerfile.jenkins.yarn-runner remove --ignore-optional flag 2024-01-17 23:34:02 +00:00
Dockerfile.package-translations remove python dep from package-translations build 2023-10-12 14:44:59 +00:00
Dockerfile.puma remove CommonJS from k5uploader 2024-02-22 20:18:45 +00:00
Gemfile add Rails 7.1 lockfiles for embedded gems 2024-02-14 22:30:10 +00:00
Gemfile.lock bundle update inst-jobs 2024-03-15 16:03:02 +00:00
Gemfile.rails71.lock bundle update inst-jobs 2024-03-15 16:03:02 +00:00
Jenkinsfile Lint -2 when _any_ pin-commit- flag is used 2023-09-27 15:38:29 +00:00
Jenkinsfile.axe always upload junit results as artifact 2022-06-10 15:07:32 +00:00
Jenkinsfile.cassandra fix docker sync job 2021-10-01 15:11:55 +00:00
Jenkinsfile.contract-tests Remove Canvas Outcome Pact Tests 2023-11-29 18:00:03 +00:00
Jenkinsfile.coverage emsure private defaults are used everywhere 2023-03-23 13:52:36 +00:00
Jenkinsfile.coverage-js convert remaining boolean flags 2023-03-16 18:30:43 +00:00
Jenkinsfile.crystalball emsure private defaults are used everywhere 2023-03-23 13:52:36 +00:00
Jenkinsfile.dive
Jenkinsfile.docker-smoke move nodeLabel out of canvas-builds 2023-03-16 19:41:00 +00:00
Jenkinsfile.docker-sync upgrade chromedriver to latest version 120 2024-01-22 18:56:21 +00:00
Jenkinsfile.dynamodb fix docker sync job 2021-10-01 15:11:55 +00:00
Jenkinsfile.js move nodeLabel out of canvas-builds 2023-03-16 19:41:00 +00:00
Jenkinsfile.junit-uploader move nodeLabel out of canvas-builds 2023-03-16 19:41:00 +00:00
Jenkinsfile.master-bouncer-check-all move withGerritCredentials to global shared library 2023-02-13 16:12:23 +00:00
Jenkinsfile.package-translations use transifex API token instead of username / password 2023-02-06 16:42:35 +00:00
Jenkinsfile.postgres update copyright disclaimer 2021-10-01 15:44:27 +00:00
Jenkinsfile.redis improve readability jenkins redis 2021-11-18 20:17:08 +00:00
Jenkinsfile.rspecq specTimings isNumber check 2023-06-14 00:47:13 +00:00
Jenkinsfile.selenium.flakey_spec_catcher Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
Jenkinsfile.selenium.performance.chrome remove dead / unused values 2023-03-13 21:28:52 +00:00
Jenkinsfile.test-subbuild
Jenkinsfile.vendored-gems Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
Jenkinsfile.xbrowser fix docker sync job 2021-10-01 15:11:55 +00:00
LICENSE
README.md
Rakefile RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
SECURITY.md Adding SECURITY.md for github. 2023-04-19 22:32:57 +00:00
bower.json
code_of_conduct.md
config.ru rubocop: Style/RedundantConstantBase 2023-04-10 20:56:27 +00:00
docker-compose.new-jenkins-flakey-spec-catcher.yml
docker-compose.new-jenkins-js.yml remove translations/_core_en.js in production try 2 2022-02-18 00:08:38 +00:00
docker-compose.new-jenkins-package-translations.yml use transifex API token instead of username / password 2023-02-06 16:42:35 +00:00
docker-compose.new-jenkins-selenium.yml upgrade chromedriver to latest version 120 2024-01-22 18:56:21 +00:00
docker-compose.new-jenkins.consumer.yml Bump rails 2021-12-23 15:26:13 +00:00
docker-compose.new-jenkins.vendored-gems.yml
docker-compose.new-jenkins.yml Use shared db for dynamo in Jenkins 2024-01-24 15:34:21 +00:00
docker-compose.spring.yml remove CommonJS from k5uploader 2024-02-22 20:18:45 +00:00
docker-compose.yml
gulpfile.js replace JS_BUILD_NO_UGLIFY; enable sourcemaps in jenkins 2024-01-29 20:33:23 +00:00
issue_template.md
jest.config.js use JSC in Jest instead of Babel 2024-01-18 00:11:45 +00:00
karma.conf.js handle .jsx files in karma 2023-08-01 20:16:15 +00:00
package.json upgrade to jquery 3.5 2024-03-19 19:28:16 +00:00
rspack.config.js replace webpack with rspack 2024-02-08 23:02:33 +00:00
tsconfig.json use JSC in Jest instead of Babel 2024-01-18 00:11:45 +00:00
vitest.config.ts Simplify grading-utils package 2024-01-02 20:42:19 +00:00
vitest.workspace.ts Install Vitest 2023-11-17 14:19:22 +00:00
yarn.lock upgrade to jquery 3.5 2024-03-19 19:28:16 +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.