Commit Graph

4 Commits

Author SHA1 Message Date
James Williams 2ba4531f73 migration refactor: account question banks import
test plan:
* course migration regressions (canvas cc, course copy)

* in addition:
 use the content migrations api to queue a content migration
 for an account ("/accounts/:account_id/content_migrations")
 to import a qti/cc package.
* confirm that the question banks from the package
 that would have been normally imported into a course are now
 imported into the account

closes #CNVS-12529

Change-Id: I2ef306341d2f7defe03c63a981679a3987f1aaa0
Reviewed-on: https://gerrit.instructure.com/34303
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2014-05-12 16:30:10 +00:00
Nathan Mills 8b6b9f73c0 add moodle2 course import
fixes PLAT-433
fixes PLAT-328
fixes PLAT-463

test plan:

* .mbz files should be selectable from the course import
* moodle 2 packages should import into canvas
* moodle 2 sections should import as modules with visibility, position, and title
* moodle 2 files should appear in the files section
* moodle 2 pages should import with links to files working
* moodle 2 forums should import as canvas courses
* moodle 2 assignments should import as canvas assignments
* moodle 2 books should import as canvas modules, items, and pages
* moodle 2 glossary items should import as canvas pages
* moodle 2 quizes should import
* moodle 2 section items should import as module items
* moodle 2 links should be converted to canvas links

Change-Id: Id024e7b1ba8899f4398702ea6927bbcf8bfb2957
Reviewed-on: https://gerrit.instructure.com/30158
QA-Review: Nathan Rogowski <nathan@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
2014-04-02 21:11:16 +00:00
Bracken Mosbacker 93643f6d6c content migration creation api
allows creating content migration through the api

Test Plan:
 * Create a content migration through the api along with a file upload
 * You should be able to follow along with the progress and
   the migration should be complete when the progress is done
 * Try to update the migration type, you should get an error
 * Upload a wrong file type the first time, then go through
   the file upload process again on the update endpoint.

refs CNVS-4228

Change-Id: Iab1082ca68b61d1b0493c191b48169a164444d06
Reviewed-on: https://gerrit.instructure.com/19108
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: James Williams  <jamesw@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
2013-05-17 22:34:09 +00:00
Christopher Durtschi c0dfdfee65 Add moodle 1.9 migration plugin
This plugin allows canvas to import course backups from
moodle 1.9. The backup file is first converted to a
canvas-flavored common cartridge file then imported

Test Plan:
 * Import some moodle backup files
 * The should look awesome

Change-Id: Ibc9478bbd9bbf91ac2a6c9fa1c2ce1ce6a3cdda7
Reviewed-on: https://gerrit.instructure.com/12411
Reviewed-by: Simon Williams <simon@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
2012-07-24 10:48:12 -06:00