canvas-lms/app/models
Cameron Matheson 15868bee11 Faster AssignmentGroupsController#index
refs CNVS-2500, closes CNVS-6577

Test plan:
  * make sure the assignment groups index api action still works
    - be sure to include assignments
      * test with and without overrides
  * make sure gradebook2 still works (focus on anything related to
    assignment due dates)

Change-Id: I440a8fdeffdb497884356f08c19b5b7792566a3a
Reviewed-on: https://gerrit.instructure.com/22102
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Simon Williams <simon@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
2013-07-12 17:47:29 +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 include logged_out quiz submissions in quiz statistics 2013-07-08 19:48:29 +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 make SAML an optional feature 2013-07-12 16:13:42 +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 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 do discussion topic locking with a flag 2013-07-03 19:08:46 +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 Serialize radio button values and add styles 2013-06-27 18:39:20 +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 import assignment points_possible from rubric 2013-07-10 13:30:01 +00:00
assignment_group.rb assignment groups API 2013-06-03 18:02:46 +00:00
assignment_override.rb fixes for due_date_cacher changes 2013-06-10 20:17:06 +00:00
assignment_override_student.rb arel-ify models 2013-04-01 18:42:38 +00:00
attachment.rb optimize index used for Attachment.recyclable scope 2013-07-09 20:13:15 +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 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 use more efficient has_merge_candidates? where possible 2013-07-01 22:12:31 +00:00
content_export.rb content migration creation api 2013-05-17 22:34:09 +00:00
content_migration.rb make new migration UI the default 2013-07-08 17:19:06 +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 check for db limits on content tag asset name sync 2013-07-10 21:30:18 +00:00
context.rb return nil for asset string "wiki_page_" 2013-06-12 18:59: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 change APIs to return consistent locking information 2013-06-07 21:41:31 +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 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 delay creating jobs in other dbs until transaction completes 2013-06-17 20:19:08 +00:00
course.rb Faster AssignmentGroupsController#index 2013-07-12 17:47:29 +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 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 fix section :read permission for enrollments without :manage_students 2013-06-27 14:50:46 +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 change discussion entry notifications to go to subscribers 2013-06-14 22:18:04 +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 display subscription state for graded group discussions. 2013-07-11 21:04:21 +00:00
discussion_topic_participant.rb discussion topic subscription flag and api 2013-06-14 21:40:50 +00:00
document_service.rb Initial commit. 2011-01-31 18:57:29 -07:00
enrollment.rb fix cross-shard user_account_association creation 2013-06-27 19:38:23 +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 api functionality: unassigned group members, with search 2013-06-13 18:04:38 +00:00
group_category.rb adds api endpoint for randomly assigning unassigned members in a group category 2013-07-11 15:09:34 +00:00
group_membership.rb replace submissions.late column with .cached_due_date 2013-06-10 19:11:31 +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 add vendor_guid to api for outcomes and outcome groups 2013-06-22 03:21:17 +00:00
learning_outcome_group.rb add vendor_guid to api for outcomes and outcome groups 2013-06-22 03:21:17 +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 Revert "add metadata to kaltura file upload" 2013-06-24 19:01:33 +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 arel-ify scopes 2013-04-01 21:57:16 +00:00
notification.rb change discussion entry notifications to go to subscribers 2013-06-14 22:18:04 +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 clean up OpenObject a bit 2013-07-02 17:47:57 +00:00
page_comment.rb arel-ify scopes 2013-04-01 21:57:16 +00:00
page_view.rb don't silently eat failure in cassandra page views 2013-06-07 20:56:52 +00:00
plugin_setting.rb fix up scribd config setting and caching 2013-07-01 19:42:47 +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 CAS single sign out 2013-06-29 01:07:08 +00:00
pseudonym_session.rb rails3 fixes 2013-06-26 20:22:26 +00:00
quiz.rb remove extra publish button on quiz show page, add feature flag for draft state 2013-07-09 17:08:39 +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 include logged_out quiz submissions in quiz statistics 2013-07-08 19:48:29 +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 preserve account-level rubric associations on course copy 2013-06-19 19:23:48 +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 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 fix batch mode sis imports with sections crosslisted across terms 2013-06-13 20:00:18 +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 faster SubmissionsApiController#for_students 2013-07-05 21:00:36 +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 don't include appointment groups in upcoming_events 2013-07-05 22:55:14 +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 add param to search for wiki pages by title in api 2013-07-10 13:41:36 +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