Skip to content

Learnosity QTI v2.0.0

Compare
Choose a tag to compare
@ttton ttton released this 31 Jul 02:46
· 30 commits to master since this release
17729d6

This is a major version release, which includes numerous improvements and bug fixes since v1.2, and introduces some new features in the conversion to Learnosity as well as significantly more stable support for conversion to QTI v2.1 from Learnosity content. This release contains several changes that are backwards incompatible.

Important: This release removes support for PHP v5.6 and lower, and is the first version that officially supports only PHP 7.0^.

Added

General

  • Added an open-source LICENSE file (MIT license) [0906c00].
  • Added baseline composer.lock file for use with continuous integration [0031332].

QTI (v2.1) to Learnosity

  • Added support for converting LOM to Learnosity tags [1b4aa6e].
  • Added new CLI option --passage-only-items for conversion of Items containing only passage content [e592f9c, c5ce2ed].
  • Added new CLI option --single-item for conversion of a single <assessmentItem> file instead of a manifest [521d825].
  • Added support for conversion of GraphicGapMatchInteraction to imageclozeassociationV2 [e32ee8c, b4390bb, e8c7552].
  • Added support for generating distractor_rationale_response_level from <rubricBlock> with use="rationale" [2a874ce, 401602d].
  • Added support for generating distractor_rationale_per_response for tutors/scorers, from rubricBlock with use="rationale" [5ced768].
  • Added support for conversion of "webcontent" resource types (i.e. passage-only Items) [b1ede91].
  • Added features array to the Item content output [d56f976].
  • Added width and height attribute to <img> tags [59f6cef].

Learnosity to QTI (v2.1)

  • Added imsmanifest.xml to output and started using IMS content package format [95526cb].
  • Added support for converting shorttext, clozetext/dropdown/association to QTI [7f8354f, 3113479].
  • Added support for converting feature widgets to QTI [e1c84ce, 3113479].
  • Added support for audio and video feature conversion [3113479].
  • Improved support for converting enhanced Question types [7ab024e].
  • Enabled handling Items using Item reference objects format [48495d0].
  • Supported exporting audio, video + image media files to their own output directoy [dfe7649].
  • Allowed conversion of sharedpassage to HTML resource files [49b2a35].
  • Supported Question-level conversion, validation, and feedbackInline [cdcbd07].
  • Included <responseProcessing> and override <responseDeclaration> for longtext and plaintext Question types [89424a5, 0bae33a].
  • Allowed conversion of Items without an Activity [0164673].
  • Added a check that ZipArchive extension is enabled when generating IMS content package [064d6a4].

Changed

General

  • Updated base supported version to PHP 7.1 [aa40c3f].

QTI (v2.1) to Learnosity

  • Generate specific Item and widget references for passages [c4d35cb].
  • Changed the name of the custom metadata field distractor_rationale_author to be distractor_rationale_scorer [70e7f58].

Learnosity to QTI (v2.1)

  • Always build <responseProcessing> for longtext Question types [dd7c2fd].
  • Remove extraneous whitespace (CR, LF, TAB) from QTI output [441f740].

Documentation

  • Added a notice describing the open-source nature of this library [543fb7a].
  • Updated README for v2.0 release [d0f4407] including usage documentation on new CLI flags, conversion features and LOM/tagging information in v2.0.0 [946862e, 026e549].
  • Updated "Unsupported" section of the README [8be1c99].
  • Added a guide on how to use this library in development mode via composer [e797bfe].
  • Documented lists of supported interaction/Question types for conversion by this library [1cb0026].

Fixed

General

  • Fixed calls to non-static methods from static methods that now produce an E_NOTICE in PHP 7.2+ [eead1c4].
  • Fixed an issue where the stem of multi-part Question were being stripped [161d304].
  • Fixed #31: added OS-agnostic directory separator, and removed colon from log filename [1c2e59f].
  • Fixed #30: incorrect path in mo runner pointing to vendor folder [c92bce3].
  • Fixed an issue with autoloading the mo runner from different locations [f862066].

QTI (v2.1) to Learnosity

  • Fixed a fatal error in convert:to:learnosity a missing use statement in HotspotInteractionMapper [1cdb86c].
  • Fixed a fatal error that occured if the conversion results were empty [e59e2d4].
  • Fixed handling of object HTML [e93ee89].
  • Fixed bad order of arguments in calls to ConvertToLearnosityService::convertAssessmentItem() that broke convert:to:learnosity [0ba1894].
  • Put feedbackInline into Question metadata [e93ee89].
    cing after <hottext> elements in tokenhighlight [c42c08b, 20525d8].
  • Fixed various issues with the output of fields in the Item definition (template, widgets) [8647bf2].
  • Fixed erroneous base asset URL for audio import [91981a3].
  • Fixed incorrect imageclozeassociationV2 image path [e0a0f90].
  • Fixed output & asset path for audioplayer feature [ed2feef].
  • Fixed 'scorer' rubrics so that they are created as separate items [fcaf9ae].
  • Removed extra wrapping <div> that was added to stimulus [ee926e4].
  • Removed unnecessary fields from converted Learnosity Item output [06bd1cb].
  • Removed redundant Item properties when converting with --single-item enabled [861fb54].
  • Fixed missing width/height attributes from QTI image objects [12d55e5].
  • Fixed incorrect image paths for background images in the hotspot Question type. [570ca35].
  • Fixed conversion to the clozeassociation Question type to allow for legal <div> tags in the template field [5a01f99].
  • Fixed issues with conversion of <rubricBlock> with class=DistractorRationale [56b372c].
  • Fixed various issues in longtext and plaintext validation [f7b6d0a].

Learnosity to QTI (v2.1)

  • Fixed a fatal error caused by ignored Items [43cddb1].
  • Fixed self-closing tags with extra trailing slashes (//>) [9fbf736, c0472c9].
  • Fixed issues with incorrect or orphaned constant names that broke asset file paths [1ad9e07].
  • Fixed an issue with invalid resource identifiers in the output manifest, by prefixing 'i' to converted resource identifiers [699e033].
  • Fixed MathML content namespace issues by normalizing the namespace on <math> and disallowing xmlns:default [6b90235].
  • Fixed a missing use statement for LongtextValidationBuilder that broke conversion for longtext [ce81970].
  • Fixed an issue where encoded HTML chars could appear in passage-only feature Items [d97e646].
  • Fixed a bug in the way resources were processed from the manifest [62f4a13].
  • Fixed a bug that broke features without headings [62f4a13].
  • Fixed the imsmanifest to ensure it includes Item resources [e7e87d7].
  • Fixed issues in shorttext and audioplayer Questions [e7e87d7].
  • Fixed a fatal error when converting audioplayer or videoplayer media to QTI [f9386b9].
  • Fixed an issue with looking up the MIME type extension of assets [3acd38a].
  • Fixed a bug with MathML namespaces that broke the conversion of MathMLcontent [3acd38a].
  • Trim newlines from <OrderInteraction> [9e4e6ef].