canvas-lms/app/controllers
James Williams 6215ae20f2 show restricted future enrollments in course list
test plan:
* create a course with a future term/start date
* check the box "Restrict students from viewing before start date"
 in the course settings
* invite a student

* the course should be shown in the list of future enrollments
 (but not with a link, since the course is not accessible)

closes #CNVS-26313

Change-Id: Ica49536a09c65f3df9d4e0f62e885e8455bced40
Reviewed-on: https://gerrit.instructure.com/70045
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Cosme Salazar <cosme@instructure.com>
2016-01-12 16:21:41 +00:00
..
bookmarks bookmark api: handle string position, fixes CNVS-20628 2015-05-26 22:37:18 +00:00
data_exports_api data export api 2014-03-07 22:31:43 +00:00
filters rails4: change allow_app_profiling #filter to #before 2015-07-15 20:30:52 +00:00
live_assessments no more dynamic finders (controllers) 2014-09-17 02:42:30 +00:00
login JIT provisioning 2015-12-09 17:00:45 +00:00
lti refactor lti2 resource_link_id 2015-12-18 00:07:52 +00:00
polling update API doc required params - 9 2014-08-26 16:14:19 +00:00
quizzes rails 4.2: s/destroy!/destroy_permanently! 2016-01-07 14:00:13 +00:00
account_authorization_configs_controller.rb add Google Apps domain option for Google Auth 2015-12-09 21:11:49 +00:00
account_notifications_controller.rb fix account notification course roles 2014-12-17 20:10:03 +00:00
account_reports_controller.rb Removed unnecessary parameter from report status doc 2015-03-24 15:00:48 +00:00
accounts_controller.rb allow processing external integration keys with a specified account 2016-01-07 05:34:05 +00:00
admins_controller.rb be more lenient in interpreting send_confirmation boolean 2015-06-18 17:05:51 +00:00
alerts_controller.rb new roles 2014-10-31 19:44:14 +00:00
announcements_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
app_center_controller.rb Start Setting app_center_id via API POST and find installed apps via the app_center_id property 2015-06-16 14:48:40 +00:00
application_controller.rb refactor CSRF handling for clarity and rails3+ 2016-01-11 23:31:47 +00:00
appointment_groups_controller.rb use rails 4.2 preloader format 2015-12-30 14:58:10 +00:00
assessment_questions_controller.rb remove move_question 2014-03-07 17:47:12 +00:00
assignment_groups_api_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
assignment_groups_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
assignment_overrides_controller.rb update API doc required params - 2 2014-08-18 16:40:31 +00:00
assignments_api_controller.rb use rails 4.2 preloader format 2015-12-30 14:58:10 +00:00
assignments_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
auditor_api_controller.rb enable Audit log search 2014-08-16 01:53:39 +00:00
authentication_audit_api_controller.rb rails4: deprecate Relation#all in favor of Relation#to_a 2015-07-24 21:28:14 +00:00
brand_configs_controller.rb get sub account branding and custom css/includes working 2015-12-19 02:47:39 +00:00
calendar_events_api_controller.rb only most recent submission 2016-01-11 18:00:37 +00:00
calendar_events_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
calendars_controller.rb course nicknames 2015-10-21 23:03:51 +00:00
canvadoc_sessions_controller.rb canvadocs annotations 2015-09-04 16:42:17 +00:00
collaborations_controller.rb redirect to google drive auth for collaboration show 2015-10-28 18:29:20 +00:00
comm_messages_api_controller.rb delete facebook integration 2015-03-30 20:21:58 +00:00
communication_channels_controller.rb Add API to bulk fetch and reset communication channels 2016-01-11 21:19:42 +00:00
conferences_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
content_exports_api_controller.rb Update parameters in the following API docs - 3 2014-08-26 16:42:33 +00:00
content_exports_controller.rb adds UI & backend for offline content 2015-09-30 16:22:18 +00:00
content_imports_controller.rb fix Style/EmptyLineBetweenDefs issue 2015-04-29 16:28:39 +00:00
content_migrations_controller.rb Make LTI configurations accept canvas icon class 2015-09-21 17:59:40 +00:00
context_controller.rb allow inactive enrollment type 2015-12-01 18:00:55 +00:00
context_module_items_api_controller.rb use rails 4.2 preloader format 2015-12-30 14:58:10 +00:00
context_modules_api_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
context_modules_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
conversations_controller.rb use rails 4.2 preloader format 2015-12-30 14:58:10 +00:00
course_audit_api_controller.rb Update parameters in the following API docs 2014-08-18 16:43:37 +00:00
course_nicknames_controller.rb make "Get course nickname" behave nicer if no nickname exists 2015-12-08 18:19:55 +00:00
courses_controller.rb show restricted future enrollments in course list 2016-01-12 16:21:41 +00:00
crocodoc_sessions_controller.rb Stubbing out Crocodoc filter for moderated_grading 2015-09-04 02:15:00 +00:00
custom_data_controller.rb update documentation for custom data APIs 2015-11-19 17:05:56 +00:00
custom_gradebook_column_data_api_controller.rb implement notes column for react-gb 2015-10-28 14:39:22 +00:00
custom_gradebook_columns_api_controller.rb Update parameters in the following API docs 2014-08-18 16:43:37 +00:00
developer_keys_controller.rb Dev keys created from site admin shouldnt have an account id 2015-10-05 16:06:36 +00:00
discussion_entries_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
discussion_topics_api_controller.rb check with student quota for discussion entry attachments 2015-12-21 19:59:16 +00:00
discussion_topics_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
enrollments_api_controller.rb fix some uses of require_user 2015-12-30 22:39:12 +00:00
eportfolio_categories_controller.rb add feature flag and dynamic config for RCE service 2015-12-02 20:32:42 +00:00
eportfolio_entries_controller.rb add feature flag and dynamic config for RCE service 2015-12-02 20:32:42 +00:00
eportfolios_controller.rb rails 4.2: s/destroy!/destroy_permanently! 2016-01-07 14:00:13 +00:00
epub_exports_controller.rb exportable considers sort setting; EpubExport hooked up to Exportable 2015-10-13 16:52:38 +00:00
equation_images_controller.rb make the codecogs equation base url a setting 2014-02-18 00:14:59 +00:00
errors_controller.rb record real user when error report is submitted in student view 2015-09-24 14:40:57 +00:00
external_content_controller.rb don't depend on placement advice for content-item 2015-10-22 19:39:57 +00:00
external_feeds_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
external_tools_controller.rb Use json-jwt instead of ruby-jwt 2015-10-31 13:05:59 +00:00
favorites_controller.rb add observed_users to courses and favorite api calls 2015-12-08 15:39:16 +00:00
feature_flags_controller.rb expand details by default for High Contrast feature option 2015-11-17 15:42:20 +00:00
file_previews_controller.rb s/jammit_css/css_bundle 2015-07-07 21:26:35 +00:00
files_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
folders_controller.rb rails 4.2: s/destroy!/destroy_permanently! 2016-01-07 14:00:13 +00:00
grade_change_audit_api_controller.rb record anonymous grading in grade change audit log 2015-10-06 16:20:22 +00:00
gradebook_csvs_controller.rb export selected grading period instead of current 2015-11-06 20:17:08 +00:00
gradebook_history_api_controller.rb use rails 4.2 preloader format 2015-12-30 14:58:10 +00:00
gradebook_uploads_controller.rb gradebook uploads display error when no file is given 2015-07-27 17:50:50 +00:00
gradebooks_controller.rb remove moderated_grading feature flag 2015-12-23 03:29:21 +00:00
grading_periods_controller.rb Validate overlapping periods in memory 2015-11-13 18:47:57 +00:00
grading_standards_api_controller.rb Add ability to get grading standards via api 2015-07-30 22:14:44 +00:00
grading_standards_controller.rb fix grading standard creation 2015-12-18 23:01:06 +00:00
group_categories_controller.rb Allows teacher to clone a group set. 2015-08-07 16:31:52 +00:00
group_memberships_controller.rb add sis user id support to group memberships API 2015-09-29 05:32:53 +00:00
groups_controller.rb fix some uses of require_user 2015-12-30 22:39:12 +00:00
info_controller.rb get sub account branding and custom css/includes working 2015-12-19 02:47:39 +00:00
jobs_controller.rb Expose delayed jobs as an API route 2015-10-22 14:40:32 -07:00
jwts_controller.rb Teach Canvas to consume JWT 2015-11-11 23:59:37 +00:00
legal_information_controller.rb [SOC-2] use terms_of_use_url and privacy_policy_url helpers 2015-01-23 22:30:27 +00:00
login_controller.rb apply ms office deep link fix to several more vectors 2015-11-09 21:36:54 +00:00
lti_api_controller.rb rails4.2: Fixnum#ago is deprecated 2015-12-29 21:14:11 +00:00
media_objects_controller.rb don't show media preview thumbnails to students for locked files 2015-03-26 16:33:53 +00:00
media_tracks_controller.rb freeze constants in controllers 2015-04-27 20:04:40 +00:00
messages_controller.rb don't autorequire a bunch of gems that are rarely used 2015-04-09 18:47:50 +00:00
migration_issues_controller.rb Update parameters in the following API docs 2014-08-18 16:43:37 +00:00
moderation_set_controller.rb move provisional grade endpoints to provisional_grades_controller 2015-09-28 21:05:39 +00:00
notification_preferences_controller.rb Enhancement for Notification Prefs 2015-08-05 19:21:35 +00:00
oauth2_provider_controller.rb Expired refresh tokens will now be refreshable 2015-11-14 04:18:00 +00:00
oauth_proxy_controller.rb Use json-jwt instead of ruby-jwt 2015-10-31 13:05:59 +00:00
outcome_groups_api_controller.rb use rails 4.2 preloader format 2015-12-30 14:58:10 +00:00
outcome_groups_controller.rb Outcomes API - switch default calculation_method to be 'highest' 2015-01-07 18:13:38 +00:00
outcome_results_controller.rb use rails 4.2 preloader format 2015-12-30 14:58:10 +00:00
outcomes_api_controller.rb Learning Outcome: Don't allow changes after assessing 2015-06-09 19:54:52 +00:00
outcomes_controller.rb use manage_rubrics permission for rubrics pages 2015-08-10 15:07:16 +00:00
outcomes_import_api_controller.rb Outcomes Import API: Expose ISTE standards 2015-10-07 05:13:49 +00:00
page_comments_controller.rb don't try to render url for eportfolio category with blank slug 2015-12-08 19:50:19 +00:00
page_views_controller.rb Fix error for CSV page views when null 2016-01-05 22:20:33 +00:00
peer_reviews_api_controller.rb peer reviews api 2015-07-08 21:18:59 +00:00
plugins_controller.rb fix saving plugins with no settings 2016-01-11 17:09:46 +00:00
profile_controller.rb fix some uses of require_user 2015-12-30 22:39:12 +00:00
progress_controller.rb converting @object notation to @model part 9/11 2014-02-12 16:21:37 +00:00
provisional_grades_controller.rb remove moderated_grading feature flag 2015-12-23 03:29:21 +00:00
pseudonym_sessions_controller.rb refactor PseudonymSessionsController 2015-05-15 14:44:38 +00:00
pseudonyms_controller.rb allow setting auth providers on sis import 2015-08-07 20:23:45 +00:00
question_banks_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
role_overrides_controller.rb use rails 4.2 preloader format 2015-12-30 14:58:10 +00:00
rubric_assessments_controller.rb allow submissions graded through rubrics to be graded anonymously 2015-10-20 18:12:16 +00:00
rubric_associations_controller.rb no more dynamic finders (controllers) 2014-09-17 02:42:30 +00:00
rubrics_controller.rb allow rubric_assessments to belong to provisional grades 2015-08-14 15:40:39 +00:00
search_controller.rb rails4: remove Relation#with_each_shard 2015-07-17 12:31:15 +00:00
sections_controller.rb rails4.2: replace Relation#scoped 2015-12-30 18:42:04 +00:00
self_enrollments_controller.rb add authentication_provider support to self enrollment controller 2015-07-22 19:12:44 +00:00
services_api_controller.rb canvas kaltura gem 2014-04-16 19:39:45 +00:00
sis_api_controller.rb add code to sis assignments api errors 2015-09-25 22:35:17 +00:00
sis_imports_api_controller.rb fix pagination headers for sis API 2015-07-17 23:13:38 +00:00
sub_accounts_controller.rb use rails 4.2 preloader format 2015-12-30 14:58:10 +00:00
submission_comments_api_controller.rb set Attachment#user_id when uploading files via the API 2014-04-24 20:58:47 +00:00
submission_comments_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
submissions_api_controller.rb use rails 4.2 preloader format 2015-12-30 14:58:10 +00:00
submissions_controller.rb remove moderated_grading feature flag 2015-12-23 03:29:21 +00:00
tabs_controller.rb Fixes issue with updating tab via api 2015-07-31 01:30:46 +00:00
terms_api_controller.rb api: allow admins to create/edit/delete enrollment terms 2015-01-02 17:28:24 +00:00
terms_controller.rb remove N+1 queries on term index page 2015-07-31 20:21:20 +00:00
tokens_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
tours_controller.rb added tour guide libs 2013-05-22 19:30:13 +00:00
usage_rights_controller.rb copy-folder and copy-file endpoints 2015-02-09 22:13:55 +00:00
user_lists_controller.rb Capture a users initial_enrollment_type when invited to a course. Fixes #10893 2012-10-04 14:26:15 -06:00
user_notes_controller.rb disambiguate last_user_note usage 2014-11-26 20:13:04 +00:00
user_observees_controller.rb Add user avatars to observee's list return object 2015-10-22 16:52:43 +00:00
users_controller.rb use rails 4.2 preloader format 2015-12-30 14:58:10 +00:00
wiki_pages_api_controller.rb Decouple Wiki Page permissions logic from api index 2015-07-24 22:03:00 +00:00
wiki_pages_controller.rb make sure you can view all wiki pages from wiki front_page 2015-10-31 20:14:50 +00:00
zip_file_imports_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00