canvas-lms/spec/lib
Ethan Vizitei 2999576bdc RCE resiliant to consul failure
closes CNVS-27666

this stops us from getting a page error in cases
where consul is suddenly gone and we don't have a
cached value for a CDN endpoint.

Users will get an error in their js console,
and the textarea will display with no editor chrome.

TEST PLAN:
 1) point your consul.yml to a fake host
 2) with the feature flag for RCE on, go to eportfolios
    and try to edit one
 3) you should still be able to play with the form, even though
    you won't have an editor

Change-Id: Ia5a1e4b9e243e2c10cdc12726a26f6a0eb2e0d1f
Reviewed-on: https://gerrit.instructure.com/73545
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2016-03-04 18:48:34 +00:00
..
api fix assignment edit for multi-section course 2016-02-28 05:50:18 +00:00
app_center Rebuilt App Center in React 2015-01-05 21:34:02 +00:00
basic_lti gracefully handle missing sourcedid for grade passback 2016-02-26 18:29:52 +00:00
canvas use a fallback cache for catastrophic outages 2016-03-04 03:13:36 +00:00
cc spec: make common cartridge specs parallelizable 2016-03-01 18:06:34 +00:00
data_fixup spec: ensure temporary models protect attributes 2016-02-15 16:35:32 +00:00
ext rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
lti rails 4.2: misc spec fixes 2016-01-18 21:45:39 +00:00
messageable_user rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
outcomes adjust outcome scores: decaying average and n_mastery rules 2016-01-27 23:48:23 +00:00
reporting be liberal in checked account namespace 2014-12-12 23:13:20 +00:00
services RCE resiliant to consul failure 2016-03-04 18:48:34 +00:00
sis give a useful warning for mismatched section and course 2016-02-23 05:53:22 +00:00
turnitin add error message for exceded turnitin lti retries 2015-09-15 20:55:57 +00:00
utils fix timecop spec leaks 2015-02-04 19:36:16 +00:00
acts_as_list_spec.rb refactor views for unified AAC administration 2015-05-14 21:47:05 +00:00
api_spec.rb fix case sensitivey of sis_login_id lookups in the API 2015-10-08 19:25:51 +00:00
asset_signature_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
assignment_override_applicator_spec.rb dont factor concluded enrollments into due dates 2016-02-23 04:05:39 +00:00
authentication_methods_spec.rb refactor CSRF handling for clarity and rails3+ 2016-01-11 23:31:47 +00:00
basic_lti_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
brand_config_helpers_spec.rb mobile css and js overrides 2015-09-28 19:24:55 +00:00
canvas_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
content_notices_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
content_zipper_spec.rb display download submissions button on screenreader gradebook 2016-01-19 17:45:08 +00:00
course_link_validator_spec.rb don't flag url encoded wiki pages in course link validator 2016-02-22 17:41:49 +00:00
crummy_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
cuty_capt_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
dates_overridable_spec.rb fix assignment edit for multi-section course 2016-02-28 05:50:18 +00:00
delayed_message_scrubber_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
differentiable_assignment_spec.rb DA - public users scopes not filtered 2015-02-27 20:03:06 +00:00
due_date_cacher_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
email_address_validator_spec.rb SIS Import validates email address 2015-10-13 14:51:50 +00:00
ember_bundle_spec.rb rails4: use preload instead of includes for context associations 2015-07-08 13:03:29 +00:00
enrollments_from_user_list_spec.rb allow enrollments in multiple sections via Add People dialog 2014-12-22 17:21:18 +00:00
external_feed_aggregator_spec.rb don't send external feed fetch errors to sentry 2015-06-22 17:20:55 +00:00
feature_flags_spec.rb improve multicache 2015-05-06 19:21:21 +00:00
feature_spec.rb spec: don't break feature definitions in feature_spec 2014-11-03 15:35:20 +00:00
file_in_context_spec.rb Properly escape filenames with slashes on local storage 2015-10-13 15:11:51 -07:00
grade_calculator_spec.rb excused assignments backend 2015-05-18 20:36:51 +00:00
gradebook_exporter_spec.rb escape student names that begin with equals sign in gradebook exporter 2016-02-29 17:30:32 +00:00
gradebook_importer_spec.rb remove string contents pathway for gradebook upload 2016-02-05 23:11:24 +00:00
host_url_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
i18n_spec.rb rails 4.2: more spec fixes 2016-02-01 21:03:04 +00:00
i18n_time_zone_spec.rb rails 4.2: couple more fixes 2016-02-03 16:17:49 +00:00
imported_html_converter_spec.rb catch URI::Error instead of URI::InvalidURIError 2015-07-28 02:17:49 +00:00
locale_selection_spec.rb bump i18n gem 2015-04-17 19:49:17 +00:00
logging_filter_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
message_dispatcher_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
message_scrubber_spec.rb scrub old unsent messages 2015-12-11 22:36:30 +00:00
messageable_user_spec.rb quote table names in joins 2015-07-16 16:35:31 +00:00
model_cache_spec.rb spec: fix model pollution in general_model_spec 2016-02-09 17:34:16 +00:00
multi_cache_spec.rb remove rails 3 support 2015-12-23 21:36:43 +00:00
mutable_spec.rb don't perform mute/unmute side effects w/o change 2015-07-19 02:26:34 +00:00
notification_message_creator_spec.rb rails 4.2: misc spec fixes 2016-01-18 21:45:39 +00:00
password_policy_spec.rb limit passwords to 255 characters with canvas auth 2016-03-02 21:18:19 +00:00
progress_runner_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
safe_yaml_spec.rb migrate yaml in database into a psych compatible format 2016-02-25 20:07:15 +00:00
sanitize_spec.rb don't autorequire a bunch of gems that are rarely used 2015-04-09 18:47:50 +00:00
scope_filter_spec.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
security_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
sentry_proxy_spec.rb setup a generalized way to leave out errors from sentry reporting 2015-06-23 22:41:26 +00:00
sort_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
sorts_assignments_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
spec_helper_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
ssl_common_spec.rb make grade passback specs more robust 2014-03-06 15:23:50 +00:00
stats_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
sticky_sis_fields_spec.rb use prepend instead of alias_method_chain in SisStickiness 2015-06-16 19:54:30 +00:00
submission_list_spec.rb add excused assignment support to grading history 2015-07-14 15:14:53 +00:00
summary_message_consolidator_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
text_helper_spec.rb rails4: fix text_helper_spec 2015-07-13 15:22:23 +00:00
timed_cache_spec.rb fix timecop spec leaks 2015-02-04 19:36:16 +00:00
tour_spec.rb fix Style/EmptyLineBetweenDefs issue 2015-04-29 16:28:39 +00:00
turnitin_spec.rb make Turnitin::Client#id shard aware 2015-10-07 20:57:02 +00:00
unzip_attachment_spec.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00
user_content_spec.rb stop stripping alt tag when generating mathml 2015-12-14 17:08:47 +00:00
user_list_spec.rb rails4: fix user_list_spec and user_merge_spec 2015-07-17 17:29:09 +00:00
user_merge_spec.rb require students to be active to complete requirements 2016-02-08 18:12:47 +00:00
user_search_spec.rb exclude non-active e-mail address from user search 2015-09-11 16:56:48 +00:00
validates_as_url.rb rspec 3-ify spec/lib 2014-10-14 20:47:42 +00:00