Go to file
August Thornton 5285761de4 expose password policy settings via API part 2
We expose the password_policy hash and default settings when the FF
is enabled, and we do not expose the password_policy hash when the FF
is disabled (this includes the parent :password_policy key).

Setting password configuration settings within the password_policy
hash _should_ expose those settings via the API, as it did before.

closes FOO-4737
flag = password_complexity

test plan
- enable password complexity feature flag
- set password policy settings via API or rails console
- leverage the API:
    - GET /api/v1/accounts/:account_id/settings
- verify the password policy settings are returned
- with the feature flag disabled, verify the password policy settings
  are not returned

Change-Id: I495fc1b4875471a9c1b858c8e6cebf6745b4404e
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/356521
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
QA-Review: Michael Hulse <michael.hulse@instructure.com>
Product-Review: August Thornton <august@instructure.com>
2024-09-05 18:30:57 +00:00
.github
.storybook finish colocating QUnit test files 2024-06-13 11:40:57 +00:00
.vscode Add Registration Wizard state management 2024-06-06 16:02:14 +00:00
Gemfile.d bundle update json-schema 2024-08-23 14:18:26 +00:00
app expose password policy settings via API part 2 2024-09-05 18:30:57 +00:00
bin remove bundle binstub 2024-01-18 17:16:15 +00:00
build bump ruby default to 3.3 2024-08-23 13:55:16 +00:00
config update fr-CA translation 2024-09-04 14:12:01 +00:00
db/migrate update version grades on points scheme assignments 2024-08-29 18:15:25 +00:00
doc global_nav display_type should be full_width 2024-08-27 22:45:08 +00:00
docker-compose remove all code relating to inst api gateway 2024-04-09 16:55:37 +00:00
gems bundle update uri 2024-09-05 15:59:17 +00:00
hooks Politely suggest that new .js(x) files be in TypeScript 2023-11-14 03:07:16 +00:00
inst-cli update development configuration for bedrock and sagemaker 2024-08-20 19:11:30 +00:00
jest Edit block or rce pages 2024-08-09 23:03:12 +00:00
lib handle 0 point assignments in datafixups 2024-09-05 15:59:17 +00:00
log
packages Fix Lato Extended not using Lato Extended font 2024-08-26 16:27:02 +00:00
patches patch format-message to fix CJS issue 2024-01-23 02:22:22 +00:00
public add UI for importing rubrics and connects backend 2024-08-29 14:24:17 +00:00
script Force by_role linter to give -1 and not -2 2024-06-03 21:14:39 +00:00
spec expose password policy settings via API part 2 2024-09-05 18:30:57 +00:00
tmp
ui Set autocomplete to off in GradeInput in Gradebook 2024-09-05 17:40:49 +00:00
ui-build spec: fix crystalball map js build 2024-07-15 18:13:43 +00:00
vendor/gems/bundler-multilock bundle update bundler-multilock 2024-06-27 03:59:48 +00:00
.codeclimate.yml
.dependency-cruiser.js @canvas/test-utils and @canvas/package-tests 2024-06-13 11:41:10 +00:00
.devcontainer.json Add VSCode devcontainer configuration 2023-10-11 14:57:46 +00:00
.dive-ci
.dockerignore Create prod dockerfile for easy OSS use 2024-06-04 17:23:33 +00:00
.editorconfig
.eslintignore upgrade to jquery 3.5 2024-03-19 19:28:16 +00:00
.eslintrc.js colocate some QUnit tests 2024-06-05 17:32:28 +00:00
.git-blame-ignore-revs rubocop: update .git-blame-ignore-revs 2024-01-31 03:23:03 +00:00
.gitignore Add ICE design for Announcements desktop view 2024-05-24 10:19:06 +00:00
.gitmessage
.groovylintrc.json
.i18nignore
.i18nrc
.irbrc rubocop: fix miscelleneuos violations in prep of bumping rubocop 2023-04-12 19:26:13 +00:00
.lintstagedrc.js
.npmrc
.nvmrc Upgrade to node 18 2023-09-11 17:28:59 +00:00
.prettierrc
.rspec
.rubocop.yml rails 7.1: fix saving custom data with legacy data 2024-06-24 16:34:56 +00:00
.sentryignore
.stylelintrc
CONTRIBUTING.md
COPYRIGHT
Courses add all the custom recurrence UI 2023-07-14 12:55:32 +00:00
Dockerfile bump ruby default to 3.3 2024-08-23 13:55:16 +00:00
Dockerfile.githook
Dockerfile.jenkins bump ruby default to 3.3 2024-08-23 13:55:16 +00:00
Dockerfile.jenkins-cache remove spec/javascripts 2024-06-13 12:53:21 +00:00
Dockerfile.jenkins.final Unfreze bundle when using gem overrides 2023-08-24 17:25:57 +00:00
Dockerfile.jenkins.js
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
Dockerfile.jenkins.webpack-builder
Dockerfile.jenkins.webpack-cache
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.master-bouncer run master_bouncer directly with debug logging 2024-07-05 14:25:14 +00:00
Dockerfile.package-translations remove python dep from package-translations build 2023-10-12 14:44:59 +00:00
Dockerfile.production bump ruby default to 3.3 2024-08-23 13:55:16 +00:00
Dockerfile.puma bump ruby default to 3.3 2024-08-23 13:55:16 +00:00
Gemfile bundle update bundler-multilock 2024-06-27 03:59:48 +00:00
Gemfile.lock bundle update uri 2024-09-05 15:59:17 +00:00
Jenkinsfile only trigger cystalball-map build from main-postmerge 2024-04-25 03:29:53 +00:00
Jenkinsfile.axe
Jenkinsfile.cassandra
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 restore Karma/QUnit tests and re-enable partitioning 2024-06-12 17:06:03 +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
Jenkinsfile.js restore Karma/QUnit tests and re-enable partitioning 2024-06-12 17:06:03 +00:00
Jenkinsfile.junit-uploader move nodeLabel out of canvas-builds 2023-03-16 19:41:00 +00:00
Jenkinsfile.master-bouncer-check-all run master_bouncer directly with debug logging 2024-07-05 14:25:14 +00:00
Jenkinsfile.package-translations
Jenkinsfile.postgres
Jenkinsfile.redis
Jenkinsfile.rspecq rspecQ node timeout env var 2024-08-12 17:24:16 +00:00
Jenkinsfile.selenium.flakey_spec_catcher add FSC_NODE_COUNT commit message flag 2024-08-12 18:33:21 +00:00
Jenkinsfile.selenium.performance.chrome
Jenkinsfile.test-subbuild
Jenkinsfile.vendored-gems Remove auditor cassandra support 2023-04-03 15:40:22 +00:00
Jenkinsfile.xbrowser
LICENSE
README.md
Rakefile
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 restore Karma/QUnit tests and re-enable partitioning 2024-06-12 17:06:03 +00:00
docker-compose.new-jenkins-package-translations.yml
docker-compose.new-jenkins-selenium.yml restore Karma/QUnit tests and re-enable partitioning 2024-06-12 17:06:03 +00:00
docker-compose.new-jenkins.consumer.yml
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 remove spec/javascripts 2024-06-13 12:53:21 +00:00
package.json Upgrade rspack 2024-07-25 21:33:27 +00:00
renovate.json Configure Renovate 2024-03-29 19:25:01 +00:00
rspack.config.js replace webpack with rspack 2024-02-08 23:02:33 +00:00
tsconfig.json clean up tsconfig 2024-08-15 18:51:02 +00:00
vitest.config.ts Add analytics hub as remote module 2024-04-26 13:26:39 +00:00
vitest.workspace.ts Install Vitest 2023-11-17 14:19:22 +00:00
yarn.lock Use Moveable package for BlockResizer 2024-08-26 16:52:11 +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.