Go to file
Eric Saupe fd1c695b58 Disable Publish All menu when no modules are present
This disables the top level Publish All menu when there are no modules
persent. It also enables and disables dynamically as modules are added
and removed to the point where there are no modules present.

fixes LS-3758
flag=module_publish_menu

test plan:
- Enable the module_publish_menu flag
- Create a new course with no modules
- Go to the modules page
- Verify the Publish All menu is disabled
- Add a module
- Verify the Publish All menu is enabled
- Remove the module
- Verify the Publish All menu is disabled

Change-Id: Idc15f79d5abde0855fe8ebd372f2c198269d6f07
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/314967
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Robin Kuss <rkuss@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Eric Saupe <eric.saupe@instructure.com>
2023-04-04 15:47:12 +00:00
.github update github reviewers list 2022-06-28 19:24:59 +00:00
.storybook Remove mathml duplicate 2023-03-29 14:51:09 +00:00
.vscode Add configurations to enable remote IDE debugging with rdebug-ide 2021-09-16 18:33:11 +00:00
Gemfile.d Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
app Disable Publish All menu when no modules are present 2023-04-04 15:47:12 +00:00
bin Don't terminate web container when disconnecting debugger 2022-11-07 15:59:29 +00:00
build Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
config Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
db/migrate make ICU collation migrations non-conditional 2023-04-03 17:53:26 +00:00
doc send original id and domain in assignment_created 2023-04-03 21:59:40 +00:00
docker-compose Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
gems Fix vendored gems 2023-04-03 17:11:23 +00:00
hooks Begin opt-in noImplicityAny=true 2023-03-30 22:56:51 +00:00
inst-cli add inst-cli config files 2023-03-30 16:58:49 +00:00
jest Convert DashboardCardReordering specs to jest 2023-03-30 00:00:16 +00:00
lib fix sorting by first name when filtering by group 2023-04-04 15:27:15 +00:00
log remove deprecated build & log 2023-02-13 16:36:02 +00:00
packages [i18n] Update RCE translations. 2023-04-04 04:50:49 +00:00
public Remove Delicious from Canvas 2023-03-22 15:01:28 +00:00
script remove not needed fix_inst_esm script 2023-04-04 13:22:12 +00:00
spec Refine course availability editing permissions 2023-04-04 15:42:20 +00:00
tmp Alpine canvas-lms based image 2020-07-15 17:21:56 +00:00
ui Disable Publish All menu when no modules are present 2023-04-04 15:47:12 +00:00
ui-build Remove mathml duplicate 2023-03-29 14:51:09 +00:00
.codeclimate.yml
.dive-ci Spec: Add dive build 2020-03-26 14:52:06 +00:00
.dockerignore (i18n-js:5) flatten translation files 2022-06-27 18:35:04 +00:00
.editorconfig
.eslintignore Speed up ESLint 2022-10-16 21:16:17 +00:00
.eslintrc.js Extract custom column data DataLoader 2023-01-21 21:14:09 +00:00
.git-blame-ignore-revs Hide Prettier formatting commit from git blame 2022-09-29 22:49:12 +00:00
.gitignore add inst-cli config files 2023-03-30 16:58:49 +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 disable irb autocomplete 2022-03-29 21:34:33 +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 fix duplicate rubocop cop configurations 2023-03-30 18:18:35 +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 ARG Ruby in Dockerfile is not getting used 2023-03-23 14:46:08 +00:00
Dockerfile.githook
Dockerfile.jenkins ARG Ruby in Dockerfile is not getting used 2023-03-23 14:46:08 +00:00
Dockerfile.jenkins-cache remove not needed fix_inst_esm script 2023-04-04 13:22:12 +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 try to fix bundle install intermittent failure 2022-11-29 19:34:37 +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 remove not needed fix_inst_esm script 2023-04-04 13:22:12 +00:00
Dockerfile.package-translations remove not needed fix_inst_esm script 2023-04-04 13:22:12 +00:00
Gemfile fix `bundle update <gem>` 2023-03-29 16:41:22 +00:00
Gemfile.rails70.lock.partial Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
Jenkinsfile fix post-merge failing publishing arm64 docker image 2023-03-22 20:51:44 +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 emsure private defaults are used everywhere 2023-03-23 13:52:36 +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
bower.json
code_of_conduct.md
config.ru RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
docker-compose.new-jenkins-flakey-spec-catcher.yml update fsc to go into the plugin directory to do tests 2020-06-17 14:58:09 +00:00
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 Update community urls to reflect platform move 2020-08-12 20:17:02 +00:00
jest.config.js move specs from packages/mathml to rce package 2023-03-07 16:35:33 +00:00
karma.conf.js Improve Karma test loading 2022-10-12 18:23:35 +00:00
package.json remove not needed fix_inst_esm script 2023-04-04 13:22:12 +00:00
tsconfig-strict.json Begin opt-in noImplicityAny=true 2023-03-30 22:56:51 +00:00
tsconfig.json Prepare assignment data for Individual Gradebook 2023-03-08 20:50:13 +00:00
webpack.config.js move crystalball webpack config into ui-build 2022-01-12 20:19:41 +00:00
yarn.lock upgrade react-router to 6+ 2023-03-29 18:59:54 +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.