Go to file
Brent Burgoyne fe4ac3e8eb add ui jwt workflow that includes high contrast
define a new workflow inteded to be used by any service that needs to
render a ui. this workflow includes state indicating if high contrast
styles should be used.

refs CNVS-31909, closes CNVS-31983

test plan:
- enable high contrast
- make sure rcs is enabled
- go to view with rce sidebar
- get the jwt from Authoriation header of requests to rcs
  - don't inclued "Bearer "
- open the canvas console, run:
  Canvas::Security.decrypt_services_jwt(
    Canvas::Security.base64_decode('<token here>')
  )
- make suer the token inclues use_high_contrast: true
- disable high contrast
- repeat, but  use_high_contrast should be false in the token

Change-Id: I8752ad534928081d2e4b8e8d748f8dd9897222a2
Reviewed-on: https://gerrit.instructure.com/90452
Tested-by: Jenkins
Reviewed-by: John Corrigan <jcorrigan@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Brent Burgoyne <bburgoyne@instructure.com>
2016-09-23 22:12:32 +00:00
Gemfile.d bump nokogiri-xmlsec-me-harder 2016-09-21 18:33:53 +00:00
app reduce n+1 queries when loading overrides in assignment api json 2016-09-23 21:29:07 +00:00
bin avoid port conflicts for remote debugging 2016-06-02 15:37:32 +00:00
client_apps move "old_unsupported_react" to client_apps 2016-08-05 19:26:33 +00:00
config update nn translation 2016-09-22 15:33:18 -06:00
db/migrate Merge branch 'master' into dev/mgp-v2 2016-09-21 14:57:45 -05:00
doc Live events - Attachments 2016-09-09 16:37:54 +00:00
docker-compose Fix consul init values when running docker 2016-09-07 17:09:32 +00:00
frontend_build spec: fix js tests under webpack 2016-09-23 21:09:58 +00:00
gems bump moodle2cc to 0.2.36 2016-09-22 20:11:29 +00:00
guard let people write specs in jsx 2015-12-05 09:52:45 +00:00
lib add ui jwt workflow that includes high contrast 2016-09-23 22:12:32 +00:00
public Merge "Merge branch 'dev/mgp-v2'" 2016-09-23 17:08:38 +00:00
script incremental linting via dr diff, fixes SD-1521 2016-09-22 20:06:57 +00:00
spec add ui jwt workflow that includes high contrast 2016-09-23 22:12:32 +00:00
.babelrc Bump Babel to version 6 2016-07-15 21:55:10 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.dockerignore expand .dockerignore entries for development 2016-09-19 15:31:50 +00:00
.fontcustom-manifest.json add "mastery-path" icon to the existing canvas icon-font 2016-09-07 02:39:21 +00:00
.gitignore upgrade to node 6 2016-08-09 23:37:07 +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
.jshintrc make jslint settings more sane 2012-08-17 11:04:40 -06:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc upgrade to node 6 2016-08-09 23:37:07 +00:00
.rubocop.yml Moving ParallelAssignment back to style 2016-01-18 21:47:22 +00:00
.selinimumignore spec: selinimize more things, fixes SD-1260 2016-06-20 19:43:14 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md Add guidelines section to CONTRIBUTING.md 2016-01-13 19:50:06 +00:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Gemfile fix plugin loading from outside rails root directory 2016-07-22 15:18:59 +00:00
Guardfile ensure node_modules are up-to-date for guard & compile_assets 2015-07-16 19:17:54 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md remove travis.ci badge until we are re-enabled 2014-07-01 23:08:00 +00:00
Rakefile remove rails 2 support 2014-08-06 18:16:19 +00:00
bower.json Bump version of react-tray to 2.0.1 2016-08-08 21:16:43 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru start adding rails 3.0 support 2013-03-22 19:08:40 +00:00
docker-compose.yml fix local docker selenium configuration 2016-06-21 21:21:45 +00:00
gulpfile.js fix so ie11 polyfill works in webpack land 2016-09-22 16:44:40 +00:00
issue_template.md Add issue_template.md for GitHub issues 2016-02-17 21:00:48 +00:00
karma.conf.js Make karma load source maps from non-karma generated sources 2016-09-08 15:45:25 +00:00
package.json Upgrade InstUI to 0.14.4 2016-09-23 16:18:27 +00:00
webpack.config.babel.js Bump Babel to version 6 2016-07-15 21:55:10 +00:00
webpack.production.config.babel.js Bump Babel to version 6 2016-07-15 21:55:10 +00:00
webpack.test.config.babel.js Bump Babel to version 6 2016-07-15 21:55:10 +00:00

README.md

Canvas LMS

Canvas is a new, open-source LMS 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.