Import Common Cartridge and SCORM packages#105
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Align the user-side relation manager with CourseUsersRelationManager by adding assigned course labels, search columns, bulk detach, and pivot timestamps. Co-authored-by: Cursor <cursoragent@cursor.com>
…s-relation-manager Enhance CoursesRelationManager for user course assignment
Register the test form Livewire component, keep learners on course when HTML5 completion is blocked, dispatch CourseStarted from the launch step, and only use Rise launch paths that exist on disk. Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve CourseProgressExport conflict by keeping EloquentBuilder|QueryBuilder union types for Excel 4 / query builder compatibility. Co-authored-by: Cursor <cursoragent@cursor.com>
…back. Require slide navigation before multi-slide auto-completion, defer single-slide completion to beforeunload, and resolve launch step fallback using lesson order instead of step order alone. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 355b975. Configure here.
Reject HTML5 progress commits on SCORM 1.2 courses, defer primary SCO attachment past assessment-only first steps, and fix PHPStan unreachable pivot branch. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
imsmanifest.xml, build courses/lessons/steps from cartridge structure, and extract Articulate Storyline slide content into document steps where possible.filament-lms:import-cartridgesArtisan command (sync or queued), with completion notifications and config undercommon_cartridge_import.Test plan
vendor/bin/pest tests/Feature/CommonCartridgeImportTest.php tests/Feature/ImportCartridgesCommandTest.php tests/Feature/ScormPackageServingTest.phpscorm_package_*columns onlms_documents)filament-lms:import-cartridges --file=... --sync) and verify SCORM content loads in a document stepMade with Cursor
Note
High Risk
Large feature touching course completion, authenticated file serving, and client-side SCORM bridges; incorrect progress or auth checks could mark courses complete prematurely or expose package files.
Overview
Adds Common Cartridge / SCORM / Articulate import and learner playback: ZIP packages are parsed (
imsmanifest.xmlor Storylineframe.xml), courses are created via a queued job orfilament-lms:import-cartridges, and retained packages are stored on documents with new schema columns.Embedded player mode (
embedded_player,completion_modeon courses) hides LMS step navigation, serves package assets through authenticatedScormPackageController, and syncs progress viaScormCommitControllerplus in-page SCORM 1.2 / HTML5 bridges.ScormProgressServiceenforces minimum session time and guards manual completion.Admin gains Import SCORM Package on the course list, course fields for embedded player settings, and a backfill command for existing package documents. Learner UX updates include full-width interactive iframes, optional exit-with-complete flow,
LmsTestFormShowfor card-style knowledge checks, and sanitized step text rendering.Reviewed by Cursor Bugbot for commit a7ac69e. Bugbot is set up for automated code reviews on this repo. Configure here.