canvas-lms/lib
Ethan Vizitei d8aa101fab auditors migration handle missing courses
refs CNVS-48876
flag = none

TEST PLAN:
  1) run auditors repairing
  2) no course job errors out with failed FK check

Change-Id: I7bf569c810e48939fca4a54d7a93860d4129b183
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/240939
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2020-06-23 17:43:59 +00:00
..
active_support/cache use rails built-in RedisCacheStore 2019-08-09 20:22:56 +00:00
address_book include admin_context on calls to address book user counts 2020-06-10 16:49:07 +00:00
api basic launch and response from MasteryConnect 2020-06-17 15:21:23 +00:00
app_center set the appropriate app center token by context 2018-08-30 21:16:39 +00:00
basic_lti cleanup(basic_lti): Normalize Quizzes Next LTI Usage 2020-05-19 23:51:15 +00:00
canvadocs display annotations when assignment auto posts 2019-07-19 15:03:51 +00:00
canvas Add associated_integration_id to plagiarism live events 2020-06-19 20:27:27 +00:00
cc add file name in blank anchor tags in imported cc content 2020-05-15 22:25:47 +00:00
cdc_migration_testing/fixtures Remove ModelGenerator class and rake task 2020-05-15 17:46:07 +00:00
data_fixup auditors migration handle missing courses 2020-06-23 17:43:59 +00:00
external_auth_observation rip out ruby-saml-mod gem 2019-02-22 19:20:32 +00:00
feature_flags implement conditional release assignment releasing on grading 2020-06-19 16:46:52 +00:00
gradebook create endpoint for final grade overrides 2018-12-07 18:26:39 +00:00
latex use inst_statsd 2019-03-25 17:00:49 +00:00
lti Create submission subscriptions on plagiarism tools 2020-06-22 23:03:30 +00:00
messageable_user improve caching invalidation for groups in messageable user 2019-10-18 14:07:49 +00:00
migration_helpers make it easy for add_column_and_fk helper to be idempotent 2020-06-09 15:35:51 +00:00
outcomes collapse AcademicBenchmark columns 2020-01-16 19:54:58 +00:00
reporting limit lots more stuff to non_shadow root accounts 2019-05-20 22:49:36 +00:00
schemas add external tool placement for submisson type selection 2020-05-20 18:12:57 +00:00
services stop yaml_cache pollution 2020-05-07 18:55:05 +00:00
sis remove pronoun feature flag 2020-06-04 01:23:45 +00:00
stubs da licença part 34 2017-04-27 22:00:30 +00:00
support_helpers Add resubmission service 2018-11-29 20:53:23 +00:00
tasks better region selection logic for migrations 2020-06-22 16:11:25 +00:00
turnitin Add some comments to clarify outcome_response_processor 2020-04-10 14:37:29 +00:00
user_content da licença part 36 2017-04-28 17:31:17 +00:00
utils da licença part 36 2017-04-28 17:31:17 +00:00
account_services.rb remove user profile linkedin integration 2019-11-13 21:29:54 +00:00
address_book.rb remove address book specs/plugin 2019-08-20 22:51:37 +00:00
anonymity.rb Move anonymous ID routines to own module 2018-05-15 15:03:06 +00:00
api.rb order scopes for pagination 2020-01-16 17:42:46 +00:00
api_route_set.rb da licença part 25 2017-04-27 21:51:40 +00:00
api_scope_mapper_loader.rb use class methods instead of consts for api scopes 2018-06-05 16:46:47 +00:00
asset_signature.rb da licença part 25 2017-04-27 21:51:40 +00:00
assignment_override_applicator.rb speed up quizzes#show significantly for large quizzes 2020-05-04 23:09:40 +00:00
assignment_util.rb identify asmt students who need to be alerted 2020-06-17 06:36:51 +00:00
authentication_methods.rb make access token for real_user 2020-05-20 22:00:00 +00:00
basic_lti.rb da licença part 26 2017-04-27 21:52:25 +00:00
brand_config_helpers.rb da licença part 26 2017-04-27 21:52:25 +00:00
brand_config_regenerator.rb limit lots more stuff to non_shadow root accounts 2019-05-20 22:49:36 +00:00
brandable_css.rb s/Mobile Global Nav Logo/Responsive Global Nav Logo/ 2019-09-19 14:25:28 +00:00
browser_support.rb update user agent parsing to browser gem 2019-04-25 21:24:51 +00:00
canvadocs.rb fix docviewer for historical submissions 2018-09-18 22:18:22 +00:00
canvas.rb stop yaml_cache pollution 2020-05-07 18:55:05 +00:00
canvas_logger.rb da licença part 27 2017-04-27 21:53:31 +00:00
canvas_yaml.rb allow ruby 2.7 bootup 2020-01-08 20:58:25 +00:00
cc.rb da licença part 27 2017-04-27 21:53:31 +00:00
config_file.rb don't load full environment for upload_to_s3 rake task 2020-05-14 16:01:11 +00:00
content_licenses.rb call translated license names in a lambda 2017-08-14 13:03:04 +00:00
content_notices.rb rewrite content_notices to use InstUI Alert 2018-12-17 16:58:06 +00:00
content_zipper.rb remove action_controller_test_process shim 2020-01-10 18:54:48 +00:00
conversation_batch_scrubber.rb scrub old conversation batches 2017-12-01 02:14:53 +00:00
conversation_helper.rb update root_account_ids on conversations tables 2020-06-19 23:39:34 +00:00
copy_authorized_links.rb remove 'copy_authorized_content' as superfluous 2017-07-05 15:43:00 +00:00
course_link_validator.rb add course link validator whitelist 2019-12-17 20:06:26 +00:00
csv_with_i18n.rb add i18n to outcome reports, lmgb export 2019-08-02 21:42:51 +00:00
custom_validations.rb use canvashttp to pull external tool config from url 2019-09-26 23:32:55 +00:00
cuty_capt.rb remove action_controller_test_process shim 2020-01-10 18:54:48 +00:00
dates_overridable.rb add DateValidator to bulk edit 2020-05-07 22:08:43 +00:00
delayed_message_scrubber.rb da licença part 28 2017-04-27 21:53:35 +00:00
delicious.rb da licença part 28 2017-04-27 21:53:35 +00:00
differentiable_assignment.rb apply differentiated assignment scope in context shard 2018-03-01 01:40:17 +00:00
due_date_cacher.rb Add root_account_id to submissions 2020-06-09 18:15:54 +00:00
dump_helper.rb revisit DumpHelper 2019-09-03 16:03:30 +00:00
duplicating_objects.rb Add the ability to duplicate modules. 2017-11-03 15:52:43 +00:00
effective_due_dates.rb rails 6: various fixes 2020-01-31 16:26:39 +00:00
email_address_validator.rb da licença part 29 2017-04-27 21:59:53 +00:00
enrollments_from_user_list.rb calculate scores when re-enrolling into course 2019-07-24 20:41:12 +00:00
eportfolio_page.rb Disable user content enhancement in ePortfolios 2020-02-04 20:40:55 +00:00
external_feed_aggregator.rb fix periodic jobs that could not send live events 2019-10-14 14:56:17 +00:00
external_statuses.rb da licença part 29 2017-04-27 21:59:53 +00:00
fallback_memory_cache.rb Create a general-purpose in-memory cache 2020-01-23 17:11:49 +00:00
feature.rb make feature flag validation a bit more helpful 2020-05-28 17:13:28 +00:00
feature_flags.rb don't cache site admin feature_flag_account_ids 2020-03-30 16:01:56 +00:00
file_authenticator.rb switch to master for attachment migration 2020-05-28 16:42:24 +00:00
file_in_context.rb remove action_controller_test_process shim 2020-01-10 18:54:48 +00:00
file_splitter.rb da licença part 29 2017-04-27 21:59:53 +00:00
google_analytics_dimensions.rb tell GA what kind of account it is 2020-05-29 20:48:16 +00:00
google_docs_preview.rb involve user in generating non-public links 2018-01-09 22:21:38 +00:00
grade_calculator.rb set root_account_id on scores 2020-06-18 16:38:40 +00:00
gradebook_exporter.rb fix gradebook export to order by assignment group position 2020-01-17 20:21:09 +00:00
gradebook_grading_period_assignments.rb Move grading period assignments query to slave 2020-05-08 15:49:24 +00:00
gradebook_importer.rb drop submission.context_code in favor of submission.course_id 2020-05-28 23:31:13 +00:00
gradebook_settings_helpers.rb move unbounded user preference data to separate table 2020-03-02 20:10:32 +00:00
gradebook_user_ids.rb move unbounded user preference data to separate table 2020-03-02 20:10:32 +00:00
grading_period_helper.rb da licença part 30 2017-04-27 21:59:55 +00:00
has_content_tags.rb improve caching around assignment overrides and module info 2019-05-10 15:15:04 +00:00
host_url.rb stop yaml_cache pollution 2020-05-07 18:55:05 +00:00
i18n_time_zone.rb add additional brazil time zones 2017-11-28 21:31:57 +00:00
imported_html_converter.rb translate copied links in longdesc attributes 2018-09-07 18:49:20 +00:00
inst_fs.rb export legacy files to inst-fs on-demand 2020-04-15 19:43:58 +00:00
late_policy_applicator.rb fix several N+1 found by Bullet 2018-08-02 16:37:02 +00:00
latex.rb da licença part 31 2017-04-27 21:59:58 +00:00
learning_outcome_context.rb perf: speed up learning_outcome presence db check 2019-09-25 20:17:06 +00:00
locale_selection.rb slave get_context 2019-03-22 16:41:21 +00:00
locked_for.rb add low_level_locked_for 2018-05-24 21:23:31 +00:00
logging_filter.rb da licença part 31 2017-04-27 21:59:58 +00:00
login_hooks.rb da licença part 31 2017-04-27 21:59:58 +00:00
math_man.rb cache mathman results generating mathml 2018-07-03 19:22:08 +00:00
message_dispatcher.rb partition messages 2018-12-10 13:42:35 +00:00
message_scrubber.rb partition messages 2018-12-10 13:42:35 +00:00
messageable_user.rb Add personal pronouns 2019-11-04 17:32:22 +00:00
missing_policy_applicator.rb Have missing policy applicator emit live events 2020-05-04 20:56:34 +00:00
model_cache.rb fix conversation batch sending with model cache and old messages 2018-09-14 19:19:35 +00:00
moderation.rb fix some N+1s in the due date cacher 2020-03-27 22:10:53 +00:00
multi_cache.rb properly reset multicache 2020-04-29 20:15:22 +00:00
must_view_module_progressor.rb da licença part 32 2017-04-27 22:00:01 +00:00
mutable.rb remove unused assignment_unmuted notification 2020-03-06 20:52:31 +00:00
net_ldap_extensions.rb da licença part 32 2017-04-27 22:00:01 +00:00
notification_message_creator.rb stop creating policies for secondary emails 2020-06-18 21:25:20 +00:00
open_object.rb da licença part 32 2017-04-27 22:00:01 +00:00
package_root.rb refactor package content management 2017-11-15 18:03:18 +00:00
permissions.rb da licença part 33 2017-04-27 22:00:04 +00:00
permissions_helper.rb Filter todos by permission and conclusion status 2019-11-05 21:21:42 +00:00
plannable.rb Place peer reviews correctly in the sort 2018-10-05 22:40:28 +00:00
planner_api_helper.rb separate out api helpers for planner 2018-10-09 16:08:29 +00:00
planner_helper.rb rails 6: s/update_attributes/update/g 2020-01-09 20:56:35 +00:00
progress_runner.rb da licença part 33 2017-04-27 22:00:04 +00:00
pronouns.rb Prevent nil pointer exception for pronouns 2019-12-16 22:16:35 +00:00
request_cache.rb da licença part 33 2017-04-27 22:00:04 +00:00
request_error.rb da licença part 33 2017-04-27 22:00:04 +00:00
rubric_context.rb da licença part 33 2017-04-27 22:00:04 +00:00
samesite_transition_cookie_store.rb Use same_site none for session store for relative file links 2020-02-27 21:01:01 +00:00
scope_filter.rb da licença part 34 2017-04-27 22:00:30 +00:00
score_statistics_generator.rb Set root_account_id for assignment score stats 2020-06-12 17:04:05 +00:00
scrypt_provider.rb switch to SCrypt for password storage 2019-08-12 20:39:22 +00:00
search_term_helper.rb da licença part 34 2017-04-27 22:00:30 +00:00
send_to_stream.rb tweak the priority of generate_stream_items jobs 2018-09-12 16:04:41 +00:00
sentry_proxy.rb allow ignoring error types from setting 2020-04-06 16:33:00 +00:00
session_token.rb Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
simple_stats.rb da licença part 34 2017-04-27 22:00:30 +00:00
simple_tags.rb da licença part 34 2017-04-27 22:00:30 +00:00
sis.rb da licença part 34 2017-04-27 22:00:30 +00:00
sorts_assignments.rb skip unnecessary computation for upcoming assignments 2018-08-24 19:07:11 +00:00
ssl_common.rb da licença part 34 2017-04-27 22:00:30 +00:00
stats.rb da licença part 34 2017-04-27 22:00:30 +00:00
sticky_sis_fields.rb add parent_account_id as a sticky sis field 2018-01-19 13:20:20 +00:00
submission_list.rb drop unused columns from submissions 2019-07-26 15:23:59 +00:00
submission_search.rb fix submissions search scope for unpermissioned users 2019-11-13 21:31:32 +00:00
submittable.rb fix context modules discussion visibilities when removing dtv 2019-02-12 14:13:42 +00:00
submittables_grading_period_protection.rb add include[]=can_edit to assignments index 2020-04-08 23:03:51 +00:00
summary_message_consolidator.rb use master to update messages 2019-04-05 21:35:20 +00:00
syslog_wrapper.rb add method in SyslogWrapper from ::Logger 2020-05-04 19:58:36 +00:00
temp_cache.rb da licença part 35 2017-04-28 17:30:19 +00:00
text_helper.rb da licença part 35 2017-04-28 17:30:19 +00:00
time_zone_helper.rb da licença part 35 2017-04-28 17:30:19 +00:00
timed_cache.rb da licença part 35 2017-04-28 17:30:19 +00:00
token_scopes.rb feat(LTI): Add LTI API show endpoint for external tools 2020-05-08 05:19:36 +00:00
token_scopes_helper.rb Add API Token Scope Docs 2018-05-29 18:21:57 +00:00
turnitin.rb da licença part 35 2017-04-28 17:30:19 +00:00
turnitin_id.rb da licença part 35 2017-04-28 17:30:19 +00:00
unzip_attachment.rb ignore mac system folder when unzipping files 2017-11-30 14:18:40 +00:00
user_content.rb don't replace part of an absolute path in HtmlRewriter 2018-06-06 21:30:28 +00:00
user_list.rb update authlogic 2019-08-12 18:02:02 +00:00
user_list_v2.rb use opaque tokens rather than ids to mass-enroll users 2017-11-08 20:29:07 +00:00
user_merge.rb move unbounded user preference data to separate table 2020-03-02 20:10:32 +00:00
user_search.rb use EXISTS subquery for filtering users by role in Account 2020-04-15 14:05:27 +00:00
vericite.rb VeriCite: get all scores for an assignment in bulk 2017-05-24 17:09:57 +00:00
visibility_plucking_helper.rb da licença part 36 2017-04-28 17:31:17 +00:00
zip_extractor.rb da licença part 36 2017-04-28 17:31:17 +00:00