flag=none
closes VICE-2774
Test Plan:
- Tests pass
- Go to course A
- Create an Anonymous Discussion Topic
- Go to course B
- Go to Settings
- On the right side, click on Import Course Content
- On Content Type select Copy a Canvas Course
- Search for the course A (whatever name it has)
- On Content choose: "Select specific content"
- Click on Import
- Then on the Current Jobs table click on Select Content
- Expand Discussion Topics (clicking on the arrow)
- Select the discussion topic to import
- Click on Select Content.
- Once the job is completed, verify that the
Discussion Topic was added to the course
as anonymous.
Change-Id: I0ce26478c3f3fea3a7fb3c305ef8985390ab606a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/295548
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Jeffrey Johnson <jeffrey.johnson@instructure.com>
Product-Review: Jeffrey Johnson <jeffrey.johnson@instructure.com>
flag=none
closes VICE-2774
Test Plan:
- Tests pass
- Go to course A
- Create an Anonymous Discussion Topic
- Go to course B
- Go to Settings
- On the right side, click on Import Course Content
- On Content Type select Copy a Canvas Course
- Search for the course A (whatever name it has)
- On Content choose: "Select specific content"
- Click on Import
- Then on the Current Jobs table click on Select Content
- Expand Discussion Topics (clicking on the arrow)
- Select the discussion topic to import
- Click on Select Content.
- Once the job is completed, verify that the
Discussion Topic was added to the course
as anonymous.
Change-Id: Ib9c4e2ba3e112805e5d68b7feabd94ab34bae20b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/293232
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Drake Harper <drake.harper@instructure.com>
Product-Review: Drake Harper <drake.harper@instructure.com>
QA-Review: Chawn Neal <chawn.neal@instructure.com>
Closes ADMIN-703
Test Plan:
* Create an course with and an announcement, lock
the announcement after posting.
* Go to Course Settings > Copy Course start new course Copy
* Navigate to course announcemtns in new course, notice migrated
announcement is closed for comments.
Change-Id: I25856f0a44b2c70a9cac54673bac8cab55fde50e
Reviewed-on: https://gerrit.instructure.com/140713
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
extract PackageRoot to handle common tasks on extracted packages,
such as translating between absolute and package-relative paths,
and enumerating contents
test plan:
- ensure the package attached to the ticket is handled correctly
- regression test course copies and Canvas cartridge imports
refs ADMIN-528
Change-Id: I76b67076a48c8acedcde523d46aac8e2ccef76d0
Reviewed-on: https://gerrit.instructure.com/132389
Tested-by: Jenkins
Reviewed-by: James Williams <jamesw@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
Closes FALCOR-241
Test Plan:
* As an admin
* In a course with the "Student Planner" feature
flag enabled
* With discussion topics and wiki pages that have
been marked as "Add to student to-do" and have
corresponding todo dates
* Run a course copy for the discussion topics and
wiki pages
* The newly copied topics and pages should have
the todo date set the same as the original
Change-Id: Ib1ceb3ed87351b2fac5b68c31b4d3d6066cf6688
Reviewed-on: https://gerrit.instructure.com/114827
Tested-by: Jenkins
Reviewed-by: Mysti Sadler <mysti@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Dan Sasaki <dsasaki@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
test plan:
* import the package referenced in the ticket,
selecting discussion topics
* it should not bring it announcements
closes #CNVS-30348
Change-Id: I733deb2bb22601f3f4c912cf9b81ab7b9a109bda
Reviewed-on: https://gerrit.instructure.com/84785
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Heath Hales <hhales@instructure.com>
Product-Review: James Williams <jamesw@instructure.com>
user groups and group sets aren't migrated with courses;
however, with this commit we will remember the name of the
group set we came from and import into a group set with
the same name in the destination course, if it exists
(basically this is 446930d0 but for graded discussion topics)
test plan:
- create a group set on course A's People page
- create a group discussion topic in course A and assign it
to this set
- create a new course B and create a group set with
the same name
- copy content from A to B
- the group discussion topic in B should be associated
with the group set created in the previous step
fixes CNVS-29477
Change-Id: Ibbfb0d87863d5416080b1d6aaf7b9be046b956ef
Reviewed-on: https://gerrit.instructure.com/80163
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
test plan:
- "allow liking" and the sub-settings "only graders can like"
and "sort by likes" should persist across course copy or
export/import
fixes CNVS-22723
Change-Id: Id505365e00ef276087c8c3299019887799e7e028
Reviewed-on: https://gerrit.instructure.com/75380
Tested-by: Jenkins
Reviewed-by: James Williams <jamesw@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
test plan:
* create a group discussion topic
* copy the discussion topic
* it should still have "This is a Group Discussion" marked
* it should have created/found a default group called
"Project Groups" (i.e. the default name populated in
the dialog if there are no other group sets)
fixes CNVS-21926
Change-Id: If88b0f5e461ab4a769f911e9d5e359fa3bbdd685
Reviewed-on: https://gerrit.instructure.com/58725
Tested-by: Jenkins
Reviewed-by: James Williams <jamesw@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
test plan:
- create an ungraded discussion topic with "Available at"
and "Until" dates
- copy the course
- confirm the dates are preserved
- confirm both dates move appropriately when you shift dates
fixes CNVS-19043
Change-Id: I81b694b87e745dc098e2c6b306c2c0d6656c38ca
Reviewed-on: https://gerrit.instructure.com/49898
Reviewed-by: Dan Minkevitch <dan@instructure.com>
Tested-by: Jenkins
Reviewed-by: James Williams <jamesw@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Jon Willesen <jonw@instructure.com>
test plan:
* create an unpublished discussion topic and a
published one
* copy the course (or export/import it)
* should retain their respective states
closes #CNVS-14201
Change-Id: If7702b67701b50ce4e2a027d1d4b5ab441d86003
Reviewed-on: https://gerrit.instructure.com/37900
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
test plan:
* importing the example package with cc assignment data
should bring in canvas specific assignment data (like grading type)
* cc and canvas package import regressions
closes #CNVS-13270
Change-Id: Ic053837aa7642212bc0360f5e5ecf2cd27a88d9b
Reviewed-on: https://gerrit.instructure.com/35747
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
test plan:
* create a discussion topic in a course, checking
"allow threaded replies"
* copy the course
* the new discussion topic should retain the option
fixes #CNVS-1589
Change-Id: I0a37babac340c1f6ee869e4805217553d954e165
Reviewed-on: https://gerrit.instructure.com/20152
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Adam Phillipps <adam@instructure.com>
The canvas cartridge import would fail if there was no
'non_cc_assessments' folder, or if the discussion topic
meta file was incorrectly referenced
Test Plan:
* Import the new .zip fixture
* It shouldn't fail and there should be a discussion topic
closes#8886
Change-Id: I94c965c2e1f52437a395288e389cbf4c6fa89d41
Reviewed-on: https://gerrit.instructure.com/11271
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>