canvas-lms/config
Jonathan Guardado 1369d215e9 Sync term, start and end dates with homeroom
The course participation section is now synced with the homeroom
participation if the option “Sync enrollments and course start/end
dates from homeroom” is checked. If the homeroom participation option
is set to course, the course start_at and conclude_at dates will be
synced with the ones in the homeroom, and if the participation is
set to term, the same enrollment_term will be set to the course too.

Closes LS-2580
flag=none

Test plan:

- Set a k5 course as a homeroom
- Set the homeroom participation to term
- Create a course with the option “Sync enrollments and course
start/end dates from homeroom” checked
- Expect to the new course has the participation option set to term
and the term be the same as the homeroom
- Go to the homeroom settings and change the participation option to
the course and select the start and end dates
- Go to the settings page of the course you created and click update
- Expect the participation option to be set to course and the dates
match with the ones in the homeroom

Change-Id: Idea7b476ad818f9777fc8ff2ca89c7b024b6b6ce
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/273478
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Ed Schiebel <eschiebel@instructure.com>
Product-Review: Peyton Craighill <pcraighill@instructure.com>
2021-09-28 16:48:19 +00:00
..
environments RuboCop: Layout config 2021-09-22 15:57:46 +00:00
feature_flags Create feature flag for draft entries 2021-09-28 03:57:10 +00:00
initializers Sync term, start and end dates with homeroom 2021-09-28 16:48:19 +00:00
locales update zh-Hant translation 2021-09-25 06:00:42 +00:00
overrides MessageBus integration vector 2021-04-15 22:14:38 +00:00
saml
amazon_s3.yml.example
application.rb RuboCop: Layout config 2021-09-22 15:57:46 +00:00
boot.rb add frozen_string_literal_comment to config files 2021-03-30 18:59:58 +00:00
bounce_notifications.yml.example
brakeman.ignore remove uses of whitelist and blacklist 2020-09-18 15:58:40 +00:00
brandable_css.yml Harvard RCE tweaks 2021-08-05 14:02:03 +00:00
browsers.yml Add clarification text to browsers file 2020-09-03 20:37:32 +00:00
cache_store.yml.example add the ability to run parallel rspec processes in container 2021-01-14 21:12:45 +00:00
canvas_cdn.yml.example Remove enabled: setting from canvs_cdn.yml.example 2019-07-22 20:22:10 +00:00
canvas_rails_switcher.rb RuboCop: Layout config 2021-09-22 15:57:46 +00:00
cassandra.yml.example
consul.yml.example
copyright-template.js
credentials.test.yml Introduce release notes data model 2021-04-05 16:09:59 +00:00
cutycapt.yml.example
database.yml.example Add password to database.yml.example for Postgres changes 2020-05-05 22:02:48 +00:00
database.yml.travis
delayed_jobs.yml.example
docker-compose.override.yml.example Revert "asset install in Dockerfile" 2021-06-29 13:36:09 +00:00
domain.yml.example Use same_site none for session store for relative file links 2020-02-27 21:01:01 +00:00
dynamic_settings.yml.example Add some new conferencing providers 2021-09-15 19:04:16 +00:00
dynamodb.yml.example dynamo is optional for dev 2020-08-31 19:05:02 +00:00
environment.rb add frozen_string_literal_comment to config files 2021-03-30 18:59:58 +00:00
external_migration.yml.example
file_store.yml.example
incoming_mail.yml.example
inst_access_signature.yml.example enable api-gateway config for notification preferences 2021-08-17 18:30:13 +00:00
linked_in.yml.example
local_cache.yml.example allow local cache to use local redis 2020-08-27 19:08:56 +00:00
logging.yml.example
marginalia.yml.example
memcache.yml.example
notification_failures.yml.example
notification_service.yml.example
offline_web.yml.sample
outgoing_mail.yml.example
periodic_jobs.yml.example
puma.rb RuboCop: Layout config 2021-09-22 15:57:46 +00:00
raven.yml.example
redis.yml.example add the ability to run parallel rspec processes in container 2021-01-14 21:12:45 +00:00
routes.rb Create pace plan if primary does not exist 2021-09-27 20:23:12 +00:00
saml.yml.example
security.yml.example
selenium.yml.example Support running against headless chrome, fix flakey spec 2021-01-12 16:27:14 +00:00
session_store.yml.example Use same_site none for session store for relative file links 2020-02-27 21:01:01 +00:00
spring.rb add flakey_spec_catcher as a proper spring command 2021-03-02 18:41:36 +00:00
statsd.yml.example
styleguide.yml
testrail.yml.example
twilio.yml.example
twitter.yml.example
vault.yml.example file-based local solution for vault 2020-09-02 15:46:27 +00:00
vault_contents.yml.example Introduce release notes data model 2021-04-05 16:09:59 +00:00