Go to file
Jeremy Stanley b5f73533db fix null indent in module items
test plan:
 - import something into a module via direct share import
 - the imported content_tag should have an indent value of
   0, rather than null
 - the module items API should return 0 for a module item's
   position if it is null (for pre-existing items)

fixes LA-873

Change-Id: I0fc9db9dcff90e5d760258d47e77cefb90623753
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/235711
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Ed Schiebel <eschiebel@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
Reviewed-by: James Williams <jamesw@instructure.com>
2020-05-07 15:22:50 +00:00
.github update PR auto assignments 2019-10-24 21:19:48 +00:00
Gemfile.d Bump inst-jobs to fix ruby 2.6 2020-05-06 21:14:26 +00:00
app fix null indent in module items 2020-05-07 15:22:50 +00:00
bin Generate schema.graphql on demand 2020-01-06 21:12:42 +00:00
build Add splunk events 2020-05-04 15:42:23 +00:00
client_apps Add user_ids to quiz statistics endpoint 2019-12-04 19:24:27 +00:00
config update pt-BR translation 2020-05-07 05:46:07 +00:00
db/migrate Add root_account_id to conversations 2020-05-05 14:39:23 +00:00
doc allow publishing courses via sis import 2020-04-24 04:09:25 +00:00
docker-compose Fix database.yml 2020-05-01 20:37:14 +00:00
frontend_build remove unused selinimum gem 2020-04-23 17:25:57 +00:00
gems don't return an error to respondus when no quizzes are found 2020-05-05 15:50:34 +00:00
hooks fix pre-commit hook with unfixable eslint error 2018-11-27 23:28:12 +00:00
jest add overrides and editing to bulk assignment edit 2020-04-06 21:36:14 +00:00
lib fix null indent in module items 2020-05-07 15:22:50 +00:00
packages Update eslint rules to allow optional chaining 2020-05-07 12:38:29 +00:00
pact Include context_name in planner item response 2018-08-29 22:20:52 +00:00
public Add new font to RCE 2020-05-05 05:41:30 +00:00
script remove unused selinimum gem 2020-04-23 17:25:57 +00:00
spec fix null indent in module items 2020-05-07 15:22:50 +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
.dive-ci Spec: Add dive build 2020-03-26 14:52:06 +00:00
.dockerignore use parallel_tests for more parallelization 2020-03-30 21:38:47 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore Run prettier on packages/ 2019-10-11 19:29:16 +00:00
.eslintrc.js Update eslint rules to allow optional chaining 2020-05-07 12:38:29 +00:00
.gitignore use parallel_tests for more parallelization 2020-03-30 21:38:47 +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 Remove prettier whitelist 2019-10-11 19:29:31 +00:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc require node 10.16 for brotli support 2020-04-03 19:48:37 +00:00
.prettierrc Add .prettierrc so it matches our existing code 2017-11-03 16:21:50 +00:00
.rubocop.yml Remove duplicated config in .rubocop.yml 2020-01-30 22:41:56 +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 remove unused selinimum gem 2020-04-23 17:25:57 +00:00
Dockerfile-production Default Dockerfiles to 2.4-xenial 2020-03-19 21:51:38 +00:00
Dockerfile.githook Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
Dockerfile.package-translations Create shared translation infrastructure for packages 2019-11-06 22:42:03 +00:00
Gemfile drop rails 5.1 2019-08-01 14:09:31 +00:00
Jenkinsfile Upload build duration to splunk 2020-05-05 16:59:17 +00:00
Jenkinsfile.contract-tests Configure databases in a unified manner 2020-04-28 22:42:21 +00:00
Jenkinsfile.dive Spec: Add dive build 2020-03-26 14:52:06 +00:00
Jenkinsfile.js Add force-failure flags for selenium and rspec 2020-04-22 18:42:53 +00:00
Jenkinsfile.main-for-coverage add skipping on success to rspec and selenium 2020-03-27 16:46:51 +00:00
Jenkinsfile.master-bouncer-check-all add the master-bouncer check cron build 2020-01-30 16:48:02 +00:00
Jenkinsfile.package-translations allow the docker-cleanup script to fail 2019-12-12 16:26:24 +00:00
Jenkinsfile.selenium.flakey_spec_catcher spec: add postgres_password to fsc build 2020-04-30 16:10:39 +00:00
Jenkinsfile.selenium.performance.chrome setup postgres extensions on all test dbs 2020-04-27 18:25:57 +00:00
Jenkinsfile.test-subbuild Multiple rubies and postgres on Jenkins 2020-03-10 22:30:51 +00:00
Jenkinsfile.vendored-gems Configure databases in a unified manner 2020-04-28 22:42:21 +00:00
Jenkinsfile.xbrowser setup postgres extensions on all test dbs 2020-04-27 18:25:57 +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 use parallel_tests for more parallelization 2020-03-30 21:38:47 +00:00
babel.config.js Fix the build 2019-09-17 21:26:07 +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-flakey-spec-catcher.yml implement flakey_spec_catcher build 2020-02-11 19:39:47 +00:00
docker-compose.new-jenkins-karma.yml Rename build/new-jenkins/frontend/ to js/ 2019-12-03 00:56:38 +00:00
docker-compose.new-jenkins-package-translations.yml Create shared translation infrastructure for packages 2019-11-06 22:42:03 +00:00
docker-compose.new-jenkins-selenium.yml spec: upgrade chromedriver for chrome version 80 local and docker 2020-02-28 15:38:01 +00:00
docker-compose.new-jenkins-web.yml Configure databases in a unified manner 2020-04-28 22:42:21 +00:00
docker-compose.new-jenkins.vendored-gems.yml Configure databases in a unified manner 2020-04-28 22:42:21 +00:00
docker-compose.new-jenkins.yml Configure databases in a unified manner 2020-04-28 22:42:21 +00:00
docker-compose.spring.yml remove unused selinimum gem 2020-04-23 17:25:57 +00:00
docker-compose.yml Remove DATABASE_URL from docker dev envs 2020-04-29 19:09:35 +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 add conference ui to calendar details page 2020-04-30 18:06:11 +00:00
karma.conf.js Allow forcing a failure in each JS stage 2020-01-20 21:18:25 +00:00
package.json Update eslint rules to allow optional chaining 2020-05-07 12:38:29 +00:00
parallel_runtime_rspec.log spec: update the parallel log 2020-05-05 14:59:16 +00:00
stats-prod.json spec: create network fake for testing ajax 2020-04-28 14:47:35 +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 Update eslint rules to allow optional chaining 2020-05-07 12:38:29 +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.