canvas-lms/app/models
Jeremy Stanley 3d14ca2c24 let associated course make discussion non-graded
test plan:
 - create a graded discussion in a blueprint course
   (not locked)
 - sync to an associated course
 - in the associated course, edit the discussion and make it
   non-graded
 - in the blueprint course, edit the discussion body and perform
   a new sync
 - the discussion in the associated course should remain ungraded

fixes ADMIN-2419

Change-Id: Id92285962e3082fe4a10910ad5aca36639f9ff52
Reviewed-on: https://gerrit.instructure.com/183176
Tested-by: Jenkins
Reviewed-by: James Williams <jamesw@instructure.com>
QA-Review: Jon Willesen <jonw+gerrit@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2019-02-28 16:34:39 +00:00
..
account Add Observers and Unenrolled options for help link availability 2017-11-06 22:05:31 +00:00
alerts reduce size of evaluate_courses job 2018-12-11 20:17:53 +00:00
assignment allow provisional graders to delete grades 2018-10-30 19:34:18 +00:00
assignments don't show observers to section-limited students 2018-10-30 15:07:21 +00:00
attachments Fix submission download size bug 2018-03-26 16:11:36 +00:00
auditors truncate large syllabus changes in course change auditor 2018-09-12 12:38:51 +00:00
authentication_provider rip out ruby-saml-mod gem 2019-02-22 19:20:32 +00:00
bookmarks da licença part 9 2017-04-27 21:33:39 +00:00
broadcast_policies Do not send Grade Changed notifications to inactive students 2018-10-31 23:50:14 +00:00
communication_channel dots and new lines 2018-01-17 16:56:26 +00:00
conditional_release don't re-copy quizzes.next assignments 2018-09-20 19:41:35 +00:00
context_module_progressions cache progression and item visibility data on courses 2017-08-24 16:46:26 +00:00
courses query item visibilities from the slave 2018-08-14 15:16:26 +00:00
csp support locking csp settings for sub-accounts and courses 2019-01-31 15:23:53 +00:00
discussion_topic Relativize ids in discussion topic materialized view 2018-10-22 20:32:14 +00:00
enrollment wait a minute to recalculate enrollment_states 2019-02-25 15:40:30 +00:00
epub_exports da licença part 11 2017-04-27 21:36:17 +00:00
exporters allow downloading multiple files in public_to_auth courses 2018-05-22 19:57:41 +00:00
group_categories da licença part 12 2017-04-27 21:36:29 +00:00
importers don't copy moderated/anonymous grading unless feature enabled 2019-02-22 13:54:07 +00:00
incoming_mail partition messages 2018-12-10 13:42:35 +00:00
live_assessments da licença part 13 2017-04-27 21:51:17 +00:00
lti Allow setting privacy level on tool configurations 2019-01-17 21:51:22 +00:00
master_courses remove a done todo 2018-09-28 15:28:46 +00:00
messages anonymize submission comment for teacher notifications 2019-02-24 15:55:55 +00:00
moderated_grading remove Copy to Final Mark workflow 2019-01-07 19:00:37 +00:00
page_view filter page views by accessible accounts 2017-11-08 18:22:38 +00:00
polling da licença part 14 2017-04-28 17:30:12 +00:00
quizzes fix partitioner deploy disconnection in migrations 2018-12-17 20:50:25 +00:00
quizzes_next Allow course copy if Quizzes.Next is on for Root Account 2018-10-25 13:46:37 +00:00
speed_grader implement clean submission history for Quizzes.Next 2018-11-28 15:41:17 +00:00
users don't masquerade as yourself when following destination url 2018-07-31 16:49:33 +00:00
version disconnect deploy connection after transaction 2019-01-14 17:06:25 +00:00
wiki_pages da licença part 16 2017-04-27 21:51:21 +00:00
abstract_course.rb da licença part 8 2017-04-27 21:33:20 +00:00
access_token.rb Fix bad scopes throwing errors for access tokens 2019-02-22 17:26:42 +00:00
account.rb add csp whitelisted domains backend 2018-11-30 02:39:26 +00:00
account_notification.rb show sub-account notifications for unpublished courses 2018-08-09 12:30:49 +00:00
account_notification_role.rb da licença part 8 2017-04-27 21:33:20 +00:00
account_report.rb improve account report cleanup process 2019-01-04 20:45:49 +00:00
account_report_row.rb create parallel report runners 2018-04-04 19:16:44 +00:00
account_report_runner.rb improve account report cleanup process 2019-01-04 20:45:49 +00:00
account_user.rb allow invalid AccountUser to be deleted 2018-12-03 21:09:57 +00:00
alert.rb add workflow_state to account_users 2017-08-01 18:31:37 +00:00
alert_criterion.rb da licença part 8 2017-04-27 21:33:20 +00:00
announcement.rb Add new permission for creating discussions 2018-08-08 19:03:36 +00:00
anonymous_or_moderation_event.rb allow for tool or quiz id in audit events 2019-02-06 16:36:10 +00:00
application_record.rb Add Lti Link model for LTI 2 launches 2017-10-02 22:32:18 +00:00
appointment_group.rb rails 5.1: fix a bunch of after_save deprecation warnings (part 2) 2018-03-23 01:15:47 +00:00
appointment_group_context.rb da licença part 8 2017-04-27 21:33:20 +00:00
appointment_group_sub_context.rb da licença part 8 2017-04-27 21:33:20 +00:00
assessment_question.rb allow files with assessment question context to be downloadable 2018-09-24 19:49:16 +00:00
assessment_question_bank.rb rails 5.2: Arel.sql 2018-07-23 19:37:44 +00:00
assessment_question_bank_user.rb da licença part 8 2017-04-27 21:33:20 +00:00
assessment_request.rb Remove "user" from assessor_asset in assessment requests 2018-09-14 23:16:49 +00:00
asset_user_access.rb Prevent file downloads from hiding usage 2018-11-02 16:34:45 +00:00
assignment.rb respect lock settings on assignment description 2019-02-20 01:56:23 +00:00
assignment_configuration_tool_lookup.rb LTI User show endpoint 2017-09-28 15:41:12 +00:00
assignment_group.rb skip score/due_date recalculation until after course import 2018-08-10 20:55:30 +00:00
assignment_override.rb rails 5.1: fix several moar deprecation warnings 2018-03-23 22:03:15 +00:00
assignment_override_student.rb queue DueDateCacher for one student in AssignmentOverrideStudent 2018-08-21 13:45:10 +00:00
assignment_student_visibility.rb da licença part 8 2017-04-27 21:33:20 +00:00
attachment.rb lower attachment delayed notification priority 2019-01-22 14:07:55 +00:00
attachment_association.rb da licença part 8 2017-04-27 21:33:20 +00:00
auditors.rb da licença part 8 2017-04-27 21:33:20 +00:00
authentication_provider.rb implement SAML IdP Discovery profile as an auth provider 2018-12-11 20:18:28 +00:00
big_blue_button_conference.rb BBB: Fix Recording duration always shown as '1 minute' 2018-07-31 01:53:01 +00:00
bookmark_service.rb da licença part 9 2017-04-27 21:33:39 +00:00
bookmarks.rb da licença part 9 2017-04-27 21:33:39 +00:00
bounce_notification_processor.rb Run notification failure and bounce in all regions 2017-09-01 19:47:06 +00:00
brand_config.rb use a consistent shard for css_and_js_overrides cache 2018-03-06 05:47:39 +00:00
calendar_event.rb set root_account_id on appointment group messages 2018-11-29 16:28:44 +00:00
canvadoc.rb add mimetype for odf and odg files 2018-11-01 17:06:08 +00:00
canvadocs_submission.rb da licença part 10 2017-04-28 17:30:08 +00:00
cloned_item.rb da licença part 10 2017-04-28 17:30:08 +00:00
collaboration.rb da licença part 10 2017-04-28 17:30:08 +00:00
collaborator.rb da licença part 10 2017-04-28 17:30:08 +00:00
communication_channel.rb only allow resetting password every 5 minutes 2019-02-15 23:05:26 +00:00
content_export.rb add syllabus to blueprint sync history 2018-07-30 19:49:07 +00:00
content_migration.rb Postpone live events during content migrations 2019-01-25 20:35:07 +00:00
content_participation.rb rails 5.1: fix a bunch of after_save deprecation warnings (part 2) 2018-03-23 01:15:47 +00:00
content_participation_count.rb don't include ungraded assignments in submission badge count 2019-01-16 22:47:20 +00:00
content_tag.rb de-dup outcomes linked multiple times in a context 2019-01-15 20:40:43 +00:00
context.rb return cross-shard course rubrics for instructors 2018-10-26 16:29:10 +00:00
context_external_tool.rb Fix CTE tools allowing html in urls 2019-02-28 15:50:11 +00:00
context_external_tool_assignment_lookup.rb don't allow vanilla polymorphic: true 2017-08-02 15:13:53 +00:00
context_external_tool_placement.rb da licença part 10 2017-04-28 17:30:08 +00:00
context_module.rb Don't duplicate prerequisites and unlock dates. 2018-08-01 21:23:53 +00:00
context_module_item.rb Add modules/assignment group info from graphql 2018-11-28 22:41:01 +00:00
context_module_progression.rb cache progression and item visibility data on courses 2017-08-24 16:46:26 +00:00
context_module_sub_header.rb da licença part 10 2017-04-28 17:30:08 +00:00
conversation.rb Move conversation message broadcast after transaction 2019-01-21 18:43:25 +00:00
conversation_batch.rb fix conversation batch sending with model cache and old messages 2018-09-14 19:19:35 +00:00
conversation_message.rb Don't overwrite tags on conversation message email reply 2018-08-29 21:57:58 +00:00
conversation_message_participant.rb dots and new lines 2018-01-17 16:56:26 +00:00
conversation_participant.rb don't regenerate stream item instances after message deletion 2018-12-20 05:52:35 +00:00
course.rb fix conclude check in account course search 2019-02-21 20:16:20 +00:00
course_account_association.rb da licença part 10 2017-04-28 17:30:08 +00:00
course_date_range.rb da licença part 10 2017-04-28 17:30:08 +00:00
course_profile.rb da licença part 10 2017-04-28 17:30:08 +00:00
course_progress.rb preload lots of things used in Courses#index API 2018-08-23 15:30:01 +00:00
course_section.rb ensure new enrollments are moved to new course after crosslist 2019-01-24 18:10:59 +00:00
crocodoc_document.rb involve user in generating non-public links 2018-01-09 22:21:38 +00:00
custom_data.rb da licença part 10 2017-04-28 17:30:08 +00:00
custom_gradebook_column.rb da licença part 10 2017-04-28 17:30:08 +00:00
custom_gradebook_column_datum.rb Add API for bulk uploading custom columns 2018-08-09 22:04:07 +00:00
delayed_message.rb drop Message#asset_context and DelayedNotification#asset_context 2017-08-22 17:47:51 +00:00
delayed_notification.rb drop Message#asset_context and DelayedNotification#asset_context 2017-08-22 17:47:51 +00:00
designer_enrollment.rb da licença part 10 2017-04-28 17:30:08 +00:00
developer_key.rb Add oidc_login_uri for LTI Advantage 2019-01-16 19:11:54 +00:00
developer_key_account_binding.rb Add Lti 1.3 Tools scope to DevKeyBindings 2018-09-28 21:32:34 +00:00
discussion_entry.rb unassociate deleted discussion entry attachments immediately 2019-02-08 22:04:35 +00:00
discussion_entry_participant.rb da licença part 10 2017-04-28 17:30:08 +00:00
discussion_topic.rb let associated course make discussion non-graded 2019-02-28 16:34:39 +00:00
discussion_topic_participant.rb separate out api helpers for planner 2018-10-09 16:08:29 +00:00
discussion_topic_section_visibility.rb remove topic section visibilities after crosslisting 2018-11-15 15:26:50 +00:00
document_service.rb da licença part 10 2017-04-28 17:30:08 +00:00
enrollment.rb remove lower bound override calculations 2019-02-20 16:45:50 +00:00
enrollment_dates_override.rb rails 5.1: fix a bunch of after_save deprecation warnings 2018-03-21 20:04:25 +00:00
enrollment_state.rb invalidate saved access when cross-listing sections 2019-01-07 13:08:04 +00:00
enrollment_term.rb prevent default term names from being changed 2018-08-06 12:58:19 +00:00
eportfolio.rb only find active eportfolios 2018-07-23 20:40:55 +00:00
eportfolio_category.rb da licença part 11 2017-04-27 21:36:17 +00:00
eportfolio_entry.rb da licença part 11 2017-04-27 21:36:17 +00:00
epub_export.rb epub export of courses uses instfs 2018-05-14 15:01:30 +00:00
error_report.rb stop logging 404 error reports 2019-01-18 20:26:50 +00:00
etherpad_collaboration.rb da licença part 11 2017-04-27 21:36:17 +00:00
external_feed.rb improve external feed deletion performance 2019-02-08 13:32:38 +00:00
external_feed_entry.rb da licença part 11 2017-04-27 21:36:17 +00:00
external_integration_key.rb da licença part 11 2017-04-27 21:36:17 +00:00
external_tool_collaboration.rb da licença part 11 2017-04-27 21:36:17 +00:00
external_url.rb da licença part 11 2017-04-27 21:36:17 +00:00
favorite.rb fix favoriting for cross-shard logins 2018-09-20 19:29:12 +00:00
feature_flag.rb correctly invalidate course/user feature flag cache 2017-09-15 20:19:49 +00:00
folder.rb drop unused last_[un]lock_at columns 2018-08-14 22:42:49 +00:00
google_docs_collaboration.rb da licença part 12 2017-04-27 21:36:29 +00:00
gradebook_csv.rb da licença part 12 2017-04-27 21:36:29 +00:00
gradebook_upload.rb da licença part 12 2017-04-27 21:36:29 +00:00
grading_period.rb rails 5.1: fix a bunch of deprecation warnings 2018-03-23 18:46:48 +00:00
grading_period_group.rb Audit submission due date changes 2018-10-01 16:34:37 +00:00
grading_standard.rb remove lower bound override calculations 2019-02-20 16:45:50 +00:00
group.rb Stop Hard concluded enrollments fromn participating in groups 2018-10-22 20:31:55 +00:00
group_category.rb skip invalid memberships when cloning group set 2019-02-23 18:38:38 +00:00
group_leadership.rb da licença part 12 2017-04-27 21:36:29 +00:00
group_membership.rb Audit submission due date changes 2018-10-01 16:34:37 +00:00
ignore.rb Change ignore cleanup to be smarter 2018-03-30 16:46:14 +00:00
importers.rb Postpone live events during content migrations 2019-01-25 20:35:07 +00:00
kaltura_media_file_handler.rb involve user in generating non-public links 2018-01-09 22:21:38 +00:00
late_policy.rb rails 5.1: fix a bunch of after_save deprecation warnings (part 2) 2018-03-23 01:15:47 +00:00
learning_outcome.rb Fix validations, don't hide database errors. 2018-10-22 17:59:55 +00:00
learning_outcome_group.rb stop touching same models repeatedly or right after creation 2018-10-30 19:06:30 +00:00
learning_outcome_question_result.rb Hide points in outcomes reports when necessary 2018-05-02 21:54:48 +00:00
learning_outcome_result.rb Exclude outcome results from muted asgmts/quizzes 2018-07-10 20:18:30 +00:00
live_assessments.rb da licença part 13 2017-04-27 21:51:17 +00:00
lti.rb da licença part 13 2017-04-27 21:51:17 +00:00
mailer.rb use notification_service in cases that bypass the Message model 2017-07-31 21:49:05 +00:00
master_courses.rb master courses: improve syncing of front page status 2018-07-30 16:49:39 +00:00
media_object.rb Fix uploaded media title 2019-01-31 23:07:48 +00:00
media_source_fetcher.rb da licença part 13 2017-04-27 21:51:17 +00:00
media_track.rb da licença part 13 2017-04-27 21:51:17 +00:00
message.rb cleanup from when yo was removed 2019-01-25 17:24:14 +00:00
migration_issue.rb da licença part 13 2017-04-27 21:51:17 +00:00
moderated_grading.rb tweak speed grader comment visiblity 2018-06-24 20:37:22 +00:00
moderation_grader.rb add slot_taken to moderation_graders 2018-08-15 20:01:19 +00:00
notification.rb rename wiki page to page 2018-06-20 17:04:44 +00:00
notification_endpoint.rb soft-delete access_tokens and notification_endpoints 2018-03-01 14:13:25 +00:00
notification_failure_processor.rb stop sending iteration_high_water to aws_sdk 2019-01-04 17:53:31 +00:00
notification_finder.rb da licença part 14 2017-04-28 17:30:12 +00:00
notification_policy.rb Setting for observers to see student names in notifications 2018-10-22 20:51:13 +00:00
notification_preloader.rb da licença part 14 2017-04-28 17:30:12 +00:00
notifier.rb lower the priority of DelayedNotification.process 2018-09-12 16:05:08 +00:00
oauth_request.rb da licença part 14 2017-04-28 17:30:12 +00:00
observer_alert.rb Create alerts for assignments marked as missing 2019-01-15 15:42:30 +00:00
observer_alert_threshold.rb Fix ObserverAlertThreshold alert_type, threshold validation 2018-06-20 17:36:46 +00:00
observer_enrollment.rb dots and new lines 2018-01-17 16:56:26 +00:00
observer_pairing_code.rb add ObserverPairingCode model 2018-05-31 22:19:37 +00:00
one_time_password.rb Add copyright statement to top of .rb files 2018-03-08 22:40:48 +00:00
originality_report.rb rails 5.1: fix a bunch of deprecation warnings 2018-03-23 18:46:48 +00:00
outcome_import.rb Move everything possible under the catch-all 2018-11-26 22:00:31 +00:00
outcome_import_context.rb Outcome import creation/status endpoints 2018-03-05 19:22:03 +00:00
outcome_import_error.rb Truncate long error messages. 2018-11-27 15:29:54 +00:00
outcome_proficiency.rb Ignore ratings marked for deletion on validation 2018-11-28 18:12:46 +00:00
outcome_proficiency_rating.rb Only allow non-negative points 2018-06-11 19:21:52 +00:00
page_comment.rb da licença part 14 2017-04-28 17:30:12 +00:00
page_view.rb fix cross-shard db page views 2019-02-25 19:53:44 +00:00
parallel_importer.rb retry failed parallel importers 2018-03-24 21:00:02 +00:00
planner_note.rb separate out api helpers for planner 2018-10-09 16:08:29 +00:00
planner_override.rb Get all feedback in the past for future assignment 2018-11-05 17:22:12 +00:00
plugin_setting.rb don't try to strip a hash value in plugin settings 2018-07-23 15:36:11 +00:00
polling.rb da licença part 14 2017-04-28 17:30:12 +00:00
post_policy.rb Add post policy model and migration 2019-01-08 23:07:01 +00:00
profile.rb use real STI for Profile model 2017-06-19 19:53:24 +00:00
progress.rb capture exceptions on the correct shard for progresses 2018-10-15 19:44:22 +00:00
pseudonym.rb invert reliability of CAS SLO 2018-06-08 20:27:45 +00:00
pseudonym_session.rb da licença part 14 2017-04-28 17:30:12 +00:00
purgatory.rb don’t blow up if s3object does not exist 2017-07-06 22:31:22 +00:00
report_snapshot.rb run counts reports in parallel 2018-06-21 14:44:22 +00:00
role.rb moar preloads 2018-08-08 05:22:30 +00:00
role_override.rb Conversation reply to students in concluded course includes student 2019-02-26 18:35:31 +00:00
rollup_score.rb Add median aggregate rollups 2018-07-09 23:06:02 +00:00
rubric.rb don't overwrite associated rubric links with blueprint 2018-09-14 01:33:48 +00:00
rubric_assessment.rb Don't update outcome results on peer review. 2018-10-22 19:42:02 +00:00
rubric_association.rb sync assignment when association rubric changes 2019-01-29 15:34:34 +00:00
score.rb remove lower bound override calculations 2019-02-20 16:45:50 +00:00
score_metadata.rb make ScoreMetadata soft deleteable 2018-02-09 19:33:48 +00:00
score_statistic.rb run the assignment score statistics generator in a singleton 2018-04-30 19:29:38 +00:00
session_persistence_token.rb Fix periodic jobs to not use deprecated delete_all syntax 2017-07-28 16:22:06 +00:00
setting.rb cache newly created setting value right away 2018-10-17 16:41:14 +00:00
sharded_bookmarked_collection.rb fix cross-database calendar queries 2017-11-28 20:31:54 +00:00
shared_brand_config.rb da licença part 15 2017-04-27 21:51:19 +00:00
sis_batch.rb compare current files and previous files better 2019-02-14 17:39:57 +00:00
sis_batch_error.rb use the index for sis batch error cleanup 2018-12-10 21:38:48 +00:00
sis_batch_roll_back_data.rb allow for other enrollment state 2019-02-28 14:20:28 +00:00
sis_post_grades_status.rb da licença part 15 2017-04-27 21:51:19 +00:00
sis_pseudonym.rb rails 5.2 2018-04-25 19:15:20 +00:00
split_users.rb recalculate due dates and scores on user split 2018-11-05 23:15:06 +00:00
stream_item.rb disconnect deploy after partitioning/vacuuming in jobs 2018-12-12 20:02:45 +00:00
stream_item_instance.rb da licença part 15 2017-04-27 21:51:19 +00:00
student_enrollment.rb rails 5.1: fix a bunch of after_save deprecation warnings 2018-03-21 20:04:25 +00:00
student_view_enrollment.rb da licença part 15 2017-04-27 21:51:19 +00:00
submission.rb Post/unpost individual submissions 2019-02-07 15:40:38 +00:00
submission_comment.rb Add attachments to submission comments 2019-02-26 18:20:19 +00:00
submission_comment_interaction.rb drop rails 4.2 2017-06-27 15:29:51 +00:00
submission_version.rb don't create placeholder submissions for unassigned students 2017-06-27 20:33:35 +00:00
ta_enrollment.rb da licença part 15 2017-04-27 21:51:19 +00:00
tableless.rb bump rails 5.1 2017-08-09 20:52:53 +00:00
teacher_enrollment.rb da licença part 15 2017-04-27 21:51:19 +00:00
terms_of_service.rb Add a UI for selecting the new policy 2018-03-02 00:58:49 +00:00
terms_of_service_content.rb allow creating and updating of Terms Of Service 2017-10-11 15:24:52 +00:00
thumbnail.rb da licença part 15 2017-04-27 21:51:19 +00:00
usage_rights.rb call translated license names in a lambda 2017-08-14 13:03:04 +00:00
user.rb remove an unused scope 2019-02-24 17:13:00 +00:00
user_account_association.rb da licença part 16 2017-04-27 21:51:21 +00:00
user_learning_object_scopes.rb Exclude duplicate assigns in todo list for teachers in multi-sections 2019-02-16 23:13:22 +00:00
user_merge_data.rb use relative_id for previous_user_id in merge data 2018-11-05 14:55:28 +00:00
user_merge_data_record.rb rename user_observer/observee classes/associations 2018-03-14 19:51:49 +00:00
user_note.rb da licença part 16 2017-04-27 21:51:21 +00:00
user_observation_link.rb allow all observers 2018-06-02 01:57:34 +00:00
user_observer.rb rename user_observer/observee classes/associations 2018-03-14 19:51:49 +00:00
user_profile.rb rename user_observer/observee classes/associations 2018-03-14 19:51:49 +00:00
user_profile_link.rb da licença part 16 2017-04-27 21:51:21 +00:00
user_service.rb removes integration for yo 2018-04-10 20:15:41 +00:00
web_conference.rb BBB feature recording multiple formats 2018-04-26 19:58:36 +00:00
web_conference_participant.rb da licença part 16 2017-04-27 21:51:21 +00:00
web_zip_export.rb da licença part 16 2017-04-27 21:51:21 +00:00
wiki.rb master courses: improve syncing of front page status 2018-07-30 16:49:39 +00:00
wiki_page.rb don't overwrite page urls on downstream change 2018-12-03 18:11:10 +00:00
wimba_conference.rb da licença part 16 2017-04-27 21:51:21 +00:00