Skip to content

Releases: adaptlearning/adapt_framework

v2.0.18

31 Mar 23:08
Compare
Choose a tag to compare

Added

  • new diff Grunt task to allow for a very quick, developer-friendly, rebuild (#1233)
  • new Backbone.Controller API (#1438)
  • ability to add attributes to the Notify popup (#1453) as part of work to indicate which plugin invoked Tutor (#1427)
  • various amends to add support for the new 'suppress marking/feedback' feature in a future release of adapt-contrib-assessment (#1291)
  • _requireAssessmentPassed setting to the _assessment configuration in articles.json (#1446)
  • a notify class to the <html> element whenever a Notify popup is open (#1489)
  • 17 new icons to the vanilla font (#1498)
  • support for passing CSS classes into Notify 'Push' popups (#1496)

Fixed

  • course.model.schema used old names for accessibilityToggleTextOn and accessibilityToggleTextOff (#1450)
  • version classes being added to the <html> element didn't use valid CSS class names (#1402)
  • accessibility library was preventing the use of the spacebar in <div>s with the contenteditable attribute (#1470)
  • various issues in the router module (#1458, #1472)
  • Grunt tasks flattening structure of plugin assets folder (#1463)
  • prevent start controller from adding the the browser history when redirecting to the start page (#1484)

Changed

  • Converted instances of 'magic strings' over to the new ENUM type added in v2.0.17 (#1440, #1483)
  • Stopped the Grunt tasks from minifying config.json and course.json (#1461)
  • Better segregation of the copy and watch Grunt tasks (#1000)

v2.0.17

28 Feb 20:25
Compare
Choose a tag to compare

Added

  • a button that, when accessibility is active, gives the user the ability to skip over navigation elements and straight into the content #1388
  • logging module to allow for logging via Adapt.log (rather than console.log), this allows for several different levels of logging (debug/info/warn/error/fatal) as well as allowing for control over level of logging via config.json as well as allowing for creation of error reporting plugins that can hook into the logging module. Started using new logging module in app.js #1399
  • support for enumeration (ENUMs) so that we can stop using 'magic strings' and 'magic numbers' within the code and use proper datatypes instead #1429

Fixed

  • The $ grunt server command sometimes wouldn't open the course in the browser on Windows #1227
  • sporadic issue with scrolling to components (via Page Level Progress, for example) where the component would be scrolled to the vertical centre of the viewport as opposed to the top #1400

Changed

  • formatting & syntax tidy up of some of the core code #1436
  • various amends to the default course content that is contained in the framework .json following feedback from our QA team #1411

v2.0.16

20 Jan 10:44
Compare
Choose a tag to compare

Added

  • functionality to add CSS classes to elements when they are in the viewport (#1100)
  • screenHeight, orientation and aspectRatio properties to Adapt.device (#1331)
  • option to disable automatic switching-on of accessibility on touch devices (#1370)
  • ES5 shim for IE8 (#1346)
  • getAvailableChildren to adaptModel (#1373)
  • text-to-speech class to the html when _isTextProcessorEnabled is true (#1384)
  • a data-adapt-id attribute to the HTML for pages, menus, articles, blocks + components (#1380)
  • allow plugins to interrupt course initialisation/routing, allowing for better performance in IE8 (#1107)

Updated

  • inview/jquery.onscreen library (#1302); full list of changes here.
  • Bowser library to v1.5.0 (#1337)
  • device.js to take advantage of new Bowser features (#1349)
  • Handlebars compile helpers to allow them to take undefined and to allow specified context (#1347)

Fixed

  • Hide the 'home' button in the navigation when at the top level of the course structure (#1315)
  • XML substitutions are not replaced when building an xAPI course from the Adapt Authoring Tool (#1324)
  • Locking not taking into account availability of children (#1373)

v2.0.15

14 Nov 16:44
Compare
Choose a tag to compare

Added

  • preRemove and postRemove events

Fixed

  • Inview not accounting for visibility and display none in change comparisons (#1299)
  • Resources drawer appearing when changing language (#1295)
  • Performance issue in authoring tool with Grunt copyMain task(#1312)

v2.0.14 - Multilanguage

18 Oct 14:48
Compare
Choose a tag to compare

Adds support for localisation of courses. For more information, see Course Localisation in the Wiki.

v2.0.13

17 Oct 17:12
Compare
Choose a tag to compare

Added

  • accessibility icon (part of #1182)

Changed

  • removed underscore from accessibility toggle button labels (#1139)
  • removed durationLabel from contentObjects.json as it hasn't been required since v2.0.3 of boxmenu (#1148)
  • amends to JavaScript compilation to make it faster (inc. support for a 'libraries' folder in plugins for code that doesn't need to be compiled every time) (#1228)

Fixed

  • accessibility toggle button has no state (#1172)
  • tracking ids grunt task only working in 'en' folders (#370)
  • accessibility causing PLP scroll to jump down the page after scrolling to component (#1241)
  • changing screen sizes in theme.json not persisted when running watch (#752)

v2.0.12

22 Aug 16:30
Compare
Choose a tag to compare

Added

  • Accessibility-specific handlebars helpers (#1051)

Changed

  • Various changes (such as moving handlebars templates, vanilla font and some assets from the theme into the framework) relating to ongoing work to allow Adapt to load and function even when no theme is installed (#953)

Fixed

  • Issue with partially correct feedback not showing for adapt-contrib-matching component (#1187)
  • Ongoing issue with correctly detecting screen width on iOS devices (#1096)

v2.0.11

26 Jul 14:17
Compare
Choose a tag to compare

Added

  • global text support (#1049)
  • abstract implementation of onSubmitted to allow question component plugins to extend this in the same way they can for onCannotSubmit (#1124)
  • ability to completely hide the feedback button (#1073)

Changed

  • standardised handlebars helper names (#1049)
  • updated core libraries and npm modules to more recent versions (#1061)
  • allow Drawer to be closed by Esc keypress when accessibility is not active (#938)
  • different method of calculating screen width for better compatibility with iOS (#1096)
  • various changes in preparation for the language picker functionality (#1120)
  • various changes in preparation for moving _canShowMarking into core code (#1046)
  • Allow user to be prevented from navigating to the menu using the browser's back button when the start controller is active (#1037 & #1152)

Fixed

  • accessibility library occasionally throwing error 'Could not find the next focusable element' (#1015)
  • using the navigateToHomeRoute function causing the page to jump to the top (#1079)
  • tabindex being incorrectly applied to a11y-hideable elements (#1093)
  • default values not being copied into course.json from schema files (#991)
  • global properties in course.json out-of-date/inconsistent (#1136)
  • bug with question marking introduced in v2.0.10 (#1114)

v2.0.10

09 May 11:47
Compare
Choose a tag to compare

Changed

  • enhancement-967: questionView model code > questionModel (#981)
  • change issues link from Jira to Github

Fixed

  • issue-1047: downgrade less library (#1047)

v2.0.9

27 Apr 19:04
Compare
Choose a tag to compare

Added

  • new 'locking' feature enables course authors to lock parts of the course until other parts have been completed (#905). Documentation for this feature can be found here. Note that locking needs to be supported in the menu plugin you are using - support for this has been added to adapt-contrib-boxmenu in v2.0.4
  • new notify:cancelled event added (#1009)

Changed

  • various amends to the default content that bring it in line with changes to some of the core plugins, such as:
    • added _isEnabled property to _resources object in course.json
    • added _useClosedCaptions, _allowFullscreen and cc to the media component in components.json
    • added an example .vtt captions file to the video folder
    • removed instruction from the _globals object in course.json (#1031)

Fixed

  • Leaving out the _classes property would cause a class of "undefined" to be added to the class list (#804)
  • Intermittent error in the Grunt 'replace' tasks for authoring tool users (#1021)
  • Temporary workaround for some LESS variables not being defined in the core theme (#1006)