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-103
test plan:
* login as admin not enrolled in the course
* do an offline export for the course
* no errors
Change-Id: I71f342d3a3a8978429bc915ec0e8ac4d5f193cbc
Reviewed-on: https://gerrit.instructure.com/102236
Reviewed-by: Mysti Sadler <mysti@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Jon Willesen <jonw+gerrit@instructure.com>
Tested-by: Jenkins
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>
Adds an algorithm for offline content that will progress through all
available 'must_view' module requirements.
closes OFFW-40
test plan:
* Setup a module with some "must view" requirements
* From the console, create a MustViewModuleProgressor and call
make_progress
* Note that all available "must view" module requirements have been
marked as completed, and "must view" items that should be unlocked
as a result of those actions are also completed, through the whole
completion chain.
* Progress should stop on any completion item that is not a "must view"
completion requirement.
* Progress should be made exactly as if the student had viewed these
items manually.
Change-Id: Id76fe7d4a84187f3450c564fbbb72f0b372c62c4
Reviewed-on: https://gerrit.instructure.com/96048
Reviewed-by: Mysti Sadler <mysti@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Tested-by: Jenkins
Product-Review: Jon Willesen <jonw+gerrit@instructure.com>