Skip to content
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

feat: add item and manifest conversion service #2649

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

bartlomiejmarszal
Copy link
Contributor

@bartlomiejmarszal bartlomiejmarszal commented Dec 17, 2024

This change allow TAO user to import QTI 3 Packages into Authoring.

Process will downgrade QTI 3 package to QTI 2.2.
All kebab case conventions will be converted into camel-case.

All required xsd files has been stored in model/qti/data/qtiv3

How to test:

  1. Take QTI 3 package
  2. Import it into Tests or Items
  3. Make sure all content was successfully imported

Example QTI 3 Packages:
A13captions_A15glossary.zip
qti-3-test.zip

@bartlomiejmarszal bartlomiejmarszal changed the base branch from master to develop December 17, 2024 15:04
@bartlomiejmarszal bartlomiejmarszal marked this pull request as ready for review December 18, 2024 09:21
@bartlomiejmarszal bartlomiejmarszal requested review from a team, tikhanovichA, KirylHatalski, pnal, Karol-Stelmaczonek and viktar-dzmitryieu-tao and removed request for a team December 18, 2024 09:21
Copy link

github-actions bot commented Dec 18, 2024

Front-end summary Node 18

💯 Total ✅ Passed ⏭️ Skipped ❌ Failed
287 287 0 0

Copy link

Version

Target Version 30.26.0
Last version 30.25.2

There are 0 BREAKING CHANGE, 8 features, 0 fix

$dom->preserveWhiteSpace = false;
$dom->formatOutput = true;
$dom->load($filename);
foreach (iterator_to_array($dom->childNodes) as $child) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is a point of using iterator_to_array here?

Copy link
Contributor

@Karol-Stelmaczonek Karol-Stelmaczonek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants