canvas-lms/lib/data_fixup
Joel Hough 995c78feb5 destroy facebook channels and services
fixes CNVS-18977

test plan
BEFORE CHECKING THIS OUT
- have some facebook user services
- have some facebook communication channels with notification
 policies and delayed messages waiting to be sent

AFTER CHECKOUT
- run migrations and allow delayed jobs to run
- ensure that all facebook channels and user services are deleted

Change-Id: I1e210be8d517a138496576879bde58ad7ca63614
Reviewed-on: https://gerrit.instructure.com/49279
Tested-by: Jenkins
Product-Review: Matthew Wheeler <mwheeler@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Matthew Wheeler <mwheeler@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
2015-03-06 23:24:43 +00:00
..
add_pseudonym_to_student_view_students.rb arel-ify lib 2013-04-01 19:12:22 +00:00
add_role_id_to_base_enrollments.rb add role id to student view enrollments in data fixup 2014-11-13 19:51:32 +00:00
add_role_overrides_for_new_permission.rb fix add role overrides for new permission datafixup 2014-12-17 17:59:31 +00:00
attach_dissociated_discussion_topics.rb fix dissociated discussion topics. 2013-04-23 18:06:22 +00:00
change_graded_survey_submissions_to_not_need_grading.rb fix submission deadlocks, fixes CNVS-15988 2014-10-23 23:09:52 +00:00
clear_any_new_styles_feature_flags.rb Make sure no one has the new styles feature enabled 2014-08-25 16:01:34 +00:00
convert_high_contrast_setting_to_feature_flag.rb Convert 'high-contrast' from user pref to feature flag 2014-04-17 19:47:38 +00:00
copy_role_overrides.rb new roles 2014-10-31 19:44:14 +00:00
delete_empty_conversations.rb conversations: delete conversations with no messages 2013-12-13 15:44:32 +00:00
delete_facebook_channels.rb destroy facebook channels and services 2015-03-06 23:24:43 +00:00
deprecate_hide_from_students_on_wiki_pages.rb deprecate hide_from_students on wiki pages 2014-01-15 21:29:06 +00:00
detect_attachment_encoding.rb arel-ify lib 2013-04-01 19:12:22 +00:00
escape_s3_filenames.rb arel-ify lib 2013-04-01 19:12:22 +00:00
exclude_deleted_entries_from_unread_count.rb arel-ify lib 2013-04-01 19:12:22 +00:00
filter_page_view_url_params.rb spec: don't truncate cassandra in tests 2014-06-18 20:13:21 +00:00
fix_audit_log_uuid_indexes.rb max date on the audit log fix up 2014-10-31 04:05:22 +00:00
fix_blank_course_section_names.rb fix data fixup helper method definition 2014-01-20 23:51:43 +00:00
fix_broken_file_links_in_assignments.rb no more dynamic finders (lib) 2014-09-23 16:53:56 +00:00
fix_bulk_message_attachments.rb arel-ify lib 2013-04-01 19:12:22 +00:00
fix_content_tags_without_content.rb fix importing module items with missing content 2014-08-18 18:12:35 +00:00
fix_group_discussion_submissions.rb resolves group discussion entries not appearing in gradebook and speedgrader 2014-12-29 18:20:51 +00:00
fix_imported_wiki_front_pages.rb fix legacy wiki front page behavior 2013-09-03 19:27:02 +00:00
fix_imported_wiki_page_workflow.rb useful find_each 2013-07-18 22:26:46 +00:00
fix_incorrect_attachment_file_state.rb fix incorrect file state in Attachment#restore 2014-09-18 21:06:18 +00:00
fix_incorrect_published_states_on_quizzes_and_assignments.rb fix incorrect published states for quizzes and assignments 2014-06-20 17:28:39 +00:00
fix_invalid_course_ids_on_enrollments.rb move deleted enrollments when cross listing sections 2014-07-02 18:45:04 +00:00
fix_media_recording_submission_types.rb arel-ify lib 2013-04-01 19:12:22 +00:00
fix_orphaned_attachments.rb no more dynamic finders (lib) 2014-09-23 16:53:56 +00:00
fix_out_of_sync_outcome_alignments.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
fix_root_outcome_group_titles.rb useful find_each 2013-07-18 22:26:46 +00:00
fix_ungraded_counts_include_quiz_essays.rb modify data fixup to work in batches of assignments at a time 2012-03-17 09:36:21 -06:00
initialize_submission_cached_due_date.rb useful find_each 2013-07-18 22:26:46 +00:00
link_missing_sis_observer_enrollments.rb don't send notifications for added observer enrollments in datafix 2014-11-25 21:20:23 +00:00
migrate_ignores.rb use RecordNotUnique, not UniqueConstraintViolation 2014-09-15 23:24:52 +00:00
move_account_membership_types_to_roles.rb refactor role type definitions to fix circular dependencies 2014-11-12 15:29:33 +00:00
move_content_export_notifications_to_migration_category.rb avoid running unsharded query in migrations for new shards 2014-06-24 18:18:03 +00:00
move_scribd_docs_to_root_attachments.rb remove last_inline_view from attachments 2015-02-10 13:33:08 +00:00
populate_conversation_message_participant_user_ids.rb arel-ify lib 2013-04-01 19:12:22 +00:00
populate_conversation_message_properties.rb arel-ify lib 2013-04-01 19:12:22 +00:00
populate_conversation_participant_private_hash.rb arel-ify lib 2013-04-01 19:12:22 +00:00
populate_conversation_participant_root_account_ids.rb arel-ify lib 2013-04-01 19:12:22 +00:00
populate_conversation_root_account_ids.rb arel-ify lib 2013-04-01 19:12:22 +00:00
populate_group_category_on_discussion_topics.rb fix mysql migration 2014-05-20 16:33:48 +00:00
populate_lock_version_on_context_module_progressions.rb add lock_version to context module progressions 2014-04-08 23:03:27 +00:00
populate_overridden_due_at_for_due_date_cacher.rb fix two datafixups to work synchronously 2014-02-03 22:00:36 +00:00
populate_stream_item_associations.rb use RecordNotUnique, not UniqueConstraintViolation 2014-09-15 23:24:52 +00:00
populate_submission_versions.rb make submission version datafixup ignore yaml errors 2013-10-11 19:51:29 +00:00
reassociate_conversation_attachments.rb add indexes as part of temp table definition on mysql 2014-01-23 17:38:36 +00:00
recalculate_course_account_associations.rb useful find_each 2013-07-18 22:26:46 +00:00
recompute_unread_conversations_count.rb Data fix migration to recompute unread conversations count. Fixes #8308 2012-05-15 14:52:38 -06:00
regenerate_user_thumbnails.rb switch to Shackles gem 2013-04-17 16:25:06 +00:00
reintroduce_deleted_entries_to_unread_count.rb arel-ify lib 2013-04-01 19:12:22 +00:00
remove_bogus_enrollment_associated_user_ids.rb arel-ify lib 2013-04-01 19:12:22 +00:00
remove_duplicate_enrollments.rb fix old migration that used a dropped column 2015-01-20 17:28:59 +00:00
remove_duplicate_group_discussions.rb arel-ify lib 2013-04-01 19:12:22 +00:00
remove_duplicate_notification_policies.rb arel-ify lib 2013-04-01 19:12:22 +00:00
remove_extraneous_conversation_tags.rb arel-ify lib 2013-04-01 19:12:22 +00:00
remove_multiple_root_folders.rb clean up sorting all over 2013-10-02 21:38:08 +00:00
remove_orphaned_context_module_progressions.rb don't create module progressions for users that aren't even in a course 2013-10-16 00:17:16 +00:00
remove_orphaned_submission_versions.rb validations on Version and SubmissionVersion 2014-12-12 23:29:45 +00:00
resanitize_assignments_allowed_extensions.rb sanitize assignment.allowed_extensions from the api 2013-07-17 20:18:10 +00:00
reset_ungraded_counts.rb fix submission deadlocks, fixes CNVS-15988 2014-10-23 23:09:52 +00:00
sanitize_completion_requirements.rb fix module item XSS vulnerability, closes CNVS-10767 2014-01-27 23:25:43 +00:00
sanitize_eportfolios.rb convert sanitize field plugin into proper gem: CanvasSanitize 2014-01-28 22:36:18 +00:00
set_account_lti_opaque_ids.rb lti: use asset_strings relative to tools in opaque identifiers 2013-11-19 23:50:32 +00:00
undelete_some_outcome_alignments.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
unify_active_assignment_workflow_states.rb finish removing course.publish_grades_immediately 2013-06-04 18:11:08 +00:00
use_asset_user_access_last_access.rb don't try to update the whole AssetUserAccesses table at one time 2012-03-17 09:20:34 -06:00