canvas-lms/app/models
Brian Palmer 6c0636fb86 add support for account services that are only enable-able by some users
For instance, this allows for account services that can only be enabled
in the UI by site admins, that kind of thing.

closes CNVS-6140

test plan: specs, this doesn't add any new services yet

Change-Id: Ie330c79b75a0cf4b755d73bba57dffc64c5e6447
Reviewed-on: https://gerrit.instructure.com/21262
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Brian Palmer <brianp@instructure.com>
2013-06-06 22:27:16 +00:00
..
broadcast_policies Extract Assignment Broadcast Policy 2013-06-04 18:11:44 +00:00
discussion_topic use the birth shard so that the default shard can be changed 2013-05-07 15:44:17 +00:00
quiz_question fix non-deterministic spec failures for quiz student analyis csv 2013-05-09 19:39:58 +00:00
quiz_statistics handle 0 variance in quiz_stats item analysis 2013-06-05 22:53:45 +00:00
abstract_course.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
access_token.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
account.rb add support for account services that are only enable-able by some users 2013-06-06 22:27:16 +00:00
account_authorization_config.rb support multiple SAML private keys for decryption 2013-03-15 14:31:57 -06:00
account_notification.rb arel-ify models 2013-04-01 18:42:38 +00:00
account_report.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
account_user.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
alert.rb arel-ify models 2013-04-01 18:42:38 +00:00
alert_criterion.rb alerts, closes #4317 2011-08-24 10:19:44 -06:00
announcement.rb fix announcements for logged out users in public courses 2013-06-03 15:05:42 +00:00
appointment_group.rb fix reservable appointment groups find by context_codes 2013-04-29 16:49:26 +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 content migration creation api 2013-05-17 22:34:09 +00:00
assessment_question_bank.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
assessment_question_bank_user.rb Initial commit. 2011-01-31 18:57:29 -07:00
assessment_request.rb only send reminder notifications for peer reviews. 2013-05-07 22:23:14 +00:00
asset_user_access.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
assignment.rb Extract Assignment Broadcast Policy 2013-06-04 18:11:44 +00:00
assignment_group.rb assignment groups API 2013-06-03 18:02:46 +00:00
assignment_override.rb finish removing course.publish_grades_immediately 2013-06-04 18:11:08 +00:00
assignment_override_student.rb arel-ify models 2013-04-01 18:42:38 +00:00
attachment.rb save selective import options for new migration api 2013-05-31 22:49:50 +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 do not fetch BBB recordings if conference has not started 2013-06-04 17:38:29 +00:00
bookmark_service.rb i18n Bookmark Service 2011-06-16 07:16:10 -06:00
calendar_event.rb save selective import options for new migration api 2013-05-31 22:49:50 +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 prevent collaboration titles longer than 255 char 2013-05-14 22:34:33 +00:00
collaborator.rb add groups to collaborators table, add api endpoint. 2013-01-04 20:18:04 -07:00
collection.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
collection_item.rb arel-ify scopes 2013-04-01 21:57:16 +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 Allow users to resurrect a retired email, closes #CNVS-6045 2013-06-03 17:13:37 +00:00
content_export.rb content migration creation api 2013-05-17 22:34:09 +00:00
content_migration.rb save selective import options for new migration api 2013-05-31 22:49:50 +00:00
content_participation.rb arel-ify models 2013-04-01 18:42:38 +00:00
content_participation_count.rb fix grade badge count with comments 2013-04-25 17:58:02 +00:00
content_tag.rb remove unpublished module items from active scope 2013-05-29 19:22:39 +00:00
context.rb remove 1.8 compatibility shims 2013-05-03 01:43:52 +00:00
context_external_tool.rb save selective import options for new migration api 2013-05-31 22:49:50 +00:00
context_module.rb save selective import options for new migration api 2013-05-31 22:49:50 +00:00
context_module_item.rb don't preload all a module's progressions 2013-03-11 08:41:32 -06: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 use the birth shard so that the default shard can be changed 2013-05-07 15:44:17 +00:00
conversation_batch.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
conversation_message.rb improve robustness of incoming message processor 2013-04-29 14:47:09 +00:00
conversation_message_participant.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
conversation_participant.rb fix user filtering for cross-shard conversations or without sharding 2013-06-04 18:16:54 +00:00
course.rb finish removing course.publish_grades_immediately 2013-06-04 18:11:08 +00:00
course_account_association.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
course_import.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
course_profile.rb context profiles, refs CNVS-2650 2013-02-01 17:57:07 -07:00
course_section.rb updated the syllabus to better handle public courses 2013-04-26 17:57:37 +00:00
crocodoc_document.rb arel-ify models 2013-04-01 18:42:38 +00:00
delayed_message.rb Add API for admins to access user messages 2013-04-11 19:38:02 +00:00
delayed_notification.rb arel-ify scopes 2013-04-01 21:57:16 +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 add forced_read_state to DiscussionEntryParticipant and APIs 2013-05-10 21:45:23 +00:00
discussion_entry_participant.rb add forced_read_state to DiscussionEntryParticipant and APIs 2013-05-10 21:45:23 +00:00
discussion_topic.rb add alias for delayed posting from old delayed jobs 2013-06-06 19:33:21 +00:00
discussion_topic_participant.rb ensure unread_entry_counts never drop below 0. 2013-02-28 13:23:01 -07:00
document_service.rb Initial commit. 2011-01-31 18:57:29 -07:00
enrollment.rb fix various i18n issues 2013-05-23 18:54:55 +00:00
enrollment_dates_override.rb term start/term end, rather than whenever 2011-09-13 15:20:15 -06:00
enrollment_term.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
eportfolio.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
eportfolio_category.rb remove some egregious usages of Enumerable#select when a query will do 2013-05-31 22:11:15 +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 fix and refactor content migration issue messages 2013-04-26 21:33:24 +00:00
external_feed_entry.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06: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 arel-ify scopes 2013-04-01 21:57:16 +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 fix and refactor content migration issue messages 2013-04-26 21:33:24 +00:00
group.rb limit self-assigned group size, closes #CNVS-5407 2013-05-08 16:47:14 +00:00
group_category.rb limit self-assigned group size, closes #CNVS-5407 2013-05-08 16:47:14 +00:00
group_membership.rb limit self-assigned group size, closes #CNVS-5407 2013-05-08 16:47:14 +00:00
ignore.rb arel-ify models 2013-04-01 18:42:38 +00:00
inbox_item.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
learning_outcome.rb fix and refactor content migration issue messages 2013-04-26 21:33:24 +00:00
learning_outcome_group.rb arel-ify scopes 2013-04-01 21:57:16 +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 remove 1.8 compatibility shims 2013-05-03 01:43:52 +00:00
media_track.rb Allow uploading subtitle tracks to videos 2013-02-01 12:53:16 -07:00
message.rb twitter link sending to correct url 2013-04-26 16:02:03 +00:00
migration_issue.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
notification.rb notify teachers when quiz needs reviewing 2013-05-24 21:54:47 +00:00
notification_policy.rb arel-ify scopes 2013-04-01 21:57:16 +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 Initial commit. 2011-01-31 18:57:29 -07:00
page_comment.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
page_view.rb fix loading of cassandra page views when Shard.birth != Shard.default 2013-05-23 20:12:11 +00:00
plugin_setting.rb proactively clear cache when changing plugin settings 2012-10-29 12:11:31 -06:00
profile.rb adds unlisted to the list of valid profile visibility values 2013-05-31 03:09:23 +00:00
progress.rb create course copy and zip migration workers 2013-05-17 22:34:15 +00:00
pseudonym.rb validate the length of pseudonyms.sis_user_id 2013-05-16 22:24:57 +00:00
pseudonym_session.rb require a password login for certain sensitive actions closes #6401 2012-08-02 10:22:48 -06:00
quiz.rb finish removing course.publish_grades_immediately 2013-06-04 18:11:08 +00:00
quiz_group.rb show re-publish button when editing a quiz question group 2013-03-15 09:19:12 -06:00
quiz_question.rb arel-ify models 2013-04-01 18:42:38 +00:00
quiz_statistics.rb only strand quiz_stats jobs per quiz 2013-06-05 17:22:07 +00:00
quiz_submission.rb notify teachers when quiz needs reviewing 2013-05-24 21:54:47 +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 add users from courses/:id/users page 2013-04-18 19:43:54 +00:00
role_override.rb include attribute to exclude permissions based on plugins 2013-04-22 16:36:24 +00:00
rubric.rb fix and refactor content migration issue messages 2013-04-26 21:33:24 +00:00
rubric_assessment.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
rubric_association.rb only send reminder notifications for peer reviews. 2013-05-07 22:23:14 +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 switch to ruby stdlib SecureRandom 2013-03-28 20:49:31 +00:00
setting.rb remove deprecated rails constant usage 2013-03-11 12:14:08 -06:00
sis_batch.rb use the birth shard so that the default shard can be changed 2013-05-07 15:44:17 +00:00
stream_item.rb optimize stream item deletion 2013-06-04 14:52:19 +00:00
stream_item_instance.rb arel-ify lib 2013-04-01 19:12:22 +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 finish removing course.publish_grades_immediately 2013-06-04 18:11:08 +00:00
submission_comment.rb improve robustness of incoming message processor 2013-04-29 14:47:09 +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 remove SubmissionVersion#reindex 2013-05-23 15:55:31 +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 remove misleading User#sis_user_id method 2013-05-29 15:10:01 +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 arel-ify scopes 2013-04-01 21:57:16 +00:00
user_observer.rb user co-enrollment backend work, closes #8588 2012-05-23 12:21:00 -06:00
user_profile.rb include root_account in section_tabs cache key 2012-08-17 14:15:10 -06:00
user_profile_link.rb add data validation to user profile links 2012-09-24 15:38:26 -06:00
user_service.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
web_conference.rb redesign conferences index page and edit form 2013-06-01 00:18:37 +00:00
web_conference_participant.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
wiki.rb allow any wiki page to be set as front page 2013-05-30 02:51:35 +00:00
wiki_page.rb should not default imported wiki pages to unpublished state 2013-06-05 22:34:32 +00:00
wiki_page_comment.rb arel-ify scopes 2013-04-01 21:57:16 +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