fixes OFFW-111
Test plan
- Ensure the module status in the export package is still exporting
correctly
Change-Id: I5abc614277641489f8e81d30a1063e6ab7563bb0
Reviewed-on: https://gerrit.instructure.com/103133
Tested-by: Jenkins
Reviewed-by: Jon Willesen <jonw+gerrit@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Mysti Sadler <mysti@instructure.com>
fixes OFFW-85
Test plan
- Theoretically there shouldn't be any issues with caching
and testing. If something looks super weird, though...
maybe.
- Have a course with some modules, module items,
and module item completion requirements, at least a few of
which are not "must view" so you can see the difference
between real progress and the module progressor
- Have a student in the course who has not completed everything
in the modules
- Create a web zip export
- Ensure the web zip export completion field matches what
existed in Canvas BEFORE the export
Change-Id: Ib8ad7095a30ec5cade1697c6d8f6cb5b356f6074
Reviewed-on: https://gerrit.instructure.com/101837
Tested-by: Jenkins
Reviewed-by: Jon Willesen <jonw+gerrit@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Mysti Sadler <mysti@instructure.com>
Because of some changes in YAML serialization we're seeing sadness with
content migrations, this stems from the converter being passed as a
constant rather than a full object.
Refs: CNVS-34329
Test Plan:
- Job based things still work
Change-Id: I592045db8450678644ff441a4c74a359c93651cc
Reviewed-on: https://gerrit.instructure.com/99930
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Tyler Pickett <tpickett@instructure.com>
Tested-by: Jenkins
closes OFFW-49
test plan:
- Sign in as a user in a course that has Offline Web Downloads turned on
- navigate to the modules page
- Click on 'Download Course Content'
- go to the Rails Console
- type: `Attachment.all.last.id`
- take the ID it spits out
- request that file through the API
- ** if the URL attribute has epub_export/:id/ before files/:id/...
then delete that part (expub_export/:id/) so that it reads
something like localhost:3000/files/:id/download?download_frd=blahblah
- in a course without any course files, export the course content
and you should get an empty zip file (you need to do all the stuff above)
Change-Id: I91fcbf35a1c482eab476dbcf4565f3499453253a
Reviewed-on: https://gerrit.instructure.com/97849
Tested-by: Jenkins
Reviewed-by: Mysti Sadler <mysti@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Cameron Sutter <csutter@instructure.com>
closes OFFW-36
test plan:
- you should be able to start a web zip export through
the console
- this should cause module progression for all
viewable items
- ensure epub exports still export
Change-Id: I901d491325fba3955af4544d1c1a2b87270cffff
Reviewed-on: https://gerrit.instructure.com/96752
Reviewed-by: Cameron Sutter <csutter@instructure.com>
Tested-by: Jenkins
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Jon Willesen <jonw+gerrit@instructure.com>