canvas-lms/app/models
James Williams 9d4660b641 fix respondus question bank and quiz importing
test plan:
* publishing through respondus should work for question banks
and for quizzes when settings are applied

fixes #CNVS-8276 #CNVS-4297

Change-Id: I3b254c6375aa5524f6ecf78c31e64d34a13ba4a7
Reviewed-on: https://gerrit.instructure.com/24566
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Hannah Bottalla <hannah@instructure.com>
2013-09-24 19:39:51 +00:00
..
broadcast_policies Extract Assignment Broadcast Policy 2013-06-04 18:11:44 +00:00
discussion_topic fix materialized views through pgbouncer 2013-08-06 22:10:32 +00:00
quiz_question don't change case of responses in multiple FitB 2013-07-29 22:04:36 +00:00
quiz_statistics handle null in quiz statistics 2013-08-20 23:03:08 +00:00
abstract_course.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
access_token.rb make access token last_used update threshold a Setting 2013-09-13 18:18:45 +00:00
account.rb group category create/edit dialogs, fixes CNVS-6659 2013-09-18 19:43:49 +00:00
account_authorization_config.rb make SAML an optional feature 2013-07-12 16:13:42 +00:00
account_notification.rb survey notification support 2013-06-17 16:58:39 +00:00
account_report.rb make account reports only run once and low priority 2013-09-17 18:33:58 +00:00
account_user.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
alert.rb useful find_each 2013-07-18 22:26:46 +00:00
alert_criterion.rb alerts, closes #4317 2011-08-24 10:19:44 -06:00
announcement.rb fix permissions on imported announcements. 2013-08-13 02:18:55 +00:00
appointment_group.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
appointment_group_context.rb multiple contexts per appointment group 2012-04-30 15:30:03 -06:00
appointment_group_sub_context.rb multiple contexts per appointment group 2012-04-30 15:30:03 -06:00
assessment_question.rb fix respondus question bank and quiz importing 2013-09-24 19:39:51 +00:00
assessment_question_bank.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
assessment_question_bank_user.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
assessment_request.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
asset_user_access.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
assignment.rb fix speedgrader regression when viewing quizzes 2013-09-18 20:14:37 +00:00
assignment_group.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
assignment_override.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
assignment_override_student.rb arel-ify models 2013-04-01 18:42:38 +00:00
attachment.rb don't dedup against broken attachments 2013-09-23 19:47:00 +00:00
attachment_association.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06: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 add checkbox to enable BBB recording to BBB plugin settings 2013-06-13 17:53:46 +00:00
bookmark_service.rb i18n Bookmark Service 2011-06-16 07:16:10 -06:00
calendar_event.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
cloned_item.rb make sure links in assessment questions are correctly translated, fixes #6012 2011-10-21 08:36:34 -06:00
collaboration.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
collaborator.rb add groups to collaborators table, add api endpoint. 2013-01-04 20:18:04 -07:00
collection.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
collection_item.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
collection_item_data.rb get rspec 2 running with rails 3.0 2013-03-27 15:41:28 +00:00
collection_item_upvote.rb arel-ify models 2013-04-01 18:42:38 +00:00
communication_channel.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
content_export.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
content_migration.rb fix selective content when arrays are passed to migration_settings 2013-09-05 16:43:29 +00:00
content_participation.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
content_participation_count.rb cache some settings 2013-08-26 17:54:56 +00:00
content_tag.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
context.rb create context-level enable_draft option. 2013-08-16 15:19:39 +00:00
context_external_tool.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
context_module.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
context_module_item.rb change available_for? and locked_for? to be more consistent 2013-06-07 21:41:21 +00:00
context_module_progression.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
context_module_sub_header.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
conversation.rb run messageable user queries on the slave 2013-08-28 20:37:23 +00:00
conversation_batch.rb allow bulk messaging in new conversations 2013-09-24 00:29:53 +00:00
conversation_message.rb add soft delete to conversation_message_participants 2013-08-08 16:00:51 +00:00
conversation_message_participant.rb add soft delete to conversation_message_participants 2013-08-08 16:00:51 +00:00
conversation_participant.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
course.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
course_account_association.rb optimize Account#/Course.update_account_associations a bit 2013-06-07 14:47:09 +00:00
course_import.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
course_profile.rb context profiles, refs CNVS-2650 2013-02-01 17:57:07 -07:00
course_section.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
crocodoc_document.rb optimize CrocodocDocument.update_process_states 2013-08-22 19:12:15 +00:00
delayed_message.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
delayed_notification.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
designer_enrollment.rb straighten out course designer permissions 2012-01-13 18:56:50 -07:00
developer_key.rb use the birth shard so that the default shard can be changed 2013-05-07 15:44:17 +00:00
dim_dim_conference.rb wimba integration, fixes #2989 2011-02-25 14:35:14 -07:00
discussion_entry.rb disable non-members' subscription controls for group discussions 2013-07-23 20:58:41 +00:00
discussion_entry_participant.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
discussion_topic.rb fix typo in DiscussionTopic::user_can_see_posts? 2013-09-20 18:48:37 +00:00
discussion_topic_participant.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
document_service.rb Initial commit. 2011-01-31 18:57:29 -07:00
enrollment.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
enrollment_dates_override.rb term start/term end, rather than whenever 2011-09-13 15:20:15 -06:00
enrollment_term.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
eportfolio.rb handle ePortfolio name when too long 2013-09-05 17:26:04 +00:00
eportfolio_category.rb improve error handling for ePortfolio section editing 2013-09-11 20:36:14 +00:00
eportfolio_entry.rb remove some egregious usages of Enumerable#select when a query will do 2013-05-31 22:11:15 +00:00
error_report.rb don't store HTTP_COOKIE in error reports 2013-05-23 20:48:39 +00:00
etherpad_collaboration.rb remove deprecated rails constant usage 2013-03-11 12:14:08 -06:00
external_feed.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
external_feed_entry.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
external_url.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
favorite.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
folder.rb create folder shard-safely 2013-09-12 20:19:51 +00:00
google_docs_collaboration.rb Initial commit. 2011-01-31 18:57:29 -07:00
gradebook_upload.rb prepare for foreign keys refs #6895 2012-05-10 09:46:05 -06:00
grading_standard.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
group.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
group_category.rb make group category assignments query fast 2013-08-28 22:39:32 +00:00
group_membership.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
ignore.rb arel-ify models 2013-04-01 18:42:38 +00:00
inbox_item.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
learning_outcome.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
learning_outcome_group.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
learning_outcome_result.rb simplify SimplyVersioned option storage and add callbacks 2013-04-20 13:20:29 +00:00
mailer.rb add multiple reply-to support to outgoing mail. 2013-02-22 14:02:27 -07:00
media_object.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
media_track.rb Allow uploading subtitle tracks to videos 2013-02-01 12:53:16 -07:00
message.rb use correct i18n scope for html emails, fixes CNVS-6829 2013-07-11 22:21:45 +00:00
migration_issue.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
notification.rb change discussion entry notifications to go to subscribers 2013-06-14 22:18:04 +00:00
notification_policy.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
oauth_request.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
observer_enrollment.rb arel-ify models 2013-04-01 18:42:38 +00:00
open_object.rb simplify OpenStruct/OpenObject json serialization 2013-08-29 16:44:13 +00:00
page_comment.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
page_view.rb make sure the page view data is utf-8 encoded 2013-08-16 01:23:51 +00:00
plugin_setting.rb cache plugin settings indefinitely 2013-08-28 20:32:26 +00:00
profile.rb adds unlisted to the list of valid profile visibility values 2013-05-31 03:09:23 +00:00
progress.rb support tracking a delayed job in the Progress model 2013-07-10 14:11:48 +00:00
pseudonym.rb make pseudonyms.active scope more efficient 2013-08-07 17:40:44 +00:00
pseudonym_session.rb rails3 fixes 2013-06-26 20:22:26 +00:00
quiz.rb verbage/english fixes on quiz regrade messaging 2013-09-18 23:38:00 +00:00
quiz_group.rb quiz questions now soft-delete 2013-09-18 20:15:46 +00:00
quiz_question.rb quiz questions now soft-delete 2013-09-18 20:15:46 +00:00
quiz_question_regrade.rb add the ability to regrade a quiz 2013-08-19 17:29:26 +00:00
quiz_regrade.rb add the ability to regrade a quiz 2013-08-19 17:29:26 +00:00
quiz_regrade_run.rb add the ability to regrade a quiz 2013-08-19 17:29:26 +00:00
quiz_statistics.rb only strand quiz_stats jobs per quiz 2013-06-05 17:22:07 +00:00
quiz_submission.rb fix system time exploitation of quiz timing 2013-08-30 22:45:17 +00:00
quiz_submission_snapshot.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
report_snapshot.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
role.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
role_override.rb alerts are announcements 2013-07-29 15:14:13 +00:00
rubric.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
rubric_assessment.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
rubric_association.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
scribd_account.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
scribd_mime_type.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
session_persistence_token.rb fix session persistence tokens for out-of-shard users 2013-06-27 20:01:47 +00:00
setting.rb fix Setting.from_config with no env 2013-06-28 21:18:36 +00:00
sis_batch.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
stream_item.rb refactor bulk_insert to use AR::Base.transaction 2013-08-14 18:57:08 +00:00
stream_item_instance.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
student_enrollment.rb Minor fixes to StudentEnrollment associations. 2012-05-04 16:46:43 -06:00
student_view_enrollment.rb student view; closes #6995 2012-04-03 14:11:07 -06:00
submission.rb prevent comments and grading on submissions for unpublished assignments with API 2013-09-04 19:35:21 +00:00
submission_comment.rb per-instance json serialization methods/excludes 2013-08-29 22:39:17 +00:00
submission_comment_participant.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
submission_version.rb refactor bulk_insert to use AR::Base.transaction 2013-08-14 18:57:08 +00:00
ta_enrollment.rb straighten out course designer permissions 2012-01-13 18:56:50 -07:00
tableless.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
teacher_enrollment.rb straighten out course designer permissions 2012-01-13 18:56:50 -07:00
thumbnail.rb update thumbnail attachment options like Attachment's 2013-03-26 18:46:14 +00:00
user.rb fix cross-shard stream item dismissal, fixes CNVS-1404 2013-09-18 15:32:36 +00:00
user_account_association.rb clean up user account associations 2013-01-31 10:41:55 -07:00
user_follow.rb arel-ify models 2013-04-01 18:42:38 +00:00
user_note.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
user_observer.rb user co-enrollment backend work, closes #8588 2012-05-23 12:21:00 -06:00
user_profile.rb prevent text overflow for user_profile.title 2013-08-23 20:05:19 +00:00
user_profile_link.rb add data validation to user profile links 2012-09-24 15:38:26 -06:00
user_service.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
web_conference.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
web_conference_participant.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
wiki.rb fix legacy wiki front page behavior 2013-09-03 19:27:02 +00:00
wiki_page.rb remove hide_from_students from the new pages UI 2013-09-04 22:22:21 +00:00
wimba_conference.rb handle wimba conference date parsing in ruby18/ruby19. 2013-02-08 12:43:19 -07:00
zip_file_import.rb use the birth shard so that the default shard can be changed 2013-05-07 15:44:17 +00:00