test plan:
* see the new api endpoints in the calendar events controller
* can use the 'set_course_timetable' endpoint to send a schedule
for a course (optionally per section) with a list of
weekdays (e.g. "Mon,Wed,Fri") and times
* it will automatically generate calendar events from the start date
of the course (or section) to the end date that correspond to the dates
* if the schedule is changed, the old events will be deleted and
new ones generated
* can also use the 'set_course_timetable_events' endpoint to
generate events from a complete list
closes #CNVS-30523
Change-Id: Idf2b4047af14a6e71838bbe9672583f5bddc3e9f
Reviewed-on: https://gerrit.instructure.com/86051
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Heath Hales <hhales@instructure.com>
Product-Review: Hilary Scharton <hilary@instructure.com>
test plan:
* courses and groups in the menu should appear by default
when enrolled or added
closes CNVS-28908
Change-Id: I48885a6748be20e0a010e23a13ad9ad611e04395
Reviewed-on: https://gerrit.instructure.com/80064
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Heath Hales <hhales@instructure.com>
Product-Review: Matt Goodwin <mattg@instructure.com>
Tested-by: Jenkins
test plan:
* make sure canvas is configured with a
conditional release service with g/85046 merged or checked out
* create assignments in a course with conditional content
* after copying the course, or exporting/importing the course,
the new assignments should have conditional content
closes #CNVS-30371 #CYOE-235
Change-Id: I42693f2d12185f5c7f665d303baf938ad4af08ad
Reviewed-on: https://gerrit.instructure.com/85108
Tested-by: Jenkins
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
Reviewed-by: Dan Minkevitch <dan@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Reviewed-by: Christian Prescott <cprescott@instructure.com>
QA-Review: Alex Morris <amorris@instructure.com>
Product-Review: James Williams <jamesw@instructure.com>
fixes CNVS-30098
The course/:course_id/quizzes/:quiz_id/submissions api returns
different things in different cases and the mobile teams want a way to
be able to easily get the submission for the current user so they don't
have to do client-side filtering on all of the apps. Let's add that as
course/:course_id/quizzes/:quiz_id/submission that'll only ever give
any one submission for you.
Also update the docs for the existing API so it is more clear what it
does.
test plan:
- request the new API as a student without a quiz submission and verify
you are returned an empty set of quiz submissions
- request the new API as a student with a quiz submission that is not
yet submitted and verify that you are returned a single quiz
submission with workflow_state = untaken
- reuqest the new API as a student with a quiz submission that is
submitted and verify that you are returned a single quiz submission
with workfow_state = complete
- request the new API as a student with a quiz submission that has many
submitted attempts and verify that you are returned a single quiz
submission with workflow_state = complete and attempt number is the
latest attempt
- request the new API as a teacher or admin and verify that you are
returned an empty set of quiz submissions
- request the new API as a teacher or admin who is also a student with a
quiz submission and verify that you are returned only your one quiz
submission
Change-Id: Ib364e9c4be0f196c10892dafe5bad75c86acbdbc
Reviewed-on: https://gerrit.instructure.com/83846
Reviewed-by: Davis Lynn McClellan <dmcclellan@instructure.com>
Tested-by: Jenkins
QA-Review: Robin Kuss <rkuss@instructure.com>
Product-Review: Brandon Pluim <bpluim@instructure.com>