canvas-lms/app/models
James Williams 33c43bed34 create module progressions in a unique constraint retry block
Change-Id: I8db845360a3f38e2ff4cb9390ae75b240eb6f783
Reviewed-on: https://gerrit.instructure.com/70953
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2016-01-26 18:41:00 +00:00
..
account use global account ids when invalidating cached settings 2015-09-25 21:46:49 +00:00
account_authorization_config add Google Apps domain option for Google Auth 2015-12-09 21:11:49 +00:00
alerts rails4: deprecate Relation#all in favor of Relation#to_a 2015-07-24 21:28:14 +00:00
assignment mobile: add grading period scores to endpoints 2016-01-18 21:19:18 +00:00
assignments improve moderated grading needs_grading_count with null scores 2015-10-05 17:21:43 +00:00
attachments add Attachments::ScopedToUser 2015-07-27 18:40:47 +00:00
auditors record anonymous grading in grade change audit log 2015-10-06 16:20:22 +00:00
bookmarks bookmark service, fixes CNVS-19363 2015-05-14 05:06:20 +00:00
broadcast_policies send out notifications on assignment save + publish after create 2015-10-27 16:58:08 +00:00
context_module_progressions create module progressions in a unique constraint retry block 2016-01-26 18:41:00 +00:00
courses fix delayed alerts for courses with only section-limited teachers 2014-10-30 16:07:12 +00:00
data_exports_api validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
discussion_topic rails4: deprecate Relation#all in favor of Relation#to_a 2015-07-24 21:28:14 +00:00
enrollment show correct total activity time for users 2015-04-22 20:44:29 +00:00
epub_exports rails 4.2: fix controller, integration and view specs 2016-01-22 20:01:11 +00:00
exporters rails4: remove Relation#with_each_shard 2015-07-17 12:31:15 +00:00
grading_period ensure a user's enrollments api works when given a grading period 2015-09-24 16:19:16 +00:00
group_categories allow group leadership edits on group categories 2014-10-10 20:42:06 +00:00
importers rails 4.2: fix scope.new calls 2016-01-22 16:54:37 +00:00
incoming_mail fix Mailer#create_message spec failures 2015-10-20 15:41:52 +00:00
live_assessments rails 4 style associations 2015-12-01 20:01:34 +00:00
lti LTI Reregistration 2015-12-17 23:26:05 +00:00
messages update email notification for peer review to be anonymous 2015-09-14 21:19:20 +00:00
moderated_grading Add missing submission comments in speedgrader 2016-01-20 20:01:14 +00:00
page_view pv4 doesn't return http method sometimes 2016-01-11 20:09:50 +00:00
polling rails 4 style associations 2015-12-01 20:01:34 +00:00
quizzes rails 4.2: fix controller, integration and view specs 2016-01-22 20:01:11 +00:00
users add skip_registration param to create user action 2015-08-24 19:09:47 +00:00
wiki_pages Decouple Wiki Page permissions logic from api index 2015-07-24 22:03:00 +00:00
abstract_course.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
access_token.rb rails4.2: Fixnum#ago is deprecated 2015-12-29 21:14:11 +00:00
account.rb rails 4.2: fix controller, integration and view specs 2016-01-22 20:01:11 +00:00
account_authorization_config.rb rails 4.2: s/destroy!/destroy_permanently! 2016-01-07 14:00:13 +00:00
account_notification.rb switch a few things to use account_chain 2016-01-18 17:51:42 +00:00
account_notification_role.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
account_report.rb make account reports a gem 2014-11-03 22:57:35 +00:00
account_user.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
alert.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
alert_criterion.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
announcement.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
appointment_group.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
appointment_group_context.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
appointment_group_sub_context.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
assessment_question.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
assessment_question_bank.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
assessment_question_bank_user.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
assessment_request.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
asset_user_access.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
assignment.rb Add missing submission comments in speedgrader 2016-01-20 20:01:14 +00:00
assignment_group.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
assignment_override.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
assignment_override_student.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
assignment_student_visibility.rb DA - module evaluation efficiency 2014-10-28 19:11:47 +00:00
attachment.rb don't send new file notifications for concluded courses 2016-01-18 23:55:20 +00:00
attachment_association.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
auditors.rb also log errors on page views 2015-11-10 02:22:01 +00:00
authorization_code.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
big_blue_button_conference.rb include test env in BBB recording ready url 2015-06-16 18:50:11 +00:00
bookmark_service.rb don't autorequire a bunch of gems that are rarely used 2015-04-09 18:47:50 +00:00
bookmarks.rb bookmark service, fixes CNVS-19363 2015-05-14 05:06:20 +00:00
bounce_notification_processor.rb Ping statsd when bounce notifications are processed 2015-12-22 19:49:56 +00:00
brand_config.rb get sub account branding and custom css/includes working 2015-12-19 02:47:39 +00:00
calendar_event.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
canvadoc.rb rails 4 style associations 2015-12-01 20:01:34 +00:00
cloned_item.rb rip out more polymorphic shims 2016-01-11 17:40:03 +00:00
collaboration.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
collaborator.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
communication_channel.rb rails 4.2: fix scope.new calls 2016-01-22 16:54:37 +00:00
content_export.rb rails 4.2: s/destroy!/destroy_permanently! 2016-01-07 14:00:13 +00:00
content_migration.rb rails 4.2: fix serialized attribute initialization 2015-12-30 17:53:38 +00:00
content_participation.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
content_participation_count.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
content_tag.rb rails 4.2: misc spec fixes 2016-01-18 21:45:39 +00:00
context.rb make Context.get_account work with CourseSections 2016-01-18 21:08:51 +00:00
context_external_tool.rb handle underscores in tool launch urls and domain field 2016-01-20 22:38:15 +00:00
context_external_tool_placement.rb migrate has_X context_external_tool columns to separate table 2014-08-12 12:13:42 +00:00
context_module.rb fix context module progression relocking race condition 2016-01-19 17:48:51 +00:00
context_module_item.rb rails 4 style associations 2015-12-01 20:01:34 +00:00
context_module_progression.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
context_module_sub_header.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
conversation.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
conversation_batch.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
conversation_message.rb rails 4.2: misc spec fixes 2016-01-18 21:45:39 +00:00
conversation_message_participant.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
conversation_participant.rb rails 4.2: misc spec fixes 2016-01-18 21:45:39 +00:00
course.rb rails 4.2: fix scope.new calls 2016-01-22 16:54:37 +00:00
course_account_association.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
course_date_range.rb adds due date validations to assignment quick add and quick edit 2015-03-19 16:29:43 +00:00
course_profile.rb improve acts_as_list 2013-12-17 19:55:43 +00:00
course_progress.rb use preload instead of include on associations 2015-09-08 20:32:41 +00:00
course_section.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
crocodoc_document.rb revert the revert crocodoc permissions change 2016-01-04 20:01:55 +00:00
custom_data.rb rails 4.2: fix serialized attribute initialization 2015-12-30 17:53:38 +00:00
custom_gradebook_column.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
custom_gradebook_column_datum.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
delayed_message.rb rip out more polymorphic shims 2016-01-11 17:40:03 +00:00
delayed_notification.rb rip out more polymorphic shims 2016-01-11 17:40:03 +00:00
designer_enrollment.rb straighten out course designer permissions 2012-01-13 18:56:50 -07:00
developer_key.rb rails 4.2: s/destroy!/destroy_permanently! 2016-01-07 14:00:13 +00:00
discussion_entry.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
discussion_entry_participant.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
discussion_topic.rb rails 4.2: misc spec fixes 2016-01-18 21:45:39 +00:00
discussion_topic_participant.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
document_service.rb
enrollment.rb enforce term date restrictions on course admin users 2016-01-19 20:00:13 +00:00
enrollment_dates_override.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
enrollment_term.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
eportfolio.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
eportfolio_category.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
eportfolio_entry.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
epub_export.rb ePub export progress bar shows real progress 2016-01-06 21:21:57 +00:00
error_report.rb rename distinct to distinct_values 2016-01-22 14:51:17 +00:00
etherpad_collaboration.rb don't re-calculate the etherpad url when a new user joins 2013-11-08 21:45:44 +00:00
external_feed.rb restrict external feed entry uuid length 2015-11-03 15:52:36 +00:00
external_feed_entry.rb expand external_feed_entries urls to text 2015-10-01 17:18:32 +00:00
external_integration_key.rb add type scope for external integration keys 2015-04-24 16:39:45 +00:00
external_url.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
favorite.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
feature_flag.rb switch a few things to use account_chain 2016-01-18 17:51:42 +00:00
folder.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
google_docs_collaboration.rb make google drive timeout configurable 2015-10-09 19:32:39 +00:00
gradebook_csv.rb don't wait for failed gradebook csv exports 2015-12-04 21:43:49 +00:00
gradebook_upload.rb gradebook csv upload: ignore failed uploads 2015-04-22 22:21:02 +00:00
grading_period.rb mobile: add grading period scores to endpoints 2016-01-18 21:19:18 +00:00
grading_period_grade.rb Extract Soft Deletion 2015-05-18 18:45:01 +00:00
grading_period_group.rb Extract Soft Deletion 2015-05-18 18:45:01 +00:00
grading_standard.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
group.rb switch a few things to use account_chain 2016-01-18 17:51:42 +00:00
group_category.rb rails 4.2: misc spec fixes 2016-01-18 21:45:39 +00:00
group_leadership.rb Typo fix: changed occurrences of unkown to unknown 2015-03-25 20:08:05 +00:00
group_membership.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
ignore.rb give more access to peer reviews 2014-08-08 16:18:45 +00:00
importers.rb imported link refactoring 2015-06-16 20:04:32 +00:00
inbox_item.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
kaltura_media_file_handler.rb Revert "handle nil responses from kaltura client" 2015-11-10 20:50:37 +00:00
learning_outcome.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
learning_outcome_group.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
learning_outcome_question_result.rb rip out more polymorphic shims 2016-01-11 17:40:03 +00:00
learning_outcome_result.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
live_assessments.rb improve AR::all_models for non-eager-loading 2014-07-14 15:56:49 +00:00
lti.rb add lti2 models and registration endpoints 2014-07-18 16:42:10 +00:00
mailer.rb don't autorequire a bunch of gems that are rarely used 2015-04-09 18:47:50 +00:00
media_object.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
media_source_fetcher.rb Prefer mp3 for audio comments in api_user_content 2014-04-30 20:00:13 +00:00
media_track.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
message.rb Add notification failure processor 2016-01-22 19:23:55 +00:00
migration_issue.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
moderated_grading.rb create ProvisionalGrade table and model 2015-08-07 17:12:37 +00:00
notification.rb hide "scores in email" notification setting if disabled by root account 2015-09-30 22:22:12 +00:00
notification_endpoint.rb don't send to notification endpoints whose token has changed 2015-09-30 19:54:14 +00:00
notification_failure_processor.rb Add notification failure processor 2016-01-22 19:23:55 +00:00
notification_finder.rb rails4: rename Notification.all to all_cached 2015-07-01 17:23:22 +00:00
notification_policy.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
notification_preloader.rb avoid extraneous queries to Notification 2014-09-09 21:54:16 +00:00
notification_service.rb Add notification failure processor 2016-01-22 19:23:55 +00:00
notifier.rb gemify broadcast policy 2014-09-24 11:35:33 +00:00
oauth_request.rb Revert "fix oauth_requests user foreign key violations" 2015-10-15 15:51:12 +00:00
observer_enrollment.rb add observed_users to courses and favorite api calls 2015-12-08 15:39:16 +00:00
page_comment.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
page_view.rb rails 4.2: misc spec fixes 2016-01-18 21:45:39 +00:00
plugin_setting.rb Disabling a plugin for an account no longer errors 2016-01-19 21:20:31 +00:00
polling.rb improve AR::all_models for non-eager-loading 2014-07-14 15:56:49 +00:00
profile.rb rails 4.2: fix serialized attribute initialization 2015-12-30 17:53:38 +00:00
progress.rb rip out more polymorphic shims 2016-01-11 17:40:03 +00:00
pseudonym.rb clarify if a pseudonym can have a password 2016-01-20 21:43:21 +00:00
pseudonym_session.rb don't lock people out after failed_login_attempts 2015-08-25 22:30:59 +00:00
report_snapshot.rb expose installation uuid in health_check 2015-11-06 04:37:36 +00:00
role.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
role_override.rb switch a few things to use account_chain 2016-01-18 17:51:42 +00:00
rollup_score.rb fix non mastery scores potentially being factored into n_mastery 2015-12-07 18:46:28 +00:00
rubric.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
rubric_assessment.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
rubric_association.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
scribd_mime_type.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
session_persistence_token.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
setting.rb fix some boot up issues when the db isn't set up yet 2015-06-11 15:16:38 +00:00
sharded_bookmarked_collection.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
sis_batch.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
sis_post_grades_status.rb Add validation to the post grades model 2015-01-07 23:27:25 +00:00
sis_pseudonym.rb new account user search page 2015-11-18 20:21:16 +00:00
stream_item.rb rails 4.2: stream item fixes 2015-12-30 17:25:39 +00:00
stream_item_instance.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
student_enrollment.rb DA - enrollment deletion works 2014-09-25 22:01:02 +00:00
student_view_enrollment.rb fix viewing test student grades by teacher 2014-05-30 04:35:59 +00:00
submission.rb rails 4.2: misc spec fixes 2016-01-18 21:45:39 +00:00
submission_comment.rb Add specs for SubmissionComment after_destroy 2016-01-12 23:12:00 +00:00
submission_comment_interaction.rb fix teacher interaction report to work with submission comments 2015-02-06 18:54:59 +00:00
submission_comment_participant.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
submission_version.rb validations on Version and SubmissionVersion 2014-12-12 23:29:45 +00:00
ta_enrollment.rb straighten out course designer permissions 2012-01-13 18:56:50 -07:00
tableless.rb spec: fix fragile locked_spec 2015-08-14 15:39:05 +00:00
teacher_enrollment.rb straighten out course designer permissions 2012-01-13 18:56:50 -07:00
thumbnail.rb default settings values to strings 2015-05-07 21:24:54 +00:00
usage_rights.rb add new variable expansions for attachments 2015-02-19 17:12:38 +00:00
user.rb rails 4.2: misc spec fixes 2016-01-18 21:45:39 +00:00
user_account_association.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
user_note.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
user_observer.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
user_profile.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
user_profile_link.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
user_service.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
web_conference.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
web_conference_participant.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
wiki.rb rails 4.2: fix scope.new calls 2016-01-22 16:54:37 +00:00
wiki_page.rb remove unused constants from canvas models 2016-01-12 17:39:22 +00:00
wimba_conference.rb fix Lint/StringConversionInInterpolation issue 2015-04-27 20:53:25 +00:00
zip_file_import.rb get sentry into canvas 2015-04-13 22:26:15 +00:00