canvas-lms/app/models
Cameron Matheson df6d8b969b show groupless submissions in speedgrader
fixes CNVS-15753

Test plan:
  * make a group assignment with a group category that has no groups
  * submit some homework
  * the submissions should display (and be gradeable) in speedgrader
  * add some groups (with people in them)
  * submit more homework for the people with groups
  * the submissions for people in groups and people not in groups
    should all display
  * downloading submissions should work as well

Change-Id: I7e6081cec61936c4f833394e995963698f4b57b7
Reviewed-on: https://gerrit.instructure.com/41596
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Matt Berns <mberns@instructure.com>
Reviewed-by: Mike Nomitch <mnomitch@instructure.com>
QA-Review: Sean Lewis <slewis@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2014-10-02 22:19:40 +00:00
..
alerts gemify broadcast policy 2014-09-24 11:35:33 +00:00
assignments needs_grading by section for mobile 2014-09-08 13:21:31 +00:00
attachments fix attachment copies >= 5GB 2014-08-14 03:33:02 +00:00
auditors log auditor events to the rails log 2014-07-23 14:26:25 +00:00
broadcast_policies prevent notifications when a course is soft concluded 2014-06-11 19:36:34 +00:00
context_module_progressions rework module progressions evaluation 2014-05-01 16:42:07 +00:00
courses extract student to teacher mapping 2014-05-02 21:47:31 +00:00
data_exports_api validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
discussion_topic no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
enrollment don't record recent activity for unauthorized actions 2014-09-23 14:34:00 +00:00
exporters no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
group_categories Automatically Assign group leaders 2014-05-23 17:23:53 +00:00
importers fix assessment content id prepending 2014-10-01 13:20:11 +00:00
incoming_mail no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
live_assessments no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
lti external tool logout service 2014-10-02 20:46:25 +00:00
messages Use source user as "FROM" for emails 2014-05-31 01:02:14 +00:00
polling remove rails 2 support 2014-08-06 18:16:19 +00:00
quizzes Extract events from quiz submission snapshots 2014-10-01 21:23:47 +00:00
abstract_course.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
access_token.rb clarify Slug vs. UUID and fix event stream 2014-07-11 16:58:42 +00:00
account.rb add limited view functionality to accounts api for teachers 2014-10-01 19:28:15 +00:00
account_authorization_config.rb add redirect config to account authorization 2014-08-14 15:12:41 +00:00
account_notification.rb don't use preload_associations 2014-09-30 18:04:00 +00:00
account_notification_role.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
account_report.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
account_user.rb restrict admins from creating or deleting more powerful admins 2014-06-30 20:58:26 +00:00
alert.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
alert_criterion.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
announcement.rb Copy of Announcement to Sender, notify announcement replies 2014-09-11 02:04:34 +00:00
appointment_group.rb use Rails' base_class 2014-09-30 21:14:22 +00:00
appointment_group_context.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
appointment_group_sub_context.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
assessment_question.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
assessment_question_bank.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
assessment_question_bank_user.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
assessment_request.rb give more access to peer reviews 2014-08-08 16:18:45 +00:00
asset_user_access.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
assignment.rb show groupless submissions in speedgrader 2014-10-02 22:19:40 +00:00
assignment_group.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
assignment_override.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
assignment_override_student.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
assignment_student_visibility.rb DA - observer refactor 2014-09-24 19:56:23 +00:00
attachment.rb prevent attachment duplicate renaming race conditions 2014-09-25 13:44:29 +00:00
attachment_association.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
auditors.rb rework error handling in event stream 2014-08-28 21:19:24 +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 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
bounce_notification_processor.rb bounced email handling 2014-09-04 16:48:13 +00:00
calendar_event.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
canvadoc.rb canvadocs: configurable mime types 2014-05-13 18:48:07 +00:00
cloned_item.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
collaboration.rb clarify Slug vs. UUID and fix event stream 2014-07-11 16:58:42 +00:00
collaborator.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
communication_channel.rb communication channel confirmation_url param for users api 2014-09-19 15:52:10 +00:00
content_export.rb use root account uuid to scope external ids in migrations 2014-09-09 19:16:41 +00:00
content_migration.rb fix assessment content id prepending 2014-10-01 13:20:11 +00:00
content_participation.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
content_participation_count.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
content_tag.rb DA - quizzes 2014-10-01 20:58:54 +00:00
context.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
context_external_tool.rb create an api to return lti launch definitions 2014-09-26 19:05:48 +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 DA - quizzes 2014-10-01 20:58:54 +00:00
context_module_item.rb avoid dynamic finders on an assocition with an include 2014-02-21 12:52:39 +00:00
context_module_progression.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
context_module_sub_header.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
conversation.rb don't use preload_associations 2014-09-30 18:04:00 +00:00
conversation_batch.rb CC author on conversation create 2014-09-26 22:23:00 +00:00
conversation_message.rb CC author on conversation create 2014-09-26 22:23:00 +00:00
conversation_message_participant.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
conversation_participant.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
course.rb add course format setting 2014-10-01 15:06:59 +00:00
course_account_association.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
course_import.rb remove some of the less useful associations from export 2014-05-27 15:44:00 +00:00
course_profile.rb improve acts_as_list 2013-12-17 19:55:43 +00:00
course_progress.rb make course progress API more resilient 2014-09-23 17:39:22 +00:00
course_section.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
crocodoc_document.rb remove scribd 2014-09-11 18:42:15 +00:00
custom_data.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
custom_gradebook_column.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
custom_gradebook_column_datum.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
delayed_message.rb use Rails' base_class 2014-09-30 21:14:22 +00:00
delayed_notification.rb avoid extraneous queries to Notification 2014-09-09 21:54:16 +00:00
designer_enrollment.rb straighten out course designer permissions 2012-01-13 18:56:50 -07:00
developer_key.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
discussion_entry.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
discussion_entry_participant.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
discussion_topic.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
discussion_topic_participant.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
document_service.rb Initial commit. 2011-01-31 18:57:29 -07:00
enrollment.rb add limited view functionality to accounts api for teachers 2014-10-01 19:28:15 +00:00
enrollment_dates_override.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
enrollment_term.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
eportfolio.rb ensure there is a default eportfolio page 2014-08-14 23:15:09 +00:00
eportfolio_category.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
eportfolio_entry.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
error_report.rb s/ActionController/ActionDispatch/ 2014-09-24 19:29:09 +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 no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
external_feed_entry.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
external_url.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
favorite.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
feature_flag.rb feature flags infrastructure and API 2013-11-19 20:50:03 +00:00
folder.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
google_docs_collaboration.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
gradebook_upload.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
grading_standard.rb corrected rounding error when creating custom grade scheme 2014-08-28 17:40:41 +00:00
group.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
group_category.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
group_leadership.rb Automatically Assign group leaders 2014-05-23 17:23:53 +00:00
group_membership.rb clarify Slug vs. UUID and fix event stream 2014-07-11 16:58:42 +00:00
ignore.rb give more access to peer reviews 2014-08-08 16:18:45 +00:00
importers.rb fix autoloading of the Importers module 2014-07-25 19:14:12 +00:00
inbox_item.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
kaltura_media_file_handler.rb Send global root_account_id to Kaltura in partner_data 2014-08-19 21:32:40 +00:00
learning_outcome.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
learning_outcome_group.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
learning_outcome_result.rb live assessments api 2014-06-10 14:53:40 +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 properly quoted display name in outgoing email 2014-08-14 19:23:49 +00:00
media_object.rb no more dynamic finders (models) 2014-09-24 20:51:48 +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 define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
message.rb use Rails' base_class 2014-09-30 21:14:22 +00:00
migration_issue.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
notification.rb Fixes for post-merged feedback on 'Announcement Created By You' notification 2014-10-01 22:02:14 +00:00
notification_finder.rb gemify broadcast policy 2014-09-24 11:35:33 +00:00
notification_policy.rb gemify broadcast policy 2014-09-24 11:35:33 +00:00
notification_preloader.rb avoid extraneous queries to Notification 2014-09-09 21:54:16 +00:00
notifier.rb gemify broadcast policy 2014-09-24 11:35:33 +00:00
oauth_request.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
observer_enrollment.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
open_object.rb simplify OpenStruct/OpenObject json serialization 2013-08-29 16:44:13 +00:00
page_comment.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
page_view.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
plugin_setting.rb no more dynamic finders (controllers) 2014-09-17 02:42:30 +00:00
polling.rb improve AR::all_models for non-eager-loading 2014-07-14 15:56:49 +00:00
polymorphic_type_override.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
profile.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
progress.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
pseudonym.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
pseudonym_session.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
report_snapshot.rb clarify Slug vs. UUID and fix event stream 2014-07-11 16:58:42 +00:00
role.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
role_override.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
rubric.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
rubric_assessment.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
rubric_association.rb no more dynamic finders (models) 2014-09-24 20:51:48 +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 no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
sharded_bookmarked_collection.rb extract bookmarked_collection gem 2014-04-17 18:16:13 +00:00
sis_batch.rb add some missing fields to sis batch api 2014-09-04 20:19:02 +00:00
stream_item.rb don't use preload_associations 2014-09-30 18:04:00 +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 remove AR serialization overrides 2014-09-30 17:58:12 +00:00
submission_comment.rb don't use preload_associations 2014-09-30 18:04:00 +00:00
submission_comment_participant.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
submission_version.rb validate types on polymorphic associations 2014-05-28 17:05:34 +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 Fixes Profile avatar on thumbnail no longer showing correct image 2014-08-22 22:17:51 +00:00
user.rb DA - quiz messaging 2014-10-01 21:01:28 +00:00
user_account_association.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
user_note.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
user_observer.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
user_profile.rb add observees page to user profile 2014-07-09 16:30:20 +00:00
user_profile_link.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
user_service.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
web_conference.rb use Rails' base_class 2014-09-30 21:14:22 +00:00
web_conference_participant.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
wiki.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
wiki_page.rb use Rails' base_class 2014-09-30 21:14:22 +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 validate types on polymorphic associations 2014-05-28 17:05:34 +00:00