-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Status model to have an 'update' method #432
Labels
enhancement
New feature or request
Comments
andreibosco
added a commit
that referenced
this issue
Jun 8, 2022
[Scorm] - New application to handle all SCORM related functionalities. - SCORM features are provided by the ScormCloud service, from Rustici Software. - Currently it has two models: ScormPackage (which inherits from SectionItem) and ScormRegistration (which connects the user, the Scorm Package the Scorm Package Package object, and the ScormCloud registration id). - Flow: SCORM zip packages are submitted to GEN as ScormPackage objects. After saving, the 'Export to ScormCloud' button will be enabled. Finally, the item can be set as published. - When an user access a Scorm Section, GEN will automatically create the ScormCloud registration for the user and the SCORM objects (if they don't exist already). - After finishing/closing a SCORM activity, the user will be redirected back to originating Section, and GEN will get the registration details (e.g., completion status) from ScormCloud. [Course] - Model: Section: added Scorm as a section type. - Model: Section: updated SECTION_TYPES to use constants. - Model: Status: created new method 'update', to set the completion value based on the section items status (WIP #432). Currently only works with Scorm Sections. - Admin: created 'update_status' action for Status Admin. - Views: updated to use new SECTION_TYPE constants. [GEN] - Settings: added parameters related to ScormCloud API. - Settings: exposed GEN_INSTANCE_NAME as a parameter.
andreibosco
added a commit
that referenced
this issue
Aug 26, 2022
[Scorm] - New application to handle all SCORM related functionalities. - SCORM features are provided by the ScormCloud service, from Rustici Software. - Currently it has two models: ScormPackage (which inherits from SectionItem) and ScormRegistration (which connects the user, the Scorm Package the Scorm Package Package object, and the ScormCloud registration id). - Flow: SCORM zip packages are submitted to GEN as ScormPackage objects. After saving, the 'Export to ScormCloud' button will be enabled. Finally, the item can be set as published. - When an user access a Scorm Section, GEN will automatically create the ScormCloud registration for the user and the SCORM objects (if they don't exist already). - After finishing/closing a SCORM activity, the user will be redirected back to originating Section, and GEN will get the registration details (e.g., completion status) from ScormCloud. [Course] - Model: Section: added Scorm as a section type. - Model: Section: updated SECTION_TYPES to use constants. - Model: Status: created new method 'update', to set the completion value based on the section items status (WIP #432). Currently only works with Scorm Sections. - Admin: created 'update_status' action for Status Admin. - Views: updated to use new SECTION_TYPE constants. [GEN] - Settings: added parameters related to ScormCloud API. - Settings: exposed GEN_INSTANCE_NAME as a parameter.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be best to consolidate all code that checks and updates the Status object completion state on the model itself.
The text was updated successfully, but these errors were encountered: