2a8b3c95a4
closes USERS-458 flag=mobile_qr_login This commit changes how we're adding the link to render the mobile QR code modal. We're going to be using the profile tab approach instead of adding it directly to the global profile tray. This will allow it to exist not only in the global profile tray, but the user profile, and even the global mobile nav. The QR for mobile link tab will show up for any active path under '/profile' Test Plan: - Ensure your version of canvas has an up to date instructure_misc_plugin - create a developer key - add https://sso.canvaslms.com/canvas/login as its only redirect URI - In a rails console - a = Account.default - a.settings[:ios_mobile_sso_developer_key_id] = <dev key global id> - a.save! - a.account_domains.create!(name: 'sso.canvaslms.com') With the :mobile_qr_login feature flag enabled: *Web View* - Navigate to '/' - Open the profile tray and click 'QR for Mobile Login' - Ensure the QR code image is generated with the title and expire tag - Navigate to '/profile' - Click on 'QR for Mobile Login' on the left hand side section tabs - Ensure the QR code image is generated with the title and expire tag *Mobile Web View* - Shrink browser horizontally until Canvas web view is rendered - Click on the down carrot menu at the top of the global nav - Click on 'QR for Mobile Login' option at the bottom - Ensure the QR code image is generated with the title and expire tag - Click on the hamburger menu in the top left - Select the Account drop-down - Click on 'QR for Mobile Login' - Ensure the QR code image is generated with the title and expire tag - 'QR for Mobile Login' link tab should only appear for paths under '/profile' With the :mobile_qr_login feature flag disabled: - Verify the 'QR for Mobile Login' link tab does not appear in any of the above locations previously tested - Hitting the '/profile/qr_for_Mobile' path directly renders a 404 Change-Id: If69d5f3a7526f7aa84cfae22d0747e5afd2d617b Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/232750 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Charley Kline <ckline@instructure.com> QA-Review: Charley Kline <ckline@instructure.com> Product-Review: Peyton Craighill <pcraighill@instructure.com> |
||
---|---|---|
.github | ||
Gemfile.d | ||
app | ||
bin | ||
build | ||
client_apps | ||
config | ||
db/migrate | ||
doc | ||
docker-compose | ||
frontend_build | ||
gems | ||
hooks | ||
jest | ||
lib | ||
packages | ||
pact | ||
public | ||
script | ||
spec | ||
.bowerrc | ||
.codeclimate.yml | ||
.dive-ci | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.gitmessage | ||
.i18nignore | ||
.i18nrc | ||
.lintstagedrc.js | ||
.npmrc | ||
.nvmrc | ||
.prettierrc | ||
.rubocop.yml | ||
.selinimumignore | ||
.stylelintrc | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYRIGHT | ||
Dockerfile | ||
Dockerfile-production | ||
Dockerfile.githook | ||
Dockerfile.package-translations | ||
Gemfile | ||
Jenkinsfile | ||
Jenkinsfile.contract-tests | ||
Jenkinsfile.dive | ||
Jenkinsfile.js | ||
Jenkinsfile.main-for-coverage | ||
Jenkinsfile.master-bouncer-check-all | ||
Jenkinsfile.package-translations | ||
Jenkinsfile.selenium.flakey_spec_catcher | ||
Jenkinsfile.selenium.performance.chrome | ||
Jenkinsfile.test-subbuild | ||
Jenkinsfile.vendored-gems | ||
Jenkinsfile.xbrowser | ||
LICENSE | ||
README.md | ||
Rakefile | ||
babel.config.js | ||
bower.json | ||
code_of_conduct.md | ||
config.ru | ||
docker-compose.jenkins.yml | ||
docker-compose.new-jenkins-flakey-spec-catcher.yml | ||
docker-compose.new-jenkins-karma.yml | ||
docker-compose.new-jenkins-package-translations.yml | ||
docker-compose.new-jenkins-selenium.yml | ||
docker-compose.new-jenkins-web.yml | ||
docker-compose.new-jenkins.yml | ||
docker-compose.spring.yml | ||
docker-compose.yml | ||
gulpfile.js | ||
issue_template.md | ||
jest.config.js | ||
karma.conf.js | ||
package.json | ||
parallel_runtime_rspec.log | ||
webpack.config.js | ||
webpack.test.config.js | ||
yarn.lock |
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.