canvas-lms/app/models
Cody Cutrer 3f8f24998c fix page view insertions for cassandra on rails 3
Change-Id: Id8a1c3fad26fbd6cf7bb76dbe89e862d0da11540
Reviewed-on: https://gerrit.instructure.com/30106
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2014-02-14 15:56:42 +00:00
..
broadcast_policies assignment created notifications only on publish 2013-12-11 17:30:42 +00:00
discussion_topic discussions: use strings for IDs in ENV and materialized view 2014-01-16 17:31:32 +00:00
lti refactored lti_role_creator into lti_user_creator 2014-02-13 15:37:49 +00:00
quiz_question prevent NoMethodErrors when generating quiz statistics 2014-02-12 18:07:50 +00:00
quiz_statistics extracted html text helper methods into gem 2014-02-07 20:11:19 +00:00
quizzes add support for respondus monitor 2014-02-10 16:33:21 +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 add push communication channel type 2013-11-21 21:38:45 +00:00
account.rb use user id instead of user as key for @account_users_cache 2014-01-31 17:02:22 +00:00
account_authorization_config.rb use self.account instead of @account in account_authorization_config 2014-01-09 14:00:29 +00:00
account_notification.rb convert sanitize field plugin into proper gem: CanvasSanitize 2014-01-28 22:36:18 +00:00
account_notification_role.rb option to restrict global announcements by role 2014-01-09 19:54:21 +00:00
account_report.rb show when an account report fails in the ui and api 2013-12-02 22:57:25 +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 use CANVAS_RAILS2 for conditionals 2013-10-10 15:58:43 +00:00
alert_criterion.rb alerts, closes #4317 2011-08-24 10:19:44 -06:00
announcement.rb convert sanitize field plugin into proper gem: CanvasSanitize 2014-01-28 22:36:18 +00:00
appointment_group.rb extracted html text helper methods into gem 2014-02-07 20:11:19 +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 improve acts_as_list 2013-12-17 19:55:43 +00:00
assessment_question_bank.rb make randomization of quiz questions work better within quiz groups 2013-11-06 19:44:08 +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 Solving Email URL and Recipient 2013-12-09 15:57:31 +01:00
asset_user_access.rb Don't complain if asset view score is undefined 2014-02-12 15:47:38 -07:00
assignment.rb generate UUID before adding group comments to submission 2014-02-12 19:28:12 +00:00
assignment_group.rb use AR to check changes and previous values in callbacks 2014-01-14 18:15:14 +00:00
assignment_override.rb move quiz into quizzes namespace as a precursor to enginifying 2014-01-24 00:08:46 +00:00
assignment_override_student.rb move quiz into quizzes namespace as a precursor to enginifying 2014-01-24 00:08:46 +00:00
attachment.rb fix files controller for rails 3 specs 2014-02-11 16:04:43 +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 BBB: request recordings only if conference was recorded 2013-12-18 22:45:56 +00:00
bookmark_service.rb i18n Bookmark Service 2011-06-16 07:16:10 -06:00
calendar_event.rb extracted html text helper methods into gem 2014-02-07 20:11:19 +00:00
cloned_item.rb fix polymorphic overrides 2014-02-10 22:31:33 +00:00
collaboration.rb improve collaboration/group query 2013-10-18 00:05:10 +00:00
collaborator.rb add groups to collaborators table, add api endpoint. 2013-01-04 20:18:04 -07:00
communication_channel.rb create summary messages on the user's shard 2014-02-13 21:13:25 +00:00
content_export.rb Content Exports API 2014-01-10 23:24:23 +00:00
content_migration.rb rubyzip 1.0.0 upgrade 2013-11-22 19:23:34 +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 deprecate Setting.get_cached 2013-10-10 00:42:52 +00:00
content_tag.rb sync discussion topic content tag workflow states 2014-02-11 19:30:03 +00:00
context.rb replace Array#once_per extension with #uniq 2014-02-13 18:53:05 +00:00
context_external_tool.rb validate format of external tool id 2014-02-05 17:49:11 +00:00
context_module.rb fix module item XSS vulnerability, closes CNVS-10767 2014-01-27 23:25:43 +00:00
context_module_item.rb check for valid module_item_id 2014-01-28 22:58:11 +00:00
context_module_progression.rb move quiz into quizzes namespace as a precursor to enginifying 2014-01-24 00:08:46 +00:00
context_module_sub_header.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
conversation.rb rename skip_callback->suspend_callbacks 2014-02-11 23:14:41 +00:00
conversation_batch.rb allow bulk messaging in new conversations 2013-09-24 00:29:53 +00:00
conversation_message.rb extracted html text helper methods into gem 2014-02-07 20:11:19 +00:00
conversation_message_participant.rb add soft delete to conversation_message_participants 2013-08-08 16:00:51 +00:00
conversation_participant.rb fix conversations controller for rails 3 2014-02-11 16:09:30 +00:00
course.rb rename skip_callback->suspend_callbacks 2014-02-11 23:14:41 +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 improve acts_as_list 2013-12-17 19:55:43 +00:00
course_section.rb validate sis_id, section name and drop section_code 2014-01-02 20:43:52 +00:00
crocodoc_document.rb batch crocodoc status updates into like updates 2013-12-31 23:18:36 +00:00
custom_gradebook_column.rb change custom_gradebook_column permissions 2014-01-08 22:23:00 +00:00
custom_gradebook_column_datum.rb custom gradebook columns api 2013-12-26 17:45:40 +00:00
delayed_message.rb summarize delayed_message on message's shard 2014-01-16 01:45:42 +00:00
delayed_notification.rb remove uses of memoize 2013-12-06 22:03:24 +00:00
designer_enrollment.rb straighten out course designer permissions 2012-01-13 18:56:50 -07:00
developer_key.rb remove uses of memoize 2013-12-06 22:03:24 +00:00
discussion_entry.rb extracted html text helper methods into gem 2014-02-07 20:11:19 +00:00
discussion_entry_participant.rb refactor DiscussionTopic#change_all_read_state 2014-01-10 23:19:10 +00:00
discussion_topic.rb replace Array#once_per extension with #uniq 2014-02-13 18:53:05 +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 fix usages of scoped? to check rails 3 style x_values 2014-02-07 15:18:42 +00:00
enrollment_dates_override.rb term start/term end, rather than whenever 2011-09-13 15:20:15 -06:00
enrollment_term.rb avoid :conditions argument to find, count, etc. 2013-10-14 19:29:27 +00:00
eportfolio.rb fix eportfolio xss vulnerability, closes CNVS-10753 2014-01-27 23:25:57 +00:00
eportfolio_category.rb improve error handling for ePortfolio section editing 2013-09-11 20:36:14 +00:00
eportfolio_entry.rb convert sanitize field plugin into proper gem: CanvasSanitize 2014-01-28 22:36:18 +00:00
error_report.rb use exception class for category in ErrorReport 2013-12-12 19:39:21 +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 escape translations when manually building html, fixes CNVS-10769 2014-01-27 23:25:52 +00:00
external_feed_entry.rb convert sanitize field plugin into proper gem: CanvasSanitize 2014-01-28 22:36:18 +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
feature_flag.rb feature flags infrastructure and API 2013-11-19 20:50:03 +00:00
folder.rb put scopes that query the db for capabilities into lambdas 2014-01-31 17:46:56 +00:00
google_docs_collaboration.rb move google docs domain restriction to feature flag 2013-11-27 15:37:01 +00:00
gradebook_upload.rb prepare for foreign keys refs #6895 2012-05-10 09:46:05 -06:00
grading_standard.rb fix null sorting of grading standards title 2014-01-16 18:56:49 +00:00
group.rb Remove unused collections stuff 2014-02-07 19:32:46 +00:00
group_category.rb fix group category role_category_for_context saving for rails 3 2014-01-14 13:53:30 +00:00
group_membership.rb Remove unused collections stuff 2014-02-07 19:32:46 +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 convert sanitize field plugin into proper gem: CanvasSanitize 2014-01-28 22:36:18 +00:00
learning_outcome_group.rb fix usages of scoped? to check rails 3 style x_values 2014-02-07 15:18:42 +00:00
learning_outcome_result.rb fix polymorphic overrides 2014-02-10 22:31:33 +00:00
mailer.rb rename Mailer#message 2014-01-21 20:15:28 +00:00
media_object.rb fix MediaObject.add_media_files failures 2014-02-04 17:17:01 +00:00
media_track.rb Allow uploading subtitle tracks to videos 2013-02-01 12:53:16 -07:00
message.rb rails3: second attempt at fixing erubis 2014-02-13 19:12:41 +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 set notifications and settings as unsharded for rails 3 2014-02-04 14:14:05 +00:00
notification_policy.rb create summary messages on the user's shard 2014-02-13 21:13:25 +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 fix page view insertions for cassandra on rails 3 2014-02-14 15:56:42 +00:00
plugin_setting.rb fix plugin setting after_initialize for rails 3 compatibility 2014-01-20 17:03:52 +00:00
polymorphic_type_override.rb fix polymorphic_type_override to check for nil reflections 2014-02-11 16:04:12 +00:00
profile.rb add explicit table_name for Profile class 2013-12-31 18:52:15 +00:00
progress.rb support tracking a delayed job in the Progress model 2013-07-10 14:11:48 +00:00
pseudonym.rb remove tinychat code 2013-12-18 22:51:45 +00:00
pseudonym_session.rb skip authlogic 3.2 remember_me check for rails 3 2013-12-20 16:38:19 +00:00
quiz_group.rb move quiz into quizzes namespace as a precursor to enginifying 2014-01-24 00:08:46 +00:00
quiz_participant.rb Quiz Submissions API - Create & Complete 2013-12-19 06:44:28 +00:00
quiz_question.rb move quiz into quizzes namespace as a precursor to enginifying 2014-01-24 00:08: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 move quiz into quizzes namespace as a precursor to enginifying 2014-01-24 00:08:46 +00:00
quiz_regrade_run.rb only send notifications the first time for a quiz regrade 2014-01-21 21:58:48 +00:00
quiz_sortables.rb refactor and add api to quiz group reorder 2013-11-21 18:17:48 +00:00
quiz_statistics.rb move quiz into quizzes namespace as a precursor to enginifying 2014-01-24 00:08:46 +00:00
quiz_submission.rb fix failing specs on quiz_submissions for rails3 2014-02-05 16:56:09 +00:00
quiz_submission_attempt.rb correctly calculate number of questions affected by multiple regrades 2013-11-04 15:00:51 +00:00
quiz_submission_history.rb correctly calculate number of questions affected by multiple regrades 2013-11-04 15:00:51 +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 replace Array#once_per extension with #uniq 2014-02-13 18:53:05 +00:00
role.rb record when a quiz or user gets deleted 2013-10-29 23:07:12 +00:00
role_override.rb add option for course content changes (log auditing) 2014-01-22 16:15:23 +00:00
rubric.rb replace association with association_object in models 2014-01-24 16:35:40 +00:00
rubric_assessment.rb extracted html text helper methods into gem 2014-02-07 20:11:19 +00:00
rubric_association.rb replace association with association_object in models 2014-01-24 16:35:40 +00:00
scribd_mime_type.rb set ScribdMimeType shard category for rails 3 2014-01-22 20:15:33 +00:00
session_persistence_token.rb fix session persistence tokens for out-of-shard users 2013-06-27 20:01:47 +00:00
setting.rb set notifications and settings as unsharded for rails 3 2014-02-04 14:14:05 +00:00
sis_batch.rb detect failed SIS jobs 2013-10-15 21:57:56 +00:00
stream_item.rb Remove unused collections stuff 2014-02-07 19:32:46 +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 fix rails3 call to symbolize_keys! in submission 2014-02-12 20:16:08 +00:00
submission_comment.rb extracted html text helper methods into gem 2014-02-07 20:11:19 +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 make data fixup resilient to missing submission rows 2013-11-11 23:31:36 +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 round avatars everywhere (almost) 2014-02-13 18:00:45 +00:00
user_account_association.rb clean up user account associations 2013-01-31 10:41:55 -07:00
user_note.rb convert sanitize field plugin into proper gem: CanvasSanitize 2014-01-28 22:36:18 +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 conferences that use disabled plugins are not listed 2014-01-31 22:58:29 +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 hidden/unpublished wiki page visibility 2014-01-25 01:10:57 +00:00
wiki_page.rb inline string patching from lib/ext/string.rb 2014-02-13 18:52:54 +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