Go to file
Matheus d2e0ef5ac3 Alter canvas media player failure feedback for attachment media
This should be JS tested, but LF-59 kinda got in the way, so it
would be good to figure that out, we're skipping a bunch of stuff...

closes LF-300
refs LF-59

flag=media_links_use_attachment_id

Test plan
1. Upload a media file in a course
2. Link to the media file in the RCE
3. Keep the RCE page somewhere accessible.
4. go to the files section and replace that
5. Reload the RCE page and check that you won't
see the old errors while @media_object is nil
(for me this window was like a minute)
6. Check that what you do see is a friendly
message directing the user to wai

Change-Id: I1eb4e7abeca6bb2dd430a575db787ee888c8c1c2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/320424
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Eric Saupe <eric.saupe@instructure.com>
QA-Review: Eric Saupe <eric.saupe@instructure.com>
Product-Review: Luis Oliveira <luis.oliveira@instructure.com>
2023-06-13 23:14:59 +00:00
.github update github reviewers list 2022-06-28 19:24:59 +00:00
.storybook remove coffeescript from webpack config 2023-04-20 19:49:42 +00:00
.vscode Add configurations to enable remote IDE debugging with rdebug-ide 2021-09-16 18:33:11 +00:00
Gemfile.d Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
app Alter canvas media player failure feedback for attachment media 2023-06-13 23:14:59 +00:00
bin add a bundler binstub 2023-05-30 17:34:50 +00:00
build add a bundler binstub 2023-05-30 17:34:50 +00:00
config rubocop: Rails/I18nLocaleAssignment 2023-06-13 21:59:50 +00:00
db/migrate Create missing FK indexes and prevent new ones from being added 2023-06-13 17:53:43 +00:00
doc update graphql documentation 2023-06-13 16:04:00 +00:00
docker-compose Read JWT secrets from Vault instead of dynamic_settings 2023-05-15 18:59:18 +00:00
gems rubocop: Rails/I18nLocaleAssignment 2023-06-13 21:59:50 +00:00
hooks keep lockfiles in sync as part of `bundle` commands 2023-05-16 18:39:21 +00:00
inst-cli doc: remove unnecessary links 2023-05-11 17:35:53 +00:00
jest upgrade canvas to DateTimeInput v8 2023-06-07 17:27:46 +00:00
lib rubocop: explicitly require rubocop-factory_bot 2023-06-13 22:01:55 +00:00
log remove deprecated build & log 2023-02-13 16:36:02 +00:00
packages Send translation process slack messages to #learning-foundations 2023-06-12 17:03:55 +00:00
public Remove Delicious from Canvas 2023-03-22 15:01:28 +00:00
script Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
spec rubocop: explicitly require rubocop-factory_bot 2023-06-13 22:01:55 +00:00
tmp
ui Alter canvas media player failure feedback for attachment media 2023-06-13 23:14:59 +00:00
ui-build Remove MIR encapsulation integrity violations 2023-05-23 18:46:43 +00:00
.codeclimate.yml
.dive-ci
.dockerignore keep lockfiles in sync as part of `bundle` commands 2023-05-16 18:39:21 +00:00
.editorconfig
.eslintignore refactor webpack config 2023-04-18 19:32:27 +00:00
.eslintrc.js Upgrade eslint packages, clean up ignores 2023-05-10 23:22:15 +00:00
.git-blame-ignore-revs add some commits to .git-blame-ignore-revs 2023-04-21 14:50:42 +00:00
.gitignore keep lockfiles in sync as part of `bundle` commands 2023-05-16 18:39:21 +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 node to latest 16 LTS (gallium) 2023-02-13 17:35:16 +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 rubocop: explicitly require rubocop-factory_bot 2023-06-13 22:01:55 +00:00
.sentryignore Only upload production source maps to Sentry 2022-03-24 18:17:54 +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 add a bundler binstub 2023-05-30 17:34:50 +00:00
Dockerfile.githook
Dockerfile.jenkins add a bundler binstub 2023-05-30 17:34:50 +00:00
Dockerfile.jenkins-cache keep lockfiles in sync as part of `bundle` commands 2023-05-16 18:39:21 +00:00
Dockerfile.jenkins.final split vendor overrides into own file 2022-11-30 15:22:04 +00:00
Dockerfile.jenkins.js use bind mounts for cache helper image copies 2022-09-26 11:51:46 +00:00
Dockerfile.jenkins.linters always include git directory in linters image 2023-02-01 16:35:01 +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 split vendor overrides into own file 2022-11-30 15:22:04 +00:00
Dockerfile.jenkins.yarn-runner stop using yarn install —pure-lockfile 2023-04-11 17:12:54 +00:00
Dockerfile.package-translations remove not needed fix_inst_esm script 2023-04-04 13:22:12 +00:00
Gemfile Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
Gemfile.lock Rubocop for ruby 3.1 2023-06-06 16:44:26 +00:00
Jenkinsfile use DOCKER_WORKDIR for git safe.directory 2023-05-25 14:35:21 +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 move nodeLabel out of canvas-builds 2023-03-16 19:41:00 +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 fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
Jenkinsfile.docker-smoke move nodeLabel out of canvas-builds 2023-03-16 19:41:00 +00:00
Jenkinsfile.docker-sync build ARM64 image for post-merge 2023-03-15 14:07:49 +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 use proper null check for groovy 2023-06-13 22:20:49 +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 fix jenkins file linter issues autofixable 2021-05-18 16:48:15 +00:00
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 updgrade Jenkins Chrome version 107 2022-12-06 02:28:57 +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 extract canvas::redis to canvas_cache 2021-03-02 14:38:55 +00:00
docker-compose.new-jenkins.yml don’t perform redundant DB operations in Jenkins test runs 2022-06-01 17:42:18 +00:00
docker-compose.spring.yml (i18n-js:4) use i18nliner-canvas from npm 2022-06-23 18:42:23 +00:00
docker-compose.yml Revert "asset install in Dockerfile" 2021-06-29 13:36:09 +00:00
gulpfile.js Fix yarn install error with @canvas/engine 2022-07-15 14:51:56 +00:00
issue_template.md
jest.config.js Use new media attachment route on upload 2023-06-01 21:12:34 +00:00
karma.conf.js Improve Karma test loading 2022-10-12 18:23:35 +00:00
package.json upgrade canvas to DateTimeInput v8 2023-06-07 17:27:46 +00:00
tsconfig.json turn on noImplicitAny for typescript 2023-04-27 21:34:07 +00:00
webpack.config.js move crystalball webpack config into ui-build 2022-01-12 20:19:41 +00:00
yarn.lock upgrade canvas to DateTimeInput v8 2023-06-07 17:27: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.