Go to file
Ethan Vizitei 71245b86a5 Don't die if consul data is missing
closes CNVS-27672

This could stop all API requests from working
if consul suddenly catastrophically loses it's data.
With the patch in place, we'll still fail for
requests that need that data to decrypt (JWT), but regular
access tokens will still work ok.  This is better than
total system failure.

TEST PLAN:
 1) connect to consul, but put no data in it (particularly no
signing/encryption secrets)
 2) hit canvas with an API request using a regular access token
 3) it should not blow up

Change-Id: Ia435814929968373f22ab8d120153368267a3f32
Reviewed-on: https://gerrit.instructure.com/73492
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2016-03-03 16:46:46 +00:00
Gemfile.d bump rails 4.2 2016-03-01 16:36:04 +00:00
app suppress some notifications when a course is soft-concluded 2016-03-03 16:21:32 +00:00
bin use binstubs for dress_code for spring 2016-01-06 18:44:23 +00:00
client_apps Add statistics for manually graded question types 2016-02-23 03:31:09 +00:00
config update tr translation 2016-03-03 05:27:48 -07:00
db/migrate make new import sis permission 2016-03-01 23:22:53 +00:00
doc docs: clarify that parent_account_id is a required column 2016-02-29 23:32:45 +00:00
docker-compose add phantom js support as an avenue for js test runs 2016-03-02 16:58:32 +00:00
frontend_build add ENV var to skip js rev'ing in dev if you want 2016-03-02 00:06:29 +00:00
gems properly scope report to an account 2016-03-02 19:16:49 +00:00
guard let people write specs in jsx 2015-12-05 09:52:45 +00:00
lib Don't die if consul data is missing 2016-03-03 16:46:46 +00:00
public i18n: add hebrew (crowd-sourced) 2016-03-02 19:10:58 +00:00
script Helper scripts for setting up docker 2016-02-11 23:17:00 +00:00
spec Don't die if consul data is missing 2016-03-03 16:46:46 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.dockerignore docker-compose based dev environment 2015-03-30 20:59:48 +00:00
.fontcustom-manifest.json add table icon to icon font 2016-02-11 16:10:26 +00:00
.gitignore RCS - admin announcements can load remotely 2016-01-14 23:40:42 +00:00
.i18nignore bump rails 3 to github branch for ruby 2.2 compatibility 2015-02-18 22:55:20 +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
.rubocop.yml Moving ParallelAssignment back to style 2016-01-18 21:47:22 +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 remove rails 3 support 2015-12-23 21:36:43 +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 remove the 'when' bower module, nothing used it. 2016-03-02 17:27:59 +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 remove unnecessary docker-compose config 2016-03-02 21:43:11 +00:00
gulpfile.babel.js add ENV var to skip js rev'ing in dev if you want 2016-03-02 00:06:29 +00:00
issue_template.md Add issue_template.md for GitHub issues 2016-02-17 21:00:48 +00:00
karma.conf.js add phantom js support as an avenue for js test runs 2016-03-02 16:58:32 +00:00
package.json add phantom js support as an avenue for js test runs 2016-03-02 16:58:32 +00:00
webpack.config.js use web pack 2015-11-02 16:27:14 +00:00
webpack.production.config.js spec: don't use an undefined path for optimized js 2015-12-22 22:28:18 +00:00
webpack.test.config.js Add automated a11y testing helper for qunit tests 2016-02-02 17:39:11 +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.